From d9baf3a005eb41cdbcd61b93228718e41d3aa620 Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Fri, 18 Aug 2023 00:03:04 -0600 Subject: [PATCH] Update Hybrid Costs equations for options fuel_cell_total_installed_cost Fixes broken equations for PVwatts-Wind-Battery hybrid configurations --- deploy/runtime/ui/Hybrid Costs.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/runtime/ui/Hybrid Costs.json b/deploy/runtime/ui/Hybrid Costs.json index 642824df92..f2527fb766 100644 --- a/deploy/runtime/ui/Hybrid Costs.json +++ b/deploy/runtime/ui/Hybrid Costs.json @@ -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",