📄 s2o.mdl
字号:
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "v0s"
Position [520, 235, 540, 255]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vas"
Position [530, 30, 550, 50]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vbs-vcs"
Position [525, 140, 545, 160]
Port "5"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "ias+ibs+ics"
SrcPort 1
DstBlock "Rsg"
DstPort 1
}
Line {
SrcBlock "vag"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "vbg"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "vcg"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [10, 0; 0, -75]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [10, 0; 0, 65]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "vas"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "vbs-vcs"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 20]
DstBlock "vds"
DstPort 1
}
Branch {
Points [10, 0; 0, -20]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "v0s"
DstPort 1
}
Branch {
Points [15, 0; 0, -195]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, -65]
DstBlock "Sum1"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "vqs"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0]
Branch {
Points [45, 0; 0, -35]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [45, 0; 0, -180]
DstBlock "Sum2"
DstPort 2
}
}
Line {
SrcBlock "Rsg"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Annotation {
Position [257, 52]
VerticalAlignment top
Text "abc to qd0 stationary "
}
Annotation {
Position [332, 277]
VerticalAlignment top
Text "vsg"
}
}
}
Block {
BlockType SubSystem
Name "m1o"
Position [39, 114, 104, 149]
DropShadow on
OpenFcn "m1o"
ShowPortLabels off
MaskType "Masked block of m1o.m"
MaskHelp "Uses m1o.m to initialize and plot"
MaskDisplay "disp('Initialize\\nand plot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
System {
Name "m1o"
Location [90, 32767, 238, 32767]
Open off
ScreenColor white
Annotation {
Position [67, 54]
VerticalAlignment top
Text "Masked block of m1o.m\nto initilialize "
"s2o.m\nand to plot the results."
}
}
}
Block {
BlockType SubSystem
Name "qds2abc"
Position [610, 207, 650, 263]
ShowPortLabels off
System {
Name "qds2abc"
Location [75, 91, 594, 301]
Open off
ScreenColor white
Block {
BlockType Inport
Name "iqs"
Position [45, 35, 65, 55]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "ids"
Position [45, 95, 65, 115]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "i0s"
Position [45, 155, 65, 175]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [185, 36, 375, 64]
Expr "u[1] + u[3]"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [185, 92, 370, 118]
Expr "-(u[1]+sqrt(3)*u[2])/2 +u[3]"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [185, 147, 375, 173]
Expr "-(u[1]-sqrt(3)*u[2])/2 + u[3]"
}
Block {
BlockType Mux
Name "Mux"
Position [110, 34, 135, 176]
Inputs "3"
}
Block {
BlockType Outport
Name "ias"
Position [440, 40, 460, 60]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "ibs"
Position [440, 95, 460, 115]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "ics"
Position [440, 150, 460, 170]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "ids"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "iqs"
SrcPort 1
Points [10, 0; 0, 15]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "i0s"
SrcPort 1
Points [10, 0; 0, -15]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "ibs"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [15, 0; 0, -55]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [15, 0; 0, 55]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "ics"
DstPort 1
}
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [-35, 0; 0, -95]
DstBlock "Qaxis"
DstPort 2
}
Line {
SrcBlock "abc2qds"
SrcPort 2
Points [60, 0; 0, 90]
DstBlock "Daxis"
DstPort 1
}
Line {
SrcBlock "abc2qds"
SrcPort 1
Points [60, 0; 0, -65]
DstBlock "Qaxis"
DstPort 1
}
Line {
SrcBlock "Qaxis"
SrcPort 2
Points [215, 0; 0, 75; 25, 0]
Branch {
DstBlock "qds2abc"
DstPort 1
}
Branch {
DstBlock "Rotor"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [-20, 0; 0, 125]
DstBlock "Daxis"
DstPort 2
}
Line {
SrcBlock "Rotor"
SrcPort 2
Points [0, 0]
Branch {
Points [-65, 0; 0, -35]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [-65, 0; 0, -140; -55, 0]
DstBlock "Mux"
DstPort 3
}
}
Line {
SrcBlock "Tmech"
SrcPort 1
Points [65, 0; 0, -15]
DstBlock "Rotor"
DstPort 5
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [10, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Variable \nFreq. source"
SrcPort 2
DstBlock "abc2qds"
DstPort 2
}
Line {
SrcBlock "Variable \nFreq. source"
SrcPort 3
DstBlock "abc2qds"
DstPort 3
}
Line {
SrcBlock "Variable \nFreq. source"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "abc2qds"
DstPort 1
}
Branch {
Points [40, 0; 0, -35; 100, 0]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Zero_seq"
SrcPort 1
Points [125, 0; 0, -105]
DstBlock "qds2abc"
DstPort 3
}
Line {
SrcBlock "qds2abc"
SrcPort 2
Points [10, 0; 0, 10]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "qds2abc"
SrcPort 3
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "abc2qds"
SrcPort 3
Points [40, 0; 0, 120]
DstBlock "Zero_seq"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0; 0, 155; -580, 0; 0, -120]
DstBlock "abc2qds"
DstPort 4
}
Line {
SrcBlock "Daxis"
SrcPort 2
Points [0, 0]
Branch {
Points [205, 0; 0, -80]
DstBlock "qds2abc"
DstPort 2
}
Branch {
Points [165, 0; 0, -70]
DstBlock "Rotor"
DstPort 4
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Qaxis"
SrcPort 1
Points [0, 0]
Branch {
Points [200, 0; 0, 105]
DstBlock "Rotor"
DstPort 3
}
Branch {
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "Daxis"
SrcPort 1
Points [0, 0]
Branch {
Points [175, 0; 0, -100]
DstBlock "Rotor"
DstPort 1
}
Branch {
Points [175, 0; 0, -155]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Qaxis"
SrcPort 4
Points [0, 0]
Branch {
Points [20, 0; 0, 35]
DstBlock "Product"
DstPort 1
}
Branch {
Points [20, 0; 0, -10]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Daxis"
SrcPort 4
Points [0, 0]
Branch {
Points [35, 0; 0, -85]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [35, 0]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Rotor"
SrcPort 1
Points [-10, 0; 0, -110; -35, 0]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [10, 0; 0, -55; -20, 0]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [25, 0; 0, -25; -145, 0]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "qds2abc"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [55, 0; 0, -120]
DstBlock "Mux"
DstPort 7
}
}
Line {
SrcBlock "abc2qds"
SrcPort 4
DstBlock "T"
DstPort 1
}
Line {
SrcBlock "abc2qds"
SrcPort 5
DstBlock "T1"
DstPort 1
}
Line {
SrcBlock "Qaxis"
SrcPort 3
DstBlock "T2"
DstPort 1
}
Line {
SrcBlock "Daxis"
SrcPort 3
DstBlock "T3"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -25]
DstBlock "To Workspace"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Selector"
DstPort 1
}
}
Annotation {
Position [422, 227]
VerticalAlignment top
Text "wr/wb"
}
Annotation {
Position [662, 197]
VerticalAlignment top
Text "ias"
}
Annotation {
Position [482, 347]
VerticalAlignment top
Text "i0s"
}
Annotation {
Position [426, 199]
VerticalAlignment top
Text "Tem"
}
Annotation {
Position [124, 242]
VerticalAlignment top
Text "vcg"
}
Annotation {
Position [124, 217]
VerticalAlignment top
Text "vbg"
}
Annotation {
Position [227, 227]
VerticalAlignment top
Text "v0s"
}
Annotation {
Position [227, 187]
VerticalAlignment top
Text "vqs"
}
Annotation {
Position [227, 207]
VerticalAlignment top
Text "vds"
}
Annotation {
Position [124, 192]
VerticalAlignment top
Text "vag"
}
Annotation {
Position [482, 99]
VerticalAlignment top
Text "psir"
}
Annotation {
Position [572, 97]
VerticalAlignment top
Text "psis"
}
Annotation {
Position [117, 27]
VerticalAlignment top
Text "Induction Machine Simulation \nin Stationary "
"Reference Frame"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -