📄 nn_thesis_20_1phase.mdl
字号:
BackgroundColor "lightBlue"
Value "0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [375, 136, 380, 174]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Reference
Name "Discrete\nVirtual PLL"
Ports [0, 3]
Position [20, 398, 75, 452]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete\nVirtual PLL"
SourceType "Discrete Virtual PLL"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Freq "50"
Phase "0"
Ts "1e-6"
}
Block {
BlockType Gain
Name "Gain d"
Position [530, 90, 560, 120]
Gain "8.5"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1e-6"
}
Block {
BlockType Gain
Name "Gain q"
Position [530, 150, 560, 180]
Gain "8.5"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1e-6"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [595, 127, 600, 203]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [110, 117, 115, 193]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [880, 359, 930, 416]
Floating off
Location [6, 52, 1030, 737]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "Ke PWM Generator"
axes2 "dq Kompensasi dan 0"
axes3 "Sensor Tegangan Beban Sensitif dq [pu]"
axes4 "Selisih Tegangan dq [pu]"
}
YMin "-4~0~-0.5~-5.55112e-017"
YMax "4~4~0.9~0.7"
SaveToWorkspace on
SaveName "dq0"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [235, 337, 270, 363]
InputPortWidth "3"
IndexOptions "Index vector (dialog)"
Indices "[1 2]"
OutputSizes "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [275, 145, 295, 165]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
}
Block {
BlockType Terminator
Name "Terminator"
Position [105, 398, 120, 412]
NamePlacement "alternate"
}
Block {
BlockType Terminator
Name "Terminator1"
Position [105, 438, 120, 452]
}
Block {
BlockType Reference
Name "abc_to_dq0\nTransformation"
Ports [2, 1]
Position [165, 330, 215, 370]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/abc_to_dq0\nTransformation"
SourceType "abc to dq0 Transformation"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
}
Block {
BlockType SubSystem
Name "d cpn"
Ports [1, 1]
Position [450, 85, 510, 125]
BackgroundColor "lightBlue"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "d cpn"
Location [284, 82, 1270, 754]
Open off
ModelBrowserVisibility on
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 "x{1}"
Position [40, 40, 60, 60]
BackgroundColor "magenta"
IconDisplay "Port number"
PortDimensions "1"
SampleTime "5e-006"
}
Block {
BlockType From
Name " a{1} "
Position [40, 120, 60, 140]
GotoTag "feedback1"
MaskDisplay "plot(cos(0:.1:2*pi),sin(0:.1:2*pi))"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType From
Name " a{2} "
Position [40, 160, 60, 180]
GotoTag "feedback2"
MaskDisplay "plot(cos(0:.1:2*pi),sin(0:.1:2*pi))"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType SubSystem
Name "Layer 1"
Ports [1, 1]
Position [190, 40, 250, 60]
BackgroundColor "lightBlue"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Layer 1"
Location [480, 104, 1016, 386]
Open off
ModelBrowserVisibility on
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 "p{1}"
Position [40, 40, 60, 60]
BackgroundColor "magenta"
IconDisplay "Port number"
PortDimensions "1"
SampleTime "5e-006"
}
Block {
BlockType SubSystem
Name "Delays 1"
Ports [1, 1]
Position [100, 40, 120, 60]
BackgroundColor "lightBlue"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskDisplay "disp('TDL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Delays 1"
Location [480, 104, 1016, 386]
Open off
ModelBrowserVisibility on
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 "p{1}"
Position [60, 40, 80, 60]
Orientation "down"
BackgroundColor "magenta"
NamePlacement "alternate"
IconDisplay "Port number"
PortDimensions "1"
SampleTime "5e-006"
}
Block {
BlockType Mux
Name "mux"
Ports [1, 1]
Position [200, 60, 240, 80]
BackgroundColor "lightBlue"
Inputs "1"
}
Block {
BlockType Outport
Name "pd{1,1}"
Position [300, 60, 320, 80]
BackgroundColor "magenta"
IconDisplay "Port number"
}
Line {
SrcBlock "p{1}"
SrcPort 1
DstBlock "mux"
DstPort 1
}
Line {
SrcBlock "mux"
SrcPort 1
DstBlock "pd{1,1}"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "IW{1,1}"
Ports [1, 1]
Position [160, 40, 200, 60]
BackgroundColor "lightBlue"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskDisplay "disp('weight')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "IW{1,1}"
Location [480, 104, 1016, 386]
Open off
ModelBrowserVisibility on
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 "pd{1,1}"
Position [40, 270, 60, 290]
BackgroundColor "magenta"
IconDisplay "Port number"
PortDimensions "1"
SampleTime "5e-006"
}
Block {
BlockType Constant
Name "IW{1,1}(1,:)'"
Position [140, 40, 180, 60]
BackgroundColor "lightBlue"
Value "31.678383797157331"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{1,1}(2,:)'"
Position [140, 100, 180, 120]
BackgroundColor "lightBlue"
Value "31.678383797157331"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{1,1}(3,:)'"
Position [140, 160, 180, 180]
BackgroundColor "lightBlue"
Value "-31.678383797157331"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{1,1}(4,:)'"
Position [140, 220, 180, 240]
BackgroundColor "lightBlue"
Value "31.678383797157331"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{1,1}(5,:)'"
Position [140, 280, 180, 300]
BackgroundColor "lightBlue"
Value "-31.678383797157331"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{1,1}(6,:)'"
Position [140, 340, 180, 360]
BackgroundColor "lightBlue"
Value "-31.678383797157331"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -