📄 i20degree7t08.mdl
字号:
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [60, 120, 90, 150]
Value "4/300"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Discrete Variable\nTransport Delay"
Ports [2, 1]
Position [170, 28, 210, 72]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete Variable\nTransport Delay"
SourceType "Discrete variable transport delay"
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"
MaxDelay "4/300"
InitialValue "0"
Ts "1e-5"
}
Block {
BlockType Reference
Name "Repeating\nSequence1"
Ports [0, 1]
Position [15, 25, 45, 55]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
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"
rep_seq_t "[0 0.00167 0.00167 0.00211 0.00211 0.00233 0.00233 0.00322 0.00322 0.00344 0.00344 0.00433 0.00433 0.00455 0.00455 0.00544 0.00544 0.00566 0.00566 0.00655 0.00655 0.00677 0.00677 0.00766 0.00766 0.00788 0.00788 0.00833 0.00833 0.01211 0.01211 0.01233 0.01233 0.01322 0.01322 0.01344 0.01344 0.01433 0.01433 0.01455 0.01455 0.01544 0.01544 0.01566 0.01566 0.01655 0.01655 0.01677 0.01677 0.01766 0.01766 0.01788 0.01788 0.01833 0.02]"
rep_seq_y "[0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0]"
}
Block {
BlockType Outport
Name "Out1"
Position [235, 43, 265, 57]
IconDisplay "Port number"
}
Line {
SrcBlock "Discrete Variable\nTransport Delay"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "Discrete Variable\nTransport Delay"
DstPort 2
}
Line {
SrcBlock "Repeating\nSequence1"
SrcPort 1
DstBlock "Discrete Variable\nTransport Delay"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "P6"
Ports [0, 1]
Position [590, 470, 630, 530]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "P6"
Location [386, 591, 676, 768]
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 Constant
Name "Constant"
Position [60, 120, 90, 150]
Value "0.01833"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Discrete Variable\nTransport Delay"
Ports [2, 1]
Position [170, 28, 210, 72]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete Variable\nTransport Delay"
SourceType "Discrete variable transport delay"
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"
MaxDelay "0.01833"
InitialValue "0"
Ts "1e-5"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [20, 23, 65, 57]
PulseType "Time based"
Period "20e-3"
PulseWidth "33.3"
}
Block {
BlockType Outport
Name "Out1"
Position [235, 43, 265, 57]
IconDisplay "Port number"
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Discrete Variable\nTransport Delay"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "Discrete Variable\nTransport Delay"
DstPort 2
}
Line {
SrcBlock "Discrete Variable\nTransport Delay"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Repeating\nSequence1"
Ports [0, 1]
Position [325, 175, 355, 205]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
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"
rep_seq_t "[0 0.00167 0.00167 0.00211 0.00211 0.00233 0.00233 0.00322 0.00322 0.00344 0.00344 0.00433 0.00433 0.00455 0.00455 0.00544 0.00544 0.00566 0.00566 0.00655 0.00655 0.00677 0.00677 0.00766 0.00766 0.00788 0.00788 0.00833 0.00833 0.01211 0.01211 0.01233 0.01233 0.01322 0.01322 0.01344 0.01344 0.01433 0.01433 0.01455 0.01455 0.01544 0.01544 0.01566 0.01566 0.01655 0.01655 0.01677 0.01677 0.01766 0.01766 0.01788 0.01788 0.01833 0.02]"
rep_seq_y "[0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0]"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [1625, 45, 1670, 115]
BackgroundColor "lightBlue"
Floating off
Location [6, 46, 1290, 877]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-50"
YMax "50"
SaveToWorkspace on
SaveName "Iabc"
DataFormat "StructureWithTime"
MaxDataPoints "10000"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [445, 269, 475, 301]
Floating off
Location [1, 46, 1425, 869]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [1110, 159, 1140, 191]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-20"
YMax "20"
SaveToWorkspace on
SaveName "CR"
DataFormat "StructureWithTime"
MaxDataPoints "10000"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [1110, 269, 1140, 301]
Floating off
Location [1, 52, 1281, 925]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-20"
YMax "20"
SaveToWorkspace on
SaveName "CY"
DataFormat "StructureWithTime"
MaxDataPoints "10000"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [1110, 354, 1140, 386]
Floating off
Location [5, 46, 1289, 869]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "CB"
DataFormat "StructureWithTime"
MaxDataPoints "10000"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [445, 354, 475, 386]
Floating off
Location [5, 46, 1289, 869]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [680, 349, 710, 381]
Floating off
Location [5, 46, 1289, 869]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [910, 349, 940, 381]
Floating off
Location [1, 51, 1281, 925]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [690, 279, 720, 311]
Floating off
Location [1, 51, 1281, 925]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [915, 269, 945, 301]
Floating off
Location [5, 46, 1289, 869]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Reference
Name "Three-Phase\nSeries RLC Branch"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [1690, 327, 1760, 373]
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC Branch"
SourceType "Three-Phase Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
RConnTagsString "A|B|C"
BranchType "R"
Resistance "100"
Inductance "0.2387"
Capacitance "1e-6"
Measurements "None"
}
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [1255, 302, 1305, 378]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurement"
SourceType "Three-Phase VI Measurement"
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"
VoltageMeasurement "phase-to-ground"
SetLabelV off
LabelV "Vabc"
Vpu off
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
Vbase "500e3"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType SubSystem
Name "current"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [120, 325, 180, 365]
Orientation "up"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "current"
Location [2, 82, 1022, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -