This block models the functionality of a soft starter controller, controlling the output vRef in the range [0,1] with respect to nominal voltage.
Boolean input start = true causes the output vRef to be risen according to a ramp: vRef = vStart + (1 - vStart)*(time - t0)/tRampUp.
In case the current exceeds the specified maximum current iMax during the starting ramp, the ramp is stopped.
When the current falls below the lower threshold of current control iMin < iMax, the ramp is continued.
Note: It is recommended to filter the measured current, e.g. using Modelica.Blocks.Continuous.Filter
Boolean input start = false causes the output vRef to be lowered according to a ramp: vRef = -(time - t0)/tRampDown.