All unit operations
Valve simulation
1 inlet -> 1 outlet (throttle, drops pressure)
Governing equations
The exact equations the solver works for a valve — the same math shown in the app's "Theory" panel, not a black box.
- h
- molar enthalpy [J/mol] (isenthalpic across the valve)
- T
- temperature [K]
- P
- pressure [Pa]
Parameters
outlet_pressure [Pa, < inlet] (flow-driven modes); OR cv [mol/(s·Pa^0.5)], optional opening [0-1, default 1.0] (mode='pressure_driven' — flow solved from the Cv resistance law instead of specified on the feed; see flowsim.solver.hydraulics_compiler)