Model {
  Name			  "sf_yoyo"
  Version		  4.00
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  on
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockNameDataTip	  off
  BlockParametersDataTip  on
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Sat Jan 22 16:33:28 2000"
  Creator		  "batserve"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "batserve"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Wed Oct  4 19:37:57 2000"
  ModelVersionFormat	  "1.%<AutoIncrement:134>"
  ConfigurationManager	  "none"
  SimParamPage		  "WorkspaceI/O"
  StartTime		  "0.0"
  StopTime		  "500"
  SolverMode		  "Auto"
  Solver		  "ode23"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "1"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  off
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  off
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Array"
  LimitDataPoints	  off
  MaxDataPoints		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  SingleTaskRateTransMsg  "none"
  MultiTaskRateTransMsg	  "error"
  IntegerOverflowMsg	  "warning"
  CheckForMatrixSingularity "none"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  LinearizationMsg	  "none"
  VectorMatrixConversionMsg "none"
  SfunCompatibilityCheckMsg "none"
  BlockPriorityViolationMsg "warning"
  ArrayBoundsChecking	  "none"
  ConsistencyChecking	  "none"
  ZeroCross		  on
  Profile		  off
  SimulationMode	  "normal"
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  ExtModeLogAll		  on
  OptimizeBlockIOStorage  off
  BufferReuse		  on
  ParameterPooling	  on
  BlockReductionOpt	  off
  BooleanDataType	  off
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  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		    "sf_yoyo"
    Location		    [22, 74, 818, 474]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    AutoZoom		    off
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Chart"
      Ports		      [0, 1, 0, 1]
      Position		      [35, 197, 140, 253]
      DropShadow	      on
      ShowPortLabels	      on
      TreatAsAtomicUnit	      on
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "Stateflow"
      MaskDescription	      "Stateflow diagram"
      MaskDisplay	      "plot(sf('Private','sfblk','xIcon'),sf('Private'"
",'sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'HorizontalAl',"
"'Center','VerticalAl','Bottom');"
      MaskSelfModifiable      on
      MaskIconFrame	      off
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Chart"
	Location		[257, 457, 812, 717]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  TriggerPort
	  Name			  " input events "
	  Ports			  [0, 1]
	  Position		  [20, 101, 40, 119]
	  TriggerType		  "either"
	  ShowOutputPort	  on
	  OutputDataType	  "auto"
	}
	Block {
	  BlockType		  Demux
	  Name			  " Demux "
	  Ports			  [1, 1]
	  Position		  [270, 160, 320, 200]
	  Outputs		  "1"
	  BusSelectionMode	  off
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  " SFunction "
	  Tag			  "Stateflow S-Function sf_yoyo 1"
	  Ports			  [1, 2]
	  Position		  [180, 100, 230, 160]
	  FunctionName		  "sf_sfun"
	  PortCounts		  "[1 2]"
	  SFunctionModules	  "''"
	}
	Block {
	  BlockType		  Terminator
	  Name			  " Terminator "
	  Position		  [460, 171, 480, 189]
	}
	Block {
	  BlockType		  Outport
	  Name			  "ReelState"
	  Position		  [460, 101, 480, 119]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  " SFunction "
	  SrcPort		  1
	  Points		  [0, 65]
	  DstBlock		  " Demux "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " Demux "
	  SrcPort		  1
	  DstBlock		  " Terminator "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " input events "
	  SrcPort		  1
	  DstBlock		  " SFunction "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " SFunction "
	  SrcPort		  2
	  DstBlock		  "ReelState"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Compute\ntheta"
      Ports		      [1, 1]
      Position		      [385, 135, 415, 165]
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0.16"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      Port {
	PortNumber		1
	Name			"theta"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Compute\ntheta_dot"
      Ports		      [1, 1]
      Position		      [280, 135, 310, 165]
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      Port {
	PortNumber		1
	Name			"theta_dot"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "Compute\ntheta_dot_dot"
      Position		      [180, 135, 240, 165]
      Expr		      "-(2*u(4)*u(2)+9.8*sin(u(1)))/u(3)"
    }
    Block {
      BlockType		      Integrator
      Name		      "Compute l"
      Ports		      [1, 1]
      Position		      [275, 210, 305, 240]
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "100"
      LimitOutput	      off
      UpperSaturationLimit    "105"
      LowerSaturationLimit    "95"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      Port {
	PortNumber		1
	Name			"l"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Energy\nscope"
      Ports		      [1]
      Position		      [640, 114, 670, 146]
      Floating		      off
      Location		      [696, 507, 1014, 712]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "500"
      YMin		      "94"
      YMax		      "106"
      SaveToWorkspace	      on
      SaveName		      "EnergyTraj"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      HitCross
      Name		      "Energy Low"
      Ports		      [1, 1]
      Position		      [635, 190, 665, 220]
      HitCrossingOffset	      "0.001"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [175, 210, 205, 240]
      Gain		      "20"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"l_dot"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Length\nscope"
      Ports		      [1]
      Position		      [400, 334, 430, 366]
      Floating		      off
      Location		      [696, 270, 1015, 476]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "500"
      YMin		      "94"
      YMax		      "106"
      SaveToWorkspace	      on
      SaveName		      "LengthTraj"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      HitCross
      Name		      "Lmax"
      Ports		      [1, 1]
      Position		      [465, 310, 495, 340]
      HitCrossingOffset	      "105"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
    }
    Block {
      BlockType		      HitCross
      Name		      "Lmin"
      Ports		      [1, 1]
      Position		      [465, 265, 495, 295]
      HitCrossingOffset	      "95"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [4, 1]
      Position		      [475, 171, 485, 234]
      ShowName		      off
      Inputs		      "4"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [5, 1]
      Position		      [720, 262, 750, 318]
      ShowName		      off
      Inputs		      "5"
      DisplayOption	      "none"
    }
    Block {
      BlockType		      Scope
      Name		      "Theta\nscope"
      Ports		      [1]
      Position		      [495, 134, 525, 166]
      Floating		      off
      Location		      [696, 49, 1016, 258]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "500"
      YMin		      "-0.15"
      YMax		      "0.175"
      SaveToWorkspace	      on
      SaveName		      "ThetaTraj"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      HitCross
      Name		      "ThetaDotZero"
      Ports		      [1, 1]
      Position		      [395, 45, 425, 75]
      HitCrossingOffset	      "0"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
    }
    Block {
      BlockType		      HitCross
      Name		      "ThetaZero"
      Ports		      [1, 1]
      Position		      [475, 65, 505, 95]
      HitCrossingOffset	      "0"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
    }
    Block {
      BlockType		      Fcn
      Name		      "Total energy "
      Position		      [550, 190, 610, 220]
      Expr		      "u(3)*9.8*(1-cos(u(1))) + 0.5*u(3)*u(3)*u(2)*u(2"
")"
    }
    Line {
      SrcBlock		      "Compute\ntheta_dot_dot"
      SrcPort		      1
      DstBlock		      "Compute\ntheta_dot"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Chart"
      SrcPort		      1
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      Name		      "theta_dot"
      Labels		      [0, 1]
      SrcBlock		      "Compute\ntheta_dot"
      SrcPort		      1
      Points		      [45, 0]
      Branch {
	Points			[0, 45]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	Points			[0, 0]
	Branch {
	  DstBlock		  "Compute\ntheta"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -90]
	  DstBlock		  "ThetaDotZero"
	  DstPort		  1
	}
      }
    }
    Line {
      Name		      "l_dot"
      Labels		      [0, 0]
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"Compute l"
	DstPort			1
      }
      Branch {
	Labels			[3, 0]
	Points			[0, 40; 150, 0; 0, -40]
	DstBlock		"Mux"
	DstPort			4
      }
    }
    Line {
      Name		      "theta"
      Labels		      [0, 1]
      SrcBlock		      "Compute\ntheta"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, 30]
	DstBlock		"Mux"
	DstPort			1
      }
      Branch {
	Points			[0, -70]
	DstBlock		"ThetaZero"
	DstPort			1
      }
      Branch {
	DstBlock		"Theta\nscope"
	DstPort			1
      }
    }
    Line {
      Labels		      [2, 0]
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [10, 0; 0, -270; -680, 0]
      DstBlock		      "Chart"
      DstPort		      trigger
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [40, 0]
      Branch {
	Points			[0, -90; -385, 0; 0, 35]
	DstBlock		"Compute\ntheta_dot_dot"
	DstPort			1
      }
      Branch {
	DstBlock		"Total energy "
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Energy Low"
      SrcPort		      1
      Points		      [5, 0; 0, 85]
      DstBlock		      "Mux1"
      DstPort		      3
    }
    Line {
      SrcBlock		      "ThetaZero"
      SrcPort		      1
      Points		      [175, 0; 0, 200]
      DstBlock		      "Mux1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "ThetaDotZero"
      SrcPort		      1
      Points		      [265, 0; 0, 210]
      DstBlock		      "Mux1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Lmin"
      SrcPort		      1
      Points		      [55, 0; 0, 20]
      DstBlock		      "Mux1"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Lmax"
      SrcPort		      1
      Points		      [55, 0; 0, -15]
      DstBlock		      "Mux1"
      DstPort		      5
    }
    Line {
      Name		      "l"
      Labels		      [0, 0]
      SrcBlock		      "Compute l"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	Points			[0, -15]
	DstBlock		"Mux"
	DstPort			3
      }
      Branch {
	Points			[0, 55]
	Branch {
	  DstBlock		  "Lmin"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 45]
	  Branch {
	    DstBlock		    "Lmax"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 25]
	    DstBlock		    "Length\nscope"
	    DstPort		    1
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Total energy "
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"Energy Low"
	DstPort			1
      }
      Branch {
	Points			[0, -75]
	DstBlock		"Energy\nscope"
	DstPort			1
      }
    }
    Annotation {
      Position		      [169, 334]
      Text		      "Yo-Yo control of a Tethered Satellite\n"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [180, 377]
      Text		      "For a demonstration, select Start from the Simu"
"lation menu."
      FontName		      "Century Schoolbook"
      FontSize		      12
      FontWeight	      "bold"
      FontAngle		      "italic"
    }
    Annotation {
      Position		      [174, 344]
      Text		      "Reference book: Mastering Simulink by Dabney, J"
"ames B."
      FontName		      "Arial"
      FontSize		      12
      FontAngle		      "italic"
    }
  }
}

# Finite State Machines
# -- File save dated 04-Oct-2000 19:37:58
#
#    Stateflow Version 4.0 (R12) dated Oct  4 2000, 19:34:51
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"sf_yoyo"
		created              		"23-Jan-2000 12:18:41"
		firstTarget          		23
		debug {
			breakOn              		[1 0 0]
		}
		sfVersion            		40012071
	}

	chart {
		id                       		2
		name                     		"Chart"
		windowPosition           		[48 29.25 452.25 381]
		viewLimits               		[6.144 411.994 13.5 355.5]
		screen                   		[1 1 1280 1024 1.25]
		treeNode                 		[0 3 0 0]
		firstTransition          		9
		viewObj                  		2
		visible                  		1
		machine                  		1
		subviewS {
		}
		decomposition            		CLUSTER_CHART
		firstEvent               		16
		firstData                		21
		sampleTime               		"1"
		chartFileNumber          		1
	}

	state {
		id             		3
		labelString    		"Active"
		position       		[14.783 64.312 376.771 201.187]
		fontSize       		10
		arrowSize      		10
		chart          		2
		treeNode       		[2 4 0 8]
		firstTransition		10
		subviewer      		2
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		4
		labelString    		"ReelMoving\n"
						"/* example of Moore type action */\n"
						"exit: ReelState = 0;"
		position       		[190.247 79.5 174.874 169.875]
		fontSize       		10
		arrowSize      		10
		chart          		2
		treeNode       		[3 5 0 6]
		subviewer      		2
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		5
		labelString    		"ReelOut\n"
						"entry: ReelState = 1;"
		position       		[217.191 130.312 114.366 38.437]
		fontSize       		10
		arrowSize      		10
		chart          		2
		treeNode       		[4 0 0 7]
		subviewer      		2
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		6
		labelString    		"ReelStop"
		position       		[32.448 138.75 59.224 87.188]
		fontSize       		10
		arrowSize      		10
		chart          		2
		treeNode       		[3 0 4 0]
		subviewer      		2
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		7
		labelString    		"ReelIn\n"
						"entry:ReelState= -1;"
		position       		[220.65 191.249 113.719 36.563]
		fontSize       		10
		arrowSize      		10
		chart          		2
		treeNode       		[4 0 5 0]
		subviewer      		2
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	state {
		id             		8
		labelString    		"Inactive"
		position       		[127.882 305.25 83.682 32.25]
		fontSize       		10
		arrowSize      		10
		chart          		2
		treeNode       		[2 0 3 0]
		subviewer      		2
		type           		OR_STATE
		decomposition  		CLUSTER_STATE
	}

	transition {
		id             		9
		labelString    		"{ReelState = 0;} /* example of Mealy type action */"
		labelPosition  		[173.755 36 229.742 13.616]
		fontSize       		10
		arrowSize      		10
		src {
			intersection		[0 0 0 0 168.3771722186163 31.50000000000003 0]
		}
		dst {
			id          		3
			intersection		[1 0 -1 0.4076597736287139 168.3772551876012 64.31249999999997 
								  0]
		}
		midPoint       		[168.3771722186164 43.29368373469212]
		chart          		2
		linkNode       		[2 0 15]
		dataLimits     		[165.377 171.377 31.5 64.312]
		subviewer      		2
	}

	transition {
		id             		10
		labelPosition  		[57.445 111.198 7.204 13.616]
		fontSize       		10
		arrowSize      		10
		src {
			intersection		[0 0 0 0 64.49987461773699 110.24975 0]
		}
		dst {
			id          		6
			intersection		[1 0 -1 0.5337098199578141 64.05630499491858 138.7505 
								  0]
		}
		midPoint       		[64.21037944322131 119.7931138187029]
		chart          		2
		linkNode       		[3 0 11]
		dataLimits     		[61.056 67.056 110.25 138.75]
		subviewer      		2
	}

	transition {
		id             		11
		labelString    		"ThetaZero"
		labelPosition  		[127.433 136.16 48.83 13.616]
		fontSize       		10
		arrowSize      		10
		src {
			id          		6
			intersection		[2 1 0 0.116071428571428 91.67187461773699 148.8705357142857 
								  0]
		}
		dst {
			id          		5
			intersection		[4 -1 0 0.5268292682926786 217.190874617737 148.4997634146343 
								  0]
		}
		midPoint       		[151.8336500437304 148.6729319518398]
		chart          		2
		linkNode       		[3 10 12]
		dataLimits     		[91.672 217.191 145.5 151.5]
		subviewer      		2
	}

	transition {
		id             		12
		labelString    		"Lmax"
		labelPosition  		[136.206 158.491 24.815 13.616]
		fontSize       		10
		arrowSize      		10
		src {
			id          		5
			intersection		[4 -1 0 0.273170731707312 217.190874617737 158.249636585366 
								  0]
		}
		dst {
			id          		6
			intersection		[2 1 0 0.223655913978492 91.67187461773699 158.2506118279568 
								  0]
		}
		midPoint       		[157.0280683144642 158.2499999999999]
		chart          		2
		linkNode       		[3 11 13]
		dataLimits     		[91.672 217.191 155.251 161.251]
		subviewer      		2
	}

	transition {
		id             		13
		labelString    		"Lmin"
		labelPosition  		[137.974 190.5 22.414 13.616]
		fontSize       		10
		arrowSize      		10
		src {
			id          		7
			intersection		[4 -1 0 0.6717948717948734 220.649874617737 203.249664102564 
								  0]
		}
		dst {
			id          		6
			intersection		[2 1 0 0.7397849462365566 91.67187461773699 203.2508698924729 
								  0]
		}
		midPoint       		[158.6825858760127 203.2499999999999]
		chart          		2
		linkNode       		[3 12 14]
		dataLimits     		[91.672 220.65 200.251 206.251]
		subviewer      		2
	}

	transition {
		id             		14
		labelString    		"ThetaDotZero"
		labelPosition  		[118.258 211.543 64.84 13.616]
		fontSize       		10
		arrowSize      		10
		src {
			id          		6
			intersection		[2 1 0 0.8387096774193542 91.67187461773699 211.8759193548386 
								  0]
		}
		dst {
			id          		7
			intersection		[4 -1 0 0.4358974358974344 220.649874617737 211.8747820512821 
								  0]
		}
		midPoint       		[153.6385842083201 211.875]
		chart          		2
		linkNode       		[3 13 0]
		dataLimits     		[91.672 220.65 208.875 214.875]
		subviewer      		2
	}

	transition {
		id             		15
		labelString    		"EnergyLow"
		labelPosition  		[180.494 277.63 52.032 13.616]
		fontSize       		10
		arrowSize      		10
		src {
			id          		3
			intersection		[3 0 1 0.5800708510414468 173 265.4995 0]
		}
		dst {
			id          		8
			intersection		[1 0 -1 0.5396774707843576 173.0431647279136 305.2495 
								  0]
		}
		midPoint       		[173.0229890225101 280.9127486978217]
		chart          		2
		linkNode       		[2 9 0]
		dataLimits     		[170.043 176.043 265.5 305.25]
		subviewer      		2
	}

	event {
		id         		16
		name       		"ThetaDotZero"
		linkNode   		[2 0 17]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	event {
		id         		17
		name       		"ThetaZero"
		linkNode   		[2 16 18]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	event {
		id         		18
		name       		"EnergyLow"
		linkNode   		[2 17 19]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	event {
		id         		19
		name       		"Lmin"
		linkNode   		[2 18 20]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	event {
		id         		20
		name       		"Lmax"
		linkNode   		[2 19 0]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	data {
		id               		21
		name             		"ReelState"
		linkNode         		[2 0 0]
		scope            		OUTPUT_DATA
		machine          		1
		dataType         		"double"
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	instance {
		id     		22
		name   		"Chart"
		machine		1
		chart  		2
	}

	target {
		id               		23
		name             		"sfun"
		description      		"Default Simulink S-Function Target."
		machine          		1
		linkNode         		[1 0 0]
	}
}
