Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HoeppJ committed Jan 22, 2025
1 parent fe6d9ab commit 76def2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion teaser/data/input/teaserjson_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def load_teaser_json(path, project):
bldg.central_ahu.dehumidification = ahu_in["dehumidification"]
bldg.central_ahu.humidification = ahu_in["humidification"]
bldg.central_ahu.heat_recovery = ahu_in["heat_recovery"]
bldg.central_ahu.dynamic_control = ahu_in["dynamic_control"]
bldg.central_ahu.dynamic_volume_flow_control = ahu_in["dynamic_volume_flow_control"]
bldg.central_ahu.dynamic_supply_temperature_control = ahu_in["dynamic_supply_temperature_control"]
bldg.central_ahu.by_pass_dehumidification = ahu_in[
"by_pass_dehumidification"
]
Expand All @@ -133,6 +134,9 @@ def load_teaser_json(path, project):
bldg.central_ahu.temperature_profile = ahu_in[
"temperature_profile"
]
bldg.central_ahu.T_treshold_heating = ahu_in["T_treshold_heating"]
bldg.central_ahu.T_treshold_cooling = ahu_in["T_treshold_cooling"]

except KeyError:
pass

Expand Down
5 changes: 4 additions & 1 deletion teaser/data/output/teaserjson_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ def save_teaser_json(path, project):
ahu_out["dehumidification"] = bldg.central_ahu.dehumidification
ahu_out["humidification"] = bldg.central_ahu.humidification
ahu_out["heat_recovery"] = bldg.central_ahu.heat_recovery
ahu_out["dynamic_control"] = bldg.central_ahu.dynamic_control
ahu_out["dynamic_volume_flow_control"] = bldg.central_ahu.dynamic_volume_flow_control
ahu_out["dynamic_supply_temperature_control"] = bldg.central_ahu.dynamic_supply_temperature_control
ahu_out[
"by_pass_dehumidification"
] = bldg.central_ahu.by_pass_dehumidification
Expand All @@ -114,6 +115,8 @@ def save_teaser_json(path, project):
] = bldg.central_ahu.max_relative_humidity_profile
ahu_out["v_flow_profile"] = bldg.central_ahu.v_flow_profile
ahu_out["temperature_profile"] = bldg.central_ahu.temperature_profile
ahu_out["T_treshold_heating"] = bldg.central_ahu.T_treshold_heating
ahu_out["T_treshold_cooling"] = bldg.central_ahu.T_treshold_cooling
prj_out["project"]["buildings"][bldg.name]["central_ahu"] = ahu_out
else:
pass
Expand Down

0 comments on commit 76def2a

Please sign in to comment.