Skip to content

Commit

Permalink
update outcome when power per storage volume exceeds limit
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonJ-KC committed Dec 19, 2024
1 parent 358ce07 commit 3cf0b8e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rct229/rulesets/ashrae9012019/section11/section11rule10.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def get_calc_vals(self, context, data=None):
"swh_tank_type_b": swh_tank_type_b,
"swh_input_power_b": swh_input_power_b,
"swh_tank_storage_volume_b": CalcQ(
"volume", swh_tank_storage_volume_b
"tank_volume", swh_tank_storage_volume_b
),
"modeled_efficiency_b": modeled_efficiency_b,
"modeled_standby_loss_b": modeled_standby_loss_b,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
"Rule": 10,
"Test": "h",
"test_description": "A one story, one zone building has one gas storage water heater with input rating >105kBtu/h, 50 gallons storage capacity. The water heater efficiency is correctly modeled as 80% Et but the 1,500 Btu/h standby loss exceeds the limit.",
"expected_rule_outcome": "fail",
"expected_rule_outcome": "undetermined",
"expected_raised_message_includes": "The modeled efficiency or standby loss for the water heater does not match the expected values.",
"standard": {
"rule_id": "11-10",
Expand Down Expand Up @@ -538,7 +538,7 @@
"id": "SHW Equipment 1",
"distribution_system": "SHW Distribution 1",
"heater_fuel_type": "NATURAL_GAS",
"input_power": 35168.53333333333,
"input_power": 73267.77777777778,
"efficiency_metric_types": [
"THERMAL_EFFICIENCY",
"STANDBY_LOSS_ENERGY"
Expand Down
2 changes: 2 additions & 0 deletions rct229/utils/pint_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class UNIT_SYSTEM:
"transformer_capacity": "V*A",
"electric_power": "W",
"volume": "m3",
"tank_volume": "L",
"area": "m2",
"power_density": "W/m2",
"thermal_transmittance": "W/(m2*K)",
Expand All @@ -67,6 +68,7 @@ class UNIT_SYSTEM:
"transformer_capacity": "V*A",
"electric_power": "W",
"volume": "ft3",
"tank_volume": "gallon",
"area": "ft2",
"power_density": "W/ft2",
"thermal_transmittance": "Btu/(hr*ft2*R)",
Expand Down

0 comments on commit 3cf0b8e

Please sign in to comment.