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 |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
upstream_ | State | Upstream total pressure |
upstream_ | State | Upstream total temperature |
set_ | State | Regulator set pressure |
discharge_ | float | Discharge coefficient |
cross_ | float | Flow area |
specific_ | float | Specific gas constant |
specific_ | State | Specific heat ratio |
Outputs
| Name | Type | Description |
|---|---|---|
mass_ | State, optional | Computed mass flow rate |
total_ | State, optional | Upstream total enthalpy |