pvcompare.heat_pump_and_chiller.calculate_cops_and_eers¶
- pvcompare.heat_pump_and_chiller.calculate_cops_and_eers(weather, lat, lon, mode, temperature_col='temp_air', user_inputs_pvcompare_directory=None, user_inputs_mvs_directory=None)[source]¶
Calculates the COPs of a heat pump or EERs of a chiller depending on mode.
Temperature dependency is taken into consideration. For these calculations the ``calc_cops()` <functionality>`_ functionality of oemof.thermal is used. Data like quality grade and factor icing is read from the file heat_pumps_and_chillers.csv in the input_directory. Negative values, which might occur due to high ambient temperatures in summer are set to zero.
- Parameters
weather (pandas.DataFrame) – Contains weather data time series. Required: ambient temperature in column temperature_col.
lat (float) – Latitude of ambient temperature location in weather.
lon (float) – Longitude of ambient temperature location in weather.
temperature_col (str) – Name of column in weather containing ambient temperature. Default: “temp_air”.
mode (str) – Defines whether COPs of heat pump (“heat_pump”) or EERs of chiller (“chiller”) are calculated. Default: “heat_pump”.
user_inputs_pvcompare_directory (str or None) – Path to user input directory. If None, constants.DEFAULT_USER_INPUTS_PVCOMPARE_DIRECTORY is used. Default: None.
user_inputs_mvs_directory (str or None) – Path to input directory containing files that describe the energy system and that are an input to MVS. If None, constants.DEFAULT_USER_INPUTS_MVS_DIRECTORY is used. Default: None.
- Returns
- Return type