Skip to content

Commit

Permalink
Update Hybrid Costs equations for options fuel_cell_total_installed_cost
Browse files Browse the repository at this point in the history
Fixes broken equations for PVwatts-Wind-Battery hybrid configurations
  • Loading branch information
sjanzou committed Aug 18, 2023
1 parent 31e2265 commit d9baf3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/runtime/ui/Hybrid Costs.json
Original file line number Diff line number Diff line change
Expand Up @@ -949,10 +949,11 @@
},
"Equations": [
"equations{ 'total_installed_cost' } = define() {\r",
"//\tmsgbox(\"Fuel Cell = \" + technology() + strpos(technology(), \"FuelCell\"));\r",
"\treturn ${pv_total_installed_cost}\r",
"\t\t+ ${wind_total_installed_cost}\r",
"\t\t+ ${battery_total_installed_cost}\r",
"\t\t+ ${fuelcell_total_intstalled_cost}\r",
"\t\t+ (strpos(technology(), \"FuelCell\") > -1 ? ${fuelcell_total_intstalled_cost}:0.0)\r",
"\t\t+ ${hybrid_capital_cost}; };\r",
"\r",
"equations{ 'ui_battery_cost' } = define() {\r",
Expand Down

0 comments on commit d9baf3a

Please sign in to comment.