diff --git a/ssc/cmod_singleowner_heat.cpp b/ssc/cmod_singleowner_heat.cpp index 1454a9ff6..82fb922c2 100644 --- a/ssc/cmod_singleowner_heat.cpp +++ b/ssc/cmod_singleowner_heat.cpp @@ -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" ); diff --git a/ssc/sscapi.cpp b/ssc/sscapi.cpp index 12386e71d..2844d1cf6 100644 --- a/ssc/sscapi.cpp +++ b/ssc/sscapi.cpp @@ -51,7 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SSCEXPORT int ssc_version() { - return 295; + return 296; } SSCEXPORT const char *ssc_build_info()