NREL / hercules

Hercules
https://nrel.github.io/hercules/
Apache License 2.0
3 stars 7 forks source link

Add external controls for solar PySAM module #107

Closed misi9170 closed 4 months ago

misi9170 commented 4 months ago

Adds the ability to provide a control setpoint to the solar module. The 07_floris_standin_and_solar_pysam example still runs as expected, and I've added a small test to make sure that the control setpoint is adhered to when passed, so I think this is ready for review.

NOTE: I've also saved the AMR wind speed (or stand-in wind speed) on the Hercules main dict for use in controllers that need (an estimate of) the free stream wind speed.