This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
SimpleControl uses a →CloseGap
component to arrive (naively) at a flow that is needed to move a connected stock "under management" to a given setpoint, i.e., goal. The strength of the flow, i.e., the speed of the adjustment, is controlled by the parameter adjTime
.
The control's setpoint can be provided either by a →RampInput
or by an exogenous input u. In case of a ramp input the setpoint will move from initialSetpoint
to finalSetpoint
in linear fashion for a period given by duration
starting at startTime
.
The controller by default is active over the whole simulation run, but can be restricted to an on-off period using tc = TimingChoices.period
and the parameters onTime
and offTime
.