📄 vehicle_series1.mdl
字号:
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [415, 63, 445, 107]
NamePlacement "alternate"
InitialCondition "w0"
ZeroCross off
Port {
PortNumber 1
Name "w"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [580, 267, 585, 353]
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [575, 75, 605, 110]
NamePlacement "alternate"
ShowName off
RndMeth "Floor"
Port {
PortNumber 1
Name "E fcem"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [190, 67, 215, 98]
ShowName off
RndMeth "Floor"
Port {
PortNumber 1
Name "Te"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [315, 409, 345, 441]
Location [1, 50, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [325, 51, 345, 119]
ShowName off
Inputs "-+-"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [90, 205, 145, 245]
ShowName off
Numerator "[Laf]"
Denominator "[20e-6 1]"
}
Block {
BlockType Outport
Name "FCEM"
Position [660, 84, 680, 106]
NamePlacement "alternate"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "m"
Position [665, 299, 685, 321]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "m"
DstPort 1
}
Line {
Name "E fcem"
Labels [0, 0]
SrcBlock "Product"
SrcPort 1
DstBlock "FCEM"
DstPort 1
}
Line {
Name "ia"
Labels [0, 0]
SrcBlock "ia"
SrcPort 1
Points [15, 0]
Branch {
Labels [-1, 1]
Points [0, 225]
DstBlock "Mux"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Line {
Name "If"
Labels [0, 0]
SrcBlock "if"
SrcPort 1
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "TL"
SrcPort 1
Points [240, 0; 0, 40]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
Name "a"
Labels [0, 0]
SrcBlock "Gain2"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Integrator"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, 235]
DstBlock "Mux"
DstPort 3
}
}
Line {
Name "w"
FontSize 12
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 65]
DstBlock "Coulomb (Tf) &\nViscous ( Bm*w) \nFri"
"ction Torques"
DstPort 1
}
Branch {
Labels [1, 0]
Points [65, 0]
Branch {
Labels [-1, 1]
Points [0, 195]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 1
}
}
}
Line {
Name "Te"
FontSize 12
Labels [0, 1]
SrcBlock "Product1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, 255]
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -135]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [400, 0]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 200]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Coulomb (Tf) &\nViscous ( Bm*w) \nFrict"
"ion Torques"
SrcPort 1
Points [-65, 0; 0, -45]
DstBlock "Sum"
DstPort 3
}
}
}
Block {
BlockType Reference
Name "Ra La"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [245, 26, 315, 54]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "Ra"
Inductance "La"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Rf Lf"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [240, 231, 310, 259]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "Rf"
Inductance "Lf"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "iA"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [90, 23, 115, 47]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "iF"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [90, 228, 115, 252]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType PMIOPort
Name "A+"
Position [25, 28, 55, 42]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "A-"
Position [435, 150, 465, 165]
Orientation "up"
Port "2"
Side "Right"
}
Block {
BlockType PMIOPort
Name "F+"
Position [25, 233, 55, 247]
Port "3"
Side "Left"
}
Block {
BlockType PMIOPort
Name "F-"
Position [350, 238, 380, 252]
Orientation "left"
Port "4"
Side "Right"
}
Block {
BlockType Outport
Name "m"
Position [395, 148, 425, 162]
ForegroundColor "blue"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Measurement list"
SrcPort 1
DstBlock "m"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "iA"
SrcPort LConn1
Points [10, 0]
DstBlock "A+"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "iF"
SrcPort LConn1
Points [10, 0]
DstBlock "F+"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "FCEM"
SrcPort RConn1
Points [0, 0]
DstBlock "Ra La"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Ra La"
SrcPort LConn1
Points [0, 0]
DstBlock "iA"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Rf Lf"
SrcPort LConn1
Points [0, 0]
DstBlock "iF"
DstPort RConn1
}
Line {
SrcBlock "iA"
SrcPort 1
Points [45, 0; 0, 110]
DstBlock "Mechanics"
DstPort 2
}
Line {
SrcBlock "Mechanics"
SrcPort 1
Points [125, 0]
DstBlock "FCEM"
DstPort 1
}
Line {
SrcBlock "iF"
SrcPort 1
Points [45, 0; 0, -75]
DstBlock "Mechanics"
DstPort 3
}
Line {
LineType "Connection"
SrcBlock "A-"
SrcPort RConn1
Points [0, 0]
DstBlock "FCEM"
DstPort LConn1
}
Line {
SrcBlock "TL"
SrcPort 1
DstBlock "Mechanics"
DstPort 1
}
Line {
SrcBlock "Mechanics"
SrcPort 2
DstBlock "Measurement list"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "F-"
SrcPort RConn1
Points [-15, 0]
DstBlock "Rf Lf"
DstPort RConn1
}
}
}
Block {
BlockType Reference
Name "DC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [200, 210, 220, 245]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "48"
Measurements "None"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [565, 341, 570, 474]
BackgroundColor "black"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [880, 60, 970, 90]
FontSize 10
Decimation "1"
}
Block {
BlockType SubSystem
Name "Electric Vehicle Dynamics"
Ports [2, 2]
Position [620, 94, 790, 281]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Electric Vehicle"
MaskDescription "Please enter the parameters for the electric ve"
"hicle here."
MaskHelp "The definition of the parameters are provided i"
"n the associated documentations."
MaskPromptString "Vehicle mass (kg):|Rolling resistance coefficie"
"nt:|Drag coefficient:|Frontal Area (m^2):|Moment of inertia:|Tyre radius (m):"
"|Gear ratio:|Air density (kg/m^3):"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,"
MaskVariables "m=@1;Mu_rr=@2;Cd=@3;A=@4;I=@5;r=@6;G=@7;Thou=@8"
";"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "800|0.003|0.19|1.8|0.1|0.25|11|1.25"
MaskTabNameString ",,,,,,,"
System {
Name "Electric Vehicle Dynamics"
Location [2, 82, 1014, 677]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -