voltages#

popo.risk.voltages(dss, customers, horizon, start_step=0, step_minutes=30)#

Each customer’s bus voltage at every step.

Parameters:
  • dss (Any) – An opendssdirect module with a compiled circuit, DER attached.

  • customers (Sequence[tuple[str, str]]) – (load name, bus) pairs, e.g. from popo.network.residential_loads().

  • horizon (int) – Number of steps to solve.

  • start_step (int) – Step offset at which to begin.

  • step_minutes (int) – Length of one step.

Return type:

DataFrame

Returns:

Long frame with step, load, bus and vmag_pu (the mean over the bus’s connected phases; NaN at a diverged step).