MaximaLabs
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.

hout=hin  (isenthalpic)Tout=T(Pout,hin)h_{out} = h_{in}\;(\text{isenthalpic}) \Rightarrow T_{out} = T(P_{out}, h_{in})
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)

Example flowsheets that use it

Stop fighting legacy software. Build your first flowsheet in 60 seconds.