📄 shuntdcmotor.mdl
字号:
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "shuntdcmotor"
Location [2, 70, 1022, 720]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "10 kohm"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [339, 310, 361, 360]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "1e4"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Gain
Name "BL"
Position [505, 381, 560, 419]
Orientation "left"
NamePlacement "alternate"
Gain "0.2287"
}
Block {
BlockType Reference
Name "Bus Bar (vert)"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 1]
Position [615, 213, 620, 277]
BackgroundColor "black"
ShowName off
FontSize 10
SourceBlock "powerlib2/Connectors/Bus Bar (vert)"
SourceType "Bus Bar"
entrees "2"
sorties "1"
PSBOutputType "11111111111111111111111111111111111111111111111"
"111111111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "DC_Motor"
Ports [3, 3]
Position [485, 215, 575, 305]
SourceBlock "powerlib2/Machines/DC Machine"
SourceType "DC machine"
RLa "[ 0.6 0.012]"
RLf "[ 240 120]"
Laf "1.8"
J "1"
Bm "0"
Tf "0"
w0 "1"
PSBOutputType "110"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [625, 326, 660, 389]
ShowName off
}
Block {
BlockType Reference
Name "E\n240 V"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [175, 285, 195, 320]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "240"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Ground1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [335, 375, 365, 405]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "Ground3"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [650, 285, 680, 315]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "Ideal Switch"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [265, 250, 305, 290]
SourceBlock "powerlib2/Power\nElectronics/Ideal Switch"
SourceType "Ideal Switch"
Ron "1e-4"
Lon "10e-6"
IC "0"
Rs "inf"
Cs "0"
PSBOutputType "10"
}
Block {
BlockType Terminator
Name "Terminator"
Position [705, 358, 720, 372]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [330, 273, 345, 287]
ShowName off
}
Block {
BlockType Reference
Name "Timer"
Ports [0, 1]
Position [210, 271, 240, 289]
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 [460, 143, 485, 167]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Reference
Name "output Ground3"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [414, 170, 446, 200]
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 [169, 365, 201, 395]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Scope
Name "wIaVaTe"
Ports [4]
Position [760, 115, 785, 420]
BackgroundColor "green"
ShowName off
Location [110, 260, 686, 627]
Open off
NumInputPorts "4"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Va"
axes2 "w"
axes3 "Ia"
axes4 "Te"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "100"
YMin "0~-5~-5~-5"
YMax "150~5~5~5"
SaveName "w1"
DataFormat "Array"
LimitDataPoints off
MaxDataPoints "500000"
}
Line {
SrcBlock "Timer"
SrcPort 1
DstBlock "Ideal Switch"
DstPort 2
}
Line {
SrcBlock "output Ground4"
SrcPort 1
DstBlock "E\n240 V"
DstPort 1
}
Line {
SrcBlock "DC_Motor"
SrcPort 3
Points [25, 0; 0, 70]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "wIaVaTe"
DstPort 4
}
Line {
SrcBlock "Ideal Switch"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
DstBlock "10 kohm"
DstPort 1
}
Branch {
Points [35, 0]
Branch {
Points [0, -110]
DstBlock "Va"
DstPort 1
}
Branch {
Points [65, 0]
Branch {
DstBlock "DC_Motor"
DstPort 2
}
Branch {
Points [0, -30]
DstBlock "DC_Motor"
DstPort 1
}
}
}
}
Line {
SrcBlock "E\n240 V"
SrcPort 1
Points [0, -20]
DstBlock "Ideal Switch"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [-20, 0; 0, 65]
DstBlock "BL"
DstPort 1
}
Branch {
Points [0, -105]
DstBlock "wIaVaTe"
DstPort 2
}
}
Line {
SrcBlock "BL"
SrcPort 1
Points [-70, 0; 0, -110]
DstBlock "DC_Motor"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [70, 0; 0, -45]
DstBlock "wIaVaTe"
DstPort 3
}
Line {
SrcBlock "output Ground3"
SrcPort 1
Points [0, -5]
DstBlock "Va"
DstPort 2
}
Line {
SrcBlock "Va"
SrcPort 1
DstBlock "wIaVaTe"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Ideal Switch"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "10 kohm"
SrcPort 1
DstBlock "Ground1"
DstPort 1
}
Line {
SrcBlock "DC_Motor"
SrcPort 1
DstBlock "Bus Bar (vert)"
DstPort 1
}
Line {
SrcBlock "DC_Motor"
SrcPort 2
DstBlock "Bus Bar (vert)"
DstPort 2
}
Line {
SrcBlock "Bus Bar (vert)"
SrcPort 1
Points [40, 0]
DstBlock "Ground3"
DstPort 1
}
Annotation {
Name "w Ia Tem \nVa"
Position [773, 454]
FontName "Arial"
FontSize 16
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -