Skip to main content

Python wrapper for SMARTS2, Simple Model of the Atmospheric Radiative Transfer of Sunshine

Project description

The smarts module contains functions for calling SMARTS: Simple Model of the Atmospheric Radiative Transfer of Sunshine, from NREL, developed by Dr. Christian Gueymard.

SMARTS software can be obtained from: https://www.nrel.gov/grid/solar-resource/smarts.html

Users will be responsible to obtain a copy of SMARTS from NREL, honor it’s license, and download the SMART files into their PVLib folder.

This wrapper is shared under a BSD-3-Clause License, and was originally coded in Matlab by Juan Russo (2001), updated and ported to python by Silvana Ayala (2019-2020). Original Matlab wrapper was made for graduate studies at the University of Arizona, python porting by NREL.

Copyright (c) 2021 National Renewable Energy Laboratory, University of Arizona Board of Regents

Installation

pySMARTS releases may be installed using the pip and conda tools. pySMARTSis compatible with Python 3.5 and above.

Install with:

pip install pySMARTS

For developer installation, download the repository, navigate to the folder location and install as:

pip install -e .

Please note that you will be responsible of downloading SMARTS 2.9.5 from NREL website, and setting SMARTSPATH environment variable to the location of the executable. We suggest you install SMARTS on a folder that you have full access and permissions to modify files like your Document folder (i.e. Program Files might give you trouble).

Updates

============

Finally meeting the legendary author of SMARTS Christian Gueymard at IEA PVPS Task Group 13 meeting on Lisbon, on September 2023. Apparently new things are coming for SMARTS (and perhaps pySMARTS) in the near future.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysmarts-0.0.2.tar.gz (21.5 kB view details)

Uploaded Source

File details

Details for the file pysmarts-0.0.2.tar.gz.

File metadata

  • Download URL: pysmarts-0.0.2.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for pysmarts-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8b1dbdff8f06a14a5272e38890539c715eddbd0fea50e5732fa194fbd462ecb7
MD5 13fc9f71f398a2150678a64c4ac47d4b
BLAKE2b-256 371135f6cfdc86f3360f796fcd8e63f4657c0583dfa26e42f8d1b10f9938549c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page