Capacitor switching on/off control for dynamic simulation
Anybody can help/direct with python coding to switch on the capacitor while a monitored bus voltage is lower than a threshold saying 0.95pu and switching off while voltage is higher than a limit saying 1.05pu? I need this auto control for dynamic simulation but I don't know how to setup the on/off function. Any help is appreciated.