fix(burst): recognize native pressure units and separate isolation impact
This commit is contained in:
@@ -17,7 +17,7 @@ GRADES = (
|
||||
|
||||
def _head_factor(unit: Any) -> float | None:
|
||||
# Standard water head; unsupported or absent units must not become zero loss.
|
||||
return {"m": 1.0, "meters": 1.0, "metres": 1.0,
|
||||
return {"m": 1.0, "mtr": 1.0, "meters": 1.0, "metres": 1.0,
|
||||
"kpa": 1 / 9.80665, "psi": 6894.757293168 / 9806.65,
|
||||
"bar": 100000 / 9806.65, "mpa": 1000000 / 9806.65,
|
||||
"ft": 0.3048}.get(str(unit).strip().lower())
|
||||
|
||||
Reference in New Issue
Block a user