You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NREL-PySAM
Installed in: 5.4.15-2-MANJARO
With: conda version : 4.7.12
With: python version : 3.7.4
Problem: I'm not able to load the defaults values.
Code and results:
(py3_SAM) [xvi@leonardo programs]$ python
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySAM.Pvwattsv5 as pv
>>> d = pv.default("PVWattsSingleOwner")
PySAM.error: Could not open defaults file.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: <built-in function default> returned a result with an error set
Thank you very much in advance for any help.
The text was updated successfully, but these errors were encountered:
Since SAM switched to using PVwattsv7 (see PVWatts section in the release notes: https://nrel.github.io/SAM/doc/releasenotes.html), the defaults have also been moved to Pvwattsv7. So if you switch to import Pysam.Pvwattsv7, then the code should work.
Hello.
I'm experiencing this problem:
NREL-PySAM
Installed in: 5.4.15-2-MANJARO
With: conda version : 4.7.12
With: python version : 3.7.4
Problem: I'm not able to load the defaults values.
Code and results:
Thank you very much in advance for any help.
The text was updated successfully, but these errors were encountered: