Security Constrained Optimal Power Flow and Nodal Price Calculation in MATLAB Graham Dudgeon, MathWorks N-1-1 contingency conditions permit the system operator to perform system adjustments following an N-1 contingency, in order to secure the system prior to a subsequent N-1 contingency. Aug 27, 2015 · Optimal Power Flow by Vector PSO ... and have you optimal sizing and location to reduce power losses in radial distribution system my email ... MATLAB Release ... Mar 24, 2014 · do you know if I want to setting a reactive power output to control the voltage level, how can I add to the code and how to apply the control strategy in this code? the optimal real and/or reactive power flow exactly , . The general problem of optimal power flow subject to equality andinequality constraintswasformulatedin1962 , andlater extended . Becauseveryfast andaccuratemethodsofpower flowsolutionhaveevolved, it is nowpossibletosolve theoptimal powerflowefficientlyforlarge practicalsystems.