📄 m3_6_2b.mdl
字号:
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Goto3"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "model"
Ports [2, 4]
Position [250, 22, 315, 68]
BackgroundColor "lightBlue"
DropShadow on
SourceBlock "powerlib_models/Continuous/thyristo"
"r (logical)"
SourceType ""
Nsw "3"
Vf "[0.8 0.8 0.8]"
Rsw "[0.001 0.001 0.001]"
}
Block {
BlockType Outport
Name "Out1"
Position [395, 18, 420, 42]
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out2"
Position [395, 88, 420, 112]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out3"
Position [395, 208, 420, 232]
Port "3"
InitialOutput "0"
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "model"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 2
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 4
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "model"
SrcPort 3
DstBlock "gotos"
DstPort 1
}
Line {
SrcBlock "froms"
SrcPort 1
DstBlock "model"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "transit"
Ports [2, 1]
Position [540, 110, 575, 165]
TreatAsAtomicUnit off
System {
Name "transit"
Location [475, 381, 915, 821]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [30, 150, 50, 170]
}
Block {
BlockType Inport
Name "signals"
Position [35, 320, 55, 340]
Port "2"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 5]
Position [145, 62, 180, 258]
Outputs "[1 1 1 1 1]"
}
Block {
BlockType Goto
Name "Goto2"
Position [330, 115, 360, 145]
GotoTag "tp100442"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [330, 160, 360, 190]
GotoTag "tp100443"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [330, 205, 360, 235]
GotoTag "tp100445"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [330, 250, 360, 280]
GotoTag "tp100595"
TagVisibility "global"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [75, 145, 105, 175]
Elements "[7 8 9 10 11]"
InputPortWidth "11"
}
Block {
BlockType Terminator
Name "Terminator"
Position [55, 365, 75, 385]
Orientation "down"
}
Block {
BlockType Outport
Name "Out"
Position [150, 15, 170, 35]
Orientation "left"
InitialOutput "0"
}
Line {
SrcBlock "signals"
SrcPort 1
Points [5, 0]
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Goto3"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Goto4"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Goto5"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [595, 128, 620, 152]
InitialOutput "0"
}
Line {
SrcBlock "SelectorVf"
SrcPort 1
Points [0, 0]
Branch {
Points [-15, 0]
DstBlock "T"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "MuxVf"
SrcPort 1
DstBlock "SelectorVf"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, -5]
DstBlock "MasterMux"
DstPort 1
}
Line {
SrcBlock "MuxSwitch"
SrcPort 1
Points [15, 0; 0, -40]
DstBlock "MasterMux"
DstPort 2
}
Line {
SrcBlock "MasterMux"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "State-Space"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "transit"
DstPort 1
}
Branch {
DstBlock "diode (logical)"
DstPort 1
}
Branch {
DstBlock "thyristor (logical)"
DstPort 1
}
Branch {
DstBlock "transit"
DstPort 2
}
}
Line {
SrcBlock "transit"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "diode (logical)"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "diode (logical)"
SrcPort 2
DstBlock "MuxSwitch"
DstPort 1
}
Line {
SrcBlock "diode (logical)"
SrcPort 3
DstBlock "MuxVf"
DstPort 1
}
Line {
SrcBlock "thyristor (logical)"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "thyristor (logical)"
SrcPort 2
DstBlock "MuxSwitch"
DstPort 2
}
Line {
SrcBlock "thyristor (logical)"
SrcPort 3
DstBlock "MuxVf"
DstPort 2
}
Line {
SrcBlock "electrical sources"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType PMIOPort
Name "+"
Position [15, 28, 45, 42]
Port "1"
Side "left"
}
Block {
BlockType PMIOPort
Name "-"
Position [190, 24, 215, 46]
Orientation "left"
Port "2"
Side "left"
}
Block {
BlockType Outport
Name "v"
Position [405, 139, 425, 161]
FontSize 16
InitialOutput "0"
}
Line {
LineType "Connection"
SrcBlock "-"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "+"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort LConn1
}
Line {
SrcBlock "Simulation method"
SrcPort 1
DstBlock "Phasor Measurements"
DstPort enable
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Phasor Measurements"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "v"
DstPort 1
}
Line {
SrcBlock "source"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Phasor Measurements"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Mux"
DstPort 2
}
}
}
}
Block {
BlockType Reference
Name "Va"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [98, 240, 122, 275]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
Amplitude "100"
Phase "0"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Vab"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [500, 148, 525, 172]
AttributesFormatString "\\n"
AncestorBlock "powerlib/Measurements/Voltage Measurement"
CopyFcn "powericon('psbloadfunction',gcbh,'Measurement B"
"lock','VerifyPhasor');"
LoadFcn "powericon('psbloadfunction',gcbh,'Measurement B"
"lock','');"
PreSaveFcn "powericon('psbloadfunction',gcbh,'ModelCloseFcn"
"','');"
InitFcn "powericon('psbloadfunction',gcbh,'InitFcnOfSPSB"
"locks','Measurement Block');"
CloseFcn "powericon('psbloadfunction',gcbh,'CloseFcn','')"
";"
TreatAsAtomicUnit off
MaskType "Voltage Measurement"
MaskDescription "Ideal voltage measurement."
MaskHelp "web(psbhelp);"
MaskPromptString "Phasor simulation|Output signal :|Equivalent ci"
"rcuit"
MaskStyleString "checkbox,popup(Complex|Real-Imag|Magnitude-Angl"
"e|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;PSBequivalent"
"=@3;"
MaskInitialization "switch OutputType\ncase 1\n OutputSelection "
"= 1;\n NormalMode = 2;\n PhasorMode = 1;\ncase 2\n OutputSelection ="
"[2,3];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 3\n OutputSelec"
"tion =[4,5];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 4\n Outpu"
"tSelection =[4];\n NormalMode = 2;\n PhasorMode = 1;\nend\n%\nif Phasor"
"Simulation\n SelectionMode = PhasorMode;\nelse\n SelectionMode = Normal"
"Mode;\nend\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -