📄 s1.mdl
字号:
BlockType Sum
Name "Tacc"
Position [275, 100, 295, 160]
Inputs "-++"
}
Block {
BlockType Integrator
Name "del"
Position [535, 111, 565, 149]
ExternalReset none
InitialConditionSource internal
InitialCondition "delto"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "gain4"
Position [480, 114, 515, 146]
Gain "wb"
}
Block {
BlockType Integrator
Name "slip"
Position [410, 111, 440, 149]
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 [420, 188, 450, 212]
Value "1"
}
Block {
BlockType Outport
Name "delta"
Position [595, 120, 615, 140]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "wr/wb "
Position [595, 180, 615, 200]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Tem"
Position [275, 188, 300, 212]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "(wr-we)/wb"
Position [590, 65, 610, 85]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Tmech"
SrcPort 1
Points [130, 0; 0, 75]
DstBlock "Tacc"
DstPort 2
}
Line {
SrcBlock "slip"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, -55]
DstBlock "D"
DstPort 1
}
Branch {
Points [15, 0; 0, -55]
DstBlock "(wr-we)/wb"
DstPort 1
}
Branch {
Points [15, 0; 0, 50]
DstBlock "Sum14"
DstPort 1
}
Branch {
DstBlock "gain4"
DstPort 1
}
}
Line {
SrcBlock "Sum12"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, 50]
DstBlock "Tem"
DstPort 1
}
Branch {
DstBlock "Tacc"
DstPort 3
}
}
Line {
SrcBlock "Sum14"
SrcPort 1
DstBlock "wr/wb "
DstPort 1
}
Line {
SrcBlock "-id"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Prod2"
DstPort 2
}
Line {
SrcBlock "psiq"
SrcPort 1
DstBlock "Prod2"
DstPort 1
}
Line {
SrcBlock "del"
SrcPort 1
DstBlock "delta"
DstPort 1
}
Line {
SrcBlock "psid "
SrcPort 1
DstBlock "Prod"
DstPort 2
}
Line {
SrcBlock "-iq"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "Prod"
DstPort 1
}
Line {
SrcBlock "Prod"
SrcPort 1
DstBlock "Sum12"
DstPort 1
}
Line {
SrcBlock "Tacc"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "we/wb"
SrcPort 1
DstBlock "Sum14"
DstPort 2
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "slip"
DstPort 1
}
Line {
SrcBlock "Prod2"
SrcPort 1
DstBlock "Sum12"
DstPort 2
}
Line {
SrcBlock "gain4"
SrcPort 1
DstBlock "del"
DstPort 1
}
Line {
SrcBlock "D"
SrcPort 1
Points [-60, 0; 0, 35]
DstBlock "Tacc"
DstPort 1
}
Annotation {
Position [227, 137]
VerticalAlignment top
Text "Tem_"
}
}
}
Block {
BlockType Terminator
Name "T"
Position [215, 111, 225, 119]
}
Block {
BlockType Terminator
Name "T1"
Position [205, 296, 215, 304]
}
Block {
BlockType Terminator
Name "T2"
Position [415, 316, 425, 324]
NamePlacement alternate
}
Block {
BlockType SubSystem
Name "d_cct"
Position [150, 253, 190, 327]
ShowPortLabels off
System {
Name "d_cct"
Location [11, 64, 752, 513]
Open off
ScreenColor white
Block {
BlockType Inport
Name "In_vd"
Position [30, 75, 50, 95]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "In_wrpsiq"
Position [30, 130, 50, 150]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "In_Ef"
Position [30, 220, 50, 240]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [165, 92, 320, 128]
Expr "wb*(u[2]+u[3]+(rs/xls)*(u[1]-u[4]))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [165, 213, 320, 247]
Expr "wb*rpf*(u[2]/xmd+(u[1]-u[3])/xplf)"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [165, 326, 310, 354]
Expr "wb*rpkd*(u[1]-u[2])/xplkd"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [510, 82, 675, 118]
Expr "xMD*(u[1]/xls+u[2]/xplf+u[3]/xplkd)"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [510, 197, 600, 223]
Expr "-(u[1]-u[2])/xls"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [510, 302, 600, 328]
Expr "(u[1]-u[2])/xplf"
}
Block {
BlockType Mux
Name "Mux"
Position [115, 56, 140, 159]
Inputs "4"
}
Block {
BlockType Mux
Name "Mux1"
Position [115, 187, 140, 273]
Inputs "3"
}
Block {
BlockType Mux
Name "Mux2"
Position [110, 300, 135, 375]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux3"
Position [465, 57, 490, 143]
Inputs "3"
}
Block {
BlockType Mux
Name "Mux4"
Position [465, 174, 485, 241]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux5"
Position [465, 279, 485, 346]
Inputs "2"
}
Block {
BlockType Integrator
Name "psid_"
Position [335, 97, 365, 123]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psido"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "psipf_"
Position [335, 217, 365, 243]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psifo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "psipkd_"
Position [335, 327, 365, 353]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psikdo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Outport
Name "Out_psid"
Position [530, 15, 550, 35]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_-id"
Position [710, 200, 730, 220]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_psimd"
Position [705, 90, 725, 110]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_ipf"
Position [705, 305, 725, 325]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "In_Ef"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "In_vd"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "In_wrpsiq"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Fcn5"
SrcPort 1
DstBlock "Out_ipf"
DstPort 1
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "Out_-id"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Out_psimd"
DstPort 1
}
Branch {
Points [0, -50; -590, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 315; -615, 0; 0, -215]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, 315; -615, 0; 0, -95]
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, 175; -245, 0; 0, -50]
DstBlock "Mux4"
DstPort 2
}
Branch {
Points [0, 315; -245, 0; 0, -85]
DstBlock "Mux5"
DstPort 2
}
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "Fcn5"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn4"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "psipkd_"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, -210]
DstBlock "Mux3"
DstPort 3
}
Branch {
Points [70, 0; 0, 60; -350, 0; 0, -45]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "psipf_"
SrcPort 1
Points [0, 0]
Branch {
Points [60, 0; 0, 65]
DstBlock "Mux5"
DstPort 1
}
Branch {
Points [25, 0; 0, -130]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [60, 0; 0, 60; -335, 0; 0, -30]
DstBlock "Mux1"
DstPort 3
}
}
Line {
SrcBlock "psid_"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, -85]
DstBlock "Out_psid"
DstPort 1
}
Branch {
Points [45, 0; 0, 80]
DstBlock "Mux4"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -