Buildings.Templates.Components.Valves
Valve models
Information
This package contains models for valves.
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
Package Content
| Name | Description |
|---|---|
| No valve | |
| Three-way modulating valve | |
| Three-way two-position valve | |
| Two-way modulating valve | |
| Two-way two-position valve |
Buildings.Templates.Components.Valves.None
No valve
Information
This is a direct fluid pass-through model to represent a configuration with no valve.
Extends from Buildings.Templates.Components.Interfaces.PartialValve (Interface class for valve).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium in the component | |
| Valve | dat | Design and operating parameters | |
| Configuration | |||
| Valve | typ | Buildings.Templates.Componen... | Equipment type |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced | |||
| MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
| Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
| Dynamics | |||
| Filtered opening | |||
| Boolean | use_inputFilter | true | = true, if opening is filtered with a 2nd order CriticalDamping filter |
| Time | riseTime | 120 | Rise time of the filter (time to reach 99.6 % of an opening step) [s] |
| Init | init | Modelica.Blocks.Types.Init.I... | Type of initialization (no init/steady state/initial state/initial output) |
| Real | y_start | 1 | Initial position of actuator |
| Nominal condition | |||
| Time | tau | 10 | Time constant at nominal flow [s] |
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
| Graphics | |||
| Integer | text_rotation | 0 | Text rotation angle in icon layer |
| Boolean | text_flip | false | True to flip text horizontally in icon layer |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
| FluidPort_a | portByp_a | Fluid connector with bypass line |
| Bus | bus | Control bus |
Modelica definition
Buildings.Templates.Components.Valves.ThreeWayModulating
Three-way modulating valve
Information
This is a model for a three-way modulating valve.
-
The valve position is modulated with a fractional position
signal
y(real).
y = 0corresponds to full bypass.y = 1corresponds to zero bypass. -
The actual valve position
y_actual(real) is returned.
y_actual = 0corresponds to full bypass.y_actual = 1corresponds to zero bypass.
Extends from Buildings.Templates.Components.Interfaces.PartialValve (Interface class for valve).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium in the component | |
| Valve | dat | Design and operating parameters | |
| ThreeWayEqualPercentageLinear | val | redeclare Buildings.Fluid.Ac... | Valve |
| Configuration | |||
| Valve | typ | Buildings.Templates.Componen... | Equipment type |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced | |||
| MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
| Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
| Dynamics | |||
| Filtered opening | |||
| Boolean | use_inputFilter | true | = true, if opening is filtered with a 2nd order CriticalDamping filter |
| Time | riseTime | 120 | Rise time of the filter (time to reach 99.6 % of an opening step) [s] |
| Init | init | Modelica.Blocks.Types.Init.I... | Type of initialization (no init/steady state/initial state/initial output) |
| Real | y_start | 1 | Initial position of actuator |
| Nominal condition | |||
| Time | tau | 10 | Time constant at nominal flow [s] |
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
| Graphics | |||
| Integer | text_rotation | 0 | Text rotation angle in icon layer |
| Boolean | text_flip | false | True to flip text horizontally in icon layer |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
| FluidPort_a | portByp_a | Fluid connector with bypass line |
| Bus | bus | Control bus |
Modelica definition
Buildings.Templates.Components.Valves.ThreeWayTwoPosition
Three-way two-position valve
Information
This is a model for a three-way two-position (directional) valve.
-
The valve position is commanded with a Boolean signal
y1.
y1 = falsecorresponds to full bypass.y1 = truecorresponds to zero bypass. -
The open end switch status
y1_actualand closed end switch statusy0_actual(Booleans) are returned.
y1_actual = falsecorresponds to full bypass.y1_actual = truecorresponds to zero bypass. And the opposite fory0_actual.
Extends from Buildings.Templates.Components.Interfaces.PartialValve (Interface class for valve).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium in the component | |
| Valve | dat | Design and operating parameters | |
| ThreeWayLinear | val | redeclare Buildings.Fluid.Ac... | Valve |
| Configuration | |||
| Valve | typ | Buildings.Templates.Componen... | Equipment type |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced | |||
| MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
| Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
| Dynamics | |||
| Filtered opening | |||
| Boolean | use_inputFilter | true | = true, if opening is filtered with a 2nd order CriticalDamping filter |
| Time | riseTime | 120 | Rise time of the filter (time to reach 99.6 % of an opening step) [s] |
| Init | init | Modelica.Blocks.Types.Init.I... | Type of initialization (no init/steady state/initial state/initial output) |
| Real | y_start | 1 | Initial position of actuator |
| Nominal condition | |||
| Time | tau | 10 | Time constant at nominal flow [s] |
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
| Graphics | |||
| Integer | text_rotation | 0 | Text rotation angle in icon layer |
| Boolean | text_flip | false | True to flip text horizontally in icon layer |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
| FluidPort_a | portByp_a | Fluid connector with bypass line |
| Bus | bus | Control bus |
Modelica definition
Buildings.Templates.Components.Valves.TwoWayModulating
Two-way modulating valve
Information
This is a model for a two-way modulating valve.
-
The valve position is modulated with a fractional position
signal
y(real).
y = 0corresponds to fully closed.y = 1corresponds to fully open. -
The actual valve position
y_actual(real) is returned.
y_actual = 0corresponds to fully closed.y_actual = 1corresponds to fully open.
Extends from Buildings.Templates.Components.Interfaces.PartialValve (Interface class for valve).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium in the component | |
| Valve | dat | Design and operating parameters | |
| TwoWayEqualPercentage | val | redeclare Buildings.Fluid.Ac... | Valve |
| Configuration | |||
| Valve | typ | Buildings.Templates.Componen... | Equipment type |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced | |||
| MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
| Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
| Dynamics | |||
| Filtered opening | |||
| Boolean | use_inputFilter | true | = true, if opening is filtered with a 2nd order CriticalDamping filter |
| Time | riseTime | 120 | Rise time of the filter (time to reach 99.6 % of an opening step) [s] |
| Init | init | Modelica.Blocks.Types.Init.I... | Type of initialization (no init/steady state/initial state/initial output) |
| Real | y_start | 1 | Initial position of actuator |
| Nominal condition | |||
| Time | tau | 10 | Time constant at nominal flow [s] |
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
| Graphics | |||
| Integer | text_rotation | 0 | Text rotation angle in icon layer |
| Boolean | text_flip | false | True to flip text horizontally in icon layer |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
| FluidPort_a | portByp_a | Fluid connector with bypass line |
| Bus | bus | Control bus |
Modelica definition
Buildings.Templates.Components.Valves.TwoWayTwoPosition
Two-way two-position valve
Information
This is a model for a two-way two-position (isolation) valve.
-
The valve position is commanded with a Boolean signal
y1.
y1 = falsecorresponds to fully closed.y1 = truecorresponds to fully open. -
The open end switch status
y1_actualand closed end switch statusy0_actual(Booleans) are returned.
y1_actual = falsecorresponds to fully closed.y1_actual = truecorresponds to fully open. And the opposite fory0_actual.
Extends from Buildings.Templates.Components.Interfaces.PartialValve (Interface class for valve).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | PartialMedium | Medium in the component | |
| Valve | dat | Design and operating parameters | |
| TwoWayPolynomial | val | val(c={0,1.101898284705380E-... | Valve (butterfly valve characteristic) |
| Configuration | |||
| Valve | typ | Buildings.Templates.Componen... | Equipment type |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced | |||
| MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
| Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
| Dynamics | |||
| Filtered opening | |||
| Boolean | use_inputFilter | true | = true, if opening is filtered with a 2nd order CriticalDamping filter |
| Time | riseTime | 120 | Rise time of the filter (time to reach 99.6 % of an opening step) [s] |
| Init | init | Modelica.Blocks.Types.Init.I... | Type of initialization (no init/steady state/initial state/initial output) |
| Real | y_start | 1 | Initial position of actuator |
| Nominal condition | |||
| Time | tau | 10 | Time constant at nominal flow [s] |
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
| Graphics | |||
| Integer | text_rotation | 0 | Text rotation angle in icon layer |
| Boolean | text_flip | false | True to flip text horizontally in icon layer |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
| FluidPort_a | portByp_a | Fluid connector with bypass line |
| Bus | bus | Control bus |