renewable_feedin¶
Central module containing all code dealing with processing era5 weather data.
-
class
MapZensusWeatherCell
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
w_id
¶
-
zensus_population_id
¶
-
-
class
RenewableFeedin
(dependencies)[source]¶ Bases:
egon.data.datasets.Dataset
-
federal_states_per_weather_cell
()[source]¶ Assings a federal state to each weather cell in Germany.
Sets the federal state to the weather celss using the centroid. Weather cells at the borders whoes centroid is not inside Germany are assinged to the closest federal state.
Returns: GeoPandas.GeoDataFrame – Index, points and federal state of weather cells inside Germany
-
feedin_per_turbine
()[source]¶ Calculate feedin timeseries per turbine type and weather cell
Returns: gdf (GeoPandas.GeoDataFrame) – Feed-in timeseries per turbine type and weather cell
-
heat_pump_cop
()[source]¶ Calculate coefficient of performance for heat pumps according to T. Brown et al: “Synergies of sector coupling and transmission reinforcement in a cost-optimised, highlyrenewable European energy system”, 2018, p. 8
Returns: None.
-
insert_feedin
(data, carrier, weather_year)[source]¶ Insert feedin data into database
Parameters: - data (xarray.core.dataarray.DataArray) – Feedin timeseries data
- carrier (str) – Name of energy carrier
- weather_year (int) – Selected weather year
Returns: None.
-
offshore_weather_cells
(geom_column='geom')[source]¶ Get weather cells which intersect with Germany
Returns: GeoPandas.GeoDataFrame – Index and points of weather cells inside Germany
-
turbine_per_weather_cell
()[source]¶ Assign wind onshore turbine types to weather cells
Returns: weather_cells (GeoPandas.GeoDataFrame) – Weather cells in Germany including turbine type