Skip to content

digiplan.map.datapackage#

Read functionality for digipipe datapackage.

Source #

Bases: NamedTuple

Stores information on data sources.

disaggregate_tsam_sequence(series, scenario) #

Disaggregate series for the whole year according to tsam_order.

get_batteries() #

Return battery data.

get_capacities_from_datapackage() #

Return renewable capacities for given year from datapackage.

get_capacities_from_sliders(year) #

Return renewable capacities for given year from slider settings (totals for each technology).

get_data_from_sources(sources) #

Extract data from single or multiple sources and merge into dataframe.

get_electricity_demand_profile(sector=None, scenario=None) #

Return heat demand for given sector and distribution.

get_employment() #

Return employment data.

get_full_load_hours(year) #

Return full load hours for given year.

get_heat_capacity_shares(distribution, year=2045, *, include_heatpumps=False) #

Return capacity shares of heating structure.

get_heat_demand(sector=None, distribution=None) #

Return heat demand for given sector or all sectors.

get_heat_demand_profile(sector=None, distribution=None, scenario=None, *, disaggregate_tsam=False) #

Return heat demand for given sector and distribution.

get_hourly_electricity_demand(year) #

Return hourly electricity demand per sector.

get_potential_areas(technology=None) #

Return potential areas.

Parameters#

technology: str If given, potential area only for this technology is returned

Returns#

dict Potential areas of all technologies or specified one (in sqkm)

get_potential_areas_region(region_id, technology=None) #

Return potential areas for a specific region (municipality).

Parameters#

region_id: int Municipality ID to filter for technology: str | None If given, returns a Series with a single value for the requested technology. If None, returns a Series with a single row containing all technologies.

Returns#

pd.Series Potential areas for the given municipality (in sqkm). Index are technologies if technology is None.

get_potential_capacities() #

Calculate maximum potential capacities in MW.

Returns#

pd.DataFrame holding potential capacities for all technologies in MW

get_power_demand(sector=None) #

Return power demand for given sector or all sectors.

get_power_density() #

Return power density for technology.

get_profile(technology, scenario=None) #

Return profile for given technology from oemof datapackage.

get_region_area() #

Return total region area in ?.

get_summed_heat_demand_per_municipality(sector=None, distribution=None) #

Return heat demand for given sector and distribution.

get_thermal_efficiency(component, scenario=None, *, disaggregate_tsam=False) #

Return thermal efficiency from given component from oemof scenario.