📄 power_system_2.mdl
字号:
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ia"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [740, 118, 765, 142]
Orientation "left"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current 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"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Ib"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [740, 178, 765, 202]
Orientation "left"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current 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"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Ic"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [740, 243, 765, 267]
Orientation "left"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current 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"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "L1a"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [595, 112, 680, 158]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "0.0001"
Inductance "100e-6"
SetiL0 off
InitialCurrent "0"
Capacitance "1.0"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "L1b"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [595, 172, 680, 218]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "0.0001"
Inductance "100e-6"
SetiL0 off
InitialCurrent "0"
Capacitance "1.0"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "L1c"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [590, 222, 675, 268]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "0.0001"
Inductance "100e-6"
SetiL0 off
InitialCurrent "0"
Capacitance "1.0"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "L2a"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [325, 112, 410, 158]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "0.0001"
Inductance "50e-6"
SetiL0 off
InitialCurrent "0"
Capacitance "1.0"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "L2b"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [320, 171, 410, 219]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "0.0001"
Inductance "50e-6"
SetiL0 off
InitialCurrent "0"
Capacitance "1.0"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "L2c"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [330, 231, 420, 279]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "0.0001"
Inductance "50e-6"
SetiL0 off
InitialCurrent "0"
Capacitance "1.0"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Malha de \nControle"
Ports [8, 4]
Position [745, 296, 860, 439]
BackgroundColor "yellow"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Array {
Type "Handle"
Dimension 0
PropName "AvailSigsLoadSave"
}
MaskHideContents off
MaskType "Stateflow"
MaskDescription "Embedded MATLAB block"
MaskDisplay "disp('controle');"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Malha de \nControle"
Location [257, 457, 812, 717]
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 "ia"
Position [20, 101, 40, 119]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib"
Position [20, 136, 40, 154]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ic"
Position [20, 171, 40, 189]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "i_alfa"
Position [20, 206, 40, 224]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "i_beta"
Position [20, 246, 40, 264]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "va"
Position [20, 281, 40, 299]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "vb"
Position [20, 316, 40, 334]
Port "7"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "vc"
Position [20, 351, 40, 369]
Port "8"
IconDisplay "Port number"
}
Block {
BlockType Demux
Name " Demux "
Ports [1, 1]
Position [270, 290, 320, 330]
Outputs "1"
}
Block {
BlockType "S-Function"
Name " SFunction "
Tag "Stateflow S-Function power_system_2 1"
Ports [8, 5]
Position [180, 110, 230, 290]
FunctionName "sf_sfun"
PortCounts "[8 5]"
Port {
PortNumber 2
Name "u_alfa"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "u_beta"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 4
Name "xa"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 5
Name "xb"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Terminator
Name " Terminator "
Position [460, 301, 480, 319]
}
Block {
BlockType Outport
Name "u_alfa"
Position [460, 101, 480, 119]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "u_beta"
Position [460, 136, 480, 154]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "xa"
Position [460, 171, 480, 189]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "xb"
Position [460, 206, 480, 224]
Port "4"
IconDisplay "Port number"
}
Line {
SrcBlock " SFunction "
SrcPort 1
Points [20, 0]
DstBlock " Demux "
DstPort 1
}
Line {
SrcBlock " Demux "
SrcPort 1
DstBlock " Terminator "
DstPort 1
}
Line {
Name "u_alfa"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 2
DstBlock "u_alfa"
DstPort 1
}
Line {
Name "u_beta"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 3
DstBlock "u_beta"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
Points
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -