📄 vehicle_series1.mdl
字号:
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "m"
Position [15, 223, 45, 237]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Climing Angle"
Position [90, 358, 120, 372]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add1"
Ports [4, 1]
Position [455, 37, 490, 403]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant2"
Position [265, 184, 360, 216]
Value "0.625*Thou*Cd*A"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [80, 113, 85, 342]
BackgroundColor "black"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [360, 20, 450, 50]
FontSize 10
Decimation "1"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [540, 120, 630, 150]
FontSize 10
Decimation "1"
}
Block {
BlockType Display
Name "Display2"
Ports [1]
Position [545, 290, 635, 320]
FontSize 10
Decimation "1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [240, 350, 300, 380]
Expr "sin(u)"
}
Block {
BlockType Constant
Name "Frr"
Position [195, 69, 305, 101]
Value "m*Mu_rr*9.8"
}
Block {
BlockType Gain
Name "Gain"
Position [155, 15, 185, 45]
Gain "3.6"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [285, 237, 330, 273]
Gain "m*r/G"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [580, 202, 625, 238]
Gain "r/G"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [175, 347, 220, 383]
Gain "2*3.1415/180"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [335, 347, 380, 383]
Gain "m*9.8"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [105, 127, 150, 163]
Gain "r/G"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [330, 130, 360, 160]
NamePlacement "alternate"
Operator "magnitude^2"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [385, 115, 420, 230]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "T"
Position [690, 213, 720, 227]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Velocity"
Position [230, 23, 260, 37]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Frr"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Add1"
DstPort 1
}
Branch {
DstBlock "Display"
DstPort 1
}
}
Line {
SrcBlock "m"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [40, 0]
Branch {
Points [65, 0]
DstBlock "Add1"
DstPort 3
}
Branch {
Points [0, 50]
DstBlock "Display2"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Climing Angle"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [55, 0]
DstBlock "Add1"
DstPort 4
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "T"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Math\nFunction1"
DstPort 1
}
Branch {
Points [0, -40; -35, 0]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Add1"
DstPort 2
}
Branch {
Points [0, -40]
DstBlock "Display1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Velocity"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [199, 335, 221, 360]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Scope
Name "Omega"
Ports [1]
Position [655, 339, 685, 371]
Location [560, 360, 884, 599]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [415, 429, 445, 461]
Location [1, 50, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Te"
Ports [1]
Position [860, 444, 890, 476]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Tm"
Ports [1]
Position [910, 119, 940, 151]
Location [188, 390, 512, 629]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Display
Name "V: km/h"
Ports [1]
Position [905, 220, 995, 250]
FontSize 10
Decimation "1"
}
Line {
LineType "Connection"
SrcBlock "DC Voltage Source"
SrcPort RConn1
Points [0, -55]
DstBlock "DC Machine"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "DC Machine"
SrcPort RConn2
Points [0, 40; -115, 0]
DstBlock "DC Machine"
DstPort LConn1
}
Line {
SrcBlock "DC Machine"
SrcPort 1
Points [110, 0; 0, 60]
Branch {
DstBlock "Electric Vehicle Dynamics"
DstPort 1
}
Branch {
Points [0, 270]
DstBlock "Demux"
DstPort 1
}
}
Line {
SrcBlock "Electric Vehicle Dynamics"
SrcPort 1
Points [55, 0; 0, -5]
Branch {
DstBlock "Tm"
DstPort 1
}
Branch {
Points [0, -60]
Branch {
Points [0, -35; -600, 0; 0, 40]
DstBlock "DC Machine"
DstPort 1
}
Branch {
DstBlock "Display"
DstPort 1
}
}
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Electric Vehicle Dynamics"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Omega"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Current"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Acceleration"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Te"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "DC Machine"
SrcPort RConn1
Points [10, 0]
DstBlock "Current Measurement"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Current Measurement"
SrcPort RConn1
Points [0, 10; -195, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "DC Voltage Source"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Ground"
DstPort LConn1
}
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [0, 150]
DstBlock "Scope4"
DstPort 1
}
Line {
SrcBlock "Electric Vehicle Dynamics"
SrcPort 2
DstBlock "V: km/h"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -