LBL logo

Buildings.Utilities.Reports.Examples

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.Utilities.Reports.

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

Package Content

NameDescription
Buildings.Utilities.Reports.Examples.Printer Printer Test model for printer


Buildings.Utilities.Reports.Examples.Printer Buildings.Utilities.Reports.Examples.Printer

Test model for printer

Buildings.Utilities.Reports.Examples.Printer

Information

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

Modelica definition

model Printer "Test model for printer"
  extends Modelica.Icons.Example;
  Buildings.Utilities.Reports.Printer pri1(
    header="time ramp",
    nin=2);
  Modelica.Blocks.Sources.Clock clo;
  Modelica.Blocks.Sources.Ramp ram;
  Buildings.Utilities.Reports.Printer pri2(
    header="time ramp",
    nin=2,
    configuration=2);
  Buildings.Utilities.Reports.Printer pri3(
    header="time ramp",
    nin=2,
    configuration=3);
equation 
  connect(clo.y, pri1.x[1]);
  connect(ram.y, pri1.x[2]);
  connect(clo.y, pri2.x[1]);
  connect(ram.y, pri2.x[2]);
  connect(clo.y, pri3.x[1]);
  connect(ram.y, pri3.x[2]);
end Printer;

Automatically generated Wed Feb 22 15:24:43 2012.