Skip to content

Commit

Permalink
Merge pull request #1203 from NREL/macos_reopt_bug
Browse files Browse the repository at this point in the history
Fix REopt API v3 call on MacOS SAM issue #1830 - working on all platforms for 2023.12.17.r2.ssc.292 Patch 2 release
  • Loading branch information
sjanzou authored Aug 14, 2024
2 parents a80f94b + 77ab00d commit f2d6aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssc/cmod_battery_eqns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ bool Reopt_size_standalone_battery_params(ssc_data_t data) {
reopt_settings.assign("solver_name", var_data("SCIP")); // "HiGHS" option does not work with large numbers like 1e38 for tier max values per https://github.com/NREL/SAM/issues/1742

// assign the reopt parameter table and log messages
reopt_table->assign_match_case("Settings", reopt_settings);
reopt_electric.assign_match_case("urdb_response", reopt_utility);
reopt_table->assign_match_case("ElectricTariff", reopt_electric);
reopt_table->assign_match_case("ElectricLoad", reopt_load);
reopt_table->assign_match_case("Financial", reopt_fin);
reopt_table->assign_match_case("ElectricStorage", reopt_batt);
reopt_table->assign_match_case("Settings", reopt_settings);
vt->assign_match_case("reopt_scenario", reopt_params);
vt->assign_match_case("log", log);
return true;
Expand Down

0 comments on commit f2d6aed

Please sign in to comment.