📄 control system.mdl
字号:
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "untitled3"
Location [2, 74, 998, 705]
Open on
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"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "2r/2s"
Ports [3, 2]
Position [845, 94, 915, 156]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "2r/2s"
Location [2, 74, 1014, 721]
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 "Urd"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Urq"
Position [25, 83, 55, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "theta"
Position [25, 113, 55, 127]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add3"
Ports [2, 1]
Position [225, 110, 245, 130]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [180, 31, 200, 49]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [180, 61, 200, 79]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [180, 96, 200, 114]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [180, 131, 200, 149]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [225, 35, 245, 55]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [115, 88, 140, 112]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [115, 123, 140, 147]
ShowName off
Operator "cos"
}
Block {
BlockType Outport
Name "Ur_alfa"
Position [270, 38, 300, 52]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "Ur_beta"
Position [270, 113, 300, 127]
Port "2"
IconDisplay "Port number"
}
Line {
SrcBlock "Urd"
SrcPort 1
Points [95, 0]
Branch {
Points [0, 75]
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -90]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [5, 0]
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [0, 10]
DstBlock "Add3"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [0, -15]
DstBlock "Add3"
DstPort 2
}
Line {
SrcBlock "Urq"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 65; 75, 0; 0, -10]
DstBlock "Product3"
DstPort 2
}
Branch {
Points [0, -25]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "theta"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Branch {
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
}
Line {
SrcBlock "Subtract"
SrcPort 1
DstBlock "Ur_alfa"
DstPort 1
}
Line {
SrcBlock "Add3"
SrcPort 1
DstBlock "Ur_beta"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "3-phase \nInstantaneous \nActive & Reactive Power"
Ports [2, 1]
Position [680, 341, 730, 394]
Orientation "left"
NamePlacement "alternate"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/3-phase \nInstantaneous \nActive & Reactive Power"
SourceType "3-phase instantaneous active and reactive power"
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 Sum
Name "Add1"
Ports [2, 1]
Position [395, 247, 425, 278]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [600, 287, 630, 318]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "DC Voltae Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [1210, 15, 1245, 35]
Orientation "left"
NamePlacement "alternate"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
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"
Amplitude "150"
Measurements "None"
}
Block {
BlockType Reference
Name "DFIG"
Ports [1, 1, 0, 0, 0, 3, 3]
Position [1186, 235, 1274, 315]
Orientation "up"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Units"
SourceType "Asynchronous Machine"
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"
PresetModel "No"
MechanicalLoad "Torque Tm"
ShowDetailedParameters on
RotorType "Wound"
ReferenceFrame "Rotor"
NominalParameters "[3730 380 50]"
Stator "[1.115 0.005974]"
Rotor "[1.083 0.005974]"
Lm "0.2037"
Mechanical "[0.02 0.005752 2]"
PolePairs "2"
InitialConditions "[ 1,0 0,0,0 0,0,0 ]"
Units "SI"
LoadFlowParameters "0"
SimulateSaturation off
Saturation "[9.9249,19.6672,38.0377,51.3988,69.2824,105.1337,152.5532,214.2421,303.1917;230, 322, 414, 460, 506, 552, 598, 644, 690]"
TsPowergui "0"
TsBlock "-1"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [810, 434, 815, 496]
Orientation "left"
BackgroundColor "black"
NamePlacement "alternate"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [705, 197, 710, 248]
Orientation "left"
BackgroundColor "black"
NamePlacement "alternate"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 6]
Position [1100, 80, 1105, 165]
BackgroundColor "black"
ShowName off
Outputs "6"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux4"
Ports [1, 2]
Position [570, 350, 575, 390]
Orientation "left"
BackgroundColor "black"
NamePlacement "alternate"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain1"
Position [960, 270, 985, 300]
Orientation "left"
NamePlacement "alternate"
ShowName off
Gain "2"
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
}
Block {
BlockType Gain
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -