📄 s4.mdl
字号:
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-10, 0; 0, -60]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Vs"
DstPort 1
}
Line {
SrcBlock "Vs"
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Sum4"
DstPort 2
}
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 4
}
}
Line {
SrcBlock "Vt"
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Vsupp"
SrcPort 1
Points [20, 0; 0, -10]
DstBlock "Sum"
DstPort 2
}
Annotation {
Position [152, 232]
VerticalAlignment top
Text "Vstab"
}
}
}
Block {
BlockType Saturate
Name "signal\nlimits"
Position [200, 316, 235, 354]
Orientation left
UpperLimit "pss_limit"
LowerLimit "-pss_limit"
}
Block {
BlockType SubSystem
Name "tmodel"
Position [230, 98, 310, 272]
ShowPortLabels off
System {
Name "tmodel"
Location [4, 43, 787, 556]
Open off
ScreenColor white
Block {
BlockType Inport
Name "in_Ef"
Position [55, 140, 75, 160]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_vqie"
Position [55, 200, 75, 220]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_vdie"
Position [55, 252, 75, 278]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_Tmech"
Position [485, 295, 505, 315]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name "1/Tpdo"
Position [165, 131, 225, 169]
Gain "1/Tpdo"
}
Block {
BlockType Gain
Name "1/Tpqo"
Position [165, 376, 225, 414]
Gain "1/Tpqo"
}
Block {
BlockType Integrator
Name "Edp"
Position [240, 379, 270, 411]
ExternalReset none
InitialConditionSource internal
InitialCondition "Edpo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "Eqp"
Position [235, 134, 265, 166]
ExternalReset none
InitialConditionSource internal
InitialCondition "Eqpo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "Gain2"
Position [190, 56, 255, 94]
Orientation left
Gain "xd-xpd"
}
Block {
BlockType Gain
Name "Gain3"
Position [190, 441, 255, 479]
Orientation left
Gain "xq-xpq"
}
Block {
BlockType SubSystem
Name "Rotor"
Position [530, 196, 575, 314]
ShowPortLabels off
System {
Name "Rotor"
Location [4, 168, 808, 384]
Open off
ScreenColor white
Block {
BlockType Inport
Name "Eqp"
Position [15, 25, 35, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Edp"
Position [15, 64, 35, 86]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "iq"
Position [15, 105, 35, 125]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "id"
Position [15, 144, 35, 166]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "T_mech"
Position [240, 27, 265, 53]
Port "5"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name "Damp"
Position [415, 96, 490, 134]
Orientation left
Gain "Domega"
}
Block {
BlockType Fcn
Name "Fcn"
Position [110, 80, 320, 110]
Expr "-(u[1]*u[3]+u[2]*u[4]+u[3]*u[4]*(xq-xpd)"
")"
}
Block {
BlockType Mux
Name "Mux"
Position [65, 15, 90, 175]
Inputs "4"
}
Block {
BlockType Terminator
Name "T"
Position [620, 143, 630, 157]
}
Block {
BlockType Sum
Name "Tacc"
Position [360, 28, 380, 92]
Inputs "++-"
}
Block {
BlockType Integrator
Name "delta"
Position [640, 42, 675, 78]
ExternalReset none
InitialConditionSource internal
InitialCondition "delio"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "gain2"
Position [395, 39, 460, 81]
Gain "1/(2*H)"
}
Block {
BlockType Constant
Name "gain3"
Position [480, 145, 530, 175]
Value "we/wb"
}
Block {
BlockType Gain
Name "gain4"
Position [570, 38, 620, 82]
Gain "wb"
}
Block {
BlockType Integrator
Name "slip"
Position [485, 42, 525, 78]
ExternalReset none
InitialConditionSource internal
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Sum
Name "wr/wb"
Position [565, 130, 580, 170]
Inputs "++"
}
Block {
BlockType Outport
Name "out_delta"
Position [700, 50, 720, 70]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_puslip"
Position [685, 104, 705, 126]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Tem"
Position [385, 137, 410, 163]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Damp"
SrcPort 1
Points [-65, 0]
DstBlock "Tacc"
DstPort 3
}
Line {
SrcBlock "T_mech"
SrcPort 1
DstBlock "Tacc"
DstPort 1
}
Line {
SrcBlock "delta"
SrcPort 1
DstBlock "out_delta"
DstPort 1
}
Line {
SrcBlock "Tacc"
SrcPort 1
DstBlock "gain2"
DstPort 1
}
Line {
SrcBlock "gain3"
SrcPort 1
DstBlock "wr/wb"
DstPort 2
}
Line {
SrcBlock "gain2"
SrcPort 1
DstBlock "slip"
DstPort 1
}
Line {
SrcBlock "gain4"
SrcPort 1
DstBlock "delta"
DstPort 1
}
Line {
SrcBlock "slip"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 80]
DstBlock "wr/wb"
DstPort 1
}
Branch {
DstBlock "gain4"
DstPort 1
}
Branch {
Points [10, 0; 0, 55]
DstBlock "Damp"
DstPort 1
}
Branch {
Points [10, 0; 0, 55]
DstBlock "out_puslip"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [-5, 0]
Branch {
Points [10, 0; 0, -35]
DstBlock "Tacc"
DstPort 2
}
Branch {
Points [10, 0; 0, 55]
DstBlock "Tem"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Eqp"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "iq"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "id"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Edp"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "wr/wb"
SrcPort 1
DstBlock "T"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "VIPQ"
Position [480, 96, 520, 189]
ShowPortLabels off
System {
Name "VIPQ"
Location [53, 94, 741, 527]
Open off
ScreenColor white
Block {
BlockType Inport
Name "vqt"
Position [45, 160, 65, 180]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "iq"
Position [45, 205, 65, 225]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vdt"
Position [45, 245, 65, 265]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "id"
Position [45, 290, 65, 310]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [230, 247, 385, 273]
Expr "u[1]*u[2] + u[3]*u[4]"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [230, 297, 385, 323]
Expr "u[1]*u[4] - u[2]*u[3]"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [230, 200, 390, 230]
Expr "sqrt(u[2]*u[2] + u[4]*u[4])"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [230, 151, 390, 179]
Expr "sqrt(u[1]*u[1] + u[3]*u[3])"
}
Block {
BlockType Mux
Name "Mux"
Position [135, 172, 160, 298]
Inputs "4"
}
Block {
BlockType Outport
Name "out_|Vt|"
Position [450, 155, 470, 175]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_|I|"
Position [450, 205, 470, 225]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -