Spaces:
Sleeping
Sleeping
Update app/hvac_loads.py
Browse files- app/hvac_loads.py +0 -8
app/hvac_loads.py
CHANGED
@@ -1033,17 +1033,9 @@ def display_hvac_results_ui(loads: List[Dict[str, Any]], run_id: str = "default"
|
|
1033 |
vent_latent = sum(system.get("latent_load", 0.0) for system in st.session_state.project_data["internal_loads"].get("ventilation", []))
|
1034 |
inf_sensible = sum(system.get("sensible_load", 0.0) for system in st.session_state.project_data["internal_loads"].get("infiltration", []))
|
1035 |
inf_latent = sum(system.get("latent_load", 0.0) for system in st.session_state.project_data["internal_loads"].get("infiltration", []))
|
1036 |
-
st.metric("Ventilation Sensible Cooling", f"{vent_sensible:.2f} kW")
|
1037 |
-
st.metric("Ventilation Latent Cooling", f"{vent_latent:.2f} kW")
|
1038 |
-
st.metric("Infiltration Sensible Cooling", f"{inf_sensible:.2f} kW")
|
1039 |
-
st.metric("Infiltration Latent Cooling", f"{inf_latent:.2f} kW")
|
1040 |
st.metric("Unmet Hours (Adaptive Comfort)", loads[-1].get("unmet_hours", 0))
|
1041 |
else:
|
1042 |
st.write("**Peak Cooling Load**: 0.00 kW")
|
1043 |
-
st.metric("Ventilation Sensible Cooling", "0.00 kW")
|
1044 |
-
st.metric("Ventilation Latent Cooling", "0.00 kW")
|
1045 |
-
st.metric("Infiltration Sensible Cooling", "0.00 kW")
|
1046 |
-
st.metric("Infiltration Latent Cooling", "0.00 kW")
|
1047 |
st.metric("Unmet Hours (Adaptive Comfort)", loads[-1].get("unmet_hours", 0) if loads else 0)
|
1048 |
|
1049 |
with col2:
|
|
|
1033 |
vent_latent = sum(system.get("latent_load", 0.0) for system in st.session_state.project_data["internal_loads"].get("ventilation", []))
|
1034 |
inf_sensible = sum(system.get("sensible_load", 0.0) for system in st.session_state.project_data["internal_loads"].get("infiltration", []))
|
1035 |
inf_latent = sum(system.get("latent_load", 0.0) for system in st.session_state.project_data["internal_loads"].get("infiltration", []))
|
|
|
|
|
|
|
|
|
1036 |
st.metric("Unmet Hours (Adaptive Comfort)", loads[-1].get("unmet_hours", 0))
|
1037 |
else:
|
1038 |
st.write("**Peak Cooling Load**: 0.00 kW")
|
|
|
|
|
|
|
|
|
1039 |
st.metric("Unmet Hours (Adaptive Comfort)", loads[-1].get("unmet_hours", 0) if loads else 0)
|
1040 |
|
1041 |
with col2:
|