📄 combinedone.mdl
字号:
Line {
SrcBlock "Temperature Control Chart"
SrcPort 1
Points [50, 0; 0, -154]
DstBlock "AC Control"
DstPort enable
}
Line {
SrcBlock "From1"
SrcPort 1
Points [55, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Torque Comp"
SrcPort 1
DstBlock "AC Control"
DstPort 2
}
Line {
SrcBlock "Temperature Control Chart"
SrcPort 3
DstBlock "Heater Control"
DstPort 1
}
Line {
SrcBlock "AC Control"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Engine speed"
SrcPort 1
DstBlock "AC Control"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [15, 0]
DstBlock "Temperature Control Chart"
DstPort trigger
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Interior Dynamics"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "ElectricalSystem"
Ports [1, 1]
Position [80, 104, 310, 206]
FontName "Arial"
FontSize 14
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "ElectricalSystem"
Location [179, 495, 1090, 1036]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "82"
Block {
BlockType Inport
Name "Fan Load"
Position [520, 623, 550, 637]
FontName "Arial"
FontSize 14
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Reference
Name "10 W"
Ports [3]
Position [885, 110, 945, 175]
Orientation "down"
FontName "Arial"
FontSize 14
SourceBlock "powerlib_extras/Three-Phase\nLibrary/3-Phas"
"e RLC\nParallel Load"
SourceType "3-phase parallel RLC load "
Vpp "20"
fn "60"
P3 "1"
QL3 "0"
QC3 "0"
}
Block {
BlockType Reference
Name "6 - pulse\n diode bridge"
Ports [3, 2]
Position [315, 422, 370, 498]
FontName "Arial"
FontSize 14
SourceBlock "powerlib_extras/Three-Phase\nLibrary/6 - pu"
"lse\n diode bridge"
SourceType "Six-pulse diode bridge"
Ron "0.01"
Lon "10e-6"
Vf "0.8"
Rs "inf"
Cs "100e-09"
}
Block {
BlockType Constant
Name "Constant"
Position [615, 205, 645, 235]
FontName "Arial"
FontSize 14
Value "13.2"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant1"
Position [615, 110, 645, 140]
FontName "Arial"
FontSize 14
Value "10"
VectorParams1D on
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [430, 433, 455, 457]
FontName "Arial"
FontSize 14
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [665, 535, 755, 565]
FontName "Arial"
FontSize 14
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [614, 580, 656, 610]
Orientation "up"
NamePlacement "alternate"
FontName "Arial"
FontSize 14
Expr "(abs(u))*0.0001"
}
Block {
BlockType Reference
Name "Ground4"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [425, 515, 455, 545]
Orientation "down"
ShowName off
FontName "Arial"
FontSize 14
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "Ground5"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [765, 555, 795, 585]
Orientation "down"
ShowName off
FontName "Arial"
FontSize 14
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "Ground6"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [530, 535, 560, 565]
Orientation "down"
ShowName off
FontName "Arial"
FontSize 14
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Constant
Name "Idle set point"
Position [30, 105, 60, 135]
FontName "Arial"
FontSize 14
Value "200"
VectorParams1D on
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 6]
Position [805, 205, 865, 310]
Orientation "left"
FontName "Arial"
FontSize 14
SourceBlock "powerlib2/Machines/Machines\nMeasurement\nD"
"emux"
SourceType "Machine measurements"
machType "Simplified synchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 on
sm2 on
sm3 on
sm4 on
sm5 on
sm6 on
sm7 on
sm8 on
sm9 on
sm10 on
sm11 on
asm1 on
asm2 on
asm3 on
asm4 on
asm5 on
asm6 on
asm7 on
asm8 on
asm9 on
asm10 on
asm11 on
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "1"
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1]
Position [745, 30, 765, 60]
FontName "Arial"
FontSize 14
SourceBlock "simulink_extras/Additional\nLinear/PID Cont"
"roller"
SourceType "PID Controller"
P "2"
I "8"
D "1"
}
Block {
BlockType Reference
Name "PID Controller1"
Ports [1, 1]
Position [140, 80, 160, 110]
FontName "Arial"
FontSize 14
SourceBlock "simulink_extras/Additional\nLinear/PID Cont"
"roller"
SourceType "PID Controller"
P "2"
I "8"
D "0"
}
Block {
BlockType Reference
Name "Parallel RLC Branch1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [520, 470, 570, 510]
Orientation "down"
NamePlacement "alternate"
FontName "Arial"
FontSize 14
SourceBlock "powerlib2/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
a "100"
b "inf"
c "50e-06"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [250, 210, 295, 245]
Orientation "left"
FontName "Arial"
FontSize 14
Inputs "*/"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "R value"
Position [580, 465, 610, 495]
FontName "Arial"
FontSize 14
Value "14"
VectorParams1D on
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [1030, 29, 1060, 61]
FontName "Arial"
FontSize 14
Floating off
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-17.5"
YMax "17.5"
SaveToWorkspace off
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [710, 255, 730, 275]
Orientation "left"
FontName "Arial"
FontSize 14
Floating off
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-17.5"
YMax "17.5"
SaveToWorkspace off
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [850, 394, 880, 426]
FontName "Arial"
FontSize 14
Floating off
Location [520, 364, 844, 603]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "11.9"
YMax "12.9"
SaveToWorkspace off
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [750, 286, 765, 304]
Orientation "left"
FontName "Arial"
FontSize 14
Floating off
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-17.5"
YMax "17.5"
SaveToWorkspace off
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [525, 389, 555, 421]
FontName "Arial"
FontSize 14
Floating off
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "15"
YMax "16.75"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Reference
Name "Simplified Synchronous \nMachine SI Units"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 4]
Position [785, 27, 855, 98]
FontName "Arial"
FontSize 14
SourceBlock "powerlib2/Machines/Simplified Synchronous "
"\nMachine SI Units"
SourceType "Simplified Synchronous Machine"
conType "3-wire Y"
x1 "[ 750, 20, 60 ]"
x2 "[ inf, 0, 3]"
x3 "[ 0.1, 2.15e-5 ]"
x4 "[ 0 0 0,0,0 0,0,0 ]"
PSBOutputType "1111"
iounits "1"
}
Block {
BlockT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -