PumpFixedDischarge

Input
  1. status: pump status (on = 1 or off = 0). Can be equidistant or non-equidistant.
Coefficient set

Contains the fixed discharge of the pump.

Output
  1. discharge: discharge of the pump.
Description

Calculates discharge of a pump, using a fixed discharge when the pump is on. The fixed discharge is equal to the capacity of the pump and is defined in a coefficientSet.
Input can be equidistant or non-equidistant. First the intermediate result (discharge) is calculated at each time that is present in the status input series. At a given time t1 the calculation uses the most recent status input value before t1 to determine if the pump is on. If the pump is off, then the intermediate discharge at t1 is 0. If the pump is on, then the intermediate discharge at t1 equals fixedDischarge*(t1 - t0). t0 is the most recent input time before t1 and fixedDischarge is defined in the coefficientSet. Finally the intermediate discharge is aggregated to the times in the equidistant output time series.

  • No labels