📄 dut_lib.mdl
字号:
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "inf"
Inductance "4.47e-9"
Capacitance "1.007e-9"
Measurements "None"
}
Block {
BlockType Reference
Name "LC1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [392, 105, 448, 155]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "inf"
Inductance "8.93e-9"
Capacitance "0.504e-9"
Measurements "None"
}
Block {
BlockType Reference
Name "R"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [460, 71, 495, 89]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "1"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "R1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [195, 71, 230, 89]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "1"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType PMIOPort
Name "Port 1"
Position [15, 73, 45, 87]
Port "1"
Side "left"
}
Block {
BlockType PMIOPort
Name "Port 2"
Position [670, 73, 700, 87]
Orientation "left"
Port "2"
Side "right"
}
Line {
LineType "Connection"
SrcBlock "R1"
SrcPort RConn1
DstBlock "Ideal 1:N Transformer1"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Ideal 1:N Transformer1"
SrcPort LConn1
DstBlock "Port 1"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "R"
SrcPort LConn1
DstBlock "Ideal 1:N Transformer"
DstPort RConn1
}
Line {
LineType "Connection"
Points [255, 80; -10, 0]
DstBlock "R1"
DstPort LConn1
Branch {
ConnectType "SRC_SRC"
DstBlock "L1"
DstPort RConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "LC"
SrcPort LConn1
Points [0, 0; 0, -20]
}
}
Line {
LineType "Connection"
SrcBlock "R"
SrcPort RConn1
Points [-10, 0; -15, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "LC1"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "L1"
SrcPort LConn1
Points [0, 0; 25, 0]
}
}
Line {
LineType "Connection"
SrcBlock "LC"
SrcPort RConn1
Points [0, 0; 0, 35]
Branch {
ConnectType "DEST_SRC"
Points [-90, 0]
Branch {
ConnectType "DEST_DEST"
SrcBlock "Ideal 1:N Transformer1"
SrcPort RConn2
Points [10, 0; 0, 115]
}
Branch {
ConnectType "DEST_SRC"
Points [-115, 0; 0, -115]
DstBlock "Ideal 1:N Transformer1"
DstPort LConn2
}
}
Branch {
ConnectType "DEST_SRC"
Points [165, 0]
Branch {
ConnectType "DEST_SRC"
Points [105, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "G1"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Ideal 1:N Transformer"
SrcPort LConn2
Points [15, 0; 0, 115; -115, 0]
}
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Ideal 1:N Transformer"
SrcPort RConn2
Points [-5, 0; 0, 115]
}
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "LC1"
SrcPort RConn1
Points [0, 0; 0, 45]
}
}
}
Line {
LineType "Connection"
SrcBlock "Port 2"
SrcPort RConn1
Points [-20, 0]
DstBlock "Ideal 1:N Transformer"
DstPort LConn1
}
Annotation {
Name "Zin = 100"
Position [162, 42]
}
Annotation {
Name "Zo=100"
Position [512, 47]
}
}
}
Block {
BlockType SubSystem
Name "DUT3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [345, 32, 420, 78]
TreatAsAtomicUnit off
System {
Name "DUT3"
Location [196, 89, 992, 506]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "1 Ohm"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [200, 189, 260, 211]
Orientation "left"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "1"
Inductance "inf"
Capacitance "0"
Measurements "None"
}
Block {
BlockType Reference
Name "1 Ohm1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [470, 59, 530, 81]
Orientation "left"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "1"
Inductance "inf"
Capacitance "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Emitter Z "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [415, 265, 465, 305]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "20"
Inductance "inf"
Capacitance "22e-12"
Measurements "None"
}
Block {
BlockType Reference
Name "Ground "
Ports [0, 0, 0, 0, 0, 1]
Position [425, 355, 455, 385]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "a"
}
Block {
BlockType SubSystem
Name "Ideal 1:N Transformer"
Ports [0, 0, 0, 0, 0, 2, 2]
Position [575, 58, 640, 102]
Orientation "left"
TreatAsAtomicUnit off
MaskPromptString "Turns Ratio Secondary/Primary"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "N=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "sqrt(2)"
System {
Name "Ideal 1:N Transformer"
Location [404, 435, 1088, 845]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "CCS"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [207, 80, 243, 125]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Controlled"
" Current Source"
SourceType "Controlled Current Source"
Initialize off
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Reference
Name "CM"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [460, 33, 485, 57]
Orientation "left"
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Current Measureme"
"nt"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "CVS"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [397, 90, 433, 135]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Controlled"
" Voltage Source"
SourceType "Controlled Voltage Source"
Initialize off
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Gain
Name "Gain"
Position [305, 25, 335, 55]
Orientation "left"
Gain "-N"
}
Block {
BlockType Gain
Name "Gain1"
Position [315, 160, 345, 190]
Gain "N"
}
Block {
BlockType SubSystem
Name "VM"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [125, 83, 150, 107]
AttributesFormatString "\\n"
AncestorBlock "powerlib/Measurements/Voltage Measureme"
"nt"
CopyFcn "powericon('psbloadfunction',gcbh,'Measu"
"rement Block','VerifyPhasor');"
LoadFcn "powericon('psbloadfunction',gcbh,'Measu"
"rement Block','');"
PreSaveFcn "powericon('psbloadfunction',gcbh,'Model"
"CloseFcn','');"
InitFcn "powericon('psbloadfunction',gcbh,'InitF"
"cnOfSPSBlocks','Measurement Block');"
CloseFcn "powericon('psbloadfunction',gcbh,'Close"
"Fcn','');"
TreatAsAtomicUnit off
MaskType "Voltage Measurement"
MaskDescription "Ideal voltage measurement."
MaskHelp "web(psbhelp);"
MaskPromptString "Phasor simulation|Output signal :|Equiv"
"alent circuit"
MaskStyleString "checkbox,popup(Complex|Real-Imag|Magnit"
"ude-Angle|Magnitude),edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "off,off,off"
MaskVisibilityString "off,on,off"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "PhasorSimulation=@1;OutputType=@2;PSBeq"
"uivalent=@3;"
MaskInitialization "switch OutputType\ncase 1\n OutputSe"
"lection = 1;\n NormalMode = 2;\n PhasorMode = 1;\ncase 2\n OutputSel"
"ection =[2,3];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 3\n Out"
"putSelection =[4,5];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 4\n "
" OutputSelection =[4];\n NormalMode = 2;\n PhasorMode = 1;\nend\n%\ni"
"f PhasorSimulation\n SelectionMode = PhasorMode;\nelse\n SelectionMode "
"= NormalMode;\nend\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "off|Magnitude|0"
System {
Name "VM"
Location [206, 474, 665, 687]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [275, 121, 280, 179]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Phasor Measurements"
Ports [1, 1, 1]
Position [145, 123, 250, 147]
BackgroundColor "green"
TreatAsAtomicUnit on
System {
Name "Phasor Measurements"
Location [255, 525, 861, 796]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -