📄 psbdcmotor.mdl
字号:
DstPort enable
}
Line {
SrcBlock "Subsystem6"
SrcPort 1
Points [55, 0]
Branch {
DstBlock "1.64 ohm"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Breaker1"
DstPort 1
}
}
Line {
SrcBlock "0.74 ohm"
SrcPort 1
DstBlock "Subsystem8"
DstPort 1
}
Line {
SrcBlock "Breaker2"
SrcPort 1
Points [20, 0]
DstBlock "Subsystem8"
DstPort enable
}
Line {
SrcBlock "Subsystem7"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "0.74 ohm"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Breaker2"
DstPort 1
}
}
Line {
SrcBlock "Subsystem8"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "4.8 s"
SrcPort 1
DstBlock "Breaker1"
DstPort 2
}
Line {
SrcBlock "6.8"
SrcPort 1
DstBlock "Breaker2"
DstPort 2
}
Line {
SrcBlock "2.8 s"
SrcPort 1
DstBlock "Breaker"
DstPort 2
}
}
}
Block {
BlockType Scope
Name "Te"
Ports [1]
Position [800, 262, 820, 288]
BackgroundColor "green"
Location [424, 226, 650, 433]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "10"
YMin "0"
YMax "100"
SaveToWorkspace on
SaveName "Tm"
DataFormat "Array"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Terminator
Name "Terminator"
Position [735, 253, 750, 267]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [200, 168, 215, 182]
ShowName off
}
Block {
BlockType Reference
Name "Timer"
Ports [0, 1]
Position [85, 166, 115, 184]
SourceBlock "powerlib_extras/Control \nBlocks/Timer"
SourceType "Timer"
t "[0 0.5 ]"
e "[0 1 ]"
}
Block {
BlockType Reference
Name "Va"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [420, 18, 445, 42]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Scope
Name "Va_"
Ports [1]
Position [470, 17, 490, 43]
BackgroundColor "green"
Location [663, 499, 891, 701]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "10 "
YMin "0"
YMax "300"
SaveToWorkspace on
SaveName "U_DC_mot"
DataFormat "Array"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Reference
Name "output Ground3"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [389, 40, 421, 70]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "output Ground4"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [24, 260, 56, 290]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [145, 355, 236, 384]
DropShadow on
ShowName off
SourceBlock "powerlib2/powergui"
SourceType "PSB option menu block"
Frange "logspace(0,3,50)"
Ylog off
Xlog off
save off
variable "ZData"
ZoomFFT on
StartTime "0.0"
cycles "1"
DisplayStyle "off"
fundamental "60"
FreqAxis off
MaxFrequency "1000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
methode off
frequency "60"
echomessages off
}
Block {
BlockType Scope
Name "w"
Ports [1]
Position [800, 218, 820, 242]
BackgroundColor "green"
Location [182, 501, 408, 705]
Open off
NumInputPorts "1"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "10 "
YMin "0"
YMax "150"
SaveToWorkspace on
SaveName "w"
DataFormat "Array"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Reference
Name "w(rad\\s) versus Ia (A)"
Ports [2]
Position [770, 172, 800, 203]
BackgroundColor "green"
NamePlacement "alternate"
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
xmin "0"
xmax "40"
ymin "0"
ymax "140"
st "-1"
}
Line {
SrcBlock "Timer"
SrcPort 1
DstBlock "Ideal Switch"
DstPort 2
}
Line {
SrcBlock "output Ground4"
SrcPort 1
DstBlock "E\n240 V"
DstPort 1
}
Line {
SrcBlock "10 kohm"
SrcPort 1
DstBlock "Ground1"
DstPort 1
}
Line {
SrcBlock "DC_Motor"
SrcPort 3
Points [25, 0; 0, 70]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Ideal Switch"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "10 kohm"
DstPort 1
}
Branch {
DstBlock "Motor Starter"
DstPort 1
}
}
Line {
SrcBlock "E\n240 V"
SrcPort 1
Points [0, -20]
DstBlock "Ideal Switch"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 65]
DstBlock "BL"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
DstBlock "w"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "w(rad\\s) versus Ia (A)"
DstPort 2
}
}
}
Line {
SrcBlock "BL"
SrcPort 1
Points [-35, 0; 0, -110]
DstBlock "DC_Motor"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [25, 0]
Branch {
DstBlock "Ia"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "w(rad\\s) versus Ia (A)"
DstPort 1
}
}
Line {
SrcBlock "Motor Starter"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -130]
DstBlock "Va"
DstPort 1
}
Branch {
DstBlock "DC_Motor"
DstPort 2
}
}
Line {
SrcBlock "DC_Motor"
SrcPort 2
Points [45, 0]
DstBlock "Ground3"
DstPort 1
}
Line {
SrcBlock "output Ground3"
SrcPort 1
DstBlock "Va"
DstPort 2
}
Line {
SrcBlock "Va"
SrcPort 1
DstBlock "Va_"
DstPort 1
}
Line {
SrcBlock "Ef=240 V"
SrcPort 1
Points [-55, 0; 0, 50]
DstBlock "DC_Motor"
DstPort 1
}
Line {
SrcBlock "DC_Motor"
SrcPort 1
Points [20, 0; 0, -50]
DstBlock "Ef=240 V"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Ideal Switch"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
Annotation {
Name "Starting of a 5 HP 240V DC motor with a 3 step "
"resistance starter"
Position [444, 364]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "5 hp; 240V; 16.2 A; 1220rpm"
Position [531, 227]
}
Annotation {
Name "Torque is proportional to speed; TL=Bl*w"
Position [618, 311]
}
Annotation {
Name "Double click on the Help button (?) for details"
Position [442, 380]
FontSize 12
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -