Running a Simulation
Before a controller simulation can be carried out, at least one controller must
be defined for an element in the network. This is done using the base class Controller
.
With the command
print(net.controller)
a list of the controllers contained in net
can be displayed.
To perform a simulation of the pandapipes network using controllers, the function
run_control
must be called.
Internally, this function calls the control loop implemented in pandapower.
from pandapipes.control.run_control import run_control_ppipe
run_control_ppipe(net)