📄 s1.mdl
字号:
DstPort 1
}
Branch {
Points [10, 0; 0, -40]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [45, 0; 0, 65; -320, 0; 0, -30]
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "psipkd_"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "psipf_"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "psid_"
DstPort 1
}
}
}
Block {
BlockType Product
Name "prod1"
Position [165, 148, 185, 172]
Orientation left
Inputs "2"
}
Block {
BlockType Product
Name "prod2"
Position [165, 193, 185, 222]
Orientation left
Inputs "2"
}
Block {
BlockType SubSystem
Name "q_cct"
Position [155, 53, 195, 127]
ShowPortLabels off
System {
Name "q_cct"
Location [20, 117, 655, 496]
Open off
ScreenColor white
Block {
BlockType Inport
Name "In_vq"
Position [50, 105, 70, 125]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "In_wrpsid"
Position [50, 160, 70, 180]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [180, 125, 345, 155]
Expr "wb*(u[2]-u[3]+(rs/xls)*(u[1]-u[4]))"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [180, 245, 320, 275]
Expr "wb*rpkq*(u[1]-u[2])/xplkq"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [490, 144, 615, 176]
Expr "xMQ*(u[1]/xls+u[2]/xplkq)"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [505, 237, 595, 263]
Expr "-(u[1]-u[2])/xls"
}
Block {
BlockType Mux
Name "Mux"
Position [135, 86, 160, 189]
Inputs "4"
}
Block {
BlockType Mux
Name "Mux2"
Position [130, 220, 155, 295]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux3"
Position [450, 124, 475, 191]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux4"
Position [460, 214, 485, 281]
Inputs "2"
}
Block {
BlockType Integrator
Name "psipkq_"
Position [345, 247, 375, 273]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psikqo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "psiq_"
Position [365, 127, 395, 153]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psiqo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Outport
Name "Out_psiq"
Position [560, 45, 580, 65]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_-iq"
Position [665, 240, 685, 260]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_psimq"
Position [665, 150, 685, 170]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "Out_-iq"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Out_psimq"
DstPort 1
}
Branch {
Points [0, -80; -545, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 185; -570, 0; 0, -105]
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, 185; -195, 0; 0, -80]
DstBlock "Mux4"
DstPort 2
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn4"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "psipkq_"
SrcPort 1
Points [45, 0]
Branch {
Points [0, -85]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [0, 60; -315, 0; 0, -45]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "psiq_"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -85]
DstBlock "Out_psiq"
DstPort 1
}
Branch {
Points [-20, 0; 0, 90]
DstBlock "Mux4"
DstPort 1
}
Branch {
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [-20, 0; 0, 65; -290, 0; 0, -30]
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "psipkq_"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "psiq_"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "In_vq"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "In_wrpsid"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType Outport
Name "iq_gen"
Position [340, 80, 360, 100]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "delta"
Position [450, 235, 470, 255]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "wr/wb"
Position [500, 260, 520, 280]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Tem"
Position [455, 285, 475, 305]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "ipf"
Position [195, 345, 215, 365]
Orientation down
Port "5"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "id_gen"
Position [255, 310, 275, 330]
Port "6"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Rotor"
SrcPort 4
DstBlock "T2"
DstPort 1
}
Line {
SrcBlock "d_cct"
SrcPort 3
DstBlock "T1"
DstPort 1
}
Line {
SrcBlock "q_cct"
SrcPort 3
DstBlock "T"
DstPort 1
}
Line {
SrcBlock "d_cct"
SrcPort 4
Points [10, 0]
DstBlock "ipf"
DstPort 1
}
Line {
SrcBlock "prod2"
SrcPort 1
Points [-40, 0; 0, 80]
DstBlock "d_cct"
DstPort 2
}
Line {
SrcBlock "vd"
SrcPort 1
DstBlock "d_cct"
DstPort 1
}
Line {
SrcBlock "Ef"
SrcPort 1
DstBlock "d_cct"
DstPort 3
}
Line {
SrcBlock "q_cct"
SrcPort 1
Points [0, 0]
Branch {
Points [55, 0; 0, 150]
DstBlock "prod2"
DstPort 2
}
Branch {
Points [55, 0; 0, 215]
DstBlock "Rotor"
DstPort 3
}
}
Line {
SrcBlock "Rotor"
SrcPort 2
Points [0, 0]
Branch {
Points [15, 0; 0, -70]
DstBlock "prod2"
DstPort 1
}
Branch {
Points [15, 0; 0, -115]
DstBlock "prod1"
DstPort 1
}
Branch {
DstBlock "wr/wb"
DstPort 1
}
}
Line {
SrcBlock "d_cct"
SrcPort 1
Points [0, 0]
Branch {
Points [40, 0; 0, -95]
DstBlock "prod1"
DstPort 2
}
Branch {
DstBlock "Rotor"
DstPort 2
}
}
Line {
SrcBlock "vq"
SrcPort 1
DstBlock "q_cct"
DstPort 1
}
Line {
SrcBlock "prod1"
SrcPort 1
Points [-40, 0; 0, -50]
DstBlock "q_cct"
DstPort 2
}
Line {
SrcBlock "d_cct"
SrcPort 2
Points [0, 0]
Branch {
Points [40, 0; 0, 40]
DstBlock "id_gen"
DstPort 1
}
Branch {
Points [40, 0; 0, 20]
DstBlock "Rotor"
DstPort 4
}
}
Line {
SrcBlock "Rotor"
SrcPort 3
DstBlock "Tem"
DstPort 1
}
Line {
SrcBlock "Rotor"
SrcPort 1
DstBlock "delta"
DstPort 1
}
Line {
SrcBlock "q_cct"
SrcPort 2
Points [0, 0]
Branch {
DstBlock "iq_gen"
DstPort 1
}
Branch {
Points [90, 0; 0, 150]
DstBlock "Rotor"
DstPort 1
}
}
Line {
SrcBlock "Tmech"
SrcPort 1
DstBlock "Rotor"
DstPort 5
}
Annotation {
Position [217, 52]
VerticalAlignment top
Text "psiq"
}
Annotation {
Position [212, 247]
VerticalAlignment top
Text "psid"
}
Annotation {
Position [212, 267]
VerticalAlignment top
Text "-id"
}
Annotation {
Position [217, 77]
VerticalAlignment top
Text "-iq"
}
}
}
Block {
BlockType SubSystem
Name "qdr2abc"
Position [607, 130, 663, 160]
Orientation up
ShowPortLabels off
System {
Name "qdr2abc"
Location [56, 346, 800, 637]
Open off
ScreenColor white
Block {
BlockType Inport
Name "-iq"
Position [60, 125, 80, 145]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "-id"
Position [60, 165, 80, 185]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "i0"
Position [60, 215, 80, 235]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "cos_thetar"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -