@@ -1125,17 +1125,17 @@ def __init__(self, model: Model):
1125
1125
ErrMessage = "assume default peaking boiler efficiency (85%)" ,
1126
1126
ToolTipText = "Peaking boiler efficiency"
1127
1127
)
1128
- self ._default_peaking_boiler_cost_USD_per_kw = 65
1129
- self .peaking_boiler_cost_per_kw = self .ParameterDict [self .peaking_boiler_cost_per_kw .Name ] = floatParameter (
1130
- "Peaking Boiler Cost per KW " ,
1131
- DefaultValue = self ._default_peaking_boiler_cost_USD_per_kw ,
1128
+ self ._default_peaking_boiler_cost_USD_per_kW = 65
1129
+ self .peaking_boiler_cost_per_kW = self .ParameterDict [self .peaking_boiler_cost_per_kW .Name ] = floatParameter (
1130
+ "Peaking Boiler Cost per kW " ,
1131
+ DefaultValue = self ._default_peaking_boiler_cost_USD_per_kW ,
1132
1132
Min = 0 ,
1133
1133
Max = 1000 ,
1134
1134
UnitType = Units .ENERGYCOST ,
1135
1135
PreferredUnits = EnergyCostUnit .DOLLARSPERKW ,
1136
1136
CurrentUnits = EnergyCostUnit .DOLLARSPERKW ,
1137
1137
Required = False ,
1138
- ToolTipText = "Peaking boiler cost per KW of maximum peaking boiler demand"
1138
+ ToolTipText = "Peaking boiler cost per kW of maximum peaking boiler demand"
1139
1139
)
1140
1140
self .dhpipingcostrate = self .ParameterDict [self .dhpipingcostrate .Name ] = floatParameter (
1141
1141
"District Heating Piping Cost Rate" ,
@@ -1733,9 +1733,9 @@ def __init__(self, model: Model):
1733
1733
UnitType = Units .CURRENCY ,
1734
1734
PreferredUnits = CurrencyUnit .MDOLLARS ,
1735
1735
CurrentUnits = CurrencyUnit .MDOLLARS ,
1736
- ToolTipText = f'Default cost: ${ self ._default_peaking_boiler_cost_USD_per_kw } /KW '
1736
+ ToolTipText = f'Default cost: ${ self ._default_peaking_boiler_cost_USD_per_kW } /KW '
1737
1737
f'of maximum peaking boiler demand. '
1738
- f'Provide { self .peaking_boiler_cost_per_kw .Name } override the default.'
1738
+ f'Provide { self .peaking_boiler_cost_per_kW .Name } override the default.'
1739
1739
)
1740
1740
1741
1741
self .dhdistrictcost = self .OutputParameterDict [self .dhdistrictcost .Name ] = OutputParameter (
@@ -2698,7 +2698,7 @@ def calculate_plant_costs(self, model:Model) -> None:
2698
2698
model .surfaceplant .HeatExtracted .value ) * 1000.
2699
2699
2700
2700
# add 65$/KW for peaking boiler
2701
- self .peakingboilercost .value = (self .peaking_boiler_cost_per_kw .quantity ()
2701
+ self .peakingboilercost .value = (self .peaking_boiler_cost_per_kW .quantity ()
2702
2702
.to ('USD / kilowatt' ).magnitude
2703
2703
* model .surfaceplant .max_peaking_boiler_demand .value / 1000 )
2704
2704
0 commit comments