gym_anm.simulator.components.devices.Load
- class gym_anm.simulator.components.devices.Load(dev_spec, bus_ids, baseMVA)[source]
Bases:
DeviceA passive load connected to an electric power grid.
- __init__(dev_spec, bus_ids, baseMVA)[source]
- Parameters:
dev_spec (numpy.ndarray) – The corresponding device row in the network file describing the network.
bus_ids (list of int) – The list of unique bus IDs.
baseMVA (int) – The base power of the network.
Methods
__init__(dev_spec, bus_ids, baseMVA)map_pq(p)Map p to the closest (P, Q) feasible power injection point.