feat: Begins room-pressure calculator

This commit is contained in:
2025-02-28 16:27:39 -05:00
parent d08e4b0839
commit 49af734a97
15 changed files with 548 additions and 50 deletions

View File

@@ -153,6 +153,15 @@ struct HVACSystemPerformanceResult: HTML, Sendable {
LabeledMetric(label: "Sensible Heat Ratio", value: shr, units: "%")
}
}
if shr < 0.7 {
div(.class("mx-8 mb-4 mt-8 p-4 rounded-xl shadow-lg border border-amber-500 bg-amber-200 text-amber-500")) {
h4(.class("text-lg font-semibold")) { "Warning:" }
p(.class("text-sm")) {
"Low sensible heat ratio may indicate excessive dehumidification or low airflow."
}
}
}
}
}