Constant
Outputs a fixed value for the whole run.
- signal
- Gradara equations
- 1 port
- 1 parameter
constantLibrarySourcesDescription
Outputs a fixed value for the whole run. Use it for setpoints, offsets, and fixed inputs to other blocks.
Example
Arithmetic Sum, difference, product, quotient, minimum, and maximum of a ramp and a constant.
a = tb = 2a + ba − ba · ba / bmin(a, b)max(a, b)
Ports
Outputs 1
-
y
Output signal, equal to Value at all times.
Parameters
-
Value
value0The output value. Any real number.
Equations
Modelica
y = value
Implementation
The block’s Modelica model
y = value;
Assumptions and limitations
- The value is fixed during a run. For a change at a set time, use Step.
Used in
These larger examples use it too. Open them from Examples in the app.
- Data center cooling control
- PMSM · Field-oriented control
See also
Select a block in Gradara and press F1 to open its page offline.