Model {
  Name			  "sldemo_clutch"
  Version		  6.2
  MdlSubVersion		  0
  GraphicalInterface {
    NumRootInports	    0
    NumRootOutports	    8
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      Name		      "we"
    }
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      Name		      "wv"
    }
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      Name		      "w"
    }
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      SignalName	      "clutch locked"
      Name		      "Locked Flag"
    }
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      Name		      "Lockup Flag"
    }
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      Name		      "Break-Apart Flag"
    }
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      Name		      "FrictionTorque Required for Lockup"
    }
    Outport {
      BusObject		      ""
      BusOutputAsStruct	      "off"
      Name		      "Max Static  Friction Torque"
    }
    ParameterArgumentNames  ""
    ComputedModelVersion    "1.22"
    NumModelReferences	    0
    NumTestPointedSignals   0
  }
  Description		  "Clutch Lock-Up Simulation \n\nThe clutch system in "
"this example consists of two plates that transmit torque \nbetween the engine"
" and transmission. There are two distinct modes of operation; \nslipping, whe"
"re the two plates have differing angular velocities; and lockup, where \nthe "
"two plates rotate together. Handling the transition between these two modes "
"\npresents a modeling challenge. As the system loses a degree of freedom upon"
" \nlockup, the transmitted torque goes through a step discontinuity. The magn"
"itude \nof the torque drops from the maximum value supported by the friction "
"capacity \nto a value that is necessary to keep the two halves of the system "
"spinning at the \nsame rate. The reverse transition, break-apart, as the torq"
"ue transmitted by the \nclutch plates exceeds the friction capacity, is also "
"challenging.\n\nThere are two methods for solving this type of problem:\n\n* "
"Compute the clutch torque transmitted at all times, and employ this value dir"
"ectly \nin the model \n* Use two different dynamic models and switch between "
"them at the appropriate times\n\nSimulink can model either method. In this ex"
"ample, we describe a simulation for \nthe second method. In the second method"
", switching between two dynamic \nmodels must be performed with care to ensur"
"e that the initialized states of the new \nmodel match the state values immed"
"iately prior to the switch. In either approach, \nSimulink facilitates accura"
"te simulation due to its ability to recognize the precise \nmoments at which "
"transitions between lockup and slipping occur.\n\nIn the demonstration, we us"
"e enabled subsystems to build the clutch model. \nTwo enabled subsystems mode"
"l the clutch dynamics in either the locked or \nunlocked position. After runn"
"ing the simulation, a GUI opens. Checking any of \nthe boxes on the GUI produ"
"ces a plot of any of the selected variables (versus time). \n\nA detailed rev"
"iew of the equations used in this design can be found in \nthe white paper <h"
"ttp://www.mathworks.com/mason/tag/proxy.html?dataid=229&fileid=559 \nUsing Si"
"mulink and Stateflow for Automotive Examples.> Please note\nthat this paper i"
"s based on an older version of Simulink and does not \nuse all the newest blo"
"ck diagramming features in the current version \nof Simulink.\n"
  SavedCharacterEncoding  "US-ASCII"
  PreLoadFcn		  "load sldemo_clutchparam.mat"
  PostLoadFcn		  "sldemo_clutchplot"
  SaveDefaultBlockParams  on
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  on
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  ShowLoopsOnError	  on
  IgnoreBidirectionalLines off
  ShowStorageClass	  off
  ShowTestPointIcons	  on
  ShowViewerIcons	  on
  SortedOrder		  off
  ExecutionContextIcon	  off
  ShowLinearizationAnnotations on
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "d"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  covSaveCumulativeToWorkspaceVar on
  CovSaveSingleToWorkspaceVar on
  CovCumulativeVarName	  "covCumulativeData"
  CovCumulativeReport	  off
  CovReportOnPause	  on
  ScopeRefreshTime	  0.035000
  OverrideScopeRefreshTime on
  DisableAllScopes	  off
  DataTypeOverride	  "UseLocalSettings"
  MinMaxOverflowLogging	  "UseLocalSettings"
  MinMaxOverflowArchiveMode "Overwrite"
  BlockNameDataTip	  off
  BlockParametersDataTip  on
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  CloseFcn		  "sldemo_clutchplot Close"
  StartFcn		  "sldemo_clutchplot Start"
  StopFcn		  "if exist ('y')\nsldemo_clutchplot Stop\nend"
  Created		  "Wed Aug 19 15:51:31 1998"
  Creator		  "The MathWorks Inc."
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "batserve"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Jan 22 19:08:39 2005"
  ModelVersionFormat	  "1.%<AutoIncrement:22>"
  ConfigurationManager	  "none"
  LinearizationMsg	  "none"
  Profile		  off
  ParamWorkspaceSource	  "MATLABWorkspace"
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  ExtModeBatchMode	  off
  ExtModeEnableFloating	  on
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigDurationFloating "auto"
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock off
  BufferReuse		  on
  StrictBusMsg		  "None"
  ProdHWDeviceType	  "32-bit Generic"
  ShowModelReferenceBlockVersion off
  ShowModelReferenceBlockIO off
  Array {
    Type		    "Handle"
    Dimension		    1
    Simulink.ConfigSet {
      $ObjectID		      1
      Version		      "1.1.0"
      Array {
	Type			"Handle"
	Dimension		7
	Simulink.SolverCC {
	  $ObjectID		  2
	  Version		  "1.1.0"
	  StartTime		  "0.0"
	  StopTime		  "10"
	  AbsTol		  "1e-7"
	  FixedStep		  "auto"
	  InitialStep		  "auto"
	  MaxNumMinSteps	  "-1"
	  MaxOrder		  5
	  ExtrapolationOrder	  4
	  NumberNewtonIterations  1
	  MaxStep		  "auto"
	  MinStep		  "auto"
	  RelTol		  "1e-6"
	  SolverMode		  "SingleTasking"
	  Solver		  "ode23"
	  SolverName		  "ode23"
	  ZeroCrossControl	  "UseLocalSettings"
	  AlgebraicLoopSolver	  "TrustRegion"
	  SolverResetMethod	  "Fast"
	  PositivePriorityOrder	  off
	  AutoInsertRateTranBlk	  off
	  SampleTimeConstraint	  "Unconstrained"
	  RateTranMode		  "Deterministic"
	}
	Simulink.DataIOCC {
	  $ObjectID		  3
	  Version		  "1.1.0"
	  Decimation		  "1"
	  ExternalInput		  "[]"
	  FinalStateName	  "xFinal"
	  InitialState		  "[]"
	  LimitDataPoints	  off
	  MaxDataPoints		  "1000"
	  LoadExternalInput	  off
	  LoadInitialState	  off
	  SaveFinalState	  off
	  SaveFormat		  "Array"
	  SaveOutput		  on
	  SaveState		  on
	  SignalLogging		  on
	  SaveTime		  on
	  StateSaveName		  "x"
	  TimeSaveName		  "t"
	  OutputSaveName	  "y"
	  SignalLoggingName	  "logsout"
	  OutputOption		  "RefineOutputTimes"
	  OutputTimes		  "[]"
	  Refine		  "1"
	}
	Simulink.OptimizationCC {
	  $ObjectID		  4
	  Array {
	    Type		    "Cell"
	    Dimension		    5
	    Cell		    "ZeroExternalMemoryAtStartup"
	    Cell		    "ZeroInternalMemoryAtStartup"
	    Cell		    "InitFltsAndDblsToZero"
	    Cell		    "OptimizeModelRefInitCode"
	    Cell		    "NoFixptDivByZeroProtection"
	    PropName		    "DisabledProps"
	  }
	  Version		  "1.1.0"
	  BlockReduction	  off
	  BooleanDataType	  off
	  ConditionallyExecuteInputs on
	  InlineParams		  off
	  InlineInvariantSignals  on
	  OptimizeBlockIOStorage  on
	  BufferReuse		  on
	  EnforceIntegerDowncast  on
	  ExpressionFolding	  on
	  FoldNonRolledExpr	  on
	  LocalBlockOutputs	  on
	  ParameterPooling	  on
	  RollThreshold		  5
	  SystemCodeInlineAuto	  off
	  StateBitsets		  off
	  DataBitsets		  off
	  UseTempVars		  off
	  ZeroExternalMemoryAtStartup on
	  ZeroInternalMemoryAtStartup on
	  InitFltsAndDblsToZero	  on
	  NoFixptDivByZeroProtection off
	  EfficientFloat2IntCast  off
	  OptimizeModelRefInitCode off
	  LifeSpan		  "inf"
	  BufferReusableBoundary  off
	}
	Simulink.DebuggingCC {
	  $ObjectID		  5
	  Version		  "1.1.0"
	  RTPrefix		  "error"
	  ConsistencyChecking	  "none"
	  ArrayBoundsChecking	  "none"
	  SignalInfNanChecking	  "none"
	  AlgebraicLoopMsg	  "warning"
	  ArtificialAlgebraicLoopMsg "warning"
	  CheckSSInitialOutputMsg on
	  CheckExecutionContextPreStartOutputMsg off
	  CheckExecutionContextRuntimeOutputMsg	off
	  SignalResolutionControl "TryResolveAllWithWarning"
	  BlockPriorityViolationMsg "warning"
	  MinStepSizeMsg	  "warning"
	  SolverPrmCheckMsg	  "none"
	  InheritedTsInSrcMsg	  "warning"
	  DiscreteInheritContinuousMsg "warning"
	  MultiTaskDSMMsg	  "warning"
	  MultiTaskRateTransMsg	  "error"
	  SingleTaskRateTransMsg  "none"
	  TasksWithSamePriorityMsg "warning"
	  CheckMatrixSingularityMsg "none"
	  IntegerOverflowMsg	  "none"
	  Int32ToFloatConvMsg	  "warning"
	  ParameterDowncastMsg	  "error"
	  ParameterOverflowMsg	  "error"
	  ParameterPrecisionLossMsg "warning"
	  UnderSpecifiedDataTypeMsg "none"
	  UnnecessaryDatatypeConvMsg "none"
	  VectorMatrixConversionMsg "none"
	  InvalidFcnCallConnMsg	  "error"
	  FcnCallInpInsideContextMsg "Use local settings"
	  SignalLabelMismatchMsg  "none"
	  UnconnectedInputMsg	  "warning"
	  UnconnectedOutputMsg	  "warning"
	  UnconnectedLineMsg	  "warning"
	  SFcnCompatibilityMsg	  "none"
	  UniqueDataStoreMsg	  "none"
	  BusObjectLabelMismatch  "none"
	  RootOutportRequireBusObject "warning"
	  AssertControl		  "UseLocalSettings"
	  EnableOverflowDetection off
	  ModelReferenceIOMsg	  "none"
	  ModelReferenceVersionMismatchMessage "none"
	  ModelReferenceIOMismatchMessage "none"
	  ModelReferenceCSMismatchMessage "none"
	  ModelReferenceSimTargetVerbose off
	  UnknownTsInhSupMsg	  "warning"
	  ModelReferenceDataLoggingMessage "warning"
	  ModelReferenceSymbolNameMessage "warning"
	  ModelReferenceExtraNoncontSigs "error"
	}
	Simulink.HardwareCC {
	  $ObjectID		  6
	  Version		  "1.1.0"
	  ProdBitPerChar	  8
	  ProdBitPerShort	  16
	  ProdBitPerInt		  32
	  ProdBitPerLong	  32
	  ProdIntDivRoundTo	  "Undefined"
	  ProdEndianess		  "Unspecified"
	  ProdWordSize		  32
	  ProdShiftRightIntArith  on
	  ProdHWDeviceType	  "32-bit Generic"
	  TargetBitPerChar	  8
	  TargetBitPerShort	  16
	  TargetBitPerInt	  32
	  TargetBitPerLong	  32
	  TargetShiftRightIntArith on
	  TargetIntDivRoundTo	  "Undefined"
	  TargetEndianess	  "Unspecified"
	  TargetWordSize	  32
	  TargetTypeEmulationWarnSuppressLevel 0
	  TargetPreprocMaxBitsSint 32
	  TargetPreprocMaxBitsUint 32
	  TargetHWDeviceType	  "Specified"
	  TargetUnknown		  on
	  ProdEqTarget		  on
	}
	Simulink.ModelReferenceCC {
	  $ObjectID		  7
	  Version		  "1.1.0"
	  UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
	  CheckModelReferenceTargetMessage "error"
	  ModelReferenceNumInstancesAllowed "Multi"
	  ModelReferencePassRootInputsByReference on
	  ModelReferenceMinAlgLoopOccurrences off
	}
	Simulink.RTWCC {
	  $BackupClass		  "Simulink.RTWCC"
	  $ObjectID		  8
	  Array {
	    Type		    "Cell"
	    Dimension		    1
	    Cell		    "IncludeHyperlinkInReport"
	    PropName		    "DisabledProps"
	  }
	  Version		  "1.1.0"
	  SystemTargetFile	  "grt.tlc"
	  GenCodeOnly		  off
	  MakeCommand		  "make_rtw"
	  TemplateMakefile	  "grt_default_tmf"
	  Description		  "Generic Real-Time Target"
	  GenerateReport	  off
	  SaveLog		  off
	  RTWVerbose		  on
	  RetainRTWFile		  off
	  ProfileTLC		  off
	  TLCDebug		  off
	  TLCCoverage		  off
	  TLCAssert		  off
	  ProcessScriptMode	  "Default"
	  ConfigurationMode	  "Optimized"
	  ConfigAtBuild		  off
	  IncludeHyperlinkInReport off
	  LaunchReport		  off
	  TargetLang		  "C"
	  Array {
	    Type		    "Handle"
	    Dimension		    2
	    Simulink.CodeAppCC {
	      $ObjectID		      9
	      Array {
		Type			"Cell"
		Dimension		9
		Cell			"IgnoreCustomStorageClasses"
		Cell			"InsertBlockDesc"
		Cell			"SFDataObjDesc"
		Cell			"SimulinkDataObjDesc"
		Cell			"DefineNamingRule"
		Cell			"SignalNamingRule"
		Cell			"ParamNamingRule"
		Cell			"InlinedPrmAccess"
		Cell			"CustomSymbolStr"
		PropName		"DisabledProps"
	      }
	      Version		      "1.1.0"
	      ForceParamTrailComments off
	      GenerateComments	      on
	      IgnoreCustomStorageClasses on
	      IncHierarchyInIds	      off
	      MaxIdLength	      31
	      PreserveName	      off
	      PreserveNameWithParent  off
	      ShowEliminatedStatement off
	      IncAutoGenComments      off
	      SimulinkDataObjDesc     off
	      SFDataObjDesc	      off
	      IncDataTypeInIds	      off
	      PrefixModelToSubsysFcnNames on
	      CustomSymbolStr	      "$R$N$M"
	      MangleLength	      1
	      DefineNamingRule	      "None"
	      ParamNamingRule	      "None"
	      SignalNamingRule	      "None"
	      InsertBlockDesc	      off
	      SimulinkBlockComments   on
	      EnableCustomComments    off
	      InlinedPrmAccess	      "Literals"
	      ReqsInCode	      off
	    }
	    Simulink.GRTTargetCC {
	      $BackupClass	      "Simulink.TargetCC"
	      $ObjectID		      10
	      Array {
		Type			"Cell"
		Dimension		12
		Cell			"IncludeMdlTerminateFcn"
		Cell			"CombineOutputUpdateFcns"
		Cell			"SuppressErrorStatus"
		Cell			"ERTCustomFileBanners"
		Cell			"GenerateSampleERTMain"
		Cell			"MultiInstanceERTCode"
		Cell			"PurelyIntegerCode"
		Cell			"SupportNonFinite"
		Cell			"SupportComplex"
		Cell			"SupportAbsoluteTime"
		Cell			"SupportContinuousTime"
		Cell			"SupportNonInlinedSFcns"
		PropName		"DisabledProps"
	      }
	      Version		      "1.1.0"
	      TargetFcnLib	      "ansi_tfl_tmw.mat"
	      TargetLibSuffix	      ""
	      TargetPreCompLibLocation ""
	      GenFloatMathFcnCalls    "ANSI_C"
	      UtilityFuncGeneration   "Auto"
	      GenerateFullHeader      on
	      GenerateSampleERTMain   off
	      IsPILTarget	      off
	      ModelReferenceCompliant on
	      IncludeMdlTerminateFcn  on
	      CombineOutputUpdateFcns off
	      SuppressErrorStatus     off
	      IncludeFileDelimiter    "Auto"
	      ERTCustomFileBanners    off
	      SupportAbsoluteTime     on
	      LogVarNameModifier      "rt_"
	      MatFileLogging	      on
	      MultiInstanceERTCode    off
	      SupportNonFinite	      on
	      SupportComplex	      on
	      PurelyIntegerCode	      off
	      SupportContinuousTime   on
	      SupportNonInlinedSFcns  on
	      ExtMode		      off
	      ExtModeStaticAlloc      off
	      ExtModeTesting	      off
	      ExtModeStaticAllocSize  1000000
	      ExtModeTransport	      0
	      ExtModeMexFile	      "ext_comm"
	      RTWCAPISignals	      off
	      RTWCAPIParams	      off
	      RTWCAPIStates	      off
	      GenerateASAP2	      off
	    }
	    PropName		    "Components"
	  }
	}
	PropName		"Components"
      }
      Name		      "Configuration"
      SimulationMode	      "normal"
      CurrentDlgPage	      "Solver"
    }
    PropName		    "ConfigurationSets"
  }
  Simulink.ConfigSet {
    $PropName		    "ActiveConfigurationSet"
    $ObjectID		    1
  }
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Abs
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      CombinatorialLogic
      TruthTable	      "[0 0;0 1;0 1;1 0;0 1;1 0;1 0;1 1]"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      EnablePort
      StatesWhenEnabling      "held"
      ShowOutputPort	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      From
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      FromWorkspace
      VariableName	      "simulink_input"
      SampleTime	      "-1"
      Interpolate	      on
      ZeroCross		      off
      OutputAfterFinalValue   "Extrapolation"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      HitCross
      HitCrossingOffset	      "0"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Integrator
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      IgnoreLimit	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      Logic
      Operator		      "AND"
      Inputs		      "2"
      AllPortsSameDT	      on
      OutDataTypeMode	      "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Memory
      X0		      "0"
      InheritSampleTime	      off
      LinearizeMemory	      off
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Signum
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "sldemo_clutch"
    Location		    [398, 246, 926, 824]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    212
    ScreenColor		    "white"
    PaperOrientation	    "portrait"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      FromWorkspace
      Name		      "Clutch\nPedal"
      Position		      [15, 470, 45, 500]
      VariableName	      "Fn"
      SampleTime	      "0"
    }
    Block {
      BlockType		      FromWorkspace
      Name		      "Engine\nTorque"
      Position		      [150, 286, 185, 334]
      VariableName	      "Tin"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Friction\nModel"
      Ports		      [1, 2]
      Position		      [70, 439, 120, 526]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Friction\nModel"
	Location		[289, 133, 676, 289]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Fn"
	  Position		  [15, 33, 40, 47]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Ratio of static\nto kinetic"
	  Position		  [185, 70, 265, 110]
	  Gain			  "mus/muk"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Torque\nConversion"
	  Position		  [75, 20, 155, 60]
	  Gain			  "2/3*R*muk"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tfmaxk"
	  Position		  [310, 33, 335, 47]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tfmaxs"
	  Position		  [310, 83, 335, 97]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Torque\nConversion"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Tfmaxk"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "Ratio of static\nto kinetic"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fn"
	  SrcPort		  1
	  DstBlock		  "Torque\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ratio of static\nto kinetic"
	  SrcPort		  1
	  DstBlock		  "Tfmaxs"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Friction Mode Logic"
      Ports		      [2, 4]
      Position		      [255, 397, 330, 538]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "plot([-3 1 1 3 -1 -1],[-1 -1 1 1 1 -1],-4,-5,4,"
"5)"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		1
	Name			"clutch locked"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"Friction Mode Logic"
	Location		[242, 410, 756, 699]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tin"
	  Position		  [15, 193, 45, 207]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tfmaxs"
	  Position		  [95, 93, 125, 107]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Break Apart\nDetection"
	  Ports			  [2, 1]
	  Position		  [210, 153, 300, 217]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Break Apart\nDetection"
	    Location		    [291, 135, 568, 260]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Tfmaxs"
	      Position		      [85, 63, 115, 77]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tf"
	      Position		      [20, 28, 50, 42]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Abs
	      Name		      "Abs"
	      Position		      [85, 23, 115, 47]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [145, 19, 170, 86]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "unlock"
	      Position		      [195, 48, 225, 62]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Tf"
	      SrcPort		      1
	      DstBlock		      "Abs"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      DstBlock		      "unlock"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Abs"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Tfmaxs"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Lockup\nDetection"
	  Ports			  [2, 1]
	  Position		  [210, 53, 300, 117]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Lockup\nDetection"
	    Location		    [291, 135, 844, 344]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Tin"
	      Position		      [15, 113, 40, 127]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tfmaxs"
	      Position		      [15, 148, 40, 162]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Friction Calc"
	      Ports		      [1, 1]
	      Position		      [65, 104, 175, 136]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"Friction Calc"
		Location		[287, 131, 807, 329]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "Torque"
		  Position		  [232, 40, 258, 55]
		  Orientation		  "down"
		  NamePlacement		  "alternate"
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Gain
		  Name			  "Engine\nDamping"
		  Position		  [145, 80, 195, 110]
		  NamePlacement		  "alternate"
		  Gain			  "be"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Inertia\nRatio"
		  Position		  [280, 78, 375, 112]
		  Gain			  "Iv/(Iv+Ie)"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [3, 1]
		  Position		  [235, 85, 255, 105]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "+--"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum1"
		  Ports			  [2, 1]
		  Position		  [405, 85, 425, 105]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "|++"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Vehicle\nDamping"
		  Position		  [140, 135, 190, 165]
		  Gain			  "bv"
		}
		Block {
		  BlockType		  From
		  Name			  "w1"
		  Position		  [15, 82, 90, 108]
		  GotoTag		  "unlocked_we"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Friction\nTorque"
		  Position		  [460, 89, 490, 101]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "w1"
		  SrcPort		  1
		  Points		  [15, 0]
		  Branch {
		    DstBlock		    "Engine\nDamping"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "Vehicle\nDamping"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Vehicle\nDamping"
		  SrcPort		  1
		  Points		  [50, 0]
		  Branch {
		    Points		    [170, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "Sum"
		    DstPort		    3
		  }
		}
		Line {
		  SrcBlock		  "Engine\nDamping"
		  SrcPort		  1
		  DstBlock		  "Sum"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Sum"
		  SrcPort		  1
		  DstBlock		  "Inertia\nRatio"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Torque"
		  SrcPort		  1
		  DstBlock		  "Sum"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Inertia\nRatio"
		  SrcPort		  1
		  DstBlock		  "Sum1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum1"
		  SrcPort		  1
		  DstBlock		  "Friction\nTorque"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "Logic"
	      Ports		      [2, 1]
	      Position		      [415, 47, 445, 83]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Required Friction\nfor Lockup"
	      Ports		      [2, 1]
	      Position		      [245, 100, 375, 175]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"Required Friction\nfor Lockup"
		Location		[287, 131, 582, 285]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "Friction\nTorque"
		  Position		  [25, 37, 55, 53]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Inport
		  Name			  "Max\nFriction\nTorque"
		  Position		  [100, 73, 130, 87]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Abs
		  Name			  "Abs"
		  Position		  [100, 33, 130, 57]
		  ShowName		  off
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Relational\nOperator"
		  Position		  [165, 28, 190, 97]
		  ShowName		  off
		  Operator		  "<="
		}
		Block {
		  BlockType		  Outport
		  Name			  "okay"
		  Position		  [215, 58, 240, 72]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Friction\nTorque"
		  SrcPort		  1
		  DstBlock		  "Abs"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Relational\nOperator"
		  SrcPort		  1
		  DstBlock		  "okay"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Abs"
		  SrcPort		  1
		  DstBlock		  "Relational\nOperator"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Max\nFriction\nTorque"
		  SrcPort		  1
		  DstBlock		  "Relational\nOperator"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [175, 45, 195, 65]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+-"
	    }
	    Block {
	      BlockType		      HitCross
	      Name		      "Velocities Match"
	      Ports		      [1, 1]
	      Position		      [295, 41, 325, 69]
	      HitCrossingDirection    "either"
	    }
	    Block {
	      BlockType		      From
	      Name		      "w1"
	      Position		      [65, 15, 150, 35]
	      ShowName		      off
	      GotoTag		      "unlocked_we"
	    }
	    Block {
	      BlockType		      From
	      Name		      "w6"
	      Position		      [65, 70, 150, 90]
	      ShowName		      off
	      GotoTag		      "unlocked_wv"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "lock"
	      Position		      [470, 58, 500, 72]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Friction Calc"
	      SrcPort		      1
	      DstBlock		      "Required Friction\nfor Lockup"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Tfmaxs"
	      SrcPort		      1
	      DstBlock		      "Required Friction\nfor Lockup"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Velocities Match"
	      SrcPort		      1
	      DstBlock		      "Logic"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Logic"
	      SrcPort		      1
	      DstBlock		      "lock"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Required Friction\nfor Lockup"
	      SrcPort		      1
	      Points		      [10, 0; 0, -65]
	      DstBlock		      "Logic"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "w1"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "w6"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Velocities Match"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Tin"
	      SrcPort		      1
	      DstBlock		      "Friction Calc"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Lockup FSM"
	  Ports			  [2, 1]
	  Position		  [350, 112, 420, 163]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Lockup FSM"
	    Location		    [289, 133, 678, 291]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "lock"
	      Position		      [45, 28, 70, 42]
	      NamePlacement	      "alternate"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "unlock"
	      Position		      [45, 48, 70, 62]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      CombinatorialLogic
	      Name		      "Combinatorial \nLogic"
	      Position		      [190, 40, 220, 70]
	      ShowName		      off
	      TruthTable	      "[0;1;0;0;1;1;1;0]"
	    }
	    Block {
	      BlockType		      Memory
	      Name		      "Memory"
	      Position		      [190, 105, 220, 135]
	      Orientation	      "left"
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [3, 1]
	      Position		      [125, 23, 155, 87]
	      ShowName		      off
	      Inputs		      "3"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "locked"
	      Position		      [285, 48, 310, 62]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Memory"
	      SrcPort		      1
	      Points		      [-80, 0; 0, -45]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Combinatorial \nLogic"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		DstBlock		"locked"
		DstPort			1
	      }
	      Branch {
		Points			[0, 65]
		DstBlock		"Memory"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "unlock"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "lock"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Combinatorial \nLogic"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Requisite Friction"
	  Ports			  [1, 1]
	  Position		  [85, 178, 165, 222]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Requisite Friction"
	    Location		    [289, 133, 842, 325]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Tin"
	      Position		      [205, 33, 235, 47]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Engine\nDamping"
	      Position		      [130, 60, 180, 90]
	      NamePlacement	      "alternate"
	      Gain		      "be"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Inertia\nRatio"
	      Position		      [290, 58, 385, 92]
	      Gain		      "Iv/(Iv+Ie)"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [3, 1]
	      Position		      [250, 65, 270, 85]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+--"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [410, 65, 430, 85]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Vehicle\nDamping"
	      Position		      [130, 110, 180, 140]
	      Gain		      "bv"
	    }
	    Block {
	      BlockType		      From
	      Name		      "w1"
	      Position		      [15, 65, 95, 85]
	      NamePlacement	      "alternate"
	      GotoTag		      "locked_w"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tf"
	      Position		      [455, 68, 480, 82]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "w1"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		Points			[0, 50]
		DstBlock		"Vehicle\nDamping"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Engine\nDamping"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Engine\nDamping"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Vehicle\nDamping"
	      SrcPort		      1
	      Points		      [75, 0]
	      Branch {
		DstBlock		"Sum"
		DstPort			3
	      }
	      Branch {
		Points			[160, 0]
		DstBlock		"Sum1"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Inertia\nRatio"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Tin"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Inertia\nRatio"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Tf"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "locked"
	  Position		  [455, 133, 485, 147]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "lock"
	  Position		  [455, 78, 485, 92]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "unlock"
	  Position		  [455, 178, 485, 192]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tf"
	  Position		  [455, 243, 485, 257]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Tin"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, -130]
	    DstBlock		    "Lockup\nDetection"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Requisite Friction"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Tfmaxs"
	  SrcPort		  1
	  Points		  [0, 0; 50, 0]
	  Branch {
	    DstBlock		    "Lockup\nDetection"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Break Apart\nDetection"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Requisite Friction"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    DstBlock		    "Break Apart\nDetection"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "Tf"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Break Apart\nDetection"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    Points		    [0, -35]
	    DstBlock		    "Lockup FSM"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "unlock"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Lockup\nDetection"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Lockup FSM"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "lock"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Lockup FSM"
	  SrcPort		  1
	  DstBlock		  "locked"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Clutch Friction Mode Logic"
	  Position		  [256, 21]
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Locked"
      Ports		      [1, 1, 1]
      Position		      [230, 265, 355, 355]
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "plot(-1,-6,6,12,[0 3],[3 3],[3 1 1 3], [1 1 5 5"
"],[2 4 4 2],[4 4 2 2],[4 5],[3 3])"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Locked"
	Location		[287, 131, 782, 411]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tin"
	  Position		  [40, 77, 70, 93]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [245, 15, 265, 35]
	  StatesWhenEnabling	  "reset"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Engine\nDamping"
	  Position		  [155, 140, 200, 170]
	  Orientation		  "left"
	  Gain			  "be"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Engine/Vehicle\nIntegrator"
	  Ports			  [2, 1, 0, 0, 1]
	  Position		  [330, 72, 360, 123]
	  InitialConditionSource  "external"
	  ShowStatePort		  on
	  IgnoreLimit		  off
	  Port {
	    PortNumber		    1
	    Name		    "Omega"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [385, 30, 455, 50]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  GotoTag		  "locked_w"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Inertia"
	  Position		  [155, 68, 250, 102]
	  Gain			  "1/(Iv+Ie)"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [110, 70, 140, 100]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "||+--"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Vehicle\nDamping"
	  Position		  [155, 209, 200, 241]
	  Orientation		  "left"
	  Gain			  "bv"
	}
	Block {
	  BlockType		  From
	  Name			  "w0"
	  Position		  [240, 99, 315, 121]
	  GotoTag		  "unlocked_we"
	}
	Block {
	  BlockType		  Outport
	  Name			  "w"
	  Position		  [430, 92, 460, 108]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "w0"
	  SrcPort		  1
	  DstBlock		  "Engine/Vehicle\nIntegrator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Engine/Vehicle\nIntegrator"
	  SrcPort		  state
	  Points		  [0, -27]
	  DstBlock		  "Goto"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Inertia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tin"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  Name			  "Omega"
	  Labels		  [0, 1]
	  SrcBlock		  "Engine/Vehicle\nIntegrator"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    DstBlock		    "w"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 90; -70, 0]
	    Branch {
	      Labels		      [-1, 0]
	      Points		      [0, -35]
	      DstBlock		      "Engine\nDamping"
	      DstPort		      1
	    }
	    Branch {
	      Labels		      [-1, 0]
	      Points		      [0, 35]
	      DstBlock		      "Vehicle\nDamping"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Engine\nDamping"
	  SrcPort		  1
	  Points		  [-25, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Inertia"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Engine/Vehicle\nIntegrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vehicle\nDamping"
	  SrcPort		  1
	  Points		  [-45, 0; 0, -119]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Logic
      Name		      "Logical\nOperator9"
      Ports		      [1, 1]
      Position		      [275, 190, 305, 220]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      Operator		      "NOT"
      Inputs		      "1"
      MaskDisplay	      " plot(0, -.25, 2., .5, [0 2 0 0], [-.5 0 .5 -.5"
"],.2*cos(0:.1:2*pi)+2.2, .1*sin(0:.1:2*pi))"
      MaskIconFrame	      off
      MaskIconOpaque	      on
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		1
	Name			"clutch slipping"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info"
      Ports		      []
      Position		      [15, 20, 39, 43]
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('?')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info"
	Location		[74, 74, 638, 771]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"99"
	Block {
	  BlockType		  Reference
	  Name			  "Model Info"
	  Ports			  []
	  Position		  [15, 14, 556, 688]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  12
	  SourceBlock		  "simulink/Model-Wide\nUtilities/Model Info"
	  SourceType		  "CMBlock"
	  ShowPortLabels	  "on"
	  InitialBlockCM	  "none"
	  BlockCM		  "none"
	  Frame			  "on"
	  DisplayStringWithTags	  "Model Description:\n-------------------\n%<"
"Description>"
	  MaskDisplayString	  "Model Description:\\n-------------------\\n"
"Clutch Lock-Up Simulation \\n\\nThe clutch system in this example consists of"
" two plates that transmit torque \\nbetween the engine and transmission. Ther"
"e are two distinct modes of operation; \\nslipping, where the two plates have"
" differing angular velocities; and lockup, where \\nthe two plates rotate tog"
"ether. Handling the transition between these two modes \\npresents a modeling"
" challenge. As the system loses a degree of freedom upon \\nlockup, the trans"
"mitted torque goes through a step discontinuity. The magnitude \\nof the torq"
"ue drops from the maximum value supported by the friction capacity \\nto a va"
"lue that is necessary to keep the two halves of the system spinning at the \\"
"nsame rate. The reverse transition, break-apart, as the torque transmitted by"
" the \\nclutch plates exceeds the friction capacity, is also challenging.\\n"
"\\nThere are two methods for solving this type of problem:\\n\\n* Compute the"
" clutch torque transmitted at all times, and employ this value directly \\nin"
" the model \\n* Use two different dynamic models and switch between them at t"
"he appropriate times\\n\\nSimulink can model either method. In this example, "
"we describe a simulation for \\nthe second method. In the second method, swit"
"ching between two dynamic \\nmodels must be performed with care to ensure tha"
"t the initialized states of the new \\nmodel match the state values immediate"
"ly prior to the switch. In either approach, \\nSimulink facilitates accurate "
"simulation due to its ability to recognize the precise \\nmoments at which tr"
"ansitions between lockup and slipping occur.\\n\\nIn the demonstration, we us"
"e enabled subsystems to build the clutch model. \\nTwo enabled subsystems mod"
"el the clutch dynamics in either the locked or \\nunlocked position. After ru"
"nning the simulation, a GUI opens. Checking any of \\nthe boxes on the GUI pr"
"oduces a plot of any of the selected variables (versus time). \\n\\nA detaile"
"d review of the equations used in this design can be found in \\nthe white pa"
"per <http://www.mathworks.com/mason/tag/proxy.html?dataid=229&fileid=559 \\nU"
"sing Simulink and Stateflow for Automotive Examples.> Please note\\nthat this"
" paper is based on an older version of Simulink and does not \\nuse all the n"
"ewest block diagramming features in the current version \\nof Simulink.\\n"
	  HorizontalTextAlignment "Left"
	  LeftAlignmentValue	  "0.02"
	  SourceBlockDiagram	  "sldemo_clutch"
	  TagMaxNumber		  "20"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Unlocked"
      Ports		      [2, 2, 1]
      Position		      [230, 73, 355, 162]
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "plot(-1,-2,6,8,[0 3],[3 3],[3 1 1 3], [1 1 5 5]"
",[2 4 4 2],[4 4 2 2],[4 5],[3 3])"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Unlocked"
	Location		[375, 677, 928, 1095]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tfmaxk"
	  Position		  [25, 198, 50, 212]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tin"
	  Position		  [25, 58, 55, 72]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [265, 15, 285, 35]
	  StatesWhenEnabling	  "reset"
	}
	Block {
	  BlockType		  Sum
	  Name			  "E_Sum"
	  Ports			  [3, 1]
	  Position		  [120, 50, 150, 80]
	  NamePlacement		  "alternate"
	  IconShape		  "round"
	  Inputs		  "||+--"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Engine\nDamping"
	  Position		  [180, 125, 250, 155]
	  Orientation		  "left"
	  Gain			  "be"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Engine\nInertia"
	  Position		  [185, 50, 250, 80]
	  Gain			  "1/Ie"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Engine\nIntegrator"
	  Ports			  [2, 1, 0, 0, 1]
	  Position		  [345, 50, 380, 105]
	  InitialConditionSource  "external"
	  ShowStatePort		  on
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [375, 18, 460, 42]
	  ShowName		  off
	  GotoTag		  "unlocked_we"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto1"
	  Position		  [375, 253, 460, 277]
	  ShowName		  off
	  GotoTag		  "unlocked_wv"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Product
	  Name			  "Max\nDynamic\nFriction\nTorque"
	  Ports			  [2, 1]
	  Position		  [75, 198, 105, 222]
	}
	Block {
	  BlockType		  Sum
	  Name			  "V_Sum"
	  Ports			  [2, 1]
	  Position		  [140, 200, 160, 220]
	  NamePlacement		  "alternate"
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Vehicle\nDamping"
	  Position		  [190, 285, 250, 315]
	  Orientation		  "left"
	  Gain			  "bv"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Vehicle\nInertia"
	  Position		  [180, 193, 240, 227]
	  Gain			  "1/Iv"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Vehicle\nIntegrator"
	  Ports			  [2, 1, 0, 0, 1]
	  Position		  [345, 195, 380, 250]
	  NamePlacement		  "alternate"
	  InitialConditionSource  "external"
	  ShowStatePort		  on
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "W_Slip"
	  Ports			  [2, 1]
	  Position		  [455, 130, 475, 150]
	  NamePlacement		  "alternate"
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  Signum
	  Name			  "slip direction"
	  Position		  [75, 333, 105, 357]
	  Orientation		  "left"
	}
	Block {
	  BlockType		  From
	  Name			  "w0"
	  Position		  [270, 223, 330, 247]
	  GotoTag		  "locked_w"
	}
	Block {
	  BlockType		  From
	  Name			  "w0 "
	  Position		  [270, 78, 330, 102]
	  GotoTag		  "locked_w"
	}
	Block {
	  BlockType		  Outport
	  Name			  "we"
	  Position		  [485, 73, 515, 87]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wv"
	  Position		  [485, 218, 515, 232]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "V_Sum"
	  SrcPort		  1
	  DstBlock		  "Vehicle\nInertia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vehicle\nDamping"
	  SrcPort		  1
	  Points		  [-35, 0]
	  DstBlock		  "V_Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Max\nDynamic\nFriction\nTorque"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "V_Sum"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -124]
	    DstBlock		    "E_Sum"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Tfmaxk"
	  SrcPort		  1
	  DstBlock		  "Max\nDynamic\nFriction\nTorque"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "slip direction"
	  SrcPort		  1
	  Points		  [-10, 0]
	  DstBlock		  "Max\nDynamic\nFriction\nTorque"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "W_Slip"
	  SrcPort		  1
	  Points		  [55, 0; 0, 205]
	  DstBlock		  "slip direction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Engine\nIntegrator"
	  SrcPort		  state
	  DstBlock		  "Goto"
	  DstPort		  1
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Engine\nInertia"
	  SrcPort		  1
	  DstBlock		  "Engine\nIntegrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "E_Sum"
	  SrcPort		  1
	  DstBlock		  "Engine\nInertia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Engine\nDamping"
	  SrcPort		  1
	  Points		  [-40, 0]
	  DstBlock		  "E_Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Engine\nIntegrator"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "we"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 60]
	    Branch {
	      DstBlock		      "Engine\nDamping"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "W_Slip"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "w0 "
	  SrcPort		  1
	  DstBlock		  "Engine\nIntegrator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Tin"
	  SrcPort		  1
	  DstBlock		  "E_Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vehicle\nIntegrator"
	  SrcPort		  state
	  DstBlock		  "Goto1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "w0"
	  SrcPort		  1
	  DstBlock		  "Vehicle\nIntegrator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Vehicle\nInertia"
	  SrcPort		  1
	  DstBlock		  "Vehicle\nIntegrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vehicle\nIntegrator"
	  SrcPort		  1
	  Points		  [80, 0]
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Vehicle\nDamping"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 0]
	    Branch {
	      DstBlock		      "wv"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "W_Slip"
	      DstPort		      2
	    }
	  }
	}
      }
    }
    Block {
      BlockType		      Outport
      Name		      "we"
      Position		      [450, 87, 480, 103]
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Block {
      BlockType		      Outport
      Name		      "wv"
      Position		      [450, 132, 480, 148]
      Port		      "2"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Block {
      BlockType		      Outport
      Name		      "w"
      Position		      [450, 302, 480, 318]
      Port		      "3"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Block {
      BlockType		      Outport
      Name		      "Locked Flag"
      Position		      [450, 407, 480, 423]
      Port		      "4"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Block {
      BlockType		      Outport
      Name		      "Lockup Flag"
      Position		      [450, 442, 480, 458]
      Port		      "5"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Block {
      BlockType		      Outport
      Name		      "Break-Apart Flag"
      Position		      [450, 477, 480, 493]
      Port		      "6"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Block {
      BlockType		      Outport
      Name		      "FrictionTorque\nRequired for Lockup"
      Position		      [450, 512, 480, 528]
      Port		      "7"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Block {
      BlockType		      Outport
      Name		      "Max Static \nFriction Torque"
      Position		      [170, 517, 200, 533]
      Port		      "8"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
      InitialOutput	      "0"
    }
    Line {
      SrcBlock		      "Friction Mode Logic"
      SrcPort		      3
      DstBlock		      "Break-Apart Flag"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Engine\nTorque"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[0, 0]
	Branch {
	  DstBlock		  "Locked"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 125]
	  DstBlock		  "Friction Mode Logic"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 0; 0, -170]
	DstBlock		"Unlocked"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Friction\nModel"
      SrcPort		      1
      Points		      [10, 0; 0, -365]
      DstBlock		      "Unlocked"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unlocked"
      SrcPort		      2
      DstBlock		      "wv"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unlocked"
      SrcPort		      1
      DstBlock		      "we"
      DstPort		      1
    }
    Line {
      Name		      "clutch locked"
      SrcBlock		      "Friction Mode Logic"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	DstBlock		"Locked Flag"
	DstPort			1
      }
      Branch {
	Points			[0, -175; -105, 0; 0, 0]
	Branch {
	  DstBlock		  "Logical\nOperator9"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Locked"
	  DstPort		  enable
	}
      }
    }
    Line {
      SrcBlock		      "Friction Mode Logic"
      SrcPort		      2
      DstBlock		      "Lockup Flag"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Friction Mode Logic"
      SrcPort		      4
      DstBlock		      "FrictionTorque\nRequired for Lockup"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Locked"
      SrcPort		      1
      DstBlock		      "w"
      DstPort		      1
    }
    Line {
      Name		      "clutch slipping"
      Labels		      [0, 0]
      SrcBlock		      "Logical\nOperator9"
      SrcPort		      1
      DstBlock		      "Unlocked"
      DstPort		      enable
    }
    Line {
      SrcBlock		      "Friction\nModel"
      SrcPort		      2
      Points		      [0, 0; 10, 0]
      Branch {
	DstBlock		"Friction Mode Logic"
	DstPort			2
      }
      Branch {
	Points			[0, 20]
	DstBlock		"Max Static \nFriction Torque"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Clutch\nPedal"
      SrcPort		      1
      DstBlock		      "Friction\nModel"
      DstPort		      1
    }
    Annotation {
      Name		      "Clutch Simulation\nA Demonstration of Enabled S"
"ubsystems"
      Position		      [295, 16]
      VerticalAlignment	      "top"
      FontSize		      14
      FontWeight	      "bold"
    }
  }
}
