📄 s3eig.mdl
字号:
DstPort 1
}
Line {
SrcBlock "psid_"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 65; -320, 0; 0, -30]
DstBlock "Mux"
DstPort 4
}
Branch {
Points [10, 0; 0, -40]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [45, 0; 0, 80]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [10, 0; 0, -85]
DstBlock "Out_psid"
DstPort 1
}
}
Line {
SrcBlock "psipf_"
SrcPort 1
Points [0, 0]
Branch {
Points [25, 0; 0, 60; -335, 0; 0, -30]
DstBlock "Mux1"
DstPort 3
}
Branch {
Points [25, 0; 0, -130]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [60, 0; 0, 65]
DstBlock "Mux5"
DstPort 1
}
}
Line {
SrcBlock "psipkd_"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, 60; -350, 0; 0, -45]
DstBlock "Mux2"
DstPort 2
}
Branch {
Points [35, 0; 0, -210]
DstBlock "Mux3"
DstPort 3
}
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn4"
DstPort 1
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "Fcn5"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 315; -295, 0; 0, -85]
DstBlock "Mux5"
DstPort 2
}
Branch {
Points [10, 0; 0, 175; -295, 0; 0, -50]
DstBlock "Mux4"
DstPort 2
}
Branch {
Points [10, 0; 0, 315; -700, 0; 0, -95]
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [10, 0; 0, 315; -700, 0; 0, -215]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [10, 0; 0, -50; -675, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Out_psimd"
DstPort 1
}
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "Out_-id"
DstPort 1
}
Line {
SrcBlock "Fcn5"
SrcPort 1
DstBlock "Out_ipf"
DstPort 1
}
}
}
Block {
BlockType Product
Name "prod1"
Position [270, 118, 285, 147]
Orientation left
Inputs "2"
}
Block {
BlockType Product
Name "prod2"
Position [305, 148, 320, 177]
Orientation left
Inputs "2"
}
Block {
BlockType SubSystem
Name "q_cct"
Position [260, 193, 300, 267]
ShowPortLabels off
System {
Name "q_cct"
Location [22, 53, 826, 583]
Open off
ScreenColor white
Block {
BlockType Inport
Name "In_vqr"
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, 375, 155]
Expr "wb*(u[2]-u[3]+(rs/xls)*(u[1]-u[4]))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [175, 245, 375, 275]
Expr "wb*rpkq2*(u[1]-u[2])/xplkq2"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [180, 356, 365, 384]
Expr "wb*rpkq*(u[1]-u[2])/xplkq"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [565, 114, 775, 146]
Expr "xMQ*(u[1]/xls+u[2]/xplkq2+u[3]/xplkq)"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [565, 227, 655, 253]
Expr "-(u[1]-u[2])/xls"
}
Block {
BlockType Mux
Name "Mux"
Position [135, 86, 160, 189]
Inputs "4"
}
Block {
BlockType Mux
Name "Mux1"
Position [135, 220, 160, 300]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux2"
Position [130, 330, 155, 405]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux3"
Position [520, 87, 545, 173]
Inputs "3"
}
Block {
BlockType Mux
Name "Mux4"
Position [520, 204, 540, 271]
Inputs "2"
}
Block {
BlockType Integrator
Name "psipkq2_"
Position [390, 247, 420, 273]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psikq2o"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "psipkq_"
Position [390, 357, 420, 383]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psikqo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "psiq_"
Position [390, 127, 420, 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 [585, 45, 605, 65]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_-iq"
Position [830, 230, 850, 250]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_psimq"
Position [835, 120, 855, 140]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "In_wrpsid"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "In_vqr"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "psiq_"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "psipkq2_"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "psipkq_"
DstPort 1
}
Line {
SrcBlock "psiq_"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 65; -320, 0; 0, -30]
DstBlock "Mux"
DstPort 4
}
Branch {
Points [10, 0; 0, -40]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [45, 0; 0, 80]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [10, 0; 0, -85]
DstBlock "Out_psiq"
DstPort 1
}
}
Line {
SrcBlock "psipkq_"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, 60; -350, 0; 0, -45]
DstBlock "Mux2"
DstPort 2
}
Branch {
Points [35, 0; 0, -210]
DstBlock "Mux3"
DstPort 3
}
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn4"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 175; -295, 0; 0, -50]
DstBlock "Mux4"
DstPort 2
}
Branch {
Points [10, 0; 0, 315; -700, 0; 0, -95]
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [10, 0; 0, 315; -700, 0; 0, -205]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [10, 0; 0, -50; -675, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Out_psimq"
DstPort 1
}
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "Out_-iq"
DstPort 1
}
Line {
SrcBlock "psipkq2_"
SrcPort 1
Points [0, 0]
Branch {
Points [25, 0; 0, -130]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [10, 0; 0, 60; -320, 0; 0, -40]
DstBlock "Mux1"
DstPort 2
}
}
}
}
Block {
BlockType SubSystem
Name "qde2qdr"
Position [135, 229, 175, 301]
ShowPortLabels off
System {
Name "qde2qdr"
Location [103, 460, 628, 647]
Open off
ScreenColor white
Block {
BlockType Inport
Name "vqe"
Position [15, 35, 35, 55]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vde"
Position [15, 80, 35, 100]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "delta "
Position [15, 124, 35, 146]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Mux
Name "Mux"
Position [75, 50, 105, 130]
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "fcn"
Position [150, 52, 390, 78]
Expr "u[1]*cos(u[3]) - u[2]*sin(u[3])"
}
Block {
BlockType Fcn
Name "fcn1"
Position [150, 97, 390, 123]
Expr "u[1]*sin(u[3]) + u[2]*cos(u[3])"
}
Block {
BlockType Outport
Name "vqr"
Position [445, 55, 465, 75]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vdr"
Position [445, 100, 465, 120]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "fcn1"
SrcPort 1
DstBlock "vdr"
DstPort 1
}
Line {
SrcBlock "vqe"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "fcn"
SrcPort 1
DstBlock "vqr"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, -25]
DstBlock "fcn"
DstPort 1
}
Branch {
Points [15, 0; 0, 20]
DstBlock "fcn1"
DstPort 1
}
}
Line {
SrcBlock "delta "
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Mux"
DstPort 3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -