📄 svc.mdl
字号:
}
Branch {
DstBlock "7"
DstPort 6
}
}
Line {
SrcBlock "4"
SrcPort 1
Points [30, 0; 0, 0]
Branch {
DstBlock "Bus\nCreator"
DstPort 2
}
Branch {
Points [0, 0; 40, 0; 0, -105]
DstBlock "7"
DstPort 2
}
}
Line {
SrcBlock "2"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Bus\nCreator"
DstPort 3
}
Branch {
Points [30, 0; 0, -145]
DstBlock "7"
DstPort 3
}
}
Line {
SrcBlock "5"
SrcPort 1
Points [30, 0; 0, -45]
Branch {
DstBlock "Bus\nCreator"
DstPort 4
}
Branch {
Points [45, 0; 0, -185]
DstBlock "7"
DstPort 4
}
}
Line {
SrcBlock "3"
SrcPort 1
Points [25, 0; 0, -50]
Branch {
Points [0, -40]
DstBlock "Bus\nCreator"
DstPort 5
}
Branch {
Points [60, 0]
DstBlock "7"
DstPort 5
}
}
}
}
Block {
BlockType Reference
Name "R"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [640, 40, 680, 80]
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "100"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports []
Position [90, 357, 193, 436]
FontSize 10
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [44, 149, 546, 501]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "Clark"
Ports [0, 2]
Position [235, 149, 335, 191]
TreatAsAtomicUnit off
System {
Name "Clark"
Location [2, 74, 790, 556]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Gain
Name "Gain"
Position [300, 91, 360, 129]
Gain "-0.3333"
}
Block {
BlockType Gain
Name "Gain1"
Position [305, 149, 365, 201]
Gain "0.57735"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [215, 201, 220, 249]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [240, 212, 265, 238]
Location [5, 53, 809, 607]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.1"
YMin "-225"
YMax "200"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [100, 30, 130, 60]
SineType "Time based"
Amplitude "220"
Frequency "2*pi*50"
SampleTime "Ts"
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [100, 100, 130, 130]
SineType "Time based"
Amplitude "220"
Frequency "2*pi*50"
Phase "2.0933"
SampleTime "Ts"
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [100, 170, 130, 200]
SineType "Time based"
Amplitude "220"
Frequency "2*pi*50"
Phase "-2.0933"
SampleTime "Ts"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [250, 92, 275, 128]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [385, 27, 410, 63]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [245, 157, 270, 193]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "a"
Position [455, 38, 485, 52]
}
Block {
BlockType Outport
Name "b"
Position [455, 168, 485, 182]
Port "2"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Labels [1, 0]
Points [50, 0]
Branch {
Points [0, 60]
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 1
}
}
Branch {
Points [0, 165]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Labels [1, 0]
Points [40, 0]
Branch {
Points [0, 60]
DstBlock "Sum2"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 2
}
}
Branch {
Points [0, 110]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [70, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Sum"
DstPort 3
}
}
Branch {
Points [0, 55]
DstBlock "Mux"
DstPort 3
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -55]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "a"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "b"
DstPort 1
}
Annotation {
Name "Ua"
Position [148, 40]
}
Annotation {
Name "Ub"
Position [147, 109]
}
Annotation {
Name "Uc"
Position [146, 176]
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [390, 150, 420, 190]
Location [5, 53, 809, 607]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-250~-250"
YMax "250~250"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [3]
Position [1000, 235, 1020, 275]
Location [1, 49, 801, 571]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-200~-200~-200"
YMax "200~100~100"
SaveName "ScopeData17"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "svpwm"
Ports [3, 1]
Position [1000, 293, 1050, 377]
TreatAsAtomicUnit off
System {
Name "svpwm"
Location [0, 74, 772, 544]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ta"
Position [180, 163, 210, 177]
}
Block {
BlockType Inport
Name "Tb"
Position [180, 233, 210, 247]
Port "2"
}
Block {
BlockType Inport
Name "Tc"
Position [180, 303, 210, 317]
Port "3"
}
Block {
BlockType Reference
Name "500"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [700, 15, 720, 50]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltag"
"e Source"
SourceType "DC Voltage Source"
V "500"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion10"
Position [355, 334, 375, 356]
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion11"
Position [440, 334, 460, 356]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion6"
Position [350, 194, 370, 216]
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion7"
Position [435, 194, 455, 216]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion8"
Position [355, 264, 375, 286]
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion9"
Position [440, 264, 460, 286]
ShowName off
DataType "double"
}
Block {
BlockType Reference
Name "IGBT"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [610, 95, 665, 135]
SourceBlock "powerlib2/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.01"
Lon "1e-6"
Vf "1"
Tf "1e-6"
Tt "2e-6"
IC "0"
Rs "0"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Logic
Name "Logical\nOperator3"
Ports [1, 1]
Position [390, 194, 415, 216]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator4"
Ports [1, 1]
Position [390, 265, 420, 285]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator5"
Ports [1, 1]
Position [390, 335, 420, 355]
ShowName off
Operator "NOT"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1]
Position [705, 156, 710, 359]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [250, 51, 255, 84]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Relay
Name "Relay3"
Position [290, 155, 320, 185]
OnOutputValue "5"
}
Block {
BlockType Relay
Name "Relay4"
Position [290, 225, 320, 255]
OnOutputValue "5"
}
Block {
BlockType Relay
Name "Relay5"
Position [290, 295, 320, 325]
OnOutputValue "5"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -