📄 power_system_2.mdl
字号:
Block {
BlockType Reference
Name "B1"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [85, 105, 90, 285]
BackgroundColor "black"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Meas"
"urement"
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 on
LabelV "Vabc_T1"
Vpu off
CurrentMeasurement "yes"
SetLabelI on
LabelI "Iabc_T1"
Ipu on
Pbase "1e6"
Vbase "510"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Ca"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [456, 285, 484, 355]
Orientation "down"
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 "RC"
Resistance "0.001"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "500e-6"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Cb"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [501, 285, 529, 355]
Orientation "down"
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 "RC"
Resistance "0.001"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "500e-6"
Setx0 off
InitialVoltage "10"
Measurements "None"
}
Block {
BlockType Reference
Name "Cc"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [551, 290, 579, 360]
Orientation "down"
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 "RC"
Resistance "0.001"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "500e-6"
Setx0 off
InitialVoltage "10"
Measurements "None"
}
Block {
BlockType Reference
Name "DC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [1135, 195, 1155, 230]
Orientation "up"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou"
"rce"
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 "1000"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Extra玢o de sequencia\npositiva"
Ports [3, 2]
Position [515, 486, 605, 574]
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('extracao');"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Extra玢o de sequencia\npositiva"
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 "va"
Position [20, 101, 40, 119]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "vb"
Position [20, 136, 40, 154]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "vc"
Position [20, 171, 40, 189]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Demux
Name " Demux "
Ports [1, 1]
Position [270, 250, 320, 290]
Outputs "1"
}
Block {
BlockType "S-Function"
Name " SFunction "
Tag "Stateflow S-Function power_system_2 2"
Ports [3, 3]
Position [180, 108, 230, 252]
FunctionName "sf_sfun"
PortCounts "[3 3]"
Port {
PortNumber 2
Name "i_alfa"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "i_beta"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Terminator
Name " Terminator "
Position [460, 261, 480, 279]
}
Block {
BlockType Outport
Name "i_alfa"
Position [460, 101, 480, 119]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "i_beta"
Position [460, 136, 480, 154]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock " SFunction "
SrcPort 1
Points [0, 135]
DstBlock " Demux "
DstPort 1
}
Line {
SrcBlock " Demux "
SrcPort 1
DstBlock " Terminator "
DstPort 1
}
Line {
SrcBlock "va"
SrcPort 1
DstBlock " SFunction "
DstPort 1
}
Line {
Name "i_alfa"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 2
DstBlock "i_alfa"
DstPort 1
}
Line {
Name "i_beta"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 3
DstBlock "i_beta"
DstPort 1
}
Line {
SrcBlock "vb"
SrcPort 1
DstBlock " SFunction "
DstPort 2
}
Line {
SrcBlock "vc"
SrcPort 1
DstBlock " SFunction "
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "Gera玢o dos\nsinais PWM"
Ports [2, 1]
Position [945, 351, 1065, 504]
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('modulador');"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Gera玢o dos\nsinais PWM"
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 "u_alfa"
Position [20, 101, 40, 119]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "u_beta"
Position [20, 136, 40, 154]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Demux
Name " Demux "
Ports [1, 1]
Position [270, 305, 320, 345]
Outputs "1"
}
Block {
BlockType "S-Function"
Name " SFunction "
Tag "Stateflow S-Function power_system_2 3"
Ports [2, 2]
Position [180, 119, 230, 306]
FunctionName "sf_sfun"
PortCounts "[2 2]"
Port {
PortNumber 2
Name "pwm"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Terminator
Name " Terminator "
Position [460, 316, 480, 334]
}
Block {
BlockType Outport
Name "pwm"
Position [460, 101, 480, 119]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock " SFunction "
SrcPort 1
Points [0, 160]
DstBlock " Demux "
DstPort 1
}
Line {
SrcBlock " Demux "
SrcPort 1
DstBlock " Terminator "
DstPort 1
}
Line {
SrcBlock "u_alfa"
SrcPort 1
DstBlock " SFunction "
DstPort 1
}
Line {
SrcBlock "u_beta"
SrcPort 1
DstBlock " SFunction "
DstPort 2
}
Line {
Name "pwm"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 2
DstBlock "pwm"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [239, 425, 261, 450]
Orientation "down"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -