Buildings.Templates.Components.Interfaces
Interface classes
Information
This package contains interface classes.
Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).
Package Content
Name | Description |
---|---|
Bus | Control bus |
PartialCoil | Interface class for coil |
PartialDamper | Interface class for damper |
PartialFan | Interface class for fan |
PartialSensor | Interface class for sensor |
PartialValve | Interface class for valve |
Buildings.Templates.Components.Interfaces.Bus
Control bus
Information
This expandable connector provides a standard interface for all control signals of the component models.
Extends from Modelica.Icons.SignalBus (Icon for signal bus).
Modelica definition
Buildings.Templates.Components.Interfaces.PartialCoil
Interface class for coil
Information
This partial class provides a standard interface for coil models.
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface (Partial model transporting fluid between two ports without storing mass or energy).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
replaceable package MediumAir | Buildings.Media.Air | Air medium | |
replaceable package MediumSou | Buildings.Media.Water | Source-side medium | |
Coil | dat | dat(final have_sou=have_sou,... | Design and operating parameters |
Nominal condition | |||
MassFlowRate | m_flow_nominal | mAir_flow_nominal | Nominal mass flow rate [kg/s] |
Configuration | |||
Coil | typ | Equipment type | |
Valve | typVal | Type of valve | |
Assumptions | |||
Boolean | allowFlowReversal | allowFlowReversalAir | = false to simplify equations, assuming, but not enforcing, no flow reversal |
Boolean | allowFlowReversalAir | true | = true to allow flow reversal, false restricts to design direction - Air side |
Boolean | allowFlowReversalLiq | true | = true to allow flow reversal, false restricts to design direction - CHW and HW side |
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 | |||
Nominal condition | |||
Time | tau | 20 | 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 |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium in the component | |
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) |
replaceable package MediumAir | Air medium | |
replaceable package MediumSou | Source-side medium | |
FluidPort_a | port_aSou | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_bSou | Fluid connector b (positive design flow direction is from port_a to port_b) |
Bus | busWea | Weather bus |
Bus | bus | Control bus |
Modelica definition
Buildings.Templates.Components.Interfaces.PartialDamper
Interface class for damper
Information
This partial class provides a standard interface for damper models.
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface (Partial model transporting fluid between two ports without storing mass or energy).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Damper | dat | dat(final typ=typ) | Design and operating parameters |
Nominal condition | |||
MassFlowRate | m_flow_nominal | dat.m_flow_nominal | Nominal mass flow rate [kg/s] |
Configuration | |||
Damper | typ | 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 |
Graphics | |||
DamperBlades | typBla | Buildings.Templates.Componen... | Type of blades |
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) |
Bus | bus | Control bus |
Modelica definition
Buildings.Templates.Components.Interfaces.PartialFan
Interface class for fan
Information
This partial class provides a standard interface for fan models.
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface (Partial model transporting fluid between two ports without storing mass or energy).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Fan | dat | dat(final typ=typ, final nFa... | Design and operating parameters |
Nominal condition | |||
MassFlowRate | m_flow_nominal | dat.m_flow_nominal | Nominal mass flow rate [kg/s] |
Configuration | |||
Fan | typ | Equipment type | |
Boolean | have_senFlo | false | Set to true for air flow measurement |
Integer | nFan | Number of fans | |
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 | |||
Nominal condition | |||
Time | tau | 1 | Time constant of fluid volume for nominal flow, used if energy or mass balance is dynamic [s] |
Conservation equations | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Graphics | |||
FanSingle | typSin | Buildings.Templates.Componen... | Type of single fan |
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) |
Bus | bus | Control bus |
Modelica definition
Buildings.Templates.Components.Interfaces.PartialSensor
Interface class for sensor
Information
This partial class provides a standard interface for sensor models.
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface (Partial model transporting fluid between two ports without storing mass or energy).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Nominal condition | |||
MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] | |
Configuration | |||
Boolean | have_sen | true | Set to true for sensor, false for direct pass through |
Boolean | isDifPreSen | false | Set to true for differential pressure sensor, false for any other sensor |
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 |
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) |
output RealOutput | y | Connector for measured value |
Modelica definition
Buildings.Templates.Components.Interfaces.PartialValve
Interface class for valve
Information
This partial class provides a standard interface for valve models.
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface (Partial model transporting fluid between two ports without storing mass or energy).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Valve | dat | dat(final typ=typ) | Design and operating parameters |
Nominal condition | |||
MassFlowRate | m_flow_nominal | dat.m_flow_nominal | Nominal mass flow rate [kg/s] |
Configuration | |||
Valve | typ | 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 |