Skip to content

Commit

Permalink
Merge branch 'fix_haf_for_custom_generation' into sam_1869_battery_ad…
Browse files Browse the repository at this point in the history
…just_losses
  • Loading branch information
brtietz committed Nov 5, 2024
2 parents fe43909 + 27c8e2b commit d9120a4
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 d9120a4

Please sign in to comment.