📄 simpower_extensions_1.mdl
字号:
SrcBlock "-"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort RConn1
}
}
}
Block {
BlockType Reference
Name "VM2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [210, 283, 235, 307]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels "on"
PhasorSimulation "off"
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "VM3"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [215, 508, 240, 532]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels "on"
PhasorSimulation "off"
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType PMIOPort
Name "L1A"
Tag "PMCPort"
Position [70, 61, 100, 79]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "L1B"
Tag "PMCPort"
Position [690, 81, 720, 99]
Orientation "left"
Port "2"
Side "Right"
}
Block {
BlockType PMIOPort
Name "L2A"
Tag "PMCPort"
Position [80, 281, 110, 299]
Port "3"
Side "Left"
}
Block {
BlockType PMIOPort
Name "L2B"
Tag "PMCPort"
Position [690, 301, 720, 319]
Orientation "left"
Port "4"
Side "Right"
}
Block {
BlockType PMIOPort
Name "L3A"
Tag "PMCPort"
Position [85, 506, 115, 524]
Port "5"
Side "Left"
}
Block {
BlockType PMIOPort
Name "L3B"
Tag "PMCPort"
Position [690, 526, 720, 544]
Orientation "left"
Port "6"
Side "Right"
}
Line {
SrcBlock "M23/L3"
SrcPort 1
Points [0, 15; -45, 0; 0, 50]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "M13/L3"
SrcPort 1
Points [0, 40]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "M23/L2"
SrcPort 1
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "M13/L1"
SrcPort 1
Points [0, -5; 205, 0; 0, -245; -200, 0; 0, -75]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "1/L3"
SrcPort 1
Points [14, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
Name "I3"
Labels [0, 0]
SrcBlock "Sum2"
SrcPort 1
Points [50, 0]
Branch {
Points [0, -40]
Branch {
Points [-70, 0]
DstBlock "M23/L2"
DstPort 1
}
Branch {
DstBlock "M13/L1"
DstPort 1
}
}
Branch {
DstBlock "CCs3"
DstPort 1
}
}
Line {
SrcBlock "VM3"
SrcPort 1
DstBlock "Int 3"
DstPort 1
}
Line {
SrcBlock "Int 3"
SrcPort 1
DstBlock "1/L3"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "CCs3"
SrcPort RConn1
Points [0, 0; 25, 0]
Branch {
ConnectType "DEST_SRC"
Points [15, 0]
DstBlock "L3B"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, 75; -380, 0]
DstBlock "VM3"
DstPort LConn2
}
}
Line {
LineType "Connection"
Points [145, 515; 55, 0]
DstBlock "VM3"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "L3A"
SrcPort RConn1
Points [10, 0; 5, 0]
}
Branch {
ConnectType "SRC_SRC"
Points [0, 65; 340, 0]
DstBlock "CCs3"
DstPort LConn1
}
}
Line {
SrcBlock "M12/L2"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "M12/L1"
SrcPort 1
Points [0, -75; -71, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "1/L2"
SrcPort 1
Points [14, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
Name "I2"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 50, 0]
Branch {
Points [10, 0]
Branch {
Points [0, 65; 55, 0]
DstBlock "M23/L3"
DstPort 1
}
Branch {
DstBlock "CCS2"
DstPort 1
}
}
Branch {
DstBlock "M12/L1"
DstPort 1
}
}
Line {
Name "I1"
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 110]
Branch {
Points [220, 0; 0, 220]
DstBlock "M13/L3"
DstPort 1
}
Branch {
DstBlock "M12/L2"
DstPort 1
}
}
Branch {
Labels [1, 1]
DstBlock "CCS1"
DstPort 1
}
}
Line {
SrcBlock "1/L1"
SrcPort 1
Points [29, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "VM2"
SrcPort 1
DstBlock "Int 2"
DstPort 1
}
Line {
SrcBlock "Int 2"
SrcPort 1
DstBlock "1/L2"
DstPort 1
}
Line {
SrcBlock "VM1"
SrcPort 1
DstBlock "Int 1"
DstPort 1
}
Line {
SrcBlock "Int 1"
SrcPort 1
DstBlock "1/L1"
DstPort 1
}
Line {
LineType "Connection"
Points [575, 310; 0, 75; -380, 0; 0, -85]
DstBlock "VM2"
DstPort LConn2
Branch {
ConnectType "SRC_DEST"
SrcBlock "CCS2"
SrcPort RConn1
Points [0, 0; 25, 0]
}
Branch {
ConnectType "SRC_SRC"
Points [15, 0]
DstBlock "L2B"
DstPort RConn1
}
}
Line {
LineType "Connection"
Points [140, 290; 0, 65; 295, 0; 0, -30; 45, 0]
DstBlock "CCS2"
DstPort LConn1
Branch {
ConnectType "SRC_SRC"
DstBlock "VM2"
DstPort LConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "L2A"
SrcPort RConn1
Points [10, 0; 5, 0]
}
}
Line {
LineType "Connection"
SrcBlock "L1B"
SrcPort RConn1
Points [0, 0; -95, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "CCS1"
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
Labels [3, 0]
SrcBlock "VM1"
SrcPort LConn2
Points [0, 75; 405, 0; 0, -65]
}
}
Line {
LineType "Connection"
Points [120, 70; 0, 75; 360, 0; 0, -45]
DstBlock "CCS1"
DstPort LConn1
Branch {
ConnectType "SRC_SRC"
DstBlock "VM1"
DstPort LConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "L1A"
SrcPort RConn1
Points [0, 0; 5, 0]
}
}
Annotation {
Name "This scheme may be expanded to handle 4 or "
"more mutually coupled inductors."
Position [399, 640]
}
Annotation {
Name "(1/S)*V3 = I1*M13+L3*I3+M23*I2"
Position [162, 469]
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "(1/S)*V2 = I1*M12+L2*I2+M23*I3"
Position [172, 239]
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "(1/S)*V1 = I1*L1+M12*I2+M13*I3 ---> "
" (1/L1*S)*V1-(M12/L1)*I2-(M13/L1)*I3=I1"
Position [397, 34]
FontName "Arial"
FontSize 18
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "Band Pass RF\nNetwork Analyzer"
Description "Spectrum Analyzer"
Ports [1, 0, 0, 0, 0, 0, 2]
Position [630, 362, 690, 433]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Center Freq|Bandwidth|FFT SIze (256,512,1024 et"
"c)"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "Fc=@1;BW=@2;Frame_Size=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "75e6|20e6|256"
MaskTabNameString ",,"
System {
Name "Band Pass RF\nNetwork Analyzer"
Location [112, 146, 1237, 820]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Port Swap"
Position [235, 458, 265, 472]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "Complex LO"
Ports [0, 1]
Position [60, 15, 100, 75]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Complex LO"
Location [710, 185, 1070, 293]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [105, 27, 110, 58]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [150, 28, 180, 57]
Input "Real and imag"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [25, 30, 55, 60]
ShowName off
SineType "Time based"
Amplitude "[1,1]"
Bias "[0,0]"
Frequency "2*pi*[1,1]*Fc"
Phase "[-pi/2,0]"
SampleTime "0"
}
Block {
BlockType Outport
Name "cos/sin"
Position [245, 38, 275, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -