Returns 0 until the start time and then slopes upward until end time and then holds constant.
Same as:
IF THEN ELSE ( Time > start time, |
IF THEN ELSE ( Time < end time, |
slope*(Time - start time), |
slope*(end time - start time), |
0) |
NOTE The value returned by RAMP does not change except at TIME STEP intervals regardless of the integration method used.
Units: | RAMP(units,time, time) --> units*time (start time and end time have the same units as Time, the result of RAMP has the product of the slope and Time) |
Example
RAMP(1,10,25) is 0 till time 10, then a line to 15 at time 25, then 15 afterwards.
Sample model: RAMP.mdl in FunctionExamples