pvpumpingsystem.pvpumpsystem.PVPumpSystem.calc_flow

PVPumpSystem.calc_flow(friction=False, atol=0.1, stop=8760, **kwargs)

Computes the flow at the output of the PVPS, and assigns the value to the attribute ‘flow’.

cf calc_flow_directly_coupled() and calc_flow_mppt_coupled() for more details.

Parameters:
  • friction (boolean, default is False) – Decide if the system considers the friction head due to the flow rate of water pump or not. Often can be put to False if the pipes are well sized, because negligible in relation to the static head. When turned to True, it approximately multiplies by 3 the computation time (if atol kept to default value).
  • atol (numeric) – absolute tolerance on the uncertainty of the flow in L/min
  • stop (numeric) – number of data on which the computation is run
Returns:

Return type:

None

Notes

Takes ~20 sec for computing 8760 iterations with mppt coupling and
atol=0.1 lpm
Takes ~60 sec for computing 8760 iterations with direct coupling and
atol=0.1 lpm