Name | Description |
---|---|
Printer | Test model for printer |
model Printer "Test model for printer" Buildings.Utilities.Reports.Printer pri1( header="time ramp", nin=2, fileName="testPrinter1.txt"); Modelica.Blocks.Sources.Clock clo; Modelica.Blocks.Sources.Ramp ram; Buildings.Utilities.Reports.Printer pri2( header="time ramp", nin=2, configuration=2, fileName="testPrinter2.txt"); Buildings.Utilities.Reports.Printer pri3( header="time ramp", nin=2, configuration=3, fileName="testPrinter3.txt"); 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;