charging#
- popo.risk.charging(dss, customers, penetration, profiles, rng, kv, horizon, start_step=0, step_minutes=30)#
Fit chargers to a share of customers and report each customer’s contribution at the feeder peak.
- Parameters:
dss (
Any) – Anopendssdirectmodule with a compiled circuit, loads already shaped.customers (
Sequence[tuple[str,str]]) –(load name, bus)pairs eligible for installation.penetration (
float) – Share of customers fitted, in[0, 1].profiles (
ndarray) – Charging power, shape(intervals, vehicles)(seepopo.scenarios.attach_charging()).rng (
Generator) – Seeded generator choosing the customers.kv (
float) – Service voltage of the connection.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:
- Returns:
peak()’s frame pluscharger(whether the customer holds one).