I believe the second call to haf.setup here may be applying the hourly adjustment factors twice:
https://github.com/NREL/ssc/blob/82d9c9ebb98b556018e02ffa8464f53528be31d4/ssc/cmod_windpower.cpp#L569-L570
I noticed this when running PySAM 5+. I am inputting an hourly adjustment factor of 17% for a particular timestep, but SAM gives back a power generation value that is reduced by 31.11% (= 1 - 0.83 * 0.83).
Happy to provide more specific details if needed.
I believe the second call to
haf.setuphere may be applying the hourly adjustment factors twice:https://github.com/NREL/ssc/blob/82d9c9ebb98b556018e02ffa8464f53528be31d4/ssc/cmod_windpower.cpp#L569-L570
I noticed this when running PySAM 5+. I am inputting an hourly adjustment factor of 17% for a particular timestep, but SAM gives back a power generation value that is reduced by 31.11% (= 1 - 0.83 * 0.83).
Happy to provide more specific details if needed.