Skip to content

Commit

Permalink
Fix haf for custom generation profile
Browse files Browse the repository at this point in the history
  • Loading branch information
brtietz committed Nov 5, 2024
1 parent a9b98ad commit 27c8e2b
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 27c8e2b

Please sign in to comment.