📄 s2o.mdl
字号:
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Sign1"
Position [565, 162, 595, 188]
ShowPortLabels off
MaskType "Sign"
MaskDescription "y = sign(x)"
MaskHelp "Sign Function:\\n\\t\\t\\ty = 1 if x "
"> 0\\n\\t\\t\\ty = 0 if x = 0\\n\\t\\t\\ty "
"= -1 if x < 0"
MaskDisplay "plot(-50,-50,50,50,[-50,50],[0,0],[0,0],[-50"
",50],[-40,0],[-30,-30],[0,40],[30,30])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
System {
Name "Sign1"
Location [159, 417, 467, 586]
Open off
ScreenColor white
Block {
BlockType Inport
Name "in_1"
Position [35, 30, 55, 50]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Constant
Name "Constant"
Position [65, 105, 85, 125]
Value "0"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [140, 32, 170, 63]
Operator >
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [140, 92, 170, 123]
Operator <
}
Block {
BlockType Sum
Name "Sum"
Position [215, 64, 235, 91]
Inputs "+-"
}
Block {
BlockType Outport
Name "out_1"
Position [265, 70, 285, 90]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Relational\nOperator1"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Relational\nOperator1"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Relational\nOperator"
DstPort 2
}
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Sign2"
Position [565, 222, 595, 248]
ShowPortLabels off
MaskType "Sign"
MaskDescription "y = sign(x)"
MaskHelp "Sign Function:\\n\\t\\t\\ty = 1 if x "
"> 0\\n\\t\\t\\ty = 0 if x = 0\\n\\t\\t\\ty "
"= -1 if x < 0"
MaskDisplay "plot(-50,-50,50,50,[-50,50],[0,0],[0,0],[-50"
",50],[-40,0],[-30,-30],[0,40],[30,30])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
System {
Name "Sign2"
Location [159, 417, 467, 586]
Open off
ScreenColor white
Block {
BlockType Inport
Name "in_1"
Position [35, 30, 55, 50]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Constant
Name "Constant"
Position [65, 105, 85, 125]
Value "0"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [140, 32, 170, 63]
Operator >
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [140, 92, 170, 123]
Operator <
}
Block {
BlockType Sum
Name "Sum"
Position [215, 64, 235, 91]
Inputs "+-"
}
Block {
BlockType Outport
Name "out_1"
Position [265, 70, 285, 90]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Relational\nOperator1"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Relational\nOperator1"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Relational\nOperator"
DstPort 2
}
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Vb/wb"
Position [100, 35, 205, 75]
Gain ".43315*pi/4"
}
Block {
BlockType Integrator
Name "cos"
Position [235, 120, 270, 160]
ExternalReset none
InitialConditionSource internal
InitialCondition "1"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "sin"
Position [245, 231, 280, 269]
ExternalReset none
InitialConditionSource internal
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Constant
Name "we"
Position [25, 113, 50, 147]
Value "377"
}
Block {
BlockType Outport
Name "vag"
Position [720, 100, 740, 120]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vbg"
Position [715, 160, 735, 180]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vcg"
Position [720, 220, 740, 240]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "we"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Inner\nProduct1"
DstPort 1
}
Branch {
Points [65, 0]
DstBlock "Inner\nProduct"
DstPort 1
}
Branch {
Points [10, 0; 0, -75]
DstBlock "Vb/wb"
DstPort 1
}
}
Line {
SrcBlock "-1"
SrcPort 1
DstBlock "sin"
DstPort 1
}
Line {
SrcBlock "Inner\nProduct"
SrcPort 1
DstBlock "-1"
DstPort 1
}
Line {
SrcBlock "Inner\nProduct1"
SrcPort 1
DstBlock "cos"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, -60]
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [10, 0; 0, 60]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Sign1"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Sign2"
DstPort 1
}
Line {
SrcBlock "cos"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, -40; -175, 0; 0, 155]
DstBlock "Inner\nProduct"
DstPort 2
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "sin"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, -40; -140, 0]
DstBlock "Inner\nProduct1"
DstPort 2
}
Branch {
Points [10, 0; 0, -40]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "vcg"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "vbg"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "vag"
DstPort 1
}
Line {
SrcBlock "Vb/wb"
SrcPort 1
Points [415, 0; 0, 50]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 60]
Branch {
Points [0, 60]
DstBlock "Product2"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
}
Line {
SrcBlock "Sign2"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Sign1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Sign"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Sign"
DstPort 1
}
Annotation {
Position [252, 42]
VerticalAlignment top
Text "Vpk"
}
Annotation {
Position [312, 111]
VerticalAlignment top
Text "cos_wet"
}
Annotation {
Position [302, 188]
VerticalAlignment top
Text "sin_wet"
}
}
}
Block {
BlockType SubSystem
Name "Zero_seq"
Position [420, 335, 455, 385]
ShowPortLabels off
System {
Name "Zero_seq"
Location [0, 38, 767, 572]
Open off
ScreenColor white
Block {
BlockType Inport
Name "v0s"
Position [55, 60, 75, 80]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Integrator
Name "Integrator"
Position [265, 65, 295, 95]
ExternalReset none
InitialConditionSource internal
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Sum
Name "Sum"
Position [140, 60, 165, 100]
Inputs "+-"
}
Block {
BlockType Gain
Name "rs"
Position [200, 122, 245, 158]
Orientation left
Gain "rs"
}
Block {
BlockType Gain
Name "wb/xls"
Position [200, 64, 240, 96]
Gain "wb/xls"
}
Block {
BlockType Outport
Name "i0s"
Position [365, 70, 385, 90]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "rs"
SrcPort 1
Points [-80, 0; 0, -50]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "wb/xls"
DstPort 1
}
Line {
SrcBlock "wb/xls"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "v0s"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 60]
DstBlock "rs"
DstPort 1
}
Branch {
DstBlock "i0s"
DstPort 1
}
}
Annotation {
Position [227, 27]
VerticalAlignment top
Text "Stator's zero-sequence circuit"
}
}
}
Block {
BlockType SubSystem
Name "abc2qds"
Position [160, 187, 200, 293]
ShowPortLabels off
System {
Name "abc2qds"
Location [55, 101, 739, 485]
Open off
ScreenColor white
Block {
BlockType Inport
Name "vag"
Position [40, 100, 60, 120]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vbg"
Position [40, 160, 60, 180]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vcg"
Position [40, 220, 60, 240]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "ias+ibs+ics"
Position [40, 280, 60, 300]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [170, 81, 330, 109]
Expr "(2/3)*(u[1] - (u[2]+u[3])/2)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [170, 157, 330, 183]
Expr "(u[3]-u[2])/sqrt(3)"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [170, 220, 325, 250]
Expr "(u[1]+u[2]+u[3])/3"
}
Block {
BlockType Gain
Name "Gain"
Position [375, 129, 440, 171]
Gain "-sqrt(3)"
}
Block {
BlockType Integrator
Name "Integrator"
Position [285, 272, 310, 308]
ExternalReset none
InitialConditionSource internal
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Mux
Name "Mux"
Position [90, 81, 130, 259]
Inputs "3"
}
Block {
BlockType Gain
Name "Rsg"
Position [140, 270, 230, 310]
Gain "50*Zb*wb"
}
Block {
BlockType Sum
Name "Sum"
Position [425, 223, 440, 267]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum1"
Position [490, 20, 505, 60]
Inputs "++"
}
Block {
BlockType Sum
Name "Sum2"
Position [485, 85, 500, 120]
Inputs "+-"
}
Block {
BlockType Outport
Name "vqs"
Position [530, 95, 550, 115]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vds"
Position [525, 180, 545, 200]
Port "2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -