RAMP(slope,start time,end time) RAMP test input

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 :AND: end time > 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.

See also: STEP, PULSE

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.