Skip to content

Commit

Permalink
Revert "tweak notional fhs data to meet defined invariants"
Browse files Browse the repository at this point in the history
This reverts commit 9e99a33.
  • Loading branch information
shieldo committed Feb 28, 2025
1 parent 45456b5 commit 140f97c
Showing 1 changed file with 2 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -863,10 +863,6 @@ fn edit_default_space_heating_distribution_system(
"min_outdoor_temp": 0
},
"Control": HEATING_PATTERN,
// NB. this is a change from the Python in order to massage this input to pass
// the invariant that a design_flow_rate must be indicated if variable_flow is
// not true
"design_flow_rate": 10,
"design_flow_temp": design_flow_temp as i32,
"Zone": zone_name,
"temp_setback" : 18
Expand Down Expand Up @@ -1428,11 +1424,6 @@ fn add_solar_pv(
"height":pv_height,
"width":pv_width,
"shading": [],
// NB. following two are fake canned values to get round invariant that
// inverter_peak_power_dc and inverter_peak_power_ac are currently needed for PV
"inverter_peak_power_dc": 3.5,
"inverter_peak_power_ac": 2.4,
"inverter_type": "string_inverter"
}
});

Expand Down Expand Up @@ -2615,12 +2606,7 @@ mod tests {
"EnergySupply": "mains elec",
"shading": [],
"inverter_peak_power": 2,
"inverter_is_inside": false,
// NB. following two are fake canned values to get round invariant that
// inverter_peak_power_dc and inverter_peak_power_ac are currently needed for PV
"inverter_peak_power_dc": 3.5,
"inverter_peak_power_ac": 2.4,
"inverter_type": "string_inverter"
"inverter_is_inside": false
}
}))
.unwrap();
Expand All @@ -2643,12 +2629,7 @@ mod tests {
"shading": [],
"base_height": 1,
"width": 6.324555320336759,
"height": 3.1622776601683795,
// NB. following two are fake canned values to get round invariant that
// inverter_peak_power_dc and inverter_peak_power_ac are currently needed for PV
"inverter_peak_power_dc": 3.5,
"inverter_peak_power_ac": 2.4,
"inverter_type": "string_inverter"
"height": 3.1622776601683795
}
}))
.unwrap();
Expand Down Expand Up @@ -2833,10 +2814,6 @@ mod tests {
// TODO 0.32 removed fields (redo this properly)
// "c": 0.0,
"design_flow_temp": 45,
// NB. this is a change from the Python in order to massage this input to pass
// the invariant that a design_flow_rate must be indicated if variable_flow is
// not true
"design_flow_rate": 10,
"ecodesign_controller": {
"ecodesign_control_class": 2,
"max_outdoor_temp": 20,
Expand All @@ -2858,10 +2835,6 @@ mod tests {
// TODO 0.32 removed fields (redo this properly)
// "c": 0.0,
"design_flow_temp": 45,
// NB. this is a change from the Python in order to massage this input to pass
// the invariant that a design_flow_rate must be indicated if variable_flow is
// not true
"design_flow_rate": 10,
"ecodesign_controller": {
"ecodesign_control_class": 2,
"max_outdoor_temp": 20,
Expand Down

0 comments on commit 140f97c

Please sign in to comment.