Buildings.Fluid.FMI.BaseClasses
Package with base classes for Buildings.Fluid.FMI
Information
This package contains base classes that are used to construct the models in Buildings.Fluid.FMI.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
X_w_toX | Conversion from Xi to X |
hOut_toT | Conversion from h to T |
Buildings.Fluid.FMI.BaseClasses.X_w_toX
Conversion from Xi to X
Information
Block that converts a scalar input for the water mass fraction Xi
to a vector output X
.
This is needed for models in which a scalar input signal Xi
that
may be conditionally removed is to be connected to a model with a vector
input X
, because the conversion from scalar to vector
needs to access the conditional connector, but conditional connectors
can only be used in connect
statements.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | Modelica.Media.Interfaces.Pa... | Medium in the component |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium in the component | |
input RealInput | X_w | Water mass fraction per total air mass [kg/kg] |
output RealOutput | X[Medium.nX] | Prescribed fluid composition [kg/kg] |
Modelica definition
Buildings.Fluid.FMI.BaseClasses.hOut_toT
Conversion from h to T
Information
Block that converts enthalpy to temperature.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | Modelica.Media.Interfaces.Pa... | Medium in the component |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium in the component | |
input RealInput | h | Specific enthalpy [J/kg] |
input RealInput | Xi[Medium.nXi] | Water vapor concentration in kg/kg total air [kg/kg] |
output RealOutput | T | Temperature [K] |