pvpumpingsystem.pvpumpsystem.calc_flow_mppt_coupled

pvpumpingsystem.pvpumpsystem.calc_flow_mppt_coupled(pvgeneration, motorpump, pipes, mppt, friction=False, atol=0.1, stop=8760, **kwargs)

Computes input electrical characteristics, total dynamic head, and flow at pump output.

Parameters:
  • pvgeneration (pvpumpingsystem.pvgeneration.PVGeneration) – The PV generator.
  • motorpump (pump.Pump object) – Pump associated with the PV generator
  • pipes (pipenetwork.PipeNetwork object) – Hydraulic network linked to the pump
  • mppt (mppt.MPPT object,) – The maximum power point tracker of the system.
  • friction (boolean, default is False) – Decide if the system takes into account the friction head due to the flow rate of water pump (friction = True) or if the system just considers the static head of the system (friction = False). Often can be put to False if the pipes are well sized.
  • atol (numeric) – absolute tolerance on the uncertainty of the flow in l/min. Used if friction=True.
  • stop (numeric) – number of data on which the computation is run
Returns:

df

pd.Dataframe with following attributes:

’Qlpm’: Flow rate of water in L/minute ‘P’: Input power to the pump in W ‘P_unused’: Power unused (because too low or too high) ‘tdh’: Total dynamic head in m

Return type:

pandas.DataFrame

Notes

Takes ~15 sec for computing 8760 iterations with atol=0.1lpm