modelTwoWayValve
Container class for two-way valves
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface, Buildings.Fluid.Interfaces.LumpedVolumeDeclarations, Buildings.Fluid.Actuators.BaseClasses.ValveParameters.
Information
This is a container class for two-way valve models from Buildings.Fluid.Actuators.Valves. Note that the models Buildings.Fluid.Actuators.Valves.TwoWayPolynomial and Buildings.Fluid.Actuators.Valves.TwoWayQuickOpening are not represented.
The parameter typCha allows configuring the model
by selecting the valve characteristic to be used based on the enumeration
Buildings.Fluid.HydronicConfigurations.Types.ValveCharacteristic.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | l | 0.0001 | Valve leakage, l=Kv(y=0)/Kv(y=1) |
| Buildings.Fluid.Actuators.Valves.Data.Generic | flowCharacteristics | Table with flow characteristics | |
| Real | R | 50 | Rangeability, R=50...100 typically |
| Real | delta0 | 0.01 | Range of significant deviation from equal percentage law |
| Configuration | |||
| Buildings.Fluid.HydronicConfigurations.Types.ValveCharacteristic | typCha | Buildings.Fluid.HydronicConfigurations.Types.ValveCharacteristic.EqualPercentage | Valve characteristic |
| Nominal condition | |||
| Modelica.Units.SI.PressureDifference | dpFixed_nominal | 0 | Pressure drop of pipe and other resistances that are in series |
| Advanced | |||
| Boolean | from_dp | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
| Boolean | linearized | false | = true, use linear relation between m_flow and dp for any flow rate |
| Dynamics › Time needed to open or close valve | |||
| Boolean | use_strokeTime | true | Set to true to continuously open and close valve |
| Modelica.Units.SI.Time | strokeTime | 120 | Time needed to open or close valve |
| Modelica.Blocks.Types.Init | init | Modelica.Blocks.Types.Init.InitialOutput | Type of initialization (no init/steady state/initial state/initial output) |
| Real | y_start | 1 | Initial position of actuator |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | y | Input control signal | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y_actual | Actual actuator position | |
| Actuators.Valves.TwoWayEqualPercentage | valEqu | Two-way valve with equal percentage characteristic | |
| Actuators.Valves.TwoWayLinear | valLin | Two-way valve with linear characteristic | |
| Actuators.Valves.TwoWayTable | valTab | Two-way valve with table-specified characteristic | |
| Actuators.Valves.TwoWayPressureIndependent | valPre | Pressure-independent two-way valve |
Revisions
-
June 30, 2022, by Antoine Gautier:
First implementation.