-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
The mv grid clustering is already independent of eTraGo results. However, it is currently implemented as part of the eDisGo integration and therefor after eTraGo.
To run the mv_grid_clustering this function is executed:
eGo/ego/mv_clustering/mv_clustering.py
Lines 331 to 352 in dfab09e
| def cluster_workflow(config=None): | |
| """ | |
| Get cluster attributes per grid if needed and conduct MV grid clustering. | |
| Parameters | |
| ---------- | |
| config : dict | |
| Config dict from config json. Can be obtained by calling | |
| ego.tools.utilities.get_scenario_setting(jsonpath=config_path). | |
| Returns | |
| -------- | |
| pandas.DataFrame | |
| DataFrame with clustering results. Columns are "representative" containing | |
| the grid ID of the representative grid, "n_grids_per_cluster" containing the | |
| number of grids that are represented, "relative_representation" containing the | |
| percentage of grids represented, "represented_grids" containing a list of | |
| grid IDs of all represented grids and "representative_orig" containing | |
| information on whether the representative is the actual cluster center (in which | |
| case this value is True) or chosen because the grid in the cluster center is | |
| not a working grid. | |
It would make sense to do the mv_grid_clustering earlier in the process and maybe also to re-arrange the scenario_settings
Reactions are currently unavailable