pvpumpingsystem.consumption.adapt_to_flow_pumped

pvpumpingsystem.consumption.adapt_to_flow_pumped(Q_consumption, Q_pumped)

Method for shrinking the consumption flow_rate attribute at the same size than the corresponding pumped flow rate data.

Parameters:
  • Q_consumption (pd.DataFrame,) – Dataframe with pandas timestamp as index. Typically comes from PVPumpSystem.consumption.flow_rate
  • Q_pumped (pd.DataFrame,) – Dataframe with pandas timestamp as index. Typically comes from PVPumpSystem.flow.Qlpm
Returns:

Consumption data modified.

Return type:

pandas.DataFrame