From be23dee340f125d430292b5efd2785986ed1b81a Mon Sep 17 00:00:00 2001 From: Michael O'Keefe Date: Tue, 17 Dec 2024 15:00:59 -0700 Subject: [PATCH] Fix issues in simple_backup_generator template --- templates/templates/simple_backup_generator.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/templates/simple_backup_generator.toml b/templates/templates/simple_backup_generator.toml index b9a20f94..c486d70c 100644 --- a/templates/templates/simple_backup_generator.toml +++ b/templates/templates/simple_backup_generator.toml @@ -33,7 +33,7 @@ max_discharge.ui = '{"unit": "rate_unit", "label": "Max Discharge Rate", "displa genset_max_outflow.type = "number" genset_max_outflow.constraints = [">0"] genset_max_outflow.ui = '{"label": "Peak Output Power", "unit": "genset_max_outflow_unit", "display": "input", "erinUnit": "kW"}' -efficiency_by_fraction_out.type = "(table number number)" +efficiency_by_fraction_out.type = "[[number number]*]" efficiency_by_fraction_out.ui = '{"yMax": 100, "yMin": 0, "yUnit": "%", "xLabel": "Load Fraction", "yLabel": "Efficiency", "display": "input"}' [parameters.optional] @@ -48,10 +48,10 @@ charge_at_soc.ui = '{"display": "input"}' init_soc.type = "frac" init_soc.default = 1.0 init_soc.ui = '{"display": "input"}' -roundtrip_efficiency.type = "frac" -roundtrip_efficiency.default = 1 -roundtrip_efficiency.constraints = [">0"] -roundtrip_efficiency.ui = '{"display": "input"}' +diesel_tank_efficiency.type = "frac" +diesel_tank_efficiency.default = 1 +diesel_tank_efficiency.constraints = [">0"] +diesel_tank_efficiency.ui = '{"display": "input"}' genset_max_outflow_unit.type = "enum" genset_max_outflow_unit.enum_options = ["W", "kW", "MW"] genset_max_outflow_unit.default = "kW" @@ -86,5 +86,5 @@ inflow = "diesel" outflow = "electricity" lossflow = "waste_heat" rate_unit = "kW" -max_outflow.parameter = "genset_max_outflow" -efficiency_by_fraction_out.parameter = "efficiency_by_fraction_out" +max_outflow.param = "genset_max_outflow" +efficiency_by_fraction_out.param = "efficiency_by_fraction_out"