modelValveIncompressible
Control valve model for incompresible liquid flow
Extends from ValvePartial (General control valve model).
Information
Extends the ValvePartial model, fixing isCompressibleFlow=false.
It adds the parameter Boolean isIsenthalpicFlow = true, in orther to specify the type of flow to consider. If made equal to false, adiabatic flow is considered.
It defines the State (for physical properties calculation) from the PortA variables.
An equation is added relating the two ports enthalpy, if calcEnthalpyDifference=true. If the flow is isenthalpic, they are the same. if it is not, only the differential height between ports is taken into account.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Ports links | |||
| Boolean | useElevDifference (from TwoFluidPorts) | true | introduces, or not, an equation for the ports elevation. Use only in one connector |
| FreeFluids.Types.ElevationOption | elevCalcMethod (from TwoFluidPorts) | FreeFluids.Types.ElevationOption.differential | if useElevDifference==true, selects the equation to use: differential, or absolute for PortB |
| Modelica.Units.SI.Length | elevDifference (from TwoFluidPorts) | 0.0 | used only if previously selected. Positive if PortB higher than PortA |
| Modelica.Units.SI.Length | portBelevation (from TwoFluidPorts) | 0.0 | used only if previously selected. |
| Boolean | calcEnthalpyDifference (from TwoFluidPorts) | true | if true, will calculate the enthalpy difference between ports. Use only in one connector |
| Boolean | passComposition (from TwoFluidPorts) | true | if true, the equation PortA.X=PortB.X will be activated |
| Flow | |||
| FreeFluids.Types.ValveFixOption | fix (from ValveBase) | FreeFluids.Types.ValveFixOption.fixKv | select the value to fix: Kv, pressure drop, or flow |
| Modelica.Units.SI.Area | fixedKv (from ValveBase) | 1.0 | Kv value if it is fixed |
| Modelica.Units.SI.PressureDifference | fixedDP (from ValveBase) | -0.5e5 | negative if PortB.P<PortA.P |
| Modelica.Units.SI.MassFlowRate | fixedFlow (from ValveBase) | 1.0 | fixed mass flow to maintain at Port A. Possitive if flow is in |
| Boolean | isCompressibleFlow (from ValvePartial) | false | if compressible, it will be treated always as adiabatic |
| Boolean | isLinear (from ValvePartial) | true | If true, linear characteristic is applied, otherwise isoporcentual |
| Boolean | useFixedAperture (from ValvePartial) | true | if true the aperture parameter is used. Otherwise aperture is supplied by the connector |
| Real | aperture (from ValvePartial) | 1.0 | maximum just 1 valve should be closed (aperture=0) in a line |
| Boolean | isIsenthalpicFlow | true | if false, adiabatic flow applies |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FreeFluids.Interfaces.FluidPortA | PortA (from TwoFluidPorts) | ||
| FreeFluids.Interfaces.FluidPortB | PortB (from TwoFluidPorts) | ||
| Modelica.Blocks.Interfaces.RealInput | Opening (from ValvePartial) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.SpecificEnthalpy | Hdiff (from TwoFluidPorts) | specific enthalpy difference: Port B - Port A | |
| Modelica.Units.SI.PressureDifference | Pdiff (from TwoFluidPorts) | pressure difference: Port B - Port A | |
| Modelica.Units.SI.Area | Kv (from ValveBase) | ||
| Modelica.Units.SI.Area | Cv (from ValveBase) | ||
| Modelica.Units.SI.VolumeFlowRate | Q (from ValveBase) | ||
| Medium.ThermodynamicState | State (from ValveBase) | ||
| Medium.Density | Rho (from ValveBase) | ||
| Medium.Temperature | T (from ValveBase) | Temperature | |
| SI.Area | KvFlow (from ValvePartial) | Kv at actual aperture |