Buildings.Templates.Components.Controls.Validation
Package with validation models
Information
This package contains validation models for the classes within Buildings.Templates.Components.Controls.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
MultipleCommands | Validation model for converter of multiple commands |
StatusEmulator | Validation model for status emulator |
Buildings.Templates.Components.Controls.Validation.MultipleCommands
Validation model for converter of multiple commands
Information
This model validates Buildings.Templates.Components.Controls.MultipleCommands.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
model MultipleCommands "Validation model for converter of multiple commands"
extends Modelica.Icons.Example;
Buildings.Controls.OBC.CDL.Logical.Sources.Pulse y1[3](
width={0.5,0.6,0.4},
each period=600,
shift={100,200,300})
"Enable command";
Buildings.Templates.Components.Controls.MultipleCommands conCom(nUni=3)
"Converter of multiple commands";
equation
connect(y1.y, conCom.y1);
end MultipleCommands;
Buildings.Templates.Components.Controls.Validation.StatusEmulator
Validation model for status emulator
Information
This model validates Buildings.Templates.Components.Controls.StatusEmulator.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
model StatusEmulator "Validation model for status emulator"
extends Modelica.Icons.Example;
Buildings.Controls.OBC.CDL.Logical.Sources.Pulse y1(period=10)
"Enable command";
Buildings.Templates.Components.Controls.StatusEmulator sta(y_start=1)
"Generate status";
equation
connect(y1.y, sta.y1);
end StatusEmulator;