Buildings.Fluid.BaseClasses.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Fluid.BaseClasses.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier MassFlowRateMultiplier Example use of MassFlowRateMultiplier

Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier

Example use of MassFlowRateMultiplier

Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier

Information

This example demonstrates the use of Buildings.Fluid.BaseClasses.MassFlowRateMultiplier.

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

Modelica definition

model MassFlowRateMultiplier "Example use of MassFlowRateMultiplier" extends Modelica.Icons.Example; package Medium = Buildings.Media.Water; Buildings.Fluid.BaseClasses.MassFlowRateMultiplier massFlowRateMultiplier( redeclare package Medium = Medium, k=5) "Mass flow rate multiplier"; Modelica.Blocks.Sources.Ramp ram_m_flow( height=10, duration=10, offset=0) "Mass flow rate ramp"; Buildings.Fluid.Sources.MassFlowSource_T sou( redeclare package Medium = Medium, use_m_flow_in=true, nPorts=1) "Mass flow source"; Buildings.Fluid.Sources.Boundary_pT sin( redeclare package Medium = Medium, nPorts=1) "Mass flow sink"; equation connect(ram_m_flow.y, sou.m_flow_in); connect(sou.ports[1], massFlowRateMultiplier.port_a); connect(massFlowRateMultiplier.port_b, sin.ports[1]); end MassFlowRateMultiplier;