modelGetPeakLoad

Model that validates the getPeakLoad function

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

Information

This model tests reading the peak loads from the load file. If the wrong values are read, then the simulation stops with an error.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQCoo_flowBuildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak space cooling load", filNam = Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos"))Peak heat flow rate
Modelica.Units.SI.HeatFlowRateQHea_flowBuildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak space heating load", filNam = Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos"))Peak heat flow rate
Modelica.Units.SI.HeatFlowRateQWatHea_flowBuildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak water heating load", filNam = Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos"))Peak water heating flow rate

Revisions

  • November 28, 2016, by Michael Wetter:
    Added call to Modelica.Utilities.Files.loadResource.
    This is for #585.
  • November 8, 2016, by Michael Wetter:
    Removed test for equality of real variables.
    This is for #572.
  • December 1, 2015, by Michael Wetter:
    First implementation.