edisgo.tools.voltage_over_distance

Functions

build_voltage_over_distance_df(*, buses, dist_a, ...)

Build the DataFrame used for voltage-over-distance plots.

make_voltage_over_distance_figure(*, title, buses, ...)

Builds a plotly scatter figure with 4 traces:

Module Contents

edisgo.tools.voltage_over_distance.build_voltage_over_distance_df(*, buses, dist_a, v_a_load, v_a_feed, dist_b=None, v_b_load=None, v_b_feed=None)

Build the DataFrame used for voltage-over-distance plots.

Returns columns:
  • bus (str)

  • x (float) (path length / distance)

  • v_pu (float)

  • label (str) (scenario label)

edisgo.tools.voltage_over_distance.make_voltage_over_distance_figure(*, title, buses, dist_a, v_a_load, v_a_feed, dist_b=None, v_b_load=None, v_b_feed=None, band_low, band_high, x_label='Path length to station [-]', df=None)
Builds a plotly scatter figure with 4 traces:

base-load, base-feed-in, other-load, other-feed-in