📄 d8.mdl
字号:
Value "360"
}
Block {
BlockType Constant
Name "Constant4"
Position [400, 235, 430, 265]
Value "180"
}
Block {
BlockType Constant
Name "Constant5"
Position [395, 130, 425, 160]
Value "360"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [355, 291, 360, 329]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [355, 195, 415, 225]
Expr "u(2)<0"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [350, 90, 410, 120]
Expr "u(2)>=0 && u(1)<0"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [305, 291, 310, 329]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [390, 292, 435, 328]
Inputs "*/"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [545, 292, 590, 328]
Inputs "*/"
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [615, 302, 660, 338]
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [470, 202, 515, 238]
InputSameDT off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [465, 97, 510, 133]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [720, 272, 745, 328]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [470, 295, 500, 325]
Operator "atan"
}
Block {
BlockType Outport
Name "angle"
Position [770, 293, 800, 307]
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [0, -10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [10, 0; 0, -55]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [15, 0]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [60, 0; 0, 60]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant4"
SrcPort 1
Points [0, -20]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [20, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Demux"
DstPort 1
}
}
Branch {
Points [0, -205]
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "Constant5"
SrcPort 1
Points [0, -20]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
Points [175, 0; 0, 185]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "angle"
DstPort 1
}
Line {
SrcBlock "beta"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "alfa"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Mux1"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 4]
Position [775, 181, 840, 299]
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [235, 254, 965, 543]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Uaifa"
Position [130, 78, 160, 92]
}
Block {
BlockType Inport
Name "Ubeta"
Position [130, 123, 160, 137]
Port "2"
}
Block {
BlockType Inport
Name "Is_d"
Position [130, 198, 160, 212]
Port "3"
ShowAdditionalParam on
}
Block {
BlockType Inport
Name "Is_q"
Position [130, 243, 160, 257]
Port "4"
ShowAdditionalParam on
}
Block {
BlockType Abs
Name "Abs"
Position [490, 95, 520, 125]
}
Block {
BlockType Gain
Name "Gain"
Position [230, 170, 260, 200]
Gain "0.435"
}
Block {
BlockType Gain
Name "Gain1"
Position [230, 215, 260, 245]
Gain "0.435"
}
Block {
BlockType Gain
Name "Gain2"
Position [495, 180, 525, 210]
Gain "3/2"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [345, 70, 375, 100]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [345, 115, 375, 145]
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [415, 176, 430, 214]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [415, 226, 430, 259]
InputSameDT off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [440, 93, 470, 122]
Input "Real and imag"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [265, 75, 285, 95]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [295, 120, 315, 140]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [455, 185, 475, 205]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "fialfa"
Position [560, 28, 590, 42]
}
Block {
BlockType Outport
Name "fibeta"
Position [560, 63, 590, 77]
Port "2"
}
Block {
BlockType Outport
Name "fi"
Position [560, 103, 590, 117]
Port "3"
}
Block {
BlockType Outport
Name "Te"
Position [560, 188, 590, 202]
Port "4"
}
Line {
SrcBlock "Ubeta"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 150]
DstBlock "Product1"
DstPort 1
}
Branch {
Points [15, 0]
Branch {
Points [10, 0; 0, 15]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "fialfa"
DstPort 1
}
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 55]
DstBlock "Product"
DstPort 1
}
Branch {
Points [30, 0; 0, -15; 5, 0]
Branch {
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Branch {
Points [0, -45]
DstBlock "fibeta"
DstPort 1
}
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [10, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [40, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [30, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "fi"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Uaifa"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Is_d"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -20]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Is_q"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -20]
DstBlock "Gain1"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -