Appearance
Const Double
Outputs a constant double-precision value k for the entire simulation. The simplest source for setpoints, biases, and hand-tuned reference values.
Category: Sources
Keywords: constant, const, fixed, value, double, setpoint, bias, k
Ports
| Name | Direction | Value type | Notes |
|---|---|---|---|
out | output | double |
Parameters
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
value | k | double | 0 | — |
Used in samples
- Add Two Constants
- Buck
- Multirate Pi
- Named Input Adder Demo
- Open Loop Integrator
- Pi Controller
- Pwm Power Control
- Pwm Subsystem
Implemented in C++ class SimCompCtlConstDbl (components/control/CSim_comp_ctl_const_dbl/sim_comp_ctl_const_dbl.h).