Buildings.Fluid.FMI.Conversion.Validation
Collection of models that illustrate model use and test models
Information
This package contains examples for the use of models that can be found in Buildings.Fluid.FMI.Conversion.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
AirToOutlet | Validation model for air to outlet conversion |
AirToOutletFlowReversal | Validation model for air to outlet converter with flow reversal enabled |
InletToAirDryAir | Validation model for inlet to air with dry air medium |
InletToAirDryAirCO2 | Validation model for inlet to air with dry air medium and CO2 |
InletToAirMoistAir | Validation model for inlet to Buildings.Media.Air conversion without trace substances |
InletToAirMoistAirCO2 | Validation model for inlet to Buildings.Media.Air conversion with C02 trace substances |
Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet
Validation model for air to outlet conversion
Information
This example validates the conversion model Buildings.Fluid.FMI.Conversion.AirToOutlet for the situation without reverse flow.
The conversion elements all have either a dry or moist air medium, with our without trace substances, in order to test all combinations of air.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
Modelica definition
Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal
Validation model for air to outlet converter with flow reversal enabled
Information
This example is identical to Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet, except that it has reverse flow. This tests whether the fluid properties from the upstream media are correctly converted to the output signals of Buildings.Fluid.FMI.Conversion.AirToOutlet.
Extends from Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet (Validation model for air to outlet conversion).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
Modelica definition
Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir
Validation model for inlet to air with dry air medium
Information
This validation test is identical to Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir except that it uses a medium model without moisture. Hence, it tests whether the water vapor connectors are correctly removed.
Extends from Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir (Validation model for inlet to Buildings.Media.Air conversion without trace substances).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | Air | Medium model | |
Boolean | use_p_in | false | = true to use a pressure from connector, false to output Medium.p_default |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium model |
Modelica definition
Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2
Validation model for inlet to air with dry air medium and CO2
Information
This validation test is identical to Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 except that it uses a medium model without moisture. Hence, it tests whether the water vapor connectors are correctly removed.
Extends from Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 (Validation model for inlet to Buildings.Media.Air conversion with C02 trace substances).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | Modelica.Media.Air.SimpleAir... | Medium model | |
Boolean | use_p_in | false | = true to use a pressure from connector, false to output Medium.p_default |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium model |
Modelica definition
Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir
Validation model for inlet to Buildings.Media.Air conversion without trace substances
Information
This example validates the conversion model Buildings.Fluid.FMI.Conversion.InletToAir . The medium used is Buildings.Media.Air without trace substances. The top model has no reverse flow, whereas the bottom model has reverse flow.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | Buildings.Media.Air | Medium model | |
Boolean | use_p_in | false | = true to use a pressure from connector, false to output Medium.p_default |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium model |
Modelica definition
Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2
Validation model for inlet to Buildings.Media.Air conversion with C02 trace substances
Information
This example validates the conversion model
Buildings.Fluid.FMI.Conversion.InletToAir
.
It is identical to
Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir
except that
the medium has C02
trace substances.
Extends from Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir (Validation model for inlet to air with dry air medium).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | SimpleAir | Medium model | |
Boolean | use_p_in | false | = true to use a pressure from connector, false to output Medium.p_default |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium model |
Modelica definition
Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.BoundaryCondition
Information
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 | |
Inlet | inlet | Fluid inlet |