pvpumpingsystem.pump.get_data_pump¶
-
pvpumpingsystem.pump.
get_data_pump
(path)¶ Loads the pump data from the .txt file designated by the path. This .txt files contains the specifications of the datasheets, and must follow the style of the template: (~/pvpumpingsystem/data/pump_files/0_template_for_pump_specs.txt)
Parameters: path (str) – path to the file of the pump data Returns: A pandas.DataFrame containing the specifications (voltage, flow, current, tdh, power) and a dict with the metadata of the pump. Return type: tuple