📄 power_pwm.mdl
字号:
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "-400"
YMax "400"
DataFormat "Structure"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "vab (V)1"
Ports [1]
Position [1030, 600, 1060, 630]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
Floating off
Location [1, 50, 1153, 839]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "-250"
YMax "3000"
SaveName "ScopeData1"
DataFormat "Structure"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "vab (V)2"
Ports [2]
Position [585, 267, 615, 298]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
Floating off
Location [1, 50, 1153, 839]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "-70~-70"
YMax "80~80"
SaveName "ScopeData2"
DataFormat "Structure"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "vab (V)3"
Ports [1]
Position [585, 310, 615, 340]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
Floating off
Location [5, 50, 1157, 839]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "179.945"
YMax "180.04"
SaveName "ScopeData3"
DataFormat "Structure"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Step
Name "wm* Step\n(p.u.)"
Position [590, 435, 610, 455]
Orientation "left"
Time "0"
SampleTime "0"
Port {
PortNumber 1
Name " "
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Line {
SrcBlock "RelayA"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "RelayC"
SrcPort 1
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "RelayB"
SrcPort 1
Points [-30, 0]
Branch {
DstBlock "Sum5"
DstPort 1
}
Branch {
DstBlock "Sum4"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "RelayB"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "RelayC"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "RelayA"
DstPort 1
}
Line {
SrcBlock "Sum7"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "pu2radpersec"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum7"
DstPort 1
}
Line {
Name " "
Labels [0, 0]
SrcBlock "wm* Step\n(p.u.)"
SrcPort 1
Points [-20, 0]
Branch {
DstBlock "pu2radpersec"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Look-Up\nTable"
SrcPort 1
Points [-75, 0]
DstBlock "Sum7"
DstPort 2
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [-55, 0]
Branch {
Points [0, -80]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Look-Up\nTable"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Fourier"
SrcPort 1
DstBlock "peak2rms"
DstPort 1
}
Line {
SrcBlock "peak2rms"
SrcPort 1
DstBlock "RMS Vab voltage"
DstPort 1
}
Line {
SrcBlock "Fourier"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
Name "<Stator current is_q (A)>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 4
Points [0, 35; 30, 0]
Branch {
Points [110, 0]
Branch {
Points [20, 0]
Branch {
Labels [-1, 1]
DstBlock "Gain4"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Gain5"
DstPort 1
}
}
Branch {
Points [0, 355]
DstBlock "Gain9"
DstPort 1
}
}
Branch {
Points [0, 95]
DstBlock "vab (V)2"
DstPort 2
}
}
Line {
SrcBlock "Tm"
SrcPort 1
DstBlock "3 HP - 220 V\n60 Hz - 1725 rpm"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [-10, 0]
DstBlock "Vab"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [-35, 0]
DstBlock "Vbc"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Vbc"
SrcPort LConn1
Points [0, 20; -30, 0; 0, -290]
DstBlock "3 HP - 220 V\n60 Hz - 1725 rpm"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "Vab"
SrcPort RConn1
Points [0, 0; 0, -65]
Branch {
ConnectType "DEST_SRC"
Points [0, -80]
DstBlock "3 HP - 220 V\n60 Hz - 1725 rpm"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "vab"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "3 HP - 220 V\n60 Hz - 1725 rpm"
SrcPort LConn2
Points [-235, 0; 0, 65]
Branch {
ConnectType "DEST_SRC"
Points [0, 150]
Branch {
ConnectType "DEST_DEST"
SrcBlock "Vbc"
SrcPort RConn1
Points [0, 0]
}
Branch {
ConnectType "DEST_SRC"
Points [30, 0]
DstBlock "Vab"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
DstBlock "vab"
DstPort LConn2
}
}
Line {
SrcBlock "vab"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "vab (V)"
DstPort 1
}
Branch {
DstBlock "Fourier"
DstPort 1
}
}
Line {
SrcBlock "3 HP - 220 V\n60 Hz - 1725 rpm"
SrcPort 1
Points [0, 20]
DstBlock "Bus\nSelector"
DstPort 1
}
Line {
Name "<Stator current is_d (A)>"
Labels [0, 1]
SrcBlock "Bus\nSelector"
SrcPort 2
Points [0, 15; 50, 0]
Branch {
Points [50, 0; 0, 5; 50, 0]
Branch {
Points [0, -30]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 170]
DstBlock "Gain6"
DstPort 1
}
}
Branch {
Points [0, 180]
DstBlock "vab (V)2"
DstPort 1
}
}
Line {
Name "<Stator voltage vs_d (V)>"
Labels [0, 1]
SrcBlock "Bus\nSelector"
SrcPort 1
Points [105, 0; 0, -10]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator"
DstPort 1
}
Line {
SrcBlock "Discrete-Time\nIntegrator"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [35, 0]
DstBlock "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -