Skip to content

Isentropic Gas Regulator

fullflow.IsentropicGasRegulator

Isentropic ideal-gas regulator flow model.

IsentropicGasRegulator computes mass flow through a gas regulator using ideal-gas isentropic flow relations. The component automatically switches between unchoked and choked flow based on the set-pressure to upstream-total pressure ratio.

Parameters

Name Type Description
namestr

Component name

networkNetwork

Network that owns this component

upstream_total_pressureState

Upstream total pressure

upstream_total_temperatureState

Upstream total temperature

set_pressureState

Regulator set pressure

discharge_coefficientfloat

Discharge coefficient

cross_sectional_areafloat

Flow area

specific_gas_constantfloat

Specific gas constant

specific_heat_ratioState

Specific heat ratio

Outputs

Name Type Description
mass_flowState, optional

Computed mass flow rate

total_enthalpyState, optional

Upstream total enthalpy