Skip to content

Commit

Permalink
Fix SAM issue 1927
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Nov 24, 2024
1 parent 901ddf9 commit 2992a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssc/cmod_singleowner_heat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3496,7 +3496,7 @@ class cm_singleowner_heat : public compute_module
// save_cf(CF_energy_curtailed, nyears, "cf_energy_curtailed");
// const double MMBTU_TO_KWh = 293.07107; // 1
save_cf(CF_ppa_price, nyears, "cf_ppa_price");
for (size_t i = 0; i < nyears; i++)
for (size_t i = 0; i <= nyears; i++)
cf.at(CF_ppa_price_heat_btu, i) = cf.at(CF_ppa_price, i) * MMBTU_TO_KWh;
save_cf( CF_ppa_price_heat_btu, nyears, "cf_ppa_price_heat_btu" );
save_cf( CF_om_fixed_expense, nyears, "cf_om_fixed_expense" );
Expand Down

0 comments on commit 2992a19

Please sign in to comment.