📄 s2eig.mdl
字号:
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "iq"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "vdt"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "out_|I|"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
DstBlock "out_|Vt|"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [20, 0; 0, -25]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [20, 0; 0, -75]
DstBlock "Fcn3"
DstPort 1
}
Branch {
Points [20, 0; 0, 70]
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [20, 0; 0, 20]
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "out_Q"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "out_P"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "vqt"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "exciter"
Position [625, 64, 665, 111]
ShowPortLabels off
System {
Name "exciter"
Location [149, 293, 965, 637]
Open off
ScreenColor white
Block {
BlockType Inport
Name "Vref"
Position [55, 55, 75, 75]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Vt"
Position [55, 105, 75, 125]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Integrator
Name "Ef"
Position [645, 90, 675, 120]
ExternalReset none
InitialConditionSource internal
InitialCondition "Ef(1)"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "Gain"
Position [170, 74, 265, 116]
Gain "KA(1)/TA(1)"
}
Block {
BlockType Gain
Name "Gain1"
Position [265, 158, 350, 192]
Orientation left
Gain "1/TA(1)"
}
Block {
BlockType Gain
Name "Gain2"
Position [500, 77, 565, 113]
Gain "1/TE(1)"
}
Block {
BlockType Gain
Name "Gain3"
Position [575, 157, 685, 193]
Orientation left
Gain "KE(1)/TE(1)"
}
Block {
BlockType Gain
Name "Gain4"
Position [405, 216, 520, 254]
Orientation left
Gain "KF(1)/TF(1)"
}
Block {
BlockType Gain
Name "Gain5"
Position [230, 274, 295, 316]
Gain "1/TF(1)"
}
Block {
BlockType Fcn
Name "Se"
Position [480, 21, 660, 49]
Orientation left
Expr "AEx(1)*exp(BEx(1)*u[1])"
}
Block {
BlockType Sum
Name "Sum"
Position [135, 62, 150, 128]
Inputs "+--"
}
Block {
BlockType Sum
Name "Sum1"
Position [460, 68, 475, 117]
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum2"
Position [290, 84, 305, 126]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum3"
Position [600, 84, 615, 126]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum4"
Position [305, 226, 320, 264]
Orientation left
Inputs "+-"
}
Block {
BlockType Integrator
Name "VR"
Position [325, 89, 355, 121]
ExternalReset none
InitialConditionSource internal
InitialCondition "VR(1)"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Saturate
Name "VRmax/VRmin"
Position [385, 82, 435, 128]
UpperLimit "VRmax(1)"
LowerLimit "VRmin(1)"
}
Block {
BlockType Integrator
Name "Vs"
Position [345, 277, 380, 313]
ExternalReset none
InitialConditionSource internal
InitialCondition "Vs(1)"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Outport
Name "out_Ef"
Position [745, 95, 765, 115]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [0, 0]
Branch {
Points [-95, 0; 0, 50]
DstBlock "Gain5"
DstPort 1
}
Branch {
Points [-190, 0; 0, -130]
DstBlock "Sum"
DstPort 3
}
}
Line {
SrcBlock "Vs"
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Vs"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-10, 0; 0, -60]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Ef"
SrcPort 1
Points [0, 0]
Branch {
Points [30, 0; 0, 130]
DstBlock "Gain4"
DstPort 1
}
Branch {
DstBlock "out_Ef"
DstPort 1
}
Branch {
Points [30, 0; 0, -70]
DstBlock "Se"
DstPort 1
}
Branch {
Points [30, 0; 0, 70]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-5, 0; 0, -60]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Ef"
DstPort 1
}
Line {
SrcBlock "VR"
SrcPort 1
Points [0, 0]
Branch {
Points [5, 0]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "VRmax/VRmin"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "VR"
DstPort 1
}
Line {
SrcBlock "Se"
SrcPort 1
Points [-35, 0; 0, 45]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Vref"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "VRmax/VRmin"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Vt"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Sum"
DstPort 2
}
Annotation {
Position [152, 232]
VerticalAlignment top
Text "Vstab"
}
}
}
Block {
BlockType SubSystem
Name "qde2qdr"
Position [135, 299, 175, 351]
ShowPortLabels off
System {
Name "qde2qdr"
Location [103, 460, 628, 647]
Open off
ScreenColor white
Block {
BlockType Inport
Name "iqe"
Position [15, 35, 35, 55]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "ide"
Position [15, 80, 35, 100]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "delta "
Position [15, 124, 35, 146]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Mux
Name "Mux"
Position [75, 50, 105, 130]
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "fcn"
Position [150, 52, 390, 78]
Expr "u[1]*cos(u[3]) - u[2]*sin(u[3])"
}
Block {
BlockType Fcn
Name "fcn1"
Position [150, 97, 390, 123]
Expr "u[1]*sin(u[3]) + u[2]*cos(u[3])"
}
Block {
BlockType Outport
Name "iqr"
Position [445, 55, 465, 75]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vdr"
Position [445, 100, 465, 120]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "ide"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "delta "
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, 20]
DstBlock "fcn1"
DstPort 1
}
Branch {
Points [15, 0; 0, -25]
DstBlock "fcn"
DstPort 1
}
}
Line {
SrcBlock "fcn"
SrcPort 1
DstBlock "iqr"
DstPort 1
}
Line {
SrcBlock "iqe"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "fcn1"
SrcPort 1
DstBlock "vdr"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "qdr2qde"
Position [525, 432, 565, 488]
ShowPortLabels off
System {
Name "qdr2qde"
Location [268, 603, 791, 790]
Open off
ScreenColor white
Block {
BlockType Inport
Name "Eqp"
Position [15, 40, 35, 60]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Edp"
Position [15, 80, 35, 100]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "delta"
Position [15, 120, 35, 140]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Mux
Name "Mux"
Position [75, 27, 100, 153]
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "fcn"
Position [155, 36, 360, 64]
Expr "u[1]*cos(u[3]) + u[2]*sin(u[3])"
}
Block {
BlockType Fcn
Name "fcn1"
Position [150, 116, 360, 144]
Expr "-u[1]*sin(u[3]) + u[2]*cos(u[3])"
}
Block {
BlockType Outport
Name "Eqpe"
Position [420, 40, 440, 60]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -