参考文献:Manual for A Multi-machine Transient Stability Programme (PART-1: Symmetrical Fault Analysis)
作者:一一数二三
这个工具箱所有代码开源,且提供了图形化仿真界面,单元模块化,易于添加新的模块和仿真器件。
介绍一下我使用过程中的一些体会:
负荷使用ZIP模型,注入负荷电流到输电网络的过程中包含了如下语句:
[mm, output.order_load]=sort([setxor(1:nb,ld(:,1)'),ld(:,1)']);
其中:nb为母线编号,ld为有负荷的母线编号,setxor的使用方法如下:
A = [5 1 3 3 3]; B = [4 1 2];
C = setxor(A,B)
则C=
2 3 4 5
setxor为获取两个数组中的非交集部分,即∪-∩。
sort的使用方法见下:
[
also returns a collection of index vectors for any of the previous syntaxes.B
,I
] = sort(___)I
is the same size as <