⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cars.mdl

📁 This submission includes the presentation and model files that were used in delivering a webinar on
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Differential"
	  SrcPort		  RConn2
	  Points		  [0, 0; 55, 0]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Tire"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "Inertia"
	    SrcPort		    RConn1
	    Points		    [5, 0; 0, -30]
	  }
	}
	Line {
	  SrcBlock		  "Longitudinal\nVehicle Dynamics"
	  SrcPort		  3
	  Points		  [30, 0; 0, 20]
	  DstBlock		  "Tire"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Longitudinal\nVehicle Dynamics"
	  SrcPort		  1
	  Points		  [0, 0; 30, 0]
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Tire"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -85]
	    Branch {
	      DstBlock		      "Tire1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -40]
	      DstBlock		      "Car Speed"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Longitudinal\nVehicle Dynamics"
	  SrcPort		  2
	  Points		  [55, 0; 0, -85]
	  DstBlock		  "Tire1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Tire1"
	  SrcPort		  1
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tire"
	  SrcPort		  1
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tire1"
	  SrcPort		  2
	  Points		  [0, 35; -175, 0; 0, -20; -105, 0]
	  DstBlock		  "Longitudinal\nVehicle Dynamics"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tire"
	  SrcPort		  2
	  Points		  [0, 40; -265, 0]
	  DstBlock		  "Longitudinal\nVehicle Dynamics"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Longitudinal\nVehicle Dynamics"
	  DstPort		  3
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Diff"
	  SrcPort		  RConn1
	  DstBlock		  "Differential"
	  DstPort		  LConn1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Vehicle1"
      Ports		      [0, 1, 0, 0, 0, 1]
      Position		      [385, 294, 490, 346]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Vehicle1"
	Location		[193, 112, 939, 469]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [230, 190, 260, 220]
	  Value			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Differential"
	  Ports			  [0, 0, 0, 0, 0, 1, 2]
	  Position		  [80, 53, 220, 317]
	  SourceBlock		  "driveline/Gears/Differential"
	  SourceType		  "Differential"
	  ShowPortLabels	  on
	  R			  "1"
	  ValidatorFcn		  "drive_differentialgearblock"
	  SimDrivelineLibraryVersion "1.1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Inertia"
	  Ports			  [0, 0, 0, 0, 0, 0, 1]
	  Position		  [240, 267, 270, 293]
	  SourceBlock		  "driveline/Solver &\nInertias/Inertia"
	  SourceType		  "Inertia"
	  ShowPortLabels	  on
	  PortType		  "p1"
	  BlockClass		  "Inertia"
	  PhysicalDomain	  "driveline_domain"
	  I			  "1"
	  Ip			  "[]"
	  Iv			  "[]"
	  ShowLeft		  off
	  ShowRight		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Inertia1"
	  Ports			  [0, 0, 0, 0, 0, 0, 1]
	  Position		  [240, 72, 270, 98]
	  SourceBlock		  "driveline/Solver &\nInertias/Inertia"
	  SourceType		  "Inertia"
	  ShowPortLabels	  on
	  PortType		  "p1"
	  BlockClass		  "Inertia"
	  PhysicalDomain	  "driveline_domain"
	  I			  "1"
	  Ip			  "[]"
	  Iv			  "[]"
	  ShowLeft		  off
	  ShowRight		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Longitudinal\nVehicle Dynamics"
	  Ports			  [3, 3]
	  Position		  [335, 140, 415, 220]
	  SourceBlock		  "driveline/Vehicle\nComponents/Longitudinal"
"\nVehicle Dynamics"
	  SourceType		  "Longitudinal Vehicle Dynamics"
	  ShowPortLabels	  on
	  m			  "1200"
	  a			  "1.4"
	  b			  "1.6"
	  h			  "0.5"
	  FA			  "3"
	  C_d			  "0"
	  v0			  "0"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [635, 65, 655, 85]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator1"
	  Position		  [635, 195, 655, 215]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Tire"
	  Ports			  [2, 2, 0, 0, 0, 1]
	  Position		  [500, 184, 580, 266]
	  SourceBlock		  "driveline/Vehicle\nComponents/Tire"
	  SourceType		  "Tire"
	  ShowPortLabels	  on
	  r_e			  "0.3"
	  F_z			  "3000"
	  F_x_max		  "3500"
	  kappa_max		  "10"
	  sigma_k		  "0.2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Tire1"
	  Ports			  [2, 2, 0, 0, 0, 1]
	  Position		  [515, 54, 595, 136]
	  SourceBlock		  "driveline/Vehicle\nComponents/Tire"
	  SourceType		  "Tire"
	  ShowPortLabels	  on
	  r_e			  "0.3"
	  F_z			  "3000"
	  F_x_max		  "3500"
	  kappa_max		  "10"
	  sigma_k		  "0.2"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "Diff"
	  Position		  [15, 178, 45, 192]
	  Port			  "1"
	  Side			  "Left"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Car Speed"
	  Position		  [515, 23, 545, 37]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Diff"
	  SrcPort		  RConn1
	  Points		  [0, 0]
	  DstBlock		  "Differential"
	  DstPort		  LConn1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Longitudinal\nVehicle Dynamics"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Tire"
	  SrcPort		  2
	  Points		  [0, 40; -265, 0]
	  DstBlock		  "Longitudinal\nVehicle Dynamics"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Tire1"
	  SrcPort		  2
	  Points		  [0, 35; -175, 0; 0, -20; -105, 0]
	  DstBlock		  "Longitudinal\nVehicle Dynamics"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tire"
	  SrcPort		  1
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tire1"
	  SrcPort		  1
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Longitudinal\nVehicle Dynamics"
	  SrcPort		  2
	  Points		  [55, 0; 0, -85]
	  DstBlock		  "Tire1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Longitudinal\nVehicle Dynamics"
	  SrcPort		  1
	  Points		  [0, 0; 30, 0]
	  Branch {
	    Points		    [0, -85]
	    Branch {
	      Points		      [0, -40]
	      DstBlock		      "Car Speed"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "Tire1"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Tire"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Longitudinal\nVehicle Dynamics"
	  SrcPort		  3
	  Points		  [30, 0; 0, 20]
	  DstBlock		  "Tire"
	  DstPort		  2
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Inertia"
	  SrcPort		  RConn1
	  Points		  [5, 0; 0, -30]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Tire"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "Differential"
	    SrcPort		    RConn2
	    Points		    [0, 0; 55, 0]
	  }
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Inertia1"
	  SrcPort		  RConn1
	  Points		  [10, 0; 0, 35]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Tire1"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "Differential"
	    SrcPort		    RConn1
	    Points		    [0, 0; 60, 0]
	  }
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "m/s to mph"
      Position		      [435, 135, 455, 165]
      Gain		      "2.236364"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "m/s to mph1"
      Position		      [510, 305, 530, 335]
      Gain		      "2.236364"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SignalViewerScope
      Name		      "Scope"
      Ports		      []
      Position		      [20, 15, 60, 55]
      IOType		      "viewer"
      List {
	ListType		IOSignalStrings
	set0ParseKeys		"14"
	set0Sigs		"m//s to mph:o1"
	set1ParseKeys		"15"
	set1Sigs		"m//s to mph1:o1"
	set2ParseKeys		"11"
	set2Sigs		"unconnected"
      }
      Location		      [188, 83, 512, 604]
      Open		      on
      NumInputPorts	      "3"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      ShowDataMarkers	      off
      ShowLegends	      off
      YMin		      "-5~-5~-5"
      YMax		      "5~5~5"
      DataFormat	      "Array"
      LimitDataPoints	      off
      MaxDataPoints	      "7500"
      RefreshTime	      0.035000
      Disabled		      off
    }
    Block {
      BlockType		      SignalViewerScope
      Name		      "Scope1"
      Ports		      []
      Position		      [20, 15, 60, 55]
      IOType		      "viewer"
      Location		      [188, 47, 512, 727]
      Open		      off
      NumInputPorts	      "6"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
	axes6			"%<SignalLabel>"
      }
      ShowDataMarkers	      off
      ShowLegends	      off
      YMin		      "560~-0.001~199.895~-10.5~-5~-5"
      YMax		      "560~0.00075~199.925~-7.5~5~5"
      SaveName		      "ScopeData1"
      DataFormat	      "Array"
      LimitDataPoints	      off
      MaxDataPoints	      "7500"
      RefreshTime	      0.035000
      Disabled		      off
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Gasoline Engine"
      SrcPort		      RConn1
      Points		      [0, 0; 25, 0]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Vehicle"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, -85]
	DstBlock		"Driveline\nEnvironment"
	DstPort			LConn1
      }
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "Gasoline Engine"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Vehicle"
      SrcPort		      1
      DstBlock		      "m/s to mph"
      DstPort		      1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Gasoline Engine1"
      SrcPort		      RConn1
      Points		      [0, 0; 25, 0]
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, -85]
	DstBlock		"Driveline\nEnvironment1"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Simple Gear"
	DstPort			LConn1
      }
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Gasoline Engine1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Vehicle1"
      SrcPort		      1
      DstBlock		      "m/s to mph1"
      DstPort		      1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Simple Gear"
      SrcPort		      RConn1
      DstBlock		      "Vehicle1"
      DstPort		      LConn1
    }
    Line {
      SrcBlock		      "m/s to mph"
      SrcPort		      1
      DstBlock		      "Terminator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "m/s to mph1"
      SrcPort		      1
      DstBlock		      "Terminator1"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -