Skip to content

Commit

Permalink
Merge pull request #1248 from NREL/SAM_1927
Browse files Browse the repository at this point in the history
Fix SAM issue 1927
  • Loading branch information
sjanzou authored Nov 26, 2024
2 parents 901ddf9 + 2992a19 commit 65a89a5
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 65a89a5

Please sign in to comment.