📄 u.mdl
字号:
PropagatedSignals "signal"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name " "
Ports [0, 1, 0, 0, 0, 1, 1]
Position [265, 178, 290, 202]
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"
Port {
PortNumber 1
Name "i2"
PropagatedSignals "signal"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name " RC"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [554, 230, 606, 285]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
BranchType "RC"
Resistance "0.5"
Inductance "1.0"
SetiL0 off
InitialCurrent "0"
Capacitance "3300e-6"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [470, 85, 560, 115]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [785, 325, 875, 355]
Decimation "1"
Lockdown off
}
Block {
BlockType Reference
Name "L"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [415, 191, 455, 209]
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 "1"
Inductance "10e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "1e-6"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Mean Value"
Ports [1, 1]
Position [715, 314, 765, 366]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Mean Value"
SourceType "Mean value"
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"
Period "1/60"
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [730, 160, 760, 230]
Floating off
Location [5, 47, 1029, 737]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Reference
Name "Three-Phase Source"
Ports [0, 0, 0, 0, 0, 0, 3]
Position [135, 186, 220, 244]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/Three-Phase Source"
SourceType "Three-Phase 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"
Voltage "380"
PhaseAngle "0"
Frequency "50"
InternalConnection "Yg"
SpecifyImpedance off
Resistance "0.001"
Inductance "0"
ShortCircuitLevel "100e6"
BaseVoltage "25e3"
XRratio "7"
}
Block {
BlockType Reference
Name "Total Harmonic\nDistorsion"
Ports [1, 1]
Position [375, 85, 430, 115]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Total Harmonic\nDi"
"storsion"
SourceType "Total Harmonic Distortion"
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"
f1 "60"
}
Block {
BlockType Reference
Name "Universal Bridge"
Ports [0, 0, 0, 0, 0, 3, 2]
Position [340, 185, 390, 245]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
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"
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
converterType "Rectifier"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [170, 85, 252, 135]
UserDataPersistent on
FontSize 11
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
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"
SimulationMode "Continuous"
SampleTime "50e-6"
echomessages off
RestoreLinks "warning"
x0status "blocks"
Frange "[0:2:500]"
Ylog off
Xlog on
ShowGrid off
save off
variable "ZData"
ZoomFFT on
StartTime "0.0"
cycles "1"
DisplayStyle "1"
fundamental "60"
FreqAxis off
MaxFrequency "1000"
frequencyindice "50"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
frequency "60"
methode off
HookPort off
Interpol off
}
Line {
LineType "Connection"
SrcBlock " "
SrcPort RConn1
DstBlock "Universal Bridge"
DstPort LConn1
}
Line {
Name "i2"
SrcBlock " "
SrcPort 1
Points [25, 0; 0, -15]
Branch {
Points [0, -70]
DstBlock "Total Harmonic\nDistorsion"
DstPort 1
}
Branch {
Labels [-1, 1]
DstBlock "Scope1"
DstPort 1
}
}
Line {
LineType "Connection"
Points [580, 205; -25, 0]
DstBlock " "
DstPort RConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock " "
SrcPort LConn1
Points [-5, 0; 0, -35; -35, 0]
}
Branch {
ConnectType "SRC_SRC"
DstBlock " RC"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Universal Bridge"
SrcPort RConn2
Points [20, 0; 0, 75; 155, 0]
Branch {
ConnectType "DEST_SRC"
Points [35, 0; 0, -55]
DstBlock " "
DstPort LConn2
}
Branch {
ConnectType "DEST_DEST"
SrcBlock " RC"
SrcPort RConn1
Points [0, 5; 0, 0]
}
}
Line {
Name "ud"
SrcBlock " "
SrcPort 1
Points [15, 0]
Branch {
Points [0, 95]
DstBlock "Mean Value"
DstPort 1
}
Branch {
Labels [-1, 0]
Points [0, -25]
DstBlock "Scope1"
DstPort 3
}
}
Line {
Name "id"
Labels [-1, 1]
SrcBlock " "
SrcPort 1
DstBlock "Scope1"
DstPort 2
}
Line {
SrcBlock "Mean Value"
SrcPort 1
DstBlock "Display1"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "L"
SrcPort RConn1
DstBlock " "
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "L"
SrcPort LConn1
DstBlock "Universal Bridge"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Three-Phase Source"
SrcPort RConn3
DstBlock "Universal Bridge"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "Universal Bridge"
SrcPort LConn2
DstBlock "Three-Phase Source"
DstPort RConn2
}
Line {
LineType "Connection"
SrcBlock "Three-Phase Source"
SrcPort RConn1
Points [15, 0]
DstBlock " "
DstPort LConn1
}
Line {
SrcBlock "Total Harmonic\nDistorsion"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Annotation {
Position [477, 172]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -