📄 tiaosu_5.mdl
字号:
}
Block {
BlockType PMIOPort
Name "+"
Position [15, 28, 45, 42]
Port "1"
Side "left"
}
Block {
BlockType PMIOPort
Name "-"
Position [165, 22, 185, 48]
Orientation "left"
Port "2"
Side "right"
}
Block {
BlockType Outport
Name "i"
Position [400, 139, 420, 161]
FontSize 16
InitialOutput "0"
}
Line {
LineType "Connection"
SrcBlock "+"
SrcPort RConn1
Points [0, 0]
DstBlock "CurrentMeasurement"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "-"
SrcPort RConn1
DstBlock "CurrentMeasurement"
DstPort RConn1
}
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 "source"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 30]
DstBlock "Mux"
DstPort 2
}
Branch {
DstBlock "Phasor Measurements"
DstPort 1
}
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "i"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "iF"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [140, 243, 165, 267]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType PMIOPort
Name "A+"
Position [25, 28, 55, 42]
Port "1"
Side "left"
}
Block {
BlockType PMIOPort
Name "A-"
Position [385, 175, 415, 190]
Orientation "up"
Port "2"
Side "right"
}
Block {
BlockType PMIOPort
Name "F+"
Position [25, 248, 55, 262]
Port "3"
Side "left"
}
Block {
BlockType PMIOPort
Name "F-"
Position [350, 253, 380, 267]
Orientation "left"
Port "4"
Side "right"
}
Block {
BlockType Outport
Name "m"
Position [330, 173, 360, 187]
ForegroundColor "blue"
}
Line {
LineType "Connection"
SrcBlock "A+"
SrcPort RConn1
Points [0, 0; 30, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "avoid\n isolated\nnetwork"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "iA"
SrcPort LConn1
Points [0, 0; -10, 0]
}
}
Line {
LineType "Connection"
SrcBlock "F+"
SrcPort RConn1
Points [0, 0; 30, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "iF"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "avoid\n isolated\nnetwork"
SrcPort RConn1
Points [0, 0; 0, 10]
}
}
Line {
LineType "Connection"
SrcBlock "FCEM"
SrcPort RConn1
Points [0, -25]
DstBlock "Ra La"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "iA"
SrcPort RConn1
Points [0, 0]
DstBlock "Ra La"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "iF"
SrcPort RConn1
Points [0, 0]
DstBlock "Rf Lf"
DstPort LConn1
}
Line {
SrcBlock "iA"
SrcPort 1
Points [30, 0; 0, 135]
DstBlock "Mechanics"
DstPort 2
}
Line {
SrcBlock "Mechanics"
SrcPort 1
Points [70, 0]
DstBlock "FCEM"
DstPort 1
}
Line {
SrcBlock "iF"
SrcPort 1
Points [15, 0; 0, -65]
DstBlock "Mechanics"
DstPort 3
}
Line {
LineType "Connection"
SrcBlock "A-"
SrcPort RConn1
Points [0, 0]
DstBlock "FCEM"
DstPort LConn1
}
Line {
SrcBlock "TL"
SrcPort 1
DstBlock "Mechanics"
DstPort 1
}
Line {
SrcBlock "Mechanics"
SrcPort 2
DstBlock "m"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "F-"
SrcPort RConn1
Points [-15, 0]
DstBlock "Rf Lf"
DstPort RConn1
}
}
}
Block {
BlockType Reference
Name "DC Voltage Source"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [685, 217, 705, 253]
Orientation "left"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
Amplitude "220"
Measurements "None"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [835, 154, 840, 221]
BackgroundColor "black"
ShowName off
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [395, 261, 400, 299]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [415, 410, 420, 445]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Reference
Name "Discrete\nPI Controller1"
Ports [1, 1]
Position [115, 262, 140, 298]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPI Controller"
SourceType "Discrete PI Controller"
Kp "20"
Ki "10"
Par_Limits "[200,-200]"
Init "0"
Ts "50e-6"
}
Block {
BlockType Gain
Name "Gain"
Position [205, 265, 235, 295]
Gain "-0.01"
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [164, 190, 186, 215]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "PWM Generator"
Ports [1, 1]
Position [285, 254, 360, 306]
SourceBlock "powerlib_extras/Control \nBlocks/PWM Generator"
SourceType "PWM Generator"
GeneratorMode "1-arm bridge (2 pulses)"
Fc "2000"
Internal off
mIndex "0.4"
Freq "60"
Phase "0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [160, 265, 190, 295]
UpperLimit "200"
LowerLimit "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [885, 154, 915, 221]
Location [24, 99, 699, 639]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "151.5~-2.5~0.916667~-2.5"
YMax "153.5~15~0.916667~22.5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [2]
Position [465, 411, 495, 444]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "0~0"
YMax "1~1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [905, 94, 935, 126]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "50"
YMax "155"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [310, 404, 340, 436]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "0.3962"
YMax "0.396725"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [245, 270, 265, 290]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [75, 270, 95, 290]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Terminator
Name "Terminator"
Position [430, 260, 450, 280]
}
Block {
BlockType Reference
Name "Universal Bridge1"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [555, 176, 575, 214]
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
Arms "1"
SnubberResistance "5000"
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"
}
Block {
BlockType Reference
Name "Universal Bridge2"
Ports [0, 0, 0, 0, 0, 3, 2]
Position [325, 124, 380, 216]
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
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"
}
Block {
BlockType Reference
Name "Universal Bridge3"
Ports [1,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -