Skip to content

v5.2.0 - Inch of water, the Av flow coefficient, gpm and the hydraulic resistance K

Latest

Choose a tag to compare

@pjazdzyk pjazdzyk released this 11 Oct 16:06
· 6 commits to master since this release

Three units, a quantity and two spellings are added for hydronic balancing and sizing data, where valves and dampers are
described in the units of their catalogues. No conversion factor of an existing unit changes.

Added

  • PressureUnits.INCH_OF_WATER (inH₂O), with Pressure.ofInchOfWater, toInchOfWater and getInInchOfWater.
    It is the conventional inch of water, 0.0254 m × 9806.65 Pa/m = 249.08891 Pa exactly, because one millimetre of
    water, conventional, is 9.80665 Pa. It is read from inH2O, inH₂O, in H2O, inWC and inWG, in any letter
    case. This is the inch of ventilation practice, and it is the same constant that inH₂O/100ft already uses, so
    a pressure in inH₂O and a gradient in inH₂O/100ft agree.
  • PressureUnits.INCH_OF_WATER_10 (inH₂O_10), with ofInchOfWater10, toInchOfWater10 and getInInchOfWater10.
    It is 0.0254 m × 999.70247 kg/m³ × 9.80665 m/s² = 249.0147985766 Pa, with the density of water at 10 °C and 1 atm
    (NIST Chemistry WebBook, IAPWS-95), the basis of mH₂O_10. It is read only from its explicit symbol
    inH2O_10. It is 0.030 % below the conventional inch.
  • FlowCoefficientUnits.AV (Av), the SI flow coefficient in m², with FlowCoefficient.ofAv, toAv and
    getInAv. It is defined by q = Av·√(Δp/ρ). With Kv as the water flow in m³/h at 1 bar and 1000 kg/m³, one
    m² passes √(10⁵ / 10³) = 10 m³/s = 36 000 m³/h, so 1 Av = 36 000 Kv exactly, and 1 Cv is
    0.8649776554423018 / 36 000 = 2.40271570956E-5 Av. Within a flow coefficient, m² and m2 also name it.
  • gpm (and GPM, US gpm) is read as GALLONS_PER_MINUTE_US, the US gallon per minute (231 in³ per
    60 s = 6.30901964E-5 m³/s), the unit that Cv is defined in. It is never the UK gallon.
  • HydraulicResistance, the quadratic loss coefficient K of a flow path, dp = K·ṁ², in unitility-core
    (hydraulic package) with a plain-SI JPA converter in unitility-persistence. Units (HydraulicResistanceUnits):
    Pa·s²/kg² (SI base, = 1/(kg·m)), kPa·s²/kg² (1 000) and bar·h²/t² (10⁵ Pa × 3600² s² / (10³ kg)² =
    1.296E6, exactly), and the US units psi·s²/lb² (psi over the pound squared, 6894.757293168361 Pa /
    0.45359237² kg² = 33 511.0087955752) and inH₂O·s²/lb² (the conventional inch of water, 249.08891 Pa, over the pound
    squared = 1 210.661999975118). Plain-ASCII spellings such as psi*s2/lb2 and inH2O*s2/lb2 are read. Factories
    ofPascalSecondSquaredPerKilogramSquared, ofKilopascalSecondSquaredPerKilogramSquared, ofBarHourSquaredPerTonneSquared,
    ofPsiSecondSquaredPerPoundSquared and ofInchOfWaterSecondSquaredPerPoundSquared, with matching to… and getIn….
    GoldenTable has rows for all five units.
  • kelvin is read as the kelvin by TemperatureUnits and TemperatureDifferenceUnits.

Not changed, on purpose

  • A bare mH2O is still the metre of water at 10 °C, and a bare gal/min is still the UK gallon per minute.
  • A caller who needs the water column at another temperature converts to pascals itself.

Tests

BalancingPlanSymbolsTest pins 43 unit symbols and 9 whole-string forms of the balancing plan, each to a value derived
from the defining numbers and not from UnitDefinitions. GoldenTable has rows for INCH_OF_WATER, INCH_OF_WATER_10 and AV,
and unit-scales.json is regenerated.