General control valve model
It is the base model
for control valves, and extends the ValveBase model. It adds the
following parameters for configuration:
- parameter Boolean isCompressibleFlow =
false. In order to specify the type of flow to consider. If it is
made true the flow will be always considered as adiabatic.
- parameter Boolean isLinear = true. To
specify the valve characteristics. If made false, the valve will be
considered as isopercentual.
- parameter Boolean useFixedAperture = true.
If true, the aperture of the valve will be fixed to the value
entered manually at the aperture parameter. Otherwise the aperture
will be taken from the RealInput connector Opening, making possible
the calculation of the aperture outside of the model.
- parameter Real aperture = 1.0. The
fraction of aperture of the valve used if useFixedAperture =
true.
The following
variables are also defined:
- SI.Area KvFlow. The acting Kv of the valve
taking into account its aperture, different from the nominal
Kv.
- The conditional connector
Modelica.Blocks.Interfaces.RealInput Opening, conditioned to
useFixedAperture=false. In order to receive the valve aperture by
connexion.
- The protected connector
Modelica.Blocks.Interfaces.RealInput Aperture.
The implementation of
the Aperture connector is done in the standard way: The connectors
Opening and Aperture are connected, but if useFixedAperture is made
true, the Opening connector disappears, and also the connection.
And the equation Aperture=aperture (reading the manual entered
value) is activated.
There is also an
equation relating the Kv, KvFlow and Aperture, taking into account
the selected characteristic of the valve.
And an equation
relating flow with KvFlow and differential pressure, if
Aperture>0. Otherwise the flow is made equal to 0.
Generated at 2026-04-08T18:18:28Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos