📄 s2.mdl
字号:
Name "out_Edpe"
Position [670, 465, 690, 485]
Port "9"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Eqp"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "stator_wdg"
DstPort 1
}
Branch {
Points [80, 0; 0, 95]
DstBlock "Rotor"
DstPort 1
}
Branch {
Points [10, 0; 0, -35; -190, 0; 0, 15]
DstBlock "sum"
DstPort 1
}
Branch {
Points [80, 0; 0, 270]
DstBlock "qdr2qde"
DstPort 1
}
}
Line {
SrcBlock "1/Tpdo"
SrcPort 1
DstBlock "Eqp"
DstPort 1
}
Line {
SrcBlock "sum"
SrcPort 1
DstBlock "1/Tpdo"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-45, 0; 0, -40]
DstBlock "sum"
DstPort 3
}
Line {
SrcBlock "exciter"
SrcPort 1
Points [60, 0; 0, -35]
DstBlock "Sw"
DstPort 1
}
Line {
SrcBlock "Exc_sw"
SrcPort 1
DstBlock "Sw"
DstPort 2
}
Line {
SrcBlock "Sw"
SrcPort 1
Points [-85, 0; 0, 90]
DstBlock "sum"
DstPort 2
}
Line {
SrcBlock "VIPQ"
SrcPort 2
DstBlock "out_|I|"
DstPort 1
}
Line {
SrcBlock "VIPQ"
SrcPort 3
DstBlock "out_Pgen"
DstPort 1
}
Line {
SrcBlock "VIPQ"
SrcPort 4
DstBlock "out_Qgen"
DstPort 1
}
Line {
SrcBlock "Rotor"
SrcPort 1
Points [0, 0]
Branch {
Points [55, 0; 0, 235; -535, 0; 0, -170]
DstBlock "qde2qdr"
DstPort 3
}
Branch {
DstBlock "out_delta"
DstPort 1
}
Branch {
Points [55, 0; 0, 235; -145, 0; 0, -30]
DstBlock "qdr2qde"
DstPort 3
}
}
Line {
SrcBlock "Rotor"
SrcPort 2
DstBlock "out_puslip"
DstPort 1
}
Line {
SrcBlock "in_iqe"
SrcPort 1
Points [20, 0; 0, 30]
DstBlock "qde2qdr"
DstPort 1
}
Line {
SrcBlock "Rotor"
SrcPort 3
DstBlock "out_Tem"
DstPort 1
}
Line {
SrcBlock "stator_wdg"
SrcPort 1
Points [10, 0; 0, -45]
DstBlock "VIPQ"
DstPort 1
}
Line {
SrcBlock "VIPQ"
SrcPort 1
Points [0, 0]
Branch {
Points [30, 0; 0, -35]
DstBlock "exciter"
DstPort 2
}
Branch {
DstBlock "out_|Vt|"
DstPort 1
}
}
Line {
SrcBlock "qdr2qde"
SrcPort 1
DstBlock "out_Eqpe"
DstPort 1
}
Line {
SrcBlock "qdr2qde"
SrcPort 2
DstBlock "out_Edpe"
DstPort 1
}
Line {
SrcBlock "in_Tmech"
SrcPort 1
DstBlock "Rotor"
DstPort 5
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-40, 0; 0, 80]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Edp"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, -40; -210, 0; 0, 30]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [10, 0; 0, -170]
DstBlock "Rotor"
DstPort 2
}
Branch {
Points [10, 0; 0, -270]
DstBlock "stator_wdg"
DstPort 2
}
Branch {
DstBlock "qdr2qde"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Edp"
DstPort 1
}
Line {
SrcBlock "qde2qdr"
SrcPort 1
Points [0, 0]
Branch {
Points [130, 0; 0, 70]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Rotor"
DstPort 3
}
Branch {
Points [130, 0; 0, -105]
DstBlock "stator_wdg"
DstPort 3
}
Branch {
Points [305, 0; 0, -130]
DstBlock "VIPQ"
DstPort 3
}
}
Line {
SrcBlock "qde2qdr"
SrcPort 2
Points [0, 0]
Branch {
Points [100, 0; 0, -110]
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Rotor"
DstPort 4
}
Branch {
Points [100, 0; 0, -110]
DstBlock "stator_wdg"
DstPort 4
}
Branch {
Points [320, 0; 0, -130]
DstBlock "VIPQ"
DstPort 4
}
}
Line {
SrcBlock "in_ide"
SrcPort 1
DstBlock "qde2qdr"
DstPort 2
}
Line {
SrcBlock "stator_wdg"
SrcPort 2
Points [20, 0; 0, -60]
DstBlock "VIPQ"
DstPort 2
}
Line {
SrcBlock "in_Vref"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "exciter"
DstPort 1
}
Branch {
Points [20, 0; 0, 30]
DstBlock "Sw"
DstPort 3
}
}
Annotation {
Position [322, 157]
VerticalAlignment top
Text "Eqp_"
}
Annotation {
Position [587, 117]
VerticalAlignment top
Text "|Vt|"
}
Annotation {
Position [287, 362]
VerticalAlignment top
Text "iq_"
}
Annotation {
Position [282, 217]
VerticalAlignment top
Text "id_"
}
Annotation {
Position [197, 302]
VerticalAlignment top
Text "iq"
}
Annotation {
Position [192, 327]
VerticalAlignment top
Text "id"
}
Annotation {
Position [597, 262]
VerticalAlignment top
Text "delta"
}
Annotation {
Position [137, 62]
VerticalAlignment top
Text "Ef"
}
}
}
Block {
BlockType SubSystem
Name "tmodel1"
Position [170, 473, 225, 597]
ShowPortLabels off
System {
Name "tmodel1"
Location [4, 29, 808, 595]
Open off
ScreenColor white
Block {
BlockType Inport
Name "in_Vref"
Position [435, 65, 455, 85]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_iqe"
Position [50, 270, 70, 290]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_ide"
Position [50, 312, 70, 338]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_Tmech"
Position [470, 355, 490, 375]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name "1/Tpdo"
Position [160, 149, 240, 191]
Gain "1/Tpdo(1)"
}
Block {
BlockType Integrator
Name "Edp"
Position [290, 443, 320, 477]
ExternalReset none
InitialConditionSource internal
InitialCondition "Edpo(1)"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "Eqp"
Position [255, 154, 285, 186]
ExternalReset none
InitialConditionSource internal
InitialCondition "Eqpo(1)"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Constant
Name "Exc_sw"
Position [270, 65, 345, 85]
Orientation left
Value "Exc_sw(2)"
}
Block {
BlockType Gain
Name "Gain"
Position [160, 364, 260, 406]
Orientation left
Gain "xq(1)-xpd(1)"
}
Block {
BlockType Gain
Name "Gain1"
Position [180, 441, 265, 479]
Gain "1/Tpqo(1)"
}
Block {
BlockType Gain
Name "Gain2"
Position [155, 206, 255, 254]
Orientation left
Gain "xd(1)-xpd(1)"
}
Block {
BlockType SubSystem
Name "Rotor"
Position [525, 252, 575, 378]
ShowPortLabels off
System {
Name "Rotor"
Location [22, 153, 766, 382]
Open off
ScreenColor white
Block {
BlockType Inport
Name "Eqp"
Position [25, 24, 45, 46]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Edp"
Position [25, 74, 45, 96]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "iq"
Position [25, 114, 45, 136]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "id"
Position [25, 159, 45, 181]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "T_mech"
Position [200, 21, 225, 49]
Port "5"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name "Damp"
Position [350, 91, 450, 129]
Orientation left
Gain "Domega(2)"
}
Block {
BlockType Fcn
Name "Fcn"
Position [150, 90, 280, 120]
Expr "-(u[1]*u[3] + u[2]*u[4])"
}
Block {
BlockType Mux
Name "Mux"
Position [115, 66, 135, 144]
Inputs "4"
}
Block {
BlockType Terminator
Name "T"
Position [600, 135, 620, 155]
}
Block {
BlockType Sum
Name "Tacc"
Position [330, 23, 350, 87]
Inputs "++-"
}
Block {
BlockType Integrator
Name "delta"
Position [620, 37, 655, 73]
ExternalReset none
InitialConditionSource internal
InitialCondition "delio(1)"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "gain2"
Position [370, 33, 445, 77]
Gain "1/(2*H(1))"
}
Block {
BlockType Gain
Name "gain4"
Position [555, 33, 605, 77]
Gain "wb"
}
Block {
BlockType Integrator
Name "slip"
Position [460, 37, 495, 73]
ExternalReset none
InitialConditionSource internal
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Constant
Name "we/wb"
Position [455, 140, 505, 170]
Value "1"
}
Block {
BlockType Sum
Name "wr"
Position [550, 125, 565, 165]
Inputs "++"
}
Block {
BlockType Outport
Name "out_delta"
Position [690, 45, 710, 65]
Port
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -