edisgo.tools.pseudo_coordinates
¶
Module Contents¶
Functions¶
|
Generates pseudo coordinates for one graph. |
|
Generates pseudo coordinates for all LV grids and optionally MV grid. |
- edisgo.tools.pseudo_coordinates.make_pseudo_coordinates_graph(G: networkx.Graph, branch_detour_factor: float) networkx.Graph [source]¶
Generates pseudo coordinates for one graph.
- Parameters
G (networkx.Graph) – Graph object to generate pseudo coordinates for.
branch_detour_factor (float) – Defines the quotient of the line length and the distance of the buses.
- Returns
Graph with pseudo coordinates for all nodes.
- Return type
- edisgo.tools.pseudo_coordinates.make_pseudo_coordinates(edisgo_obj: edisgo.EDisGo, mv_coordinates: bool = False)[source]¶
Generates pseudo coordinates for all LV grids and optionally MV grid.
Bus coordinates are changed in the Topology object directly. If you want to keep information on the original coordinates, hand a copy of the EDisGo object to this function.