pvpumpingsystem.pvpumpsystem.calc_flow_directly_coupled¶
-
pvpumpingsystem.pvpumpsystem.
calc_flow_directly_coupled
(pvgeneration, motorpump, pipes, 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 object) – The PV generator object
- motorpump (pump.Pump object) – Pump associated with the PV generator
- pipes (pipenetwork.PipeNetwork object) – Hydraulic network linked to the pump
- 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:
’I’: Current in A at operating point ‘V’: Voltage in V at operating point ‘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