📄 ice3start.mdl
字号:
}
Block {
BlockType PMIOPort
Name "Cyl4"
Position [210, 303, 240, 317]
Orientation "left"
Port "5"
Side "Right"
}
Block {
BlockType PMIOPort
Name "CS"
Position [340, 378, 370, 392]
Orientation "left"
Port "6"
Side "Right"
}
Block {
BlockType Outport
Name "Crank Angle"
Position [590, 488, 620, 502]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
LineType "Connection"
SrcBlock "Adj CS"
SrcPort RConn1
DstBlock "Body"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Cyl1"
SrcPort RConn1
DstBlock "Body"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Body"
SrcPort RConn2
DstBlock "Cyl2"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Body"
SrcPort RConn3
DstBlock "Cyl3"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Body"
SrcPort RConn4
DstBlock "Cyl4"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Revolute"
SrcPort LConn1
DstBlock "Body"
DstPort RConn5
}
Line {
LineType "Connection"
SrcBlock "CS"
SrcPort RConn1
DstBlock "Revolute"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Joint Sensor"
SrcPort LConn1
Points [-5, 0; 0, -60]
DstBlock "Revolute"
DstPort RConn2
}
Line {
SrcBlock "Joint Sensor"
SrcPort 1
DstBlock "Continuous Angle"
DstPort 1
}
Line {
SrcBlock "Joint Sensor"
SrcPort 2
Points [10, 0]
Branch {
DstBlock "Continuous Angle"
DstPort 2
}
Branch {
Points [0, 35]
Branch {
Points [0, 45]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 2
}
}
}
Line {
LineType "Connection"
SrcBlock "Joint Initial Condition"
SrcPort RConn1
Points [15, 0; 0, -70]
DstBlock "Revolute"
DstPort LConn2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "RPM"
DstPort 1
}
Line {
SrcBlock "Continuous Angle"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Crank Angle"
DstPort 1
}
}
}
Block {
BlockType PMIOPort
Name "Cyl1"
Position [250, 108, 280, 122]
Orientation "left"
Port "1"
Side "Right"
}
Block {
BlockType PMIOPort
Name "Cr1"
Position [465, 208, 495, 222]
Orientation "left"
Port "2"
Side "Right"
}
Block {
BlockType PMIOPort
Name "Cyl2"
Position [15, 133, 45, 147]
Port "3"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Cr2"
Position [255, 258, 285, 272]
Port "4"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Cyl3"
Position [15, 198, 45, 212]
Port "5"
Side "Right"
}
Block {
BlockType PMIOPort
Name "Cr3"
Position [465, 258, 495, 272]
Orientation "left"
Port "6"
Side "Right"
}
Block {
BlockType PMIOPort
Name "Cyl4"
Position [250, 158, 280, 172]
Orientation "left"
Port "7"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Cr4"
Position [255, 308, 285, 322]
Port "8"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Adj CS"
Position [15, 68, 45, 82]
Port "9"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Load"
Position [465, 308, 495, 322]
Orientation "left"
Port "10"
Side "Right"
}
Block {
BlockType Outport
Name "Crank Angle"
Position [250, 58, 280, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
LineType "Connection"
SrcBlock "Cyl1"
SrcPort RConn1
DstBlock "Engine Block"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Cr1"
SrcPort RConn1
DstBlock "Crankshaft"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Cyl2"
SrcPort RConn1
DstBlock "Engine Block"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "Cyl3"
SrcPort RConn1
DstBlock "Engine Block"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "Cyl4"
SrcPort RConn1
DstBlock "Engine Block"
DstPort RConn2
}
Line {
LineType "Connection"
SrcBlock "Cr2"
SrcPort RConn1
DstBlock "Crankshaft"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "Cr3"
SrcPort RConn1
DstBlock "Crankshaft"
DstPort RConn2
}
Line {
LineType "Connection"
SrcBlock "Cr4"
SrcPort RConn1
DstBlock "Crankshaft"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "Adj CS"
SrcPort RConn1
DstBlock "Engine Block"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Engine Block"
SrcPort RConn3
DstBlock "Crankshaft"
DstPort LConn1
}
Line {
SrcBlock "Engine Block"
SrcPort 1
DstBlock "Crank Angle"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Load"
SrcPort RConn1
DstBlock "Crankshaft"
DstPort RConn3
}
}
}
Block {
BlockType From
Name "From"
Position [480, 97, 550, 123]
CloseFcn "tagdialog Close"
GotoTag "CrankAngle"
}
Block {
BlockType From
Name "From1"
Position [480, 142, 550, 168]
CloseFcn "tagdialog Close"
GotoTag "Throttle"
}
Block {
BlockType Gain
Name "Gain"
Position [395, 15, 425, 45]
Gain "60/360"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Goto
Name "Goto1"
Position [400, 143, 470, 167]
GotoTag "CrankAngle"
TagVisibility "local"
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [85, 535, 125, 575]
UserDataPersistent on
UserData "DataTag0"
SourceBlock "mblibv1/Bodies/Ground"
SourceType "msb"
ShowPortLabels on
LeftPortType "env"
RightPortType "workingframe"
PhysicalDomain "Mechanical"
DialogClass "GroundBlock"
ClassName "Ground"
CoordPosition "[0 0 0]"
CoordPositionUnits "m"
StateVectorMgrId "-1"
MachineId "[1 0]"
ShowEnvPort on
}
Block {
BlockType SubSystem
Name "Inertia"
Ports [0, 0, 0, 0, 0, 1]
Position [510, 519, 580, 581]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Rotational Inertia"
MaskPromptString "Inertia (Kg/m^3)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "I_Drive=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1"
System {
Name "Inertia"
Location [645, 565, 869, 691]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Body"
Ports [0, 0, 0, 0, 0, 1]
Position [80, 25, 140, 65]
SourceBlock "mblibv1/Bodies/Body"
SourceType "msb"
PhysicalDomain "mechanical"
SubClassName "Unknown"
LeftPortType "workingframe"
RightPortType "workingframe"
LConnTagsString "CS1"
ClassName "Body"
DialogClass "MechanicalBodyBlock"
Mass "1"
MassUnits "kg"
InertiaUnits "kg*m^2"
Inertia "[(I_Drive*0.51) 0 0;0 (I_Drive*0.51) 0;0 0 "
"I_Drive ]"
Shape "Cylinder"
ShapeDims "[1 1]"
ShapeUnits "m"
ShapeUse "false"
Density "1"
DensityUnits "kg/m^3"
DensityUse "false"
CG "Left$CG$[0 0 0]$CS1$CS1$m$[0 0 0]$Euler X-Y"
"-Z$deg$WORLD$false"
WorkingFrames "Left$CS1$[0 0 0]$ADJOINING$ADJOINING$m$[0 0"
" 0]$Euler X-Y-Z$deg$WORLD$true"
}
Block {
BlockType PMIOPort
Name "Conn1"
Position [25, 38, 55, 52]
Port "1"
Side "Left"
}
Line {
LineType "Connection"
SrcBlock "Conn1"
SrcPort RConn1
Points [0, 0]
DstBlock "Body"
DstPort LConn1
}
}
}
Block {
BlockType Reference
Name "Machine\nEnvironment"
Tag "Factory ground"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [15, 545, 55, 565]
DialogController "MECH.DialogSource"
SourceBlock "mblibv1/Bodies/Machine\nEnvironment"
SourceType "Mechanical"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -