-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update PySAM to v6.0.0 #139
base: develop
Are you sure you want to change the base?
Conversation
Merging NREL/develop into local branch pre-pull-request
@@ -22,6 +22,7 @@ else | |||
echo "Conda installation not found. Please ensure Conda is installed and in your PATH." | |||
exit 1 | |||
fi | |||
echo "$CONDA_PATH" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if I'm the only one, but HOPP has trouble finding my conda env so I thought this would be nice to add in case others have that issue too. Just helps with debugging
@@ -42,7 +42,7 @@ py_sims: | |||
|
|||
py_sim_type: SolarPySAM | |||
verbose: True # flag to print debugging statements | |||
weather_file_name: inputs/Flatirons_solar_data_highDNI.csv | |||
weather_file_name: inputs/Flatirons_solar_data_sunset.csv # inputs/Flatirons_solar_data_highDNI.csv # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I chopped the solar input file to include the sunset timeframe, which includes variations in irradiance large enough to result in noticeable variations in solar farm output. Previously, the highDNI
input data just showed a constant solar farm power output because the irradiance was so high.
Hercules had previously used PySAM v4.2.0, so this PR upgrades the PySAM version to the latest, which is v6.0.0.
This upgrade involved the following changes:
inputs/Flatirons_solar_data_highDNI.csv
calledinputs/Flatirons_solar_data_sunset.csv
, which shows more dynamic fluctuations in the solar farm power output - this is better for testing the solar module