modelFMUZoneAdapterZones3

Validation model for the class and functions that instantiate and communicate with an FMU for Model Exchange

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Validation model that communicates with an FMU that emulates three simple thermal zones. All thermal zones are identical.

This test is done to validate the FMI API, using an FMU 2.0 for Model Exchange, compiled for Linux 64 bit by JModelica.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatCapacityCZon6*6*2.7*1.2*1006Heat capacity of zone air

Components

TypeNameDefaultDescription
BuildingbuildingBuilding model
Buildings.ThermalZones.EnergyPlus_24_2_0.BaseClasses.ThermalZoneAdapterfmuZonCorAdapter to EnergyPlus
Modelica.Blocks.Sources.RealExpressionX_wZone absolute humidity
Modelica.Blocks.Sources.RealExpressionmIn_flowInlet mass flow rate
Modelica.Blocks.Math.GainmOut_flowOutlet mass flow rate
Modelica.Blocks.Sources.RealExpression[2]TInInlet temperature
Modelica.Blocks.Sources.RealExpressionQGaiRad_flowRadiative heat gain for the zone
Modelica.Blocks.Continuous.IntegratorTZonCorZone air temperature
Buildings.ThermalZones.EnergyPlus_24_2_0.BaseClasses.ThermalZoneAdapterfmuZonSouAdapter to EnergyPlus
Modelica.Blocks.Continuous.IntegratorTZonSouZone air temperature
Buildings.ThermalZones.EnergyPlus_24_2_0.BaseClasses.ThermalZoneAdapterfmuZonNorAdapter to EnergyPlus
Modelica.Blocks.Continuous.IntegratorTZonNorZone air temperature
Modelica.Blocks.Sources.RealExpressionpAir pressure

Revisions

  • March 23, 2022, by Michael Wetter:
    Changed model to use the instance name of the building instance as is done for the other Spawn models.
  • March 19, 2018, by Michael Wetter:
    First implementation.