📄 da_control_filter.mdl
字号:
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Amplitude "220*sqrt(2)"
Phase "120"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Active Power Filter"
Ports [2, 1, 0, 0, 0, 3]
Position [410, 282, 505, 398]
BackgroundColor "orange"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Active Power Filter"
Location [2, 74, 790, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Iabc"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vabc"
Position [40, 143, 70, 157]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux4"
Ports [1, 3]
Position [90, 26, 95, 64]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Hysterisiz Blog"
Ports [6, 6]
Position [315, 109, 410, 231]
BackgroundColor "green"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Hysterisiz Blog"
Location [383, 208, 950, 611]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Ia"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "I*a"
Position [40, 83, 70, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ib"
Position [40, 138, 70, 152]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "I*b"
Position [55, 183, 85, 197]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ic"
Position [30, 238, 60, 252]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "I*c"
Position [50, 293, 80, 307]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion"
Position [230, 79, 250, 101]
ShowName off
OutDataTypeMode "boolean"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [315, 79, 335, 101]
ShowName off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [230, 174, 250, 196]
ShowName off
OutDataTypeMode "boolean"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [315, 174, 335, 196]
ShowName off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [235, 289, 255, 311]
ShowName off
OutDataTypeMode "boolean"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [320, 289, 340, 311]
ShowName off
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [265, 80, 295, 100]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [265, 175, 295, 195]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [270, 290, 300, 310]
ShowName off
Operator "NOT"
}
Block {
BlockType Relay
Name "R"
Position [150, 40, 180, 70]
OnSwitchValue "0.05"
OffSwitchValue "-0.05"
OutDataType "sfix(16)"
OutScaling "2^0"
ZeroCross off
}
Block {
BlockType Relay
Name "R1"
Position [145, 130, 175, 160]
OnSwitchValue "0.05"
OffSwitchValue "-0.05"
OutDataType "sfix(16)"
OutScaling "2^0"
ZeroCross off
}
Block {
BlockType Relay
Name "R2"
Position [145, 230, 175, 260]
OnSwitchValue "0.05"
OffSwitchValue "-0.05"
OutDataType "sfix(16)"
OutScaling "2^0"
ZeroCross off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [95, 135, 115, 155]
ShowName off
IconShape "round"
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [85, 235, 105, 255]
ShowName off
IconShape "round"
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [80, 35, 100, 55]
ShowName off
IconShape "round"
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [448, 210, 472, 225]
Orientation "down"
ShowName off
SampleTime "1e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay2"
Position [513, 325, 537, 340]
Orientation "down"
ShowName off
SampleTime "1e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [351, 45, 379, 60]
Orientation "down"
ShowName off
SampleTime "1e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay4"
Position [381, 165, 409, 180]
Orientation "down"
ShowName off
SampleTime "1e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay5"
Position [380, 100, 410, 115]
Orientation "down"
ShowName off
SampleTime "1e-6"
}
Block {
BlockType UnitDelay
Name "Unit Delay6"
Position [473, 260, 497, 275]
Orientation "down"
ShowName off
SampleTime "1e-6"
}
Block {
BlockType Outport
Name "1"
Position [415, 80, 445, 95]
Orientation "down"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "2"
Position [450, 145, 480, 160]
Orientation "down"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "3"
Position [495, 200, 525, 215]
Orientation "down"
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "4"
Position [520, 245, 550, 260]
Orientation "down"
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "5"
Position [535, 300, 565, 315]
Orientation "down"
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "6"
Position [510, 365, 540, 380]
Orientation "down"
Port "6"
IconDisplay "Port number"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "R2"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "R1"
DstPort 1
}
Line {
SrcBlock "R"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 35]
DstBlock "Data Type \nConversion"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Unit Delay3"
DstPort 1
}
}
Line {
SrcBlock "R2"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 55]
DstBlock "Data Type \nConversion4"
DstPort 1
}
Branch {
DstBlock "Unit Delay6"
DstPort 1
}
}
Line {
SrcBlock "R1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 40]
DstBlock "Data Type \nConversion2"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -