-
Notifications
You must be signed in to change notification settings - Fork 19
Update PySAM to v6.0.0 #139
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
Conversation
Merging NREL/develop into local branch pre-pull-request
| 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
| 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.
Merging in develop with updated lisence
* preparing inputs for running hercules using ARM solar data * running OK ARM solar data * running hercules using solar data from ARM in OK * improving how solar pysim grabs data from solar weather file based on simulation time * adding input solar data * adding verbose flag to turn on and off debugging print statements * trying to run with new json file to prep for varying system size * adding more weather input files * adding files for testing and to find my mamba env * updating installation instructions * updating HPC installation instructions * updating desired value in test to match PySAM v6 output * Update toml file with new pysam version --------- Co-authored-by: Genevieve Starke <genevieve.starke@nrel.gov>
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.csvcalledinputs/Flatirons_solar_data_sunset.csv, which shows more dynamic fluctuations in the solar farm power output - this is better for testing the solar module