📄 pmsm_spwm.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 90]
DstBlock "Sum3"
DstPort 1
}
Branch {
Points [0, -105]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "vb"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [790, 401, 800, 479]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [750, 471, 760, 549]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum7"
Ports [3, 1]
Position [435, 145, 450, 205]
ShowName off
Inputs "-++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "t1"
Position [865, 378, 895, 392]
}
Block {
BlockType Outport
Name "t2"
Position [855, 493, 885, 507]
Port "2"
}
Line {
SrcBlock "Subsystem"
SrcPort 3
Points [15, 0; 0, 40]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 5
}
Branch {
Points [0, 70; 5, 0]
Branch {
Points [0, 40; 145, 0; 0, -290]
DstBlock "Multiport\nSwitch"
DstPort 2
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [5, 0]
Branch {
Points [55, 0; 0, -15]
Branch {
Points [40, 0; 0, 60]
DstBlock "Multiport\nSwitch1"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Multiport\nSwitch"
DstPort 3
}
}
Branch {
Points [5, 0; 0, 30]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [0, -5; 5, 0]
Branch {
Points [0, 25; 110, 0]
Branch {
Points [0, 105]
DstBlock "Multiport\nSwitch1"
DstPort 4
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 6
}
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "vdc"
SrcPort 1
Points [25, 0]
DstBlock "Subsystem"
DstPort 4
}
Line {
SrcBlock "va"
SrcPort 1
Points [25, 0]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [35, 0; 0, -10]
DstBlock "t2"
DstPort 1
}
Line {
SrcBlock "If Action\nSubsystem"
SrcPort 2
Points [70, 0; 0, 20]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "If Action\nSubsystem1"
SrcPort 2
Points [55, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [20, 0; 0, -55]
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "If Action\nSubsystem"
SrcPort 1
Points [80, 0; 0, -30]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "If Action\nSubsystem1"
SrcPort 1
Points [95, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "If"
SrcPort 2
Points [10, 0]
DstBlock "If Action\nSubsystem"
DstPort ifaction
}
Line {
SrcBlock "If"
SrcPort 1
Points [105, 0]
DstBlock "If Action\nSubsystem1"
DstPort ifaction
}
Line {
SrcBlock "vb"
SrcPort 1
Points [25, 0]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
Points [30, 0; 0, 70; 15, 0]
Branch {
Points [0, 215]
Branch {
Points [210, 0]
DstBlock "If Action\nSubsystem1"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "If Action\nSubsystem"
DstPort 1
}
}
Branch {
DstBlock "Sum7"
DstPort 2
}
}
Line {
SrcBlock "Multiport\nSwitch1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 155]
Branch {
Points [240, 0]
DstBlock "If Action\nSubsystem1"
DstPort 2
}
Branch {
Points [0, 115]
DstBlock "If Action\nSubsystem"
DstPort 2
}
}
Branch {
Points [15, 0; 0, -45]
DstBlock "Sum7"
DstPort 3
}
}
Line {
SrcBlock "Sum7"
SrcPort 1
Points [0, 150]
DstBlock "If"
DstPort 1
}
Line {
SrcBlock "t"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 80]
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [350, 0; 0, 125]
Branch {
Points [0, 270]
DstBlock "If Action\nSubsystem1"
DstPort 3
}
Branch {
DstBlock "Sum7"
DstPort 1
}
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, -40; 60, 0]
Branch {
Points [0, -180]
DstBlock "Multiport\nSwitch"
DstPort 4
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 7
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 75]
DstBlock "Multiport\nSwitch1"
DstPort 6
}
Branch {
Points [0, -10; 75, 0; 0, -35]
DstBlock "Multiport\nSwitch"
DstPort 7
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0; 0, 10]
Branch {
Points [0, 105]
DstBlock "Multiport\nSwitch1"
DstPort 3
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 5
}
}
Line {
SrcBlock "n"
SrcPort 1
Points [0, -5; 245, 0]
Branch {
DstBlock "Multiport\nSwitch"
DstPort 1
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 1
}
}
Annotation {
Name "T2"
Position [361, 249]
}
Annotation {
Name "T1"
Position [363, 120]
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 3]
Position [410, 52, 450, 113]
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [2, 82, 1014, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "t"
Position [25, 58, 55, 72]
}
Block {
BlockType Inport
Name "t1"
Position [25, 103, 55, 117]
Port "2"
}
Block {
BlockType Inport
Name "t2"
Position [25, 138, 55, 152]
Port "3"
}
Block {
BlockType Inport
Name "n"
Position [25, 23, 55, 37]
Port "4"
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [7, 1]
Position [655, 114, 690, 216]
Inputs "6"
InputSameDT off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch1"
Ports [7, 1]
Position [660, 249, 695, 351]
Inputs "6"
InputSameDT off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch2"
Ports [7, 1]
Position [655, 409, 690, 511]
Inputs "6"
InputSameDT off
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [110, 101, 145, 129]
ShowName off
Inputs "+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Gain
Name "TCM1"
Position [165, 94, 220, 136]
Gain "0.25"
}
Block {
BlockType Gain
Name "TCM2"
Position [145, 185, 175, 215]
Gain "0.5"
}
Block {
BlockType Gain
Name "TCM3"
Position [150, 250, 180, 280]
Gain "0.5"
}
Block {
BlockType Outport
Name "tcm1"
Position [710, 158, 740, 172]
}
Block {
BlockType Outport
Name "tcm2"
Position [725, 293, 755, 307]
Port "2"
}
Block {
BlockType Outport
Name "tcm3"
Position [720, 453, 750, 467]
Port "3"
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "TCM1"
DstPort 1
}
Line {
SrcBlock "TCM2"
SrcPort 1
Points "[60, 0; 0, 10; 275, 0; 0, 5; 65, 0; 0, "
"-5]"
Branch {
Points [0, -75]
DstBlock "Multiport\nSwitch"
DstPort 2
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 7
}
Branch {
Points [0, 85]
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch1"
DstPort 4
}
Branch {
Points [0, 20]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 5
}
Branch {
Points [0, 125]
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch2"
DstPort 3
}
Branch {
Points [0, 50]
DstBlock "Multiport\nSwitch2"
DstPort 6
}
}
}
}
}
Line {
SrcBlock "t"
SrcPort 1
Points [15, 0; 0, 40]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "t1"
SrcPort 1
Points [5, 0; 0, 5]
Branch {
Points [0, 85]
DstBlock "TCM2"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "t2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 120]
DstBlock "TCM3"
DstPort 1
}
Branch {
Points [0, -20]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -