Buildings.Controls.OBC.CDL.Integers.Sources
Package with blocks that generate source signals
Information
Package with blocks that generate signals.
Package Content
| Name | Description |
|---|---|
| Output constant signal of type Integer | |
| Collection of models that validate the logical sources blocks of the CDL |
Buildings.Controls.OBC.CDL.Integers.Sources.Constant
Output constant signal of type Integer
Information
Block that outputs a constant signal y = k,
where k is an Integer-valued parameter.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | k | Constant output value |
Connectors
| Type | Name | Description |
|---|---|---|
| output IntegerOutput | y | Connector of Integer output signal |
Modelica definition
block Constant "Output constant signal of type Integer"
parameter Integer k "Constant output value";
Interfaces.IntegerOutput y "Connector of Integer output signal";
equation
y = k;
end Constant;