Sources

Constant Block

Outputs a constant value

Open Constant in BlockWerk →

# Constant Block

Description

The Constant block is a fundamental signal source that provides a steady numerical output value throughout the entire simulation. It has no input ports and one output port that continuously outputs the configured constant value.

This block is essential for providing fixed inputs to your system, such as setpoints for control loops, bias values, or test signals. The block produces identical output at every simulation step.

Mathematical Model

The Constant block implements:

y(t) = K

Where:

Parameters

value

The constant numerical value to output. Supports integers, decimals, and scientific notation (e.g. 1e-3).

Examples

Reference Setpoint

Provide a steady target for a controller:

Constant (value: 20) → PIDController → Boiler

Static Gain

Provide a gain value to a product block:

Sensor → Product
Constant (value: 0.5) → Product

Remarks

See Also