Skip to content

Commit

Permalink
Merge pull request #1237 from NREL/fix_haf_for_custom_generation
Browse files Browse the repository at this point in the history
Fix haf for custom generation profile
  • Loading branch information
brtietz authored Nov 5, 2024
2 parents a9b98ad + 27c8e2b commit 8b263f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssc/cmod_custom_generation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class cm_custom_generation : public compute_module
sys_degradation.reserve(nyears);
double derate = (1 - (double)as_number("derate") / 100);

adjustment_factors haf(this, "adjust");
adjustment_factors haf(this->get_var_table(), "adjust");
if (!haf.setup(nrec_load, nyears))
throw exec_error("custom_generation", "failed to setup adjustment factors: " + haf.error());

Expand Down

0 comments on commit 8b263f5

Please sign in to comment.