OpenMEP duct sizing

v0.2.0
io.github.samarmstrong/openmep Checked 2 days ago Published 1 month ago

Deterministic HVAC duct sizing at a fixed or Manual D friction rate; grades existing ducts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

size_duct Size one duct

Recommend a standard round diameter for one duct run carrying a given CFM, with velocity and friction at that size. Optionally grade an existing round, rect, or oval section as ok, undersized, or oversized.

ParameterTypeDescription
cfm *numberAirflow the run carries, CFM.
airflowTypestringSystem, which sets the velocity cap. Default supply.
existingExisting section to grade: { diameterIn } for round, or { shape: rect|oval, widthIn, heightIn }.
rolestringmain (at equipment), branch (serves several terminals), or runout (one terminal). Default main.

size_duct_network Size a duct network

Size every supply, return, exhaust, and outside-air segment of a connected duct network. Each terminal's requiredCfm is carried along its shortest same-system path to equipment and summed per segment; roles (main/branch/runout) are inferred. Sizes at the fixed default friction rate, or, when fan is given with segment lengthFt and fitting equivalentLengthFt, at the Manual D friction rate derived from available static pressure over the total effective length (returned as design: ASP, TEL, friction rate, longest paths). Returns per-segment recommendations, grades for segments with an existing sec…

ParameterTypeDescription
items *arrayEvery terminal, segment, fitting, and equipment item in the network.
fanobjectBlower data. When given, friction rate = (externalStatic − Σ componentLosses) × 100 / total effective length (longest supply + longest return effective path).