Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 368 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 368 Bytes

以支路1-2为例 对支路1-2断开前后的电网进行潮流计算,判断电压和线路功率是否越线 iBranch = 1; filename = 'my_case14.m'; [bOff, fV, V, fP, P] = SecurityCertification(filename, iBranch) % 修改电网参数,使得线路功率不越限 MPC = loadcase(filename); MPC.gen(2, [PG, QG]) = MPC.gen(1, [PG, QG]); % 调整发电机2输出功率 [bOff, fV, V, fP, P] = SecurityCertification(MPC, iBranch)