Using a loop would be the easiest way. Alternately, you could concatenate all the mpc bus, gen, etc. arrays into one giant mpc case and then solve it via a single runpf(). However, this is more complicated (changing of bus,gen, branch numbers for the later time-steps) compared to using a loop.
Shri From: <[email protected]> on behalf of Sarmad Hanif <[email protected]> Reply-To: MATPOWER discussion forum <[email protected]> Date: Friday, July 14, 2017 at 11:52 PM To: "[email protected]" <[email protected]> Subject: multi-period AC Power Flow (not OPF) Dear all, Just a quick question, I am running a simple loop to run an AC power flow with changing P,Q (loads) and (P,V) generator values at each step. Is there a procedure to do it in one shot ? Best, Sarmad M.Sc. Sarmad Hanif Research Associate, ESTL – Electrification Suite and Test Lab TUM CREATE Ltd. 1 CREATE Way, #10-02, CREATE Tower, Singapore 138602 T: +65 905 333 25 W: www.tum-create.edu.sg<http://www.tum-create.edu.sg>
