-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
379 changed files
with
33,854 additions
and
4 deletions.
There are no files selected for viewing
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
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+35.7 KB
docs/build/doctrees/autoapi/maptool/network_editor/generateEditableNetwork/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+15.7 KB
docs/build/doctrees/autoapi/maptool/network_editor/recreatePandapowerNetwork/index.doctree
Binary file not shown.
Binary file added
BIN
+18.7 KB
docs/build/doctrees/autoapi/maptool/network_editor/routes/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+32.1 KB
docs/build/doctrees/autoapi/maptool/postcode_editor/routes/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+16.2 KB
docs/build/doctrees/autoapi/maptool/urbs_results/routes/index.doctree
Binary file not shown.
Binary file added
BIN
+23.8 KB
docs/build/doctrees/autoapi/maptool/urbs_results/urbs_results_plotting/index.doctree
Binary file not shown.
Binary file added
BIN
+33.8 KB
docs/build/doctrees/classification/classification_steps/clustering.doctree
Binary file not shown.
Binary file added
BIN
+9.11 KB
docs/build/doctrees/classification/classification_steps/filter_grids.doctree
Binary file not shown.
Binary file added
BIN
+6.16 KB
...d/doctrees/classification/classification_steps/grid_generation_for_classification.doctree
Binary file not shown.
Binary file added
BIN
+3.01 KB
docs/build/doctrees/classification/classification_steps/index.doctree
Binary file not shown.
Binary file added
BIN
+9.87 KB
docs/build/doctrees/classification/classification_steps/parameters.doctree
Binary file not shown.
Binary file added
BIN
+13 KB
docs/build/doctrees/classification/classification_steps/sampling.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.45 MB
docs/build/doctrees/docs_gui/js_api/network_editor/add_delete_new_network_features.doctree
Binary file not shown.
Binary file added
BIN
+1.44 MB
...build/doctrees/docs_gui/js_api/network_editor/collect_returnable_network_features.doctree
Binary file not shown.
Binary file added
BIN
+1.49 MB
docs/build/doctrees/docs_gui/js_api/network_editor/display_editable_network_features.doctree
Binary file not shown.
Binary file added
BIN
+1.45 MB
docs/build/doctrees/docs_gui/js_api/network_editor/generate_editable_network.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.48 MB
docs/build/doctrees/docs_gui/js_api/postcode_editor/display_postcode.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.43 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/buildings_editor.doctree
Binary file not shown.
Binary file added
BIN
+1.44 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/commodity_editor.doctree
Binary file not shown.
Binary file added
BIN
+1.43 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/demand_editor.doctree
Binary file not shown.
Binary file added
BIN
+1.46 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/generate_urbs_setup_editor.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.45 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/process_editor.doctree
Binary file not shown.
Binary file added
BIN
+1.41 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/return_urbs_setup.doctree
Binary file not shown.
Binary file added
BIN
+1.41 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/storage_editor.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.41 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/timevareff_editor.doctree
Binary file not shown.
Binary file added
BIN
+1.42 MB
docs/build/doctrees/docs_gui/js_api/urbs_editor/transmission_editor.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.43 MB
docs/build/doctrees/docs_gui/js_api/urbs_results/setup_urbs_results.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.49 KB
docs/build/doctrees/docs_pylovo/municipal_register/municipal_register.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.6 KB
docs/build/doctrees/grid_generation/explanation/building_data_import.doctree
Binary file not shown.
Binary file added
BIN
+36.3 KB
docs/build/doctrees/grid_generation/explanation/grid_generation_process.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+28.1 KB
docs/build/doctrees/grid_generation/main_workflow/main_workflow.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+50.5 KB
docs/build/doctrees/visualisation/plotting/plot_classification.doctree
Binary file not shown.
Binary file added
BIN
+11.1 KB
docs/build/doctrees/visualisation/plotting/plot_network_data_per_plz.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 07ec192d67b7422021a329a651b65bc9 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1000 KB
docs/build/html/_images/maptool_view_area_selection_buildings_explained.png
Oops, something went wrong.
Binary file added
BIN
+998 KB
docs/build/html/_images/maptool_view_area_selection_buildings_explained_delete.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+2.9 MB
docs/build/html/_images/maptool_view_id_selection_version_explained.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+84.8 KB
docs/build/html/_images/pylovo_sequence_urbs_setup_process_creation.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
docs/build/html/_sources/autoapi/maptool/config/index.rst.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
:py:mod:`maptool.config` | ||
======================== | ||
|
||
.. py:module:: maptool.config | ||
Module Contents | ||
--------------- | ||
|
||
.. py:data:: URBS_CONDA_ENV_NAME | ||
:value: 'urbs310' | ||
|
||
|
||
|
||
.. py:data:: URBS_RUN_FILE_PATH | ||
:value: '../urbs' | ||
|
||
|
||
|
||
.. py:data:: URBS_RESULT_PLOT_SAVE_PATH | ||
:value: 'maptool/urbs_results/plots/' | ||
|
||
|
||
|
||
.. py:data:: URBS_RESULT_PATH | ||
:value: '../urbs/result/' | ||
|
||
|
||
|
||
.. py:data:: URBS_RESULT_FILENAME | ||
:value: 'flex_all_tsam_coordinated_flexible_step1.h5' | ||
|
||
|
||
|
||
.. py:data:: URBS_RESULT_HDF_LOCATION_PATH | ||
:value: '../urbs/result/Trans-Dist-20230613T1603/flex_all_tsam_coordinated_flexible_step1.h5' | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
:py:mod:`maptool` | ||
================= | ||
|
||
.. py:module:: maptool | ||
Subpackages | ||
----------- | ||
.. toctree:: | ||
:titlesonly: | ||
:maxdepth: 3 | ||
|
||
network_editor/index.rst | ||
postcode_editor/index.rst | ||
urbs_editor/index.rst | ||
urbs_results/index.rst | ||
|
||
|
||
Submodules | ||
---------- | ||
.. toctree:: | ||
:titlesonly: | ||
:maxdepth: 1 | ||
|
||
config/index.rst | ||
|
||
|
||
Package Contents | ||
---------------- | ||
|
||
|
||
Functions | ||
~~~~~~~~~ | ||
|
||
.. autoapisummary:: | ||
|
||
maptool.create_app | ||
|
||
|
||
|
||
.. py:function:: create_app(test_config=None) | ||
Flask factory that sets up the application and sets the default webpage template. | ||
It also connects the subpage blueprints to the app | ||
|
||
:param test_config: application config file name, defaults to None | ||
:type test_config: string, optional | ||
:return: application object reference | ||
:rtype: Flask Application Object | ||
|
||
|
81 changes: 81 additions & 0 deletions
81
...l/_sources/autoapi/maptool/network_editor/generateEditableNetwork/index.rst.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
:py:mod:`maptool.network_editor.generateEditableNetwork` | ||
======================================================== | ||
|
||
.. py:module:: maptool.network_editor.generateEditableNetwork | ||
Module Contents | ||
--------------- | ||
|
||
|
||
Functions | ||
~~~~~~~~~ | ||
|
||
.. autoapisummary:: | ||
|
||
maptool.network_editor.generateEditableNetwork.extractPropertiesFromNet | ||
maptool.network_editor.generateEditableNetwork.createFeatures | ||
maptool.network_editor.generateEditableNetwork.extractStdTypes | ||
maptool.network_editor.generateEditableNetwork.createGeoJSONofNetwork | ||
|
||
|
||
|
||
.. py:function:: extractPropertiesFromNet(input) | ||
helper function creating a properties dict for secondary features (e.g. loads of a bus) to be included in the properties | ||
of the final feature geoJSON | ||
|
||
:param input: contains all secondary features of a type for a single primary feature | ||
:type input: dict | ||
:return: json containing key value pairs of secondary feature properties and their values for every primary feature | ||
:rtype: dict | ||
|
||
|
||
.. py:function:: createFeatures(isLines, ppdata, featureName, featureProperties, propertyGroupNames, propertyGroupFeatures) | ||
creates and returns a geoJSON object for a feature of the original pandapower network | ||
|
||
:param isLines: flag for if the geojson object to create is going to be a line or point object | ||
:type isLines: bool | ||
:param ppdata: the pandapower network object | ||
:type ppdata: dict | ||
:param featureName: determines how we handle feature extraction and geojson creation | ||
:type featureName: string | ||
:param featureProperties: contains the names of all properties for a feature (e.g. bus, line etc) | ||
:type featureProperties: list[string] | ||
:param propertyGroupNames: only relevant for bus features; contains names of all secondary features we want to add (switch, sgen, load) | ||
:type propertyGroupNames: list[string] | ||
:param propertyGroupFeatures: only relevant for bus features; contains the names of all properties for a secondary feature | ||
:type propertyGroupFeatures: list[list[string]] | ||
:return: geoJSON dict containing all features of a single type (bus, line etc) of a network | ||
:rtype: dict | ||
|
||
|
||
.. py:function:: extractStdTypes(ppdata) | ||
std_types are already saved in a convenient datastructure in the pandapower network, so we just extract them as is | ||
|
||
:return: json string of all std_types grouped by feature (line, trafo) | ||
:rtype: string | ||
|
||
|
||
.. py:function:: createGeoJSONofNetwork(net, bus, trafo, line, ext_grid, std_types) | ||
creates the final json object that contains geoJSON objects for every feature type we want to display on the GUI map | ||
|
||
:param net: the pandapower network | ||
:type net: dict | ||
:param bus: flag determining whether we want to include buses in the displayable network | ||
:type bus: bool | ||
:param trafo: flag determining whether we want to include trafos in the displayable network | ||
:type trafo: bool | ||
:param line: flag determining whether we want to include lines in the displayable network | ||
:type line: bool | ||
:param ext_grid: flag determining whether we want to include ext_grids in the displayable network | ||
:type ext_grid: bool | ||
:param std_types: flag determining whether we want to include std_types in the frontend editor | ||
:type std_types: bool | ||
:return: json object containing geojsons for every feature of the original pdp net we want to display | ||
:rtype: dict | ||
|
||
|
24 changes: 24 additions & 0 deletions
24
docs/build/html/_sources/autoapi/maptool/network_editor/index.rst.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
:py:mod:`maptool.network_editor` | ||
================================ | ||
|
||
.. py:module:: maptool.network_editor | ||
Submodules | ||
---------- | ||
.. toctree:: | ||
:titlesonly: | ||
:maxdepth: 1 | ||
|
||
generateEditableNetwork/index.rst | ||
recreatePandapowerNetwork/index.rst | ||
routes/index.rst | ||
|
||
|
||
Package Contents | ||
---------------- | ||
|
||
.. py:data:: bp | ||
41 changes: 41 additions & 0 deletions
41
..._sources/autoapi/maptool/network_editor/recreatePandapowerNetwork/index.rst.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
:py:mod:`maptool.network_editor.recreatePandapowerNetwork` | ||
========================================================== | ||
|
||
.. py:module:: maptool.network_editor.recreatePandapowerNetwork | ||
Module Contents | ||
--------------- | ||
|
||
|
||
Functions | ||
~~~~~~~~~ | ||
|
||
.. autoapisummary:: | ||
|
||
maptool.network_editor.recreatePandapowerNetwork.createFeatureFromGeoJSONProperties | ||
maptool.network_editor.recreatePandapowerNetwork.recreatePandapowerNetwork | ||
|
||
|
||
|
||
.. py:function:: createFeatureFromGeoJSONProperties(featureProperties, featureListElement) | ||
creates a dict of key value pairs containing the properties of a feature and their respecive values and makes sure they have the correct type | ||
|
||
:param featureProperties: dict containing names and data types of all properties for a feature type (e.g bus, line etc) | ||
:type featureProperties: dict | ||
:param featureListElement: dict containing data for a single feature that was returned from the frontend | ||
:type featureListElement: dict | ||
|
||
|
||
.. py:function:: recreatePandapowerNetwork(net_features) | ||
fills in an empty pandapower network one feature at a time by extracting each feature's properties, setting their correct type and | ||
adding it to the network object. | ||
|
||
:param net_features: json containing the network features extracted and returned from the frontend | ||
:type net_features: dict | ||
:return: newly created and filled pandapower network | ||
:rtype: dict | ||
|
||
|
54 changes: 54 additions & 0 deletions
54
docs/build/html/_sources/autoapi/maptool/network_editor/routes/index.rst.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
:py:mod:`maptool.network_editor.routes` | ||
======================================= | ||
|
||
.. py:module:: maptool.network_editor.routes | ||
Module Contents | ||
--------------- | ||
|
||
|
||
Functions | ||
~~~~~~~~~ | ||
|
||
.. autoapisummary:: | ||
|
||
maptool.network_editor.routes.networks | ||
maptool.network_editor.routes.networkProperties | ||
maptool.network_editor.routes.editableNetwork | ||
maptool.network_editor.routes.urbs_results | ||
|
||
|
||
|
||
.. py:function:: networks() | ||
once the Select Network button in the postcode view is pressed, we return the editable network view | ||
|
||
:return: path to the network editor html file | ||
:rtype: string | ||
|
||
|
||
.. py:function:: networkProperties() | ||
on networks window load the frontend fetches the network properties json file as well | ||
|
||
:return: json dict containing the properties of every network feature the user can edit | ||
:rtype: dict | ||
|
||
|
||
.. py:function:: editableNetwork() | ||
on networks window load the frontend fetches a network based on the plz id, kcid and bcid the user selected in the postcode editor. | ||
|
||
:return: json string of the pandapower network the user has requested | ||
:rtype: string | ||
|
||
|
||
.. py:function:: urbs_results() | ||
fetched when the "Finish Editing" button is clicked in the network editor | ||
|
||
:return: response indicating successful data transfer | ||
:rtype: JavaScript Fetch API Response | ||
|
||
|
22 changes: 22 additions & 0 deletions
22
docs/build/html/_sources/autoapi/maptool/postcode_editor/index.rst.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
:py:mod:`maptool.postcode_editor` | ||
================================= | ||
|
||
.. py:module:: maptool.postcode_editor | ||
Submodules | ||
---------- | ||
.. toctree:: | ||
:titlesonly: | ||
:maxdepth: 1 | ||
|
||
routes/index.rst | ||
|
||
|
||
Package Contents | ||
---------------- | ||
|
||
.. py:data:: bp | ||
Oops, something went wrong.