📄 s1.mdl
字号:
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Mux
Name "Mux"
Position [145, 80, 170, 210]
Inputs "3"
}
Block {
BlockType Sum
Name "Sum"
Position [420, 178, 435, 227]
Inputs "+-"
}
Block {
BlockType Outport
Name "out_vqs"
Position [465, 85, 485, 105]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_vds"
Position [465, 135, 485, 155]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_v0s"
Position [465, 195, 485, 215]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "in_vag"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "in_vbg"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "in_vcg"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "out_vqs"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [15, 0; 0, -50]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [15, 0; 0, 45]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "out_vds"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_v0s"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "1/Csg"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "ias+ibs+ics"
SrcPort 1
DstBlock "1/Csg"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [50, 0; 0, -20]
DstBlock "Sum"
DstPort 2
}
Annotation {
Position [362, 222]
VerticalAlignment top
Text "vsg"
}
}
}
Block {
BlockType Gain
Name "omega*t"
Position [16, 65, 74, 100]
Orientation down
Gain "120*pi"
}
Block {
BlockType SubSystem
Name "qds2abc"
Position [650, 170, 685, 250]
ShowPortLabels off
System {
Name "qds2abc"
Location [228, 79, 747, 289]
Open off
ScreenColor white
Block {
BlockType Inport
Name "in_iqs"
Position [45, 50, 65, 70]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_ids"
Position [45, 95, 65, 115]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "in_i0s"
Position [45, 140, 65, 160]
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 "out_ias"
Position [440, 40, 460, 60]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_ibs"
Position [440, 95, 460, 115]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_ics"
Position [440, 150, 460, 170]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "in_ids"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "in_iqs"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "in_i0s"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "out_ibs"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "out_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 "out_ics"
DstPort 1
}
}
}
Line {
SrcBlock "Daxis"
SrcPort 2
Points [230, 0; 0, -57]
Branch {
Points [0, -18]
DstBlock "qds2abc"
DstPort 2
}
Branch {
Points [0, -18]
DstBlock "Rotor"
DstPort 4
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [-35, 0; 0, -90]
DstBlock "Qaxis"
DstPort 2
}
Line {
SrcBlock "Qaxis"
SrcPort 1
Points [215, 0; 0, 100]
DstBlock "Rotor"
DstPort 3
}
Line {
SrcBlock "abc2qds"
SrcPort 2
Points [25, 0; 0, 70]
DstBlock "Daxis"
DstPort 1
}
Line {
SrcBlock "abc2qds"
SrcPort 1
Points [25, 0; 0, -75]
DstBlock "Qaxis"
DstPort 1
}
Line {
SrcBlock "Qaxis"
SrcPort 2
Points [235, 0; 0, 65]
Branch {
Points [0, 10]
DstBlock "qds2abc"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "Rotor"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [-25, 0; 0, 130]
DstBlock "Daxis"
DstPort 2
}
Line {
SrcBlock "Rotor"
SrcPort 2
Points [0, 0]
Branch {
Points [-45, 0; 0, -35]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [-45, 0; 0, -150]
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, 20]
DstBlock "To Workspace"
DstPort 1
}
Branch {
Points [15, 0; 0, -20]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Rotor"
SrcPort 1
Points [-35, 0; 0, -100]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "omega*t"
SrcPort 1
Points [0, 10]
Branch {
Points [0, 35]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "abc2qds"
DstPort 2
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -10; -70, 0]
DstBlock "omega*t"
DstPort 1
}
Branch {
Points [0, -10]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, 30]
DstBlock "abc2qds"
DstPort 1
}
Branch {
Points [35, 0; 0, -115]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Qaxis"
SrcPort 4
Points [20, 0; 0, 30]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Daxis"
SrcPort 4
Points [30, 0; 0, -90]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "abc2qds"
SrcPort 3
Points [0, 95]
DstBlock "Zero_seq"
DstPort 1
}
Line {
SrcBlock "qds2abc"
SrcPort 2
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "qds2abc"
SrcPort 3
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Zero_seq"
SrcPort 1
Points [130, 0]
DstBlock "qds2abc"
DstPort 3
}
Line {
SrcBlock "qds2abc"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -55; -260, 0; 0, -80]
DstBlock "Mux"
DstPort 3
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0; 0, 165; -545, 0]
DstBlock "abc2qds"
DstPort 4
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [0, -40]
DstBlock "abc2qds"
DstPort 3
}
Line {
SrcBlock "Qaxis"
SrcPort 3
DstBlock "Term"
DstPort 1
}
Line {
SrcBlock "Daxis"
SrcPort 3
DstBlock "Term1"
DstPort 1
}
Line {
SrcBlock "Daxis"
SrcPort 1
Points [185, 0; 0, -105]
DstBlock "Rotor"
DstPort 1
}
Line {
SrcBlock "Tmech"
SrcPort 1
Points [55, 0]
DstBlock "Rotor"
DstPort 5
}
Annotation {
Position [107, 342]
VerticalAlignment top
Text "Induction Machine Simulation\n in Stationary "
"Reference Frame"
}
Annotation {
Position [522, 322]
VerticalAlignment top
Text "i0s"
}
Annotation {
Position [292, 167]
VerticalAlignment top
Text "vqs"
}
Annotation {
Position [471, 169]
VerticalAlignment top
Text "Tem"
}
Annotation {
Position [462, 197]
VerticalAlignment top
Text "wr/wb"
}
Annotation {
Position [189, 137]
VerticalAlignment top
Text "vag"
}
Annotation {
Position [194, 237]
VerticalAlignment top
Text "vcg"
}
Annotation {
Position [189, 187]
VerticalAlignment top
Text "vbg"
}
Annotation {
Position [292, 227]
VerticalAlignment top
Text "v0s"
}
Annotation {
Position [397, 82]
VerticalAlignment top
Text "psiqs"
}
Annotation {
Position [392, 97]
VerticalAlignment top
Text "iqs"
}
Annotation {
Position [397, 127]
VerticalAlignment top
Text "psiqr"
}
Annotation {
Position [697, 197]
VerticalAlignment top
Text "ibs"
}
Annotation {
Position [697, 222]
VerticalAlignment top
Text "ics"
}
Annotation {
Position [297, 197]
VerticalAlignment top
Text "vds"
}
Annotation {
Position [402, 257]
VerticalAlignment top
Text "psids"
}
Annotation {
Position [402, 272]
VerticalAlignment top
Text "ids"
}
Annotation {
Position [406, 302]
VerticalAlignment top
Text "psidr"
}
Annotation {
Position [702, 172]
VerticalAlignment top
Text "ias"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -