📄 danxiangbanbo.mdl
字号:
NonVirtualBus off
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType DiscretePulseGenerator
PulseType "Sample based"
TimeSource "Use simulation time"
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1"
VectorParams1D on
}
Block {
BlockType From
IconDisplay "Tag"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType Inport
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType PMComponent
SubClassName "unknown"
}
Block {
BlockType PMIOPort
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sin
SineType "Time based"
TimeSource "Use simulation time"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "danxiangbanbo"
Location [103, 156, 907, 693]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [63, 155, 87, 190]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
ShowPortLabels on
Amplitude "100"
Phase "0"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Current Measurement"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [465, 68, 490, 92]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [420, 336, 425, 374]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "Detailed Thyristor"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [310, 50, 365, 90]
SourceBlock "powerlib/Power\nElectronics/Detailed Thyristor"
SourceType "Detailed Thyristor"
ShowPortLabels on
Ron "2"
Lon "0.001"
Vf "0.8"
IL "0.1"
Tq "100e-6"
IC "0"
Rs "500"
Cs "250e-9"
Measurements on
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [504, 270, 526, 295]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [64, 325, 86, 350]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [60, 43, 105, 77]
PulseType "Time based"
Amplitude "5"
Period "0.02"
PulseWidth "2"
PhaseDelay "0.0025"
}
Block {
BlockType Scope
Name "Scope"
Ports [6]
Position [670, 105, 710, 225]
Location [378, 426, 702, 665]
Open off
NumInputPorts "6"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "-5~-5~0~0~-5~-5"
YMax "5~5~10~10~5~5"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Reference
Name "Series RLC Branch"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [501, 135, 529, 205]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "10"
Inductance "0"
Capacitance "inf"
Setx0 off
InitialVoltage "0"
SetiL0 off
InitialCurrent "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [570, 198, 595, 222]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Ports [0, 1, 0, 0, 0, 2]
Position [220, 213, 245, 237]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Detailed Thyristor"
DstPort 1
}
Branch {
Points [0, -40; 480, 0; 0, 95]
DstBlock "Scope"
DstPort 1
}
}
Line {
LineType "Connection"
SrcBlock "AC Voltage Source"
SrcPort RConn1
Points [0, -25; 95, 0]
Branch {
ConnectType "DEST_SRC"
Points [85, 0; 0, -35]
DstBlock "Detailed Thyristor"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, 105]
DstBlock "Voltage Measurement1"
DstPort LConn1
}
}
Line {
SrcBlock "Detailed Thyristor"
SrcPort 1
Points [20, 0; 0, 295]
DstBlock "Demux"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Detailed Thyristor"
SrcPort RConn1
DstBlock "Current Measurement"
DstPort LConn1
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [95, 0; 0, 60]
DstBlock "Scope"
DstPort 2
}
Line {
LineType "Connection"
Points [515, 85; 35, 0; 0, 120; 5, 0]
DstBlock "Voltage Measurement"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "Current Measurement"
SrcPort RConn1
Points [0, 0; 10, 0]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Series RLC Branch"
DstPort RConn1
}
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
Points [0, -55]
DstBlock "Scope"
DstPort 3
}
Line {
LineType "Connection"
Points [515, 245; 35, 0; 0, -30; 5, 0]
DstBlock "Voltage Measurement"
DstPort LConn2
Branch {
ConnectType "SRC_DEST"
SrcBlock "Series RLC Branch"
SrcPort LConn1
Points [0, 0; 0, 25]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Ground"
DstPort LConn1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [185, 0; 0, -170]
DstBlock "Scope"
DstPort 4
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [200, 0; 0, -170]
DstBlock "Scope"
DstPort 5
}
Line {
SrcBlock "Voltage Measurement1"
SrcPort 1
Points [45, 0; 0, 195; 355, 0; 0, -205]
DstBlock "Scope"
DstPort 6
}
Line {
LineType "Connection"
Points [75, 295; 95, 0; 0, -65; 35, 0]
DstBlock "Voltage Measurement1"
DstPort LConn2
Branch {
ConnectType "SRC_DEST"
SrcBlock "AC Voltage Source"
SrcPort LConn1
Points [0, 0; 0, 90]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Ground1"
DstPort LConn1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -