pvpumpingsystem.pump.Pump

class pvpumpingsystem.pump.Pump(path, motor_electrical_architecture=None, idname=None, price=nan, controller=None, diameter_output=None, modeling_method='arab')

Class representing a motor-pump.

path

The path to the .txt file with the pump specifications.

Type:str, default=’‘
motor_electrical_architecture

‘permanent_magnet’, ‘series_excited’, ‘shunt_excited’, ‘separately_excited’.

Type:str, default is None
modeling_method

name of the method used for modeling the pump.

Type:str, default is ‘arab’
idname

name of the pump

Type:str, default is None
price

The price of the pump

Type:numeric, default is None
controller

Name of controller

Type:str, default is None
voltage_list

list of voltage (the keys of preceding dictionaries) [V]

Type:None or list,
specs
Dataframe with columns of following numeric:
‘voltage’: voltage at pump input [V] ‘current’: current at pump input [A] ‘power’: electrical power at pump input [W]] ‘tdh’: total dynamic head in the pipes at output [m] ‘flow’: pump output flow rate [liter per minute]
Type:None or pandas.DataFrame,
data_completeness

Provides some figures to assess the completeness of the data. (for more details, see pump.specs_completeness() )

Type:None or dict,
__init__(path, motor_electrical_architecture=None, idname=None, price=nan, controller=None, diameter_output=None, modeling_method='arab')

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

Methods

__init__(path[, …]) Initialize self.
functIforVH() Function computing the IV characteristics of the pump depending on head H.
functIforVH_Arab() Function using Hadj Arab model for modeling I vs V of pump.
functIforVH_Kou() Function using Kou model for modeling I vs V of pump.
functIforVH_theoretical() Function using electrical architecture for modeling V vs I of pump.
functQforPH() Function computing the output flow rate of the pump.
functQforPH_Arab() Function using Hadj Arab model for output flow rate modeling.
functQforPH_Hamidat() Function using Hamidat model for output flow rate modeling.
functQforPH_Kou() Function using Kou model for output flow rate modeling.
functQforPH_theoretical() Function using theoretical approach for output flow rate modeling.
functQforVH() Function redirecting to functQforPH.
iv_curve_data(head[, nbpoint]) Function returning the data needed for plotting the IV curve at a given head.
starting_characteristics(tdh, …) To Develop: In order to start, the pump usually need a higher power input than the minimum power input in steady state operation.

Attributes

modeling_method