pvpumpingsystem.consumption.Consumption

class pvpumpingsystem.consumption.Consumption(flow_rate=None, constant_flow=None, repeated_flow=None, length=8760, year=2005, safety_factor=1)

The Consumption class defines a consumption schedule, typically through a year.

Parameters:
  • flow_rate (pd.DataFrame) – The consumption schedule in itself [L/min]
  • constant_flow (numeric) – Parameter allowing to build consumption data with constant consumption through the flow_rates DataFrame.
  • repeated_flow (1D array-like) – Parameter allowing to build consumption data with a repeated consumption through the time.
__init__(flow_rate=None, constant_flow=None, repeated_flow=None, length=8760, year=2005, safety_factor=1)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([flow_rate, constant_flow, …]) Initialize self.