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 Buildings.BaseClasses.BaseIconExamples (Icon for Examples packages).

Package Content

NameDescription
Printer Test model for printer


Buildings.Utilities.Reports.Examples.Printer

Test model for printer

Buildings.Utilities.Reports.Examples.Printer

Modelica definition

model Printer "Test model for printer"
  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;

HTML-documentation generated by Dymola Thu Feb 19 16:53:29 2009.