This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import geopandas as gpd | |
from sqlalchemy import Column, ForeignKey, Integer, String, text | |
from sqlalchemy.ext.declarative import declarative_base | |
from egon.data import db | |
from egon.data.processing.hh_demand.hh_demand_profiles_tools import HouseholdElectricityProfilesInCensusCells | |
from egon.data.processing.zensus_grid_districts import MapZensusGridDistricts | |
from egon.data.processing.zensus_vg250.zensus_population_inside_germany import ( | |
DestatisZensusPopulationPerHaInsideGermany, | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from open_mastr.soap_api.mirror import MaStRMirror | |
import datetime | |
technology = ["solar", "wind", "biomass", "combustion", "gsgk", "hydro", "nuclear", "storage"] | |
data_types = ["unit_data", "eeg_data", "kwk_data", "permit_data"] | |
location_types = ["location_elec_generation", "location_elec_consumption", "location_gas_generation", | |
"location_gas_consumption"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Compare results of different runs for creating MV grid districts | |
Execute this script inside the eGon-data working/project directory | |
using the eGon-data virtual environment. | |
""" | |
from egon.data.processing.mv_grid_districts import substations_in_municipalities, split_multi_substation_municipalities, merge_polygons_to_grid_district, HvmvSubstPerMunicipality, VoronoiMunicipalityCuts, VoronoiMunicipalityCutsAssigned, MvGridDistrictsDissolved | |
from egon.data import db | |
import pandas as pd |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source ~/miniconda3/etc/profile.d/conda.sh | |
# conda setup | |
conda create -n windnode_abw_testdocs python=3 -y | |
conda activate windnode_abw_testdocs | |
# create dir | |
mkdir windnode_abw_testdocs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alabaster==0.7.12 | |
ansiwrap==0.8.4 | |
appdirs==1.4.3 | |
async-generator==1.10 | |
attrs==19.3.0 | |
Babel==2.8.0 | |
backcall==0.2.0 | |
beautifulsoup4==4.9.1 | |
black==19.10b0 | |
bleach==3.1.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node1 | node2 | |
---|---|---|
Source | 1 | |
2 | 3 | |
1 | 2 | |
3 | 10 | |
10 | Target | |
1 | 4 | |
4 | 5 | |
5 | Target | |
1 | 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# define and setup logger | |
from windnode_abw.tools.logger import setup_logger | |
logger = setup_logger() | |
# load configs | |
from windnode_abw.tools import config | |
config.load_config('config_data.cfg') | |
config.load_config('config_misc.cfg') | |
from windnode_abw.tools.data_io import load_results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copyright 2020 Guido Pleßmann (gplssm) | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder