power_to_heat
The central module containing all code dealing with power to heat
- assign_electrical_bus(heat_pumps, carrier, scenario, multiple_per_mv_grid=False)[source]
Calculates heat pumps per electrical bus
- Parameters:
heat_pumps (pandas.DataFrame) – Heat pumps including voltage level
multiple_per_mv_grid (boolean, optional) – Choose if a district heating area can by supplied by multiple hvmv substaions/mv grids. The default is False.
- Returns:
gdf (pandas.DataFrame) – Heat pumps per electrical bus
- assign_voltage_level(heat_pumps, carrier='heat_pump')[source]
Assign voltage level to heat pumps
- Parameters:
heat_pumps (pandas.DataFrame) – Heat pumps without voltage level
- Returns:
heat_pumps (pandas.DataFrame) – Heat pumps including voltage level
- insert_central_power_to_heat(scenario)[source]
Insert power to heat in district heating areas into database
- Parameters:
scenario (str) – Name of the scenario.
- Returns:
None.
- insert_individual_power_to_heat(scenario)[source]
Insert power to heat into database
- Parameters:
scenario (str, optional) – Name of the scenario.
- Returns:
None.
- insert_power_to_heat_per_level(heat_pumps, multiple_per_mv_grid, carrier, scenario)[source]
Insert power to heat plants per grid level
- Parameters:
heat_pumps (pandas.DataFrame) – Heat pumps in selected grid level
multiple_per_mv_grid (boolean) – Choose if one district heating areas is supplied by one hvmv substation
scenario (str) – Name of the scenario.
- Returns:
None.