Skip to content

Windpower module applies HAF twice #1283

@ppinchuk

Description

@ppinchuk

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.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions