📄 s2eig.mdl
字号:
DstBlock "out_iq3e"
DstPort 1
}
Line {
SrcBlock "q"
SrcPort 1
DstBlock "out_iq1e"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "RZ*q"
DstPort 1
}
Branch {
Points [10, 0; 0, 135]
DstBlock "IZ*q"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [0, 0]
Branch {
Points [30, 0; 0, -140]
DstBlock "IZ*d"
DstPort 1
}
Branch {
DstBlock "RZ*d"
DstPort 1
}
}
Line {
SrcBlock "RZ*q"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "IZ*d"
SrcPort 1
Points [10, 0; 0, -35]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "IZ*q"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "RZ*d"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "q"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "d"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "tmodel"
Position [160, 33, 215, 157]
ShowPortLabels off
System {
Name "tmodel"
Location [27, 53, 806, 603]
Open off
ScreenColor white
Block {
BlockType Inport
Name "in_Vref"
Position [450, 65, 470, 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 [260, 70, 335, 90]
Orientation left
Value "Exc_sw(1)"
}
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 [9, 156, 769, 372]
Open off
ScreenColor white
Block {
BlockType Inport
Name "Eqp"
Position [30, 29, 50, 51]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Edp"
Position [30, 79, 50, 101]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "iq"
Position [30, 119, 50, 141]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "id"
Position [30, 164, 50, 186]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "T_mech"
Position [235, 21, 260, 49]
Port "5"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name "Damp"
Position [380, 96, 470, 134]
Orientation left
Gain "Domega(1)"
}
Block {
BlockType Fcn
Name "Fcn"
Position [155, 95, 285, 125]
Expr "-(u[1]*u[3] + u[2]*u[4])"
}
Block {
BlockType Mux
Name "Mux"
Position [120, 71, 140, 149]
Inputs "4"
}
Block {
BlockType Terminator
Name "T"
Position [605, 140, 625, 160]
}
Block {
BlockType Sum
Name "Tacc"
Position [335, 25, 355, 95]
Inputs "++-"
}
Block {
BlockType Integrator
Name "delta"
Position [625, 42, 660, 78]
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 [385, 38, 460, 82]
Gain "1/(2*H(1))"
}
Block {
BlockType Gain
Name "gain4"
Position [560, 38, 610, 82]
Gain "wb"
}
Block {
BlockType Integrator
Name "slip"
Position [480, 42, 515, 78]
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 [460, 145, 510, 175]
Value "1"
}
Block {
BlockType Sum
Name "wr"
Position [555, 130, 570, 170]
Inputs "++"
}
Block {
BlockType Outport
Name "out_delta"
Position [695, 50, 715, 70]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_puslip"
Position [690, 104, 710, 126]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Tem"
Position [315, 137, 340, 163]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "wr"
SrcPort 1
DstBlock "T"
DstPort 1
}
Line {
SrcBlock "Tacc"
SrcPort 1
DstBlock "gain2"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
Points [25, 0; 0, -35]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "iq"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [0, 0]
Branch {
Points [5, 0; 0, 40]
DstBlock "Tem"
DstPort 1
}
Branch {
Points [5, 0; 0, -50]
DstBlock "Tacc"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Eqp"
SrcPort 1
Points [25, 0; 0, 40]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Edp"
SrcPort 1
Points [25, 0; 0, 10]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "slip"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 55]
DstBlock "Damp"
DstPort 1
}
Branch {
DstBlock "gain4"
DstPort 1
}
Branch {
Points [10, 0; 0, 55]
DstBlock "out_puslip"
DstPort 1
}
Branch {
Points [10, 0; 0, 80]
DstBlock "wr"
DstPort 1
}
}
Line {
SrcBlock "gain4"
SrcPort 1
DstBlock "delta"
DstPort 1
}
Line {
SrcBlock "gain2"
SrcPort 1
DstBlock "slip"
DstPort 1
}
Line {
SrcBlock "we/wb"
SrcPort 1
DstBlock "wr"
DstPort 2
}
Line {
SrcBlock "delta"
SrcPort 1
DstBlock "out_delta"
DstPort 1
}
Line {
SrcBlock "T_mech"
SrcPort 1
DstBlock "Tacc"
DstPort 1
}
Line {
SrcBlock "Damp"
SrcPort 1
Points [-65, 0; 0, -30]
DstBlock "Tacc"
DstPort 3
}
}
}
Block {
BlockType Sum
Name "Sum"
Position [145, 440, 160, 475]
Inputs "-+"
}
Block {
BlockType Switch
Name "Sw"
Position [190, 42, 205, 118]
Orientation left
Threshold "0.5"
}
Block {
BlockType SubSystem
Name "VIPQ"
Position [525, 121, 570, 224]
ShowPortLabels off
System {
Name "VIPQ"
Location [206, 374, 894, 807]
Open off
ScreenColor white
Block {
BlockType Inport
Name "vqt"
Position [45, 155, 65, 175]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vdt"
Position [45, 195, 65, 215]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "iq"
Position [45, 235, 65, 255]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "id"
Position [45, 275, 65, 295]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [230, 232, 385, 258]
Expr "u[1]*u[3] + u[2]*u[4]"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [230, 282, 385, 308]
Expr "u[1]*u[4] - u[2]*u[3]"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [230, 185, 390, 215]
Expr "sqrt(u[3]*u[3] + u[4]*u[4])"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [230, 136, 390, 164]
Expr "sqrt(u[1]*u[1] + u[2]*u[2])"
}
Block {
BlockType Mux
Name "Mux"
Position [135, 143, 165, 307]
Inputs "4"
}
Block {
BlockType Outport
Name "out_|Vt|"
Position [450, 140, 470, 160]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_|I|"
Position [450, 190, 470, 210]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_P"
Position [450, 235, 470, 255]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_Q"
Position [450, 285, 470, 305]
Port "4"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -