Skip to content

Commit

Permalink
Fix issues in simple_backup_generator template
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-okeefe committed Dec 17, 2024
1 parent edd41cc commit be23dee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/templates/simple_backup_generator.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit be23dee

Please sign in to comment.