📄 dy.mdl
字号:
Port "3"
IconDisplay "Port number"
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_i2'"
Position [710, 335, 730, 355]
Port "4"
IconDisplay "Port number"
InitialOutput "0"
}
Line {
SrcBlock "Look-Up\nTable"
SrcPort 1
DstBlock "Memory"
DstPort 1
}
Line {
SrcBlock "Memory"
SrcPort 1
Points [-90, 0; 0, -30]
DstBlock "Mux3"
DstPort 3
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [0, 0]
Branch {
Points [50, 0; 0, 50]
DstBlock "Look-Up\nTable"
DstPort 1
}
Branch {
Points [50, 0; 0, 165; -285, 0; 0, -35]
DstBlock "Mux2"
DstPort 2
}
Branch {
Points [50, 0; 0, -135; -615, 0; 0, 30]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [50, 0; 0, 165; -620, 0; 0, -35]
DstBlock "Mux1"
DstPort 3
}
Branch {
Points [50, 0; 0, -45; -270, 0; 0, -30]
DstBlock "Mux4"
DstPort 2
}
Branch {
DstBlock "out_psim"
DstPort 1
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fcn5"
DstPort 1
}
Line {
SrcBlock "psi2'_"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [25, 0; 0, -105]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [25, 0; 0, -45; -320, 0; 0, 20]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "psi1_"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, 55; -325, 0; 0, -25]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [35, 0; 0, -25]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [35, 0; 0, 55]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [35, 0; 0, -75]
DstBlock "out_psi1"
DstPort 1
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn4"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "psi2'_"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "psi1_"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "out_i1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Fcn5"
SrcPort 1
DstBlock "out_i2'"
DstPort 1
}
Annotation {
Name "i2'"
Position [577, 329]
VerticalAlignment "top"
}
Annotation {
Name "Dpsi"
Position [452, 264]
VerticalAlignment "top"
}
Annotation {
Name "psim"
Position [642, 207]
VerticalAlignment "top"
}
Annotation {
Name "psi2'"
Position [362, 313]
VerticalAlignment "top"
}
Annotation {
Name "psi1"
Position [357, 132]
VerticalAlignment "top"
}
Annotation {
Name "i1"
Position [577, 127]
VerticalAlignment "top"
}
}
}
Block {
BlockType Clock
Name "Clock"
Position [105, 142, 120, 158]
Decimation "10"
}
Block {
BlockType SubSystem
Name "DY_data"
Ports []
Position [429, 424, 497, 467]
DropShadow on
OpenFcn "DY_data"
ShowPortLabels "none"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskType "Masked block of m4.m"
MaskHelp "Uses m4.m to initialize and plot"
MaskDisplay "disp('Initialize\\nand plot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "DY_data"
Location [480, 32767, 795, 32767]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Annotation {
Name "Masked block of m4.m to initilaize s4.m\nand plot results of simulation"
Position [167, 49]
VerticalAlignment "top"
}
}
}
Block {
BlockType Scope
Name "Ground"
Ports [3]
Position [595, 183, 635, 267]
NamePlacement "alternate"
Floating off
Location [5, 52, 1029, 737]
Open off
NumInputPorts "3"
TickLabels "on"
List {
ListType AxesTitles
axes1 "(i_AB + i_BC + i_CA)/3"
axes2 "(i_a + i_b + i_c)/3"
axes3 "V_Gn"
}
TimeRange "0.1"
YMin "-500~-5~-5"
YMax "500~5~5"
SaveName "ScopeData2"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [8, 1]
Position [121, 60, 519, 75]
Orientation "up"
Inputs "8"
}
Block {
BlockType Gain
Name "R_n(Np/Ns)"
Position [475, 351, 510, 389]
Gain "Rn*NpbyNs"
}
Block {
BlockType SubSystem
Name "Ref_Load an_"
Ports [1, 1]
Position [265, 260, 290, 300]
Orientation "left"
ShowPortLabels "none"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Ref_Load an_"
Location [64, 101, 294, 228]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [180, 55, 200, 75]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "HGR"
Position [100, 51, 140, 79]
Orientation "left"
Gain "-24"
}
Block {
BlockType Outport
Name "out_1"
Position [15, 55, 35, 75]
Orientation "left"
IconDisplay "Port number"
InitialOutput "0"
}
Line {
SrcBlock "HGR"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "HGR"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Ref_Load bn"
Ports [1, 1]
Position [260, 395, 285, 435]
Orientation "left"
ShowPortLabels "none"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Ref_Load bn"
Location [64, 196, 294, 332]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [180, 55, 200, 75]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "HGR"
Position [90, 48, 135, 82]
Orientation "left"
Gain "-24"
}
Block {
BlockType Outport
Name "out_1"
Position [15, 55, 35, 75]
Orientation "left"
IconDisplay "Port number"
InitialOutput "0"
}
Line {
SrcBlock "HGR"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "HGR"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Ref_Load cn"
Ports [1, 1]
Position [245, 530, 270, 570]
Orientation "left"
ShowPortLabels "none"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Ref_Load cn"
Location [64, 196, 294, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [180, 55, 200, 75]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "HGR"
Position [85, 47, 120, 83]
Orientation "left"
Gain "-24"
}
Block {
BlockType Outport
Name "out_1"
Position [15, 55, 35, 75]
Orientation "left"
IconDisplay "Port number"
InitialOutput "0"
}
Line {
SrcBlock "HGR"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "HGR"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "S"
Ports [2, 1]
Position [130, 187, 145, 223]
Inputs "+-"
}
Block {
BlockType Sum
Name "S1"
Ports [2, 1]
Position [135, 326, 150, 364]
Inputs "+-"
}
Block {
BlockType Sum
Name "S2"
Ports [2, 1]
Position [135, 456, 150, 494]
Inputs "+-"
}
Block {
BlockType Sum
Name "S5"
Ports [2, 1]
Position [172, 240, 203, 255]
Orientation "up"
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [375, 274, 390, 316]
Inputs "+++"
}
Block {
BlockType Sum
Name "Sum3"
Ports [3, 1]
Position [385, 345, 400, 395]
Inputs "+++"
}
Block {
BlockType Terminator
Name "T"
Position [296, 180, 304, 185]
Orientation "up"
NamePlacement "alternate"
}
Block {
BlockType Terminator
Name "T1"
Position [325, 186, 330, 194]
}
Block {
BlockType Terminator
Name "T2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -