Library {
  Name			  "aero_libdap"
  Version		  6.2
  MdlSubVersion		  0
  SavedCharacterEncoding  "US-ASCII"
  SaveDefaultBlockParams  on
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  off
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  ShowLoopsOnError	  on
  IgnoreBidirectionalLines off
  ShowStorageClass	  off
  ShowTestPointIcons	  on
  ShowViewerIcons	  on
  SortedOrder		  off
  ExecutionContextIcon	  off
  ShowLinearizationAnnotations on
  CovSaveName		  "covdata"
  CovMetricSettings	  "d"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  covSaveCumulativeToWorkspaceVar on
  CovSaveSingleToWorkspaceVar on
  CovCumulativeReport	  off
  CovReportOnPause	  on
  ScopeRefreshTime	  0.035000
  OverrideScopeRefreshTime on
  DisableAllScopes	  off
  BlockNameDataTip	  off
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  off
  StatusBar		  off
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Thu Jun 03 13:35:22 1999"
  Creator		  "The MathWorks Inc."
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "batserve"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Jan 22 19:07:59 2005"
  ModelVersionFormat	  "1.%<AutoIncrement:20>"
  ConfigurationManager	  "none"
  LinearizationMsg	  "none"
  Profile		  off
  ParamWorkspaceSource	  "MATLABWorkspace"
  ExtModeBatchMode	  off
  ExtModeEnableFloating	  on
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "normal"
  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	  on
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock off
  StrictBusMsg		  "None"
  ProdHWDeviceType	  "32-bit Generic"
  ShowModelReferenceBlockVersion off
  ShowModelReferenceBlockIO off
  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		      Constant
      Value		      "1"
      VectorParams1D	      on
      OutDataTypeMode	      "Inherit from 'Constant value'"
      OutDataType	      "sfix(16)"
      ConRadixGroup	      "Use specified scaling"
      OutScaling	      "2^0"
      SampleTime	      "inf"
    }
    Block {
      BlockType		      DataStoreRead
    }
    Block {
      BlockType		      DataStoreWrite
    }
    Block {
      BlockType		      Demux
      Outputs		      "4"
      DisplayOption	      "none"
      BusSelectionMode	      off
    }
    Block {
      BlockType		      DigitalClock
      SampleTime	      "1"
    }
    Block {
      BlockType		      EnablePort
      StatesWhenEnabling      "held"
      ShowOutputPort	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      Fcn
      Expr		      "sin(u[1])"
      SampleTime	      "-1"
    }
    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		      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		      Logic
      Operator		      "AND"
      Inputs		      "2"
      AllPortsSameDT	      on
      OutDataTypeMode	      "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    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		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    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"
    }
    Block {
      BlockType		      Terminator
    }
  }
  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		    "aero_libdap"
    Location		    [145, 209, 511, 446]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Pitch Roll Control Law"
      Ports		      [2, 1]
      Position		      [125, 132, 250, 188]
      BackgroundColor	      "cyan"
      NamePlacement	      "alternate"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Control Law"
      MaskDescription	      "Implements Control Law for the LM. Works for ya"
"w, u and v jet axes."
      MaskPromptString	      "Single Jet Accel:|Single Jet Switch Curve Accel"
":|Dead Band:|Min. Jet On Time:|Sample Time:"
      MaskStyleString	      "edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on"
      MaskCallbackString      "||||"
      MaskEnableString	      "on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on"
      MaskVarAliasString      ",,,,"
      MaskVariables	      "alph=@1;alphs=@2;DB=@3;tmin=@4;delt=@5;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "||DB|tmin|delt"
      MaskTabNameString	      ",,,,"
      System {
	Name			"Pitch Roll Control Law"
	Location		[101, 165, 1113, 716]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Position"
	  Position		  [15, 83, 45, 97]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    Name		    "e"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Inport
	  Name			  "Rate"
	  Position		  [15, 118, 45, 132]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    Name		    "edot"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "2*alphs/( alph + alphs )"
	  Position		  [445, 370, 485, 410]
	  Orientation		  "up"
	  BackgroundColor	  "cyan"
	  Gain			  "2*alphs/( alph + alphs )"
	}
	Block {
	  BlockType		  Fcn
	  Name			  ">= 0"
	  Position		  [480, 275, 505, 305]
	  BackgroundColor	  "cyan"
	  Expr			  "u*( u >= 0 )"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [345, 410, 375, 440]
	  BackgroundColor	  "cyan"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Accleration\nfrom a Single Jet"
	  Position		  [35, 252, 80, 268]
	  BackgroundColor	  "cyan"
	  NamePlacement		  "alternate"
	  Value			  "alph"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Chart"
	  Ports			  [8, 3]
	  Position		  [570, 57, 685, 313]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Stateflow"
	  MaskDescription	  "Stateflow diagram"
	  MaskDisplay		  "plot(sf('Private','sfblk','xIcon'),sf('Priv"
"ate','sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'Horizontal"
"Al','Center','VerticalAl','Bottom');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  Port {
	    PortNumber		    1
	    Name		    "Jet Command"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    Name		    "enable"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    3
	    Name		    "ton"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  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"
	    Block {
	      BlockType		      Inport
	      Name		      "Nofjets"
	      Position		      [20, 101, 40, 119]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "e"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Firefct1"
	      Position		      [20, 171, 40, 189]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Coastfct1"
	      Position		      [20, 206, 40, 224]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Firefct2"
	      Position		      [20, 246, 40, 264]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Coastfct2"
	      Position		      [20, 281, 40, 299]
	      Port		      "6"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "tjcalc1"
	      Position		      [20, 316, 40, 334]
	      Port		      "7"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "tjcalc"
	      Position		      [20, 351, 40, 369]
	      Port		      "8"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 285, 320, 325]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function aero_libdap 1"
	      Ports		      [8, 4]
	      Position		      [180, 105, 230, 285]
	      FunctionName	      "sf_sfun"
	      Parameters	      "delt,tmin"
	      PortCounts	      "[8 4]"
	      Port {
		PortNumber		2
		Name			"jets"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		3
		Name			"enable"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		4
		Name			"ton"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 296, 480, 314]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "jets"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "enable"
	      Position		      [460, 136, 480, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ton"
	      Position		      [460, 171, 480, 189]
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 175]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Nofjets"
	      SrcPort		      1
	      Points		      [120, 0]
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "e"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Firefct1"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Coastfct1"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Firefct2"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "Coastfct2"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "tjcalc1"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "tjcalc"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      8
	    }
	    Line {
	      Name		      "jets"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "jets"
	      DstPort		      1
	    }
	    Line {
	      Name		      "enable"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      3
	      DstBlock		      "enable"
	      DstPort		      1
	    }
	    Line {
	      Name		      "ton"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      4
	      DstBlock		      "ton"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  DigitalClock
	  Name			  "Clock at counter\ntime tic (0.000625) clock"
"t"
	  Position		  [590, 416, 640, 434]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  SampleTime		  "0.000625"
	}
	Block {
	  BlockType		  DigitalClock
	  Name			  "Clock at time\ndelt (Sample time)"
	  Position		  [590, 436, 640, 454]
	  BackgroundColor	  "yellow"
	  SampleTime		  "delt"
	}
	Block {
	  BlockType		  DataStoreRead
	  Name			  "Data Store\nRead"
	  Position		  [100, 349, 165, 381]
	  ShowName		  off
	  DataStoreName		  "PitchRollJets"
	  SampleTime		  "delt"
	}
	Block {
	  BlockType		  DataStoreRead
	  Name			  "Data Store\nRead1"
	  Position		  [312, 30, 378, 60]
	  Orientation		  "down"
	  ShowName		  off
	  DataStoreName		  "PitchRollJets"
	  SampleTime		  "delt"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Dead Zone"
	  Position		  [40, 470, 70, 500]
	  BackgroundColor	  "cyan"
	  Value			  "DB"
	}
	Block {
	  BlockType		  Product
	  Name			  "Divide\ne and edot\nby N*alph"
	  Ports			  [3, 1]
	  Position		  [200, 236, 220, 284]
	  BackgroundColor	  "cyan"
	  Inputs		  "*//"
	}
	Block {
	  BlockType		  Product
	  Name			  "Divide DB\nby N*alph"
	  Ports			  [3, 1]
	  Position		  [185, 447, 205, 493]
	  BackgroundColor	  "cyan"
	  Inputs		  "//*"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Jet On TIme Counter"
	  Ports			  [3, 1, 1]
	  Position		  [705, 394, 810, 456]
	  BackgroundColor	  "yellow"
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  Port {
	    PortNumber		    1
	    Name		    "Counter\nOutput"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Jet On TIme Counter"
	    Location		    [297, 74, 1237, 613]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "ton"
	      Position		      [50, 93, 80, 107]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	      Port {
		PortNumber		1
		Name			"ton"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Clock at tics"
	      Position		      [50, 153, 80, 167]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	      Port {
		PortNumber		1
		Name			"Time in clockt\nmultiples"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Clock at\nSample Time"
	      Position		      [50, 218, 80, 232]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	      Port {
		PortNumber		1
		Name			"Time in delt\nmultiples"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [480, 15, 500, 35]
	      StatesWhenEnabling      "reset"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [400, 170, 430, 200]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Value		      "0"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [400, 92, 430, 123]
	      Operator		      ">"
	      Port {
		PortNumber		1
		Name			"Stop Command"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [260, 90, 280, 110]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      Port {
		PortNumber		1
		Name			"Count down of ton"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [190, 150, 210, 170]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      Port {
		PortNumber		1
		Name			"Time after last\nsample in clock tics"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Stop jets"
	      Position		      [555, 103, 585, 117]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [-15, 0; 0, -70]
	      DstBlock		      "Relational\nOperator"
	      DstPort		      2
	    }
	    Line {
	      Name		      "ton"
	      Labels		      [0, 0]
	      SrcBlock		      "ton"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Time in clockt\nmultiples"
	      Labels		      [0, 1]
	      SrcBlock		      "Clock at tics"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Time in delt\nmultiples"
	      Labels		      [0, 1]
	      SrcBlock		      "Clock at\nSample Time"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      Name		      "Time after last\nsample in clock tics"
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      Points		      [55, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      Name		      "Count down of ton"
	      Labels		      [1, 0]
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Stop Command"
	      Labels		      [1, 0]
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      DstBlock		      "Stop jets"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [2, 1]
	  Position		  [840, 229, 865, 256]
	  BackgroundColor	  "yellow"
	  Operator		  "NOR"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator1"
	  Ports			  [2, 1]
	  Position		  [900, 238, 920, 262]
	  BackgroundColor	  "yellow"
	  Operator		  "OR"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [135, 73, 140, 142]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [945, 226, 975, 259]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Select e/alph"
	  Ports			  [1, 1]
	  Position		  [265, 413, 295, 437]
	  BackgroundColor	  "cyan"
	  Elements		  "[1]"
	  InputPortWidth	  "2"
	  Port {
	    PortNumber		    1
	    Name		    "e/alph"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Selector
	  Name			  "Select edot/alph"
	  Ports			  [1, 1]
	  Position		  [300, 247, 335, 273]
	  BackgroundColor	  "cyan"
	  Elements		  "[2]"
	  InputPortWidth	  "2"
	}
	Block {
	  BlockType		  Product
	  Name			  "Square"
	  Ports			  [2, 1]
	  Position		  [413, 295, 437, 315]
	  Orientation		  "down"
	  BackgroundColor	  "cyan"
	  NamePlacement		  "alternate"
	  Port {
	    PortNumber		    1
	    Name		    "(edot/alph)^2"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Math
	  Name			  "Square root"
	  Ports			  [1, 1]
	  Position		  [520, 275, 550, 305]
	  BackgroundColor	  "cyan"
	  Operator		  "sqrt"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [2, 1]
	  Position		  [400, 123, 500, 152]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem"
	    Location		    [303, 80, 1243, 619]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [135, 95, 165, 115]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alph)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-++"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Firefct1"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Firefct1"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Firefct1\nThis function establishes whe"
"n the jets are to be fired in a negative sense\nFirefct1 = e + edot ^2/(2*N*a"
"lph) - DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem1"
	  Ports			  [2, 1]
	  Position		  [400, 153, 500, 182]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem1"
	    Location		    [301, 78, 1241, 617]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [135, 90, 165, 110]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alphs)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-+-"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Coastfct1"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Coastfct1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Coastfct1\nThis function establishes wh"
"en the jets are to be turned off (coasting)\nCoastfct1 = e - edot ^2/(2*N*alp"
"hs) - DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem2"
	  Ports			  [2, 1]
	  Position		  [400, 183, 500, 212]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem2"
	    Location		    [301, 78, 1241, 617]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [130, 90, 160, 110]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alph)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "++-"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Firefct2"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Firefct2"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Firefct2\nThis function establishes whe"
"n the jets are to be fired in a positive sense\nFirefct2 = e - edot ^2/(2*N*a"
"lph) + DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem3"
	  Ports			  [2, 1]
	  Position		  [400, 213, 500, 242]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem3"
	    Location		    [301, 78, 1241, 617]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [135, 90, 165, 110]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alphs)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+++"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Coastfct2"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Coastfct2"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Coastfct2\nThis function establishes wh"
"en the jets are to be turned off (coasting)\nCoastfct1 = e + edot ^2/(2*N*alp"
"hs) + DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [415, 415, 435, 435]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "++-"
	}
	Block {
	  BlockType		  Gain
	  Name			  "divide by 2"
	  Position		  [406, 355, 444, 385]
	  Orientation		  "down"
	  BackgroundColor	  "cyan"
	  NamePlacement		  "alternate"
	  Gain			  "0.5"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Jet\nCommand"
	  Position		  [1020, 240, 1050, 250]
	  BackgroundColor	  "yellow"
	  IconDisplay		  "Port number"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Data Store\nRead1"
	  SrcPort		  1
	  Points		  [0, 15]
	  Branch {
	    Points		    [0, 65]
	    Branch {
	      Points		      [0, 30]
	      Branch {
		Points			[0, 30]
		Branch {
		  Points		  [0, 30]
		  DstBlock		  "Subsystem3"
		  DstPort		  2
		}
		Branch {
		  DstBlock		  "Subsystem2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Subsystem1"
		DstPort			2
	      }
	    }
	    Branch {
	      DstBlock		      "Subsystem"
	      DstPort		      2
	    }
	  }
	  Branch {
	    DstBlock		    "Chart"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "edot"
	  Labels		  [0, 1]
	  SrcBlock		  "Rate"
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  2
	}
	Line {
	  Name			  "e"
	  Labels		  [0, 1]
	  SrcBlock		  "Position"
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Labels		    [-1, 1]
	    DstBlock		    "Chart"
	    DstPort		    2
	  }
	  Branch {
	    Labels		    [1, 0]
	    Points		    [80, 0]
	    Branch {
	      Points		      [-80, 0; 0, 135]
	      DstBlock		      "Divide\ne and edot\nby N*alph"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 20]
	      Branch {
		DstBlock		"Subsystem"
		DstPort			1
	      }
	      Branch {
		Points			[0, 30]
		Branch {
		  DstBlock		  "Subsystem1"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 30]
		  Branch {
		    DstBlock		    "Subsystem2"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 30]
		    DstBlock		    "Subsystem3"
		    DstPort		    1
		  }
		}
	      }
	    }
	  }
	}
	Line {
	  Name			  "(edot/alph)^2"
	  Labels		  [0, 0]
	  SrcBlock		  "Square"
	  SrcPort		  1
	  DstBlock		  "divide by 2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Square root"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  8
	}
	Line {
	  Name			  "Jet Command"
	  Labels		  [0, 0]
	  SrcBlock		  "Chart"
	  SrcPort		  1
	  Points		  [235, 0; 0, 135]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Select edot/alph"
	  SrcPort		  1
	  Points		  [80, 0]
	  Branch {
	    DstBlock		    "Square"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0]
	    Branch {
	      DstBlock		      "Chart"
	      DstPort		      7
	    }
	    Branch {
	      DstBlock		      "Square"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  Name			  "e/alph"
	  Labels		  [0, 0]
	  SrcBlock		  "Select e/alph"
	  SrcPort		  1
	  DstBlock		  "Abs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "divide by 2"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "2*alphs/( alph + alphs )"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Divide\ne and edot\nby N*alph"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Select edot/alph"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 165]
	    DstBlock		    "Select e/alph"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Data Store\nRead"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [0, -90]
	    DstBlock		    "Divide\ne and edot\nby N*alph"
	    DstPort		    3
	  }
	  Branch {
	    DstBlock		    "Divide DB\nby N*alph"
	    DstPort		    1
	  }
	}
	Line {
	  Labels		  [1, 0]
	  SrcBlock		  "Accleration\nfrom a Single Jet"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Divide\ne and edot\nby N*alph"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 210]
	    DstBlock		    "Divide DB\nby N*alph"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Dead Zone"
	  SrcPort		  1
	  DstBlock		  "Divide DB\nby N*alph"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Divide DB\nby N*alph"
	  SrcPort		  1
	  Points		  [215, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  Name			  "enable"
	  Labels		  [1, 0]
	  SrcBlock		  "Chart"
	  SrcPort		  2
	  Points		  [65, 0; 0, 50]
	  Branch {
	    DstBlock		    "Jet On TIme Counter"
	    DstPort		    enable
	  }
	  Branch {
	    Labels		    [1, 0]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  Name			  "ton"
	  SrcBlock		  "Chart"
	  SrcPort		  3
	  DstBlock		  "Jet On TIme Counter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Clock at counter\ntime tic (0.000625) clock"
"t"
	  SrcPort		  1
	  DstBlock		  "Jet On TIme Counter"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Clock at time\ndelt (Sample time)"
	  SrcPort		  1
	  DstBlock		  "Jet On TIme Counter"
	  DstPort		  3
	}
	Line {
	  Name			  "Counter\nOutput"
	  Labels		  [0, 0]
	  SrcBlock		  "Jet On TIme Counter"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Labels		    [-1, 0]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [60, 0]
	    DstBlock		    "Logical\nOperator1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem3"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Subsystem2"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Subsystem1"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  3
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Jet\nCommand"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "2*alphs/( alph + alphs )"
	  SrcPort		  1
	  DstBlock		  ">= 0"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  ">= 0"
	  SrcPort		  1
	  DstBlock		  "Square root"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Logic implements:\n~(enable | stopjets) | s"
"topjets"
	  Position		  [974, 315]
	  BackgroundColor	  "yellow"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Yaw Control Law"
      Ports		      [2, 1]
      Position		      [125, 52, 250, 108]
      BackgroundColor	      "cyan"
      NamePlacement	      "alternate"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Control Law"
      MaskDescription	      "Implements Control Law for the LM. Works for ya"
"w, u and v jet axes."
      MaskPromptString	      "Single Jet Accel:|Single Jet Switch Curve Accel"
":|Dead Band:|Min Jet On Time:|Sample Time:"
      MaskStyleString	      "edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on"
      MaskCallbackString      "||||"
      MaskEnableString	      "on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on"
      MaskVarAliasString      ",,,,"
      MaskVariables	      "alph=@1;alphs=@2;DB=@3;tmin=@4;delt=@5;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "||DB|tmin|delt"
      MaskTabNameString	      ",,,,"
      System {
	Name			"Yaw Control Law"
	Location		[57, 121, 1069, 672]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Position"
	  Position		  [15, 83, 45, 97]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    Name		    "e"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Inport
	  Name			  "Rate"
	  Position		  [15, 118, 45, 132]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    Name		    "edot"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "2*alphs/( alph + alphs )"
	  Position		  [450, 365, 490, 405]
	  Orientation		  "up"
	  BackgroundColor	  "cyan"
	  Gain			  "2*alphs/( alph + alphs )"
	}
	Block {
	  BlockType		  Fcn
	  Name			  ">= 0"
	  Position		  [485, 274, 510, 306]
	  BackgroundColor	  "cyan"
	  Expr			  "u*( u >= 0 )"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [345, 410, 375, 440]
	  BackgroundColor	  "cyan"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Accleration\nfrom a Single Jet"
	  Position		  [35, 252, 80, 268]
	  BackgroundColor	  "cyan"
	  NamePlacement		  "alternate"
	  Value			  "alph"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Chart"
	  Ports			  [8, 3]
	  Position		  [570, 57, 685, 313]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Stateflow"
	  MaskDescription	  "Stateflow diagram"
	  MaskDisplay		  "plot(sf('Private','sfblk','xIcon'),sf('Priv"
"ate','sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'Horizontal"
"Al','Center','VerticalAl','Bottom');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  Port {
	    PortNumber		    1
	    Name		    "Jet Command"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    Name		    "enable"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    3
	    Name		    "ton"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  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"
	    Block {
	      BlockType		      Inport
	      Name		      "Nofjets"
	      Position		      [20, 101, 40, 119]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "e"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Firefct1"
	      Position		      [20, 171, 40, 189]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Coastfct1"
	      Position		      [20, 206, 40, 224]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Firefct2"
	      Position		      [20, 246, 40, 264]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Coastfct2"
	      Position		      [20, 281, 40, 299]
	      Port		      "6"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "tjcalc1"
	      Position		      [20, 316, 40, 334]
	      Port		      "7"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "tjcalc"
	      Position		      [20, 351, 40, 369]
	      Port		      "8"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 285, 320, 325]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function aero_libdap 4"
	      Ports		      [8, 4]
	      Position		      [180, 105, 230, 285]
	      FunctionName	      "sf_sfun"
	      Parameters	      "delt,tmin"
	      PortCounts	      "[8 4]"
	      Port {
		PortNumber		2
		Name			"jets"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		3
		Name			"enable"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		4
		Name			"ton"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 296, 480, 314]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "jets"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "enable"
	      Position		      [460, 136, 480, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ton"
	      Position		      [460, 171, 480, 189]
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 175]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Nofjets"
	      SrcPort		      1
	      Points		      [120, 0]
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "e"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Firefct1"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Coastfct1"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Firefct2"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "Coastfct2"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "tjcalc1"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "tjcalc"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      8
	    }
	    Line {
	      Name		      "jets"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "jets"
	      DstPort		      1
	    }
	    Line {
	      Name		      "enable"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      3
	      DstBlock		      "enable"
	      DstPort		      1
	    }
	    Line {
	      Name		      "ton"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      4
	      DstBlock		      "ton"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  DigitalClock
	  Name			  "Clock at counter\ntime tic (0.000625) clock"
"t"
	  Position		  [590, 416, 640, 434]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  SampleTime		  "0.000625"
	}
	Block {
	  BlockType		  DigitalClock
	  Name			  "Clock at time\ndelt (Sample time)"
	  Position		  [590, 436, 640, 454]
	  BackgroundColor	  "yellow"
	  SampleTime		  "delt"
	}
	Block {
	  BlockType		  DataStoreRead
	  Name			  "Data Store\nRead"
	  Position		  [110, 350, 155, 380]
	  ShowName		  off
	  DataStoreName		  "NofJets"
	  SampleTime		  "delt"
	}
	Block {
	  BlockType		  DataStoreRead
	  Name			  "Data Store\nRead1"
	  Position		  [322, 30, 368, 60]
	  Orientation		  "down"
	  ShowName		  off
	  DataStoreName		  "NofJets"
	  SampleTime		  "delt"
	}
	Block {
	  BlockType		  DataStoreWrite
	  Name			  "Data Store\nWrite"
	  Position		  [195, 30, 245, 60]
	  ShowName		  off
	  DataStoreName		  "e_edot"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Dead Zone"
	  Position		  [40, 470, 70, 500]
	  BackgroundColor	  "cyan"
	  Value			  "DB"
	}
	Block {
	  BlockType		  Product
	  Name			  "Divide\ne and edot\nby N*alph"
	  Ports			  [3, 1]
	  Position		  [200, 236, 220, 284]
	  BackgroundColor	  "cyan"
	  Inputs		  "*//"
	}
	Block {
	  BlockType		  Product
	  Name			  "Divide DB\nby N*alph"
	  Ports			  [3, 1]
	  Position		  [185, 447, 205, 493]
	  BackgroundColor	  "cyan"
	  Inputs		  "//*"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Jet On TIme Counter"
	  Ports			  [3, 1, 1]
	  Position		  [705, 394, 810, 456]
	  BackgroundColor	  "yellow"
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  Port {
	    PortNumber		    1
	    Name		    "Counter\nOutput"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Jet On TIme Counter"
	    Location		    [299, 76, 1239, 615]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "ton"
	      Position		      [50, 93, 80, 107]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	      Port {
		PortNumber		1
		Name			"ton"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Clock at tics"
	      Position		      [50, 153, 80, 167]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	      Port {
		PortNumber		1
		Name			"Time in clockt\nmultiples"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Clock at\nSample Time"
	      Position		      [50, 218, 80, 232]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	      Port {
		PortNumber		1
		Name			"Time in delt\nmultiples"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [480, 15, 500, 35]
	      StatesWhenEnabling      "reset"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [400, 170, 430, 200]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Value		      "0"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [400, 92, 430, 123]
	      Operator		      ">"
	      Port {
		PortNumber		1
		Name			"Stop Command"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [260, 90, 280, 110]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      Port {
		PortNumber		1
		Name			"Count down of ton"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [190, 150, 210, 170]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      Port {
		PortNumber		1
		Name			"Time after last\nsample in clock tics"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Stop jets"
	      Position		      [555, 103, 585, 117]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      Name		      "Stop Command"
	      Labels		      [1, 0]
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      DstBlock		      "Stop jets"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Count down of ton"
	      Labels		      [1, 0]
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Time after last\nsample in clock tics"
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      Points		      [55, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      Name		      "Time in delt\nmultiples"
	      Labels		      [0, 1]
	      SrcBlock		      "Clock at\nSample Time"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      Name		      "Time in clockt\nmultiples"
	      Labels		      [0, 1]
	      SrcBlock		      "Clock at tics"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "ton"
	      Labels		      [0, 0]
	      SrcBlock		      "ton"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [-15, 0; 0, -70]
	      DstBlock		      "Relational\nOperator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [2, 1]
	  Position		  [840, 229, 865, 256]
	  BackgroundColor	  "yellow"
	  Operator		  "NOR"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator1"
	  Ports			  [2, 1]
	  Position		  [900, 238, 920, 262]
	  BackgroundColor	  "yellow"
	  Operator		  "OR"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [135, 73, 140, 142]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [945, 226, 975, 259]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Select e/alph"
	  Ports			  [1, 1]
	  Position		  [265, 413, 295, 437]
	  BackgroundColor	  "cyan"
	  Elements		  "[1]"
	  InputPortWidth	  "2"
	  Port {
	    PortNumber		    1
	    Name		    "e/alph"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Selector
	  Name			  "Select edot/alph"
	  Ports			  [1, 1]
	  Position		  [300, 247, 335, 273]
	  BackgroundColor	  "cyan"
	  Elements		  "[2]"
	  InputPortWidth	  "2"
	}
	Block {
	  BlockType		  Product
	  Name			  "Square"
	  Ports			  [2, 1]
	  Position		  [413, 295, 437, 315]
	  Orientation		  "down"
	  BackgroundColor	  "cyan"
	  NamePlacement		  "alternate"
	  Port {
	    PortNumber		    1
	    Name		    "(edot/alph)^2"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Math
	  Name			  "Square root"
	  Ports			  [1, 1]
	  Position		  [525, 275, 555, 305]
	  BackgroundColor	  "cyan"
	  Operator		  "sqrt"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [2, 1]
	  Position		  [400, 123, 500, 152]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem"
	    Location		    [303, 80, 1243, 619]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [135, 95, 165, 115]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alph)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-++"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Firefct1"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Firefct1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Firefct1\nThis function establishes whe"
"n the jets are to be fired in a negative sense\nFirefct1 = e + edot ^2/(2*N*a"
"lph) - DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem1"
	  Ports			  [2, 1]
	  Position		  [400, 153, 500, 182]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem1"
	    Location		    [301, 78, 1241, 617]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [135, 90, 165, 110]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alphs)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-+-"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Coastfct1"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Coastfct1"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Coastfct1\nThis function establishes wh"
"en the jets are to be turned off (coasting)\nCoastfct1 = e - edot ^2/(2*N*alp"
"hs) - DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem2"
	  Ports			  [2, 1]
	  Position		  [400, 183, 500, 212]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem2"
	    Location		    [301, 78, 1241, 617]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [130, 90, 160, 110]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alph)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "++-"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Firefct2"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Firefct2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Firefct2\nThis function establishes whe"
"n the jets are to be fired in a positive sense\nFirefct2 = e - edot ^2/(2*N*a"
"lph) + DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem3"
	  Ports			  [2, 1]
	  Position		  [400, 213, 500, 242]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem3"
	    Location		    [301, 78, 1241, 617]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "e and edot"
	      Position		      [30, 15, 60, 30]
	      Orientation	      "down"
	      BackgroundColor	      "cyan"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "NofJets"
	      Position		      [135, 90, 165, 110]
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/(2*alph)"
	      Position		      [280, 113, 370, 167]
	      BackgroundColor	      "cyan"
	      Gain		      "1/(2*alphs)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [315, 15, 345, 45]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      Value		      "DB"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select e"
	      Ports		      [1, 1]
	      Position		      [75, 48, 105, 72]
	      BackgroundColor	      "cyan"
	      Elements		      "[1]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"e"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Select edot"
	      Ports		      [1, 1]
	      Position		      [75, 129, 105, 151]
	      BackgroundColor	      "cyan"
	      Elements		      "[2]"
	      InputPortWidth	      "2"
	      Port {
		PortNumber		1
		Name			"edot"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [385, 50, 405, 70]
	      BackgroundColor	      "cyan"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+++"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "edot^2"
	      Ports		      [3, 1]
	      Position		      [195, 121, 220, 159]
	      BackgroundColor	      "cyan"
	      Inputs		      "/**"
	      Port {
		PortNumber		1
		Name			"edot^2"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Coastfct2"
	      Position		      [430, 53, 460, 67]
	      BackgroundColor	      "cyan"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Coastfct2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "e"
	      Labels		      [0, 0]
	      SrcBlock		      "Select e"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "1/(2*alph)"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "e and edot"
	      SrcPort		      1
	      Points		      [0, 25]
	      Branch {
		Points			[0, 80]
		DstBlock		"Select edot"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Select e"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "NofJets"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "edot^2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "edot"
	      Labels		      [0, 0]
	      SrcBlock		      "Select edot"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		Points			[0, 10]
		DstBlock		"edot^2"
		DstPort			3
	      }
	      Branch {
		DstBlock		"edot^2"
		DstPort			2
	      }
	    }
	    Line {
	      Name		      "edot^2"
	      Labels		      [0, 0]
	      SrcBlock		      "edot^2"
	      SrcPort		      1
	      DstBlock		      "1/(2*alph)"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Coastfct2\nThis function establishes wh"
"en the jets are to be turned off (coasting)\nCoastfct1 = e + edot ^2/(2*N*alp"
"hs) + DB"
	      Position		      [275, 209]
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [415, 415, 435, 435]
	  BackgroundColor	  "cyan"
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "++-"
	}
	Block {
	  BlockType		  Gain
	  Name			  "divide by 2"
	  Position		  [406, 355, 444, 385]
	  Orientation		  "down"
	  BackgroundColor	  "cyan"
	  NamePlacement		  "alternate"
	  Gain			  "0.5"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Jet\nCommand"
	  Position		  [1020, 240, 1050, 250]
	  BackgroundColor	  "yellow"
	  IconDisplay		  "Port number"
	  InitialOutput		  "0"
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Jet\nCommand"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Subsystem1"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Subsystem2"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Subsystem3"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator1"
	  DstPort		  1
	}
	Line {
	  Name			  "Counter\nOutput"
	  Labels		  [0, 0]
	  SrcBlock		  "Jet On TIme Counter"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [60, 0]
	    DstBlock		    "Logical\nOperator1"
	    DstPort		    2
	  }
	  Branch {
	    Labels		    [-1, 0]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Clock at time\ndelt (Sample time)"
	  SrcPort		  1
	  DstBlock		  "Jet On TIme Counter"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Clock at counter\ntime tic (0.000625) clock"
"t"
	  SrcPort		  1
	  DstBlock		  "Jet On TIme Counter"
	  DstPort		  2
	}
	Line {
	  Name			  "ton"
	  SrcBlock		  "Chart"
	  SrcPort		  3
	  DstBlock		  "Jet On TIme Counter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  Name			  "enable"
	  Labels		  [1, 0]
	  SrcBlock		  "Chart"
	  SrcPort		  2
	  Points		  [65, 0; 0, 50]
	  Branch {
	    Labels		    [1, 0]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Jet On TIme Counter"
	    DstPort		    enable
	  }
	}
	Line {
	  SrcBlock		  "Divide DB\nby N*alph"
	  SrcPort		  1
	  Points		  [215, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Dead Zone"
	  SrcPort		  1
	  DstBlock		  "Divide DB\nby N*alph"
	  DstPort		  3
	}
	Line {
	  Labels		  [1, 0]
	  SrcBlock		  "Accleration\nfrom a Single Jet"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 210]
	    DstBlock		    "Divide DB\nby N*alph"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Divide\ne and edot\nby N*alph"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Data Store\nRead"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Divide DB\nby N*alph"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -90]
	    DstBlock		    "Divide\ne and edot\nby N*alph"
	    DstPort		    3
	  }
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Divide\ne and edot\nby N*alph"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, 165]
	    DstBlock		    "Select e/alph"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Select edot/alph"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "2*alphs/( alph + alphs )"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "divide by 2"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  Name			  "e/alph"
	  Labels		  [0, 0]
	  SrcBlock		  "Select e/alph"
	  SrcPort		  1
	  DstBlock		  "Abs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Select edot/alph"
	  SrcPort		  1
	  Points		  [80, 0]
	  Branch {
	    Points		    [10, 0]
	    Branch {
	      DstBlock		      "Square"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "Chart"
	      DstPort		      7
	    }
	  }
	  Branch {
	    DstBlock		    "Square"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "Jet Command"
	  Labels		  [0, 0]
	  SrcBlock		  "Chart"
	  SrcPort		  1
	  Points		  [235, 0; 0, 135]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Square root"
	  SrcPort		  1
	  DstBlock		  "Chart"
	  DstPort		  8
	}
	Line {
	  Name			  "(edot/alph)^2"
	  Labels		  [0, 0]
	  SrcBlock		  "Square"
	  SrcPort		  1
	  DstBlock		  "divide by 2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Labels		    [1, 0]
	    Points		    [80, 0]
	    Branch {
	      Points		      [0, 20]
	      Branch {
		Points			[0, 30]
		Branch {
		  Points		  [0, 30]
		  Branch {
		    Points		    [0, 30]
		    DstBlock		    "Subsystem3"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "Subsystem2"
		    DstPort		    1
		  }
		}
		Branch {
		  DstBlock		  "Subsystem1"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Subsystem"
		DstPort			1
	      }
	    }
	    Branch {
	      Points		      [-80, 0; 0, 135]
	      DstBlock		      "Divide\ne and edot\nby N*alph"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Labels		    [-1, 1]
	    DstBlock		    "Chart"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Data Store\nWrite"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "e"
	  Labels		  [0, 1]
	  SrcBlock		  "Position"
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  1
	}
	Line {
	  Name			  "edot"
	  Labels		  [0, 1]
	  SrcBlock		  "Rate"
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Data Store\nRead1"
	  SrcPort		  1
	  Points		  [0, 15]
	  Branch {
	    DstBlock		    "Chart"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 65]
	    Branch {
	      DstBlock		      "Subsystem"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, 30]
	      Branch {
		DstBlock		"Subsystem1"
		DstPort			2
	      }
	      Branch {
		Points			[0, 30]
		Branch {
		  DstBlock		  "Subsystem2"
		  DstPort		  2
		}
		Branch {
		  Points		  [0, 30]
		  DstBlock		  "Subsystem3"
		  DstPort		  2
		}
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "2*alphs/( alph + alphs )"
	  SrcPort		  1
	  DstBlock		  ">= 0"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  ">= 0"
	  SrcPort		  1
	  DstBlock		  "Square root"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Logic implements:\n~(enable | stopjets) | s"
"topjets"
	  Position		  [974, 315]
	  BackgroundColor	  "yellow"
	}
      }
    }
  }
}

# Finite State Machines
#
#    Stateflow Version 6.2 (R14SP2) dated Jan 21 2005, 03:46:19
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"aero_libdap"
		created              		"03-Jun-1999 13:37:08"
		isLibrary            		1
		firstTarget          		100
		sfVersion            		62014000
		sfDemoChecksum       		[3655293784 3158054364 3061971918 166991005]
	}

	chart {
		id                                        		2
		name                                      		"Pitch Roll Control Law/Chart"
		windowPosition                            		[74.25 0.75 730.5 519.75]
		viewLimits                                		[0 1020.825 15.271 734.084]
		zoomFactor                                		1.486
		screen                                    		[1 1 1024 768 1.333333333333333]
		treeNode                                  		[0 3 0 0]
		firstTransition                           		13
		firstJunction                             		11
		viewObj                                   		2
		machine                                   		1
		toolbarMode                               		LIBRARY_TOOLBAR
		decomposition                             		CLUSTER_CHART
		firstData                                 		36
		updateMethod                              		DISCRETE
		sampleTime                                		"delt"
		chartFileNumber                           		1
	}

	state {
		id                  		3
		labelString         		"Wait_for_stable_rate"
		position            		[83.525 93.999 153.009 50.315]
		fontSize            		14
		arrowSize           		16.511
		chart               		2
		treeNode            		[2 0 0 4]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		4
		labelString         		"Start"
		position            		[511.941 154.84 126.031 94.794]
		fontSize            		14
		arrowSize           		11.145
		chart               		2
		treeNode            		[2 0 3 5]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		5
		labelString         		"Fire_region_1\n"
						"en: jets=-Nofjets;\n"
						"ton=tjcalc+tjcalc1;"
		position            		[327.51 329.367 138.909 60.375]
		fontSize            		14
		arrowSize           		16.511
		chart               		2
		treeNode            		[2 0 4 6]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		6
		labelString         		"Coast_region_2\n"
						"en: jets=0;\n"
						"ton=0;\n"
						"enable=0;"
		position            		[751.507 342.931 113.217 73.567]
		fontSize            		14
		arrowSize           		16.511
		chart               		2
		treeNode            		[2 0 5 7]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		7
		labelString         		"Skip_a_Sample_2\n"
						"en:count--;"
		position            		[482.593 484.99 176.921 38.349]
		fontSize            		14
		arrowSize           		8.16
		chart               		2
		treeNode            		[2 0 6 8]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		8
		labelString         		"Skip_a_Sample_1\n"
						"en:count--;"
		position            		[83.44 486.573 155.316 41.961]
		fontSize            		14
		arrowSize           		8.16
		chart               		2
		treeNode            		[2 0 7 9]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		9
		labelString         		"Coast_region_1\n"
						"en: jets=0;\n"
						"ton=0;\n"
						"enable=0;"
		position            		[328.385 579.061 115.934 73.943]
		fontSize            		14
		arrowSize           		16.511
		chart               		2
		treeNode            		[2 0 8 10]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		10
		labelString         		"Fire_region_2\n"
						"en: jets=Nofjets;\n"
						"ton=tjcalc-tjcalc1;"
		position            		[739.644 582.184 142.381 61.414]
		fontSize            		14
		arrowSize           		16.511
		chart               		2
		treeNode            		[2 0 9 0]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	junction {
		id         		11
		position   		[280.4678 456.3572 7.8454]
		arrowSize  		8.966
		chart      		2
		linkNode   		[2 0 12]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		12
		position   		[684.1191 536.3828 7.8454]
		arrowSize  		8.966
		chart      		2
		linkNode   		[2 11 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	transition {
		id             		13
		labelString    		"[count==0]"
		labelPosition  		[280.104 57.788 65.752 18.945]
		fontSize       		14
		arrowSize      		11.145
		src {
			id          		3
			intersection		[2 1 0 0.5252 236.535 120.4236 0 0]
		}
		dst {
			id          		4
			intersection		[1 0 -1 0.4318 566.3605 154.8403 0 0]
		}
		midPoint       		[351.8451 74.2995]
		chart          		2
		linkNode       		[2 0 14]
		dataLimits     		[236.535 569.704 58.521 154.84]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		14
		labelString    		"/count=2;"
		labelPosition  		[63.106 74.61 57.951 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			intersection		[0 0 0 0.4625 42.4078 70.0635 0 0]
		}
		dst {
			id          		3
			intersection		[1 0 -1 0.3345 134.7124 93.9992 0 0]
		}
		midPoint       		[81.7968 68.1506]
		chart          		2
		linkNode       		[2 13 15]
		dataLimits     		[42.408 139.666 64.845 93.999]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		15
		labelString    		"/count--;"
		labelPosition  		[142.768 180.921 51.264 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		3
			intersection		[3 0 1 0.2634 196.2332 144.3137 0 0]
		}
		dst {
			id          		3
			intersection		[3 0 1 0.6655 134.7124 144.3137 0 0]
		}
		midPoint       		[181.8533 175.42]
		chart          		2
		linkNode       		[2 14 16]
		dataLimits     		[129.759 196.233 144.314 179.794]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		16
		labelString    		"[ (e[1]<0 & Firefct2<0) | (e[1]>0 & Coastfct2>0) ]"
		labelPosition  		[711.33 153.107 284.182 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		4
			intersection		[2 1 0 0.1988 637.9718 173.6868 0 0]
		}
		dst {
			id          		10
			intersection		[2 1 0 0.5667 882.025 616.9873 0 0]
		}
		midPoint       		[986.943 500.3482]
		chart          		2
		linkNode       		[2 15 17]
		dataLimits     		[637.972 994.737 172.383 621.941]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		17
		labelString    		"[ (e[1]<0 & Coastfct1<=0 & Firefct2>0) ]"
		labelPosition  		[261.835 161.396 235.146 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		4
			intersection		[4 -1 0 0.769 511.9412 176.7346 0 0]
		}
		dst {
			id          		9
			intersection		[3 0 1 0.5768 377.4487 653.0038 0 0]
		}
		midPoint       		[81.4038 571.0611]
		chart          		2
		linkNode       		[2 16 18]
		dataLimits     		[24.953 511.941 176.735 691.567]
		subviewer      		2
		executionOrder 		4
	}

	transition {
		id             		18
		labelString    		"[ (e[1]>0 & Coastfct2>=0 & Firefct1<0) ]"
		labelPosition  		[648.968 291.156 235.146 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		4
			intersection		[2 1 0 0.5652 637.9718 208.4193 0 0]
		}
		dst {
			id          		6
			intersection		[1 0 -1 0.5509 813.8753 342.9314 0 0]
		}
		midPoint       		[717.8013 220.2549]
		chart          		2
		linkNode       		[2 17 19]
		dataLimits     		[637.972 818.829 208.419 342.931]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		19
		labelString    		"[ (e[1]>0 & Firefct1>0) | (e[1]<0 & Coastfct1<0) ]"
		labelPosition  		[249.265 278.195 284.182 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		4
			intersection		[4 -1 0 0.3696 511.9412 214.6015 0 0]
		}
		dst {
			id          		5
			intersection		[1 0 -1 0.3762 379.7673 329.3671 0 0]
		}
		midPoint       		[446.6596 233.8834]
		chart          		2
		linkNode       		[2 18 20]
		dataLimits     		[374.814 511.941 214.601 329.367]
		subviewer      		2
		executionOrder 		3
	}

	transition {
		id             		20
		labelString    		"[e[1]>0 & Firefct1>0]"
		labelPosition  		[589.328 342.147 122.588 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		6
			intersection		[4 -1 0 0.7362 751.5069 362.3349 0 0]
		}
		dst {
			id          		5
			intersection		[2 1 0 0.5333 466.4194 361.5667 0 0]
		}
		midPoint       		[656.9491 362.1207]
		chart          		2
		linkNode       		[2 19 21]
		dataLimits     		[466.419 751.507 356.613 366.52]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		21
		labelString    		"[count==0]"
		labelPosition  		[582.373 377.752 65.752 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		7
			intersection		[1 0 -1 0.3975 552.9153 484.99 0 0]
		}
		dst {
			id          		6
			intersection		[4 -1 0 0.389 751.5069 387.8808 0 0]
		}
		midPoint       		[602.8577 415.111]
		chart          		2
		linkNode       		[2 20 23]
		dataLimits     		[552.915 751.507 382.928 484.99]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		22
		labelPosition  		[435.114 395.669 10.03 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		5
			intersection		[3 0 1 0.1354 447.6061 389.7417 0 0]
		}
		dst {
			id          		5
			intersection		[3 0 1 0.4174 408.4364 389.7417 0 0]
		}
		midPoint       		[436.2452 413.9739]
		chart          		2
		linkNode       		[2 24 25]
		dataLimits     		[403.483 447.606 389.742 416.107]
		subviewer      		2
		executionOrder 		3
	}

	transition {
		id             		23
		labelString    		"[ton<2*delt]{enable=1;}"
		labelPosition  		[165.24 395.69 141.534 18.945]
		fontSize       		14
		arrowSize      		8.966
		src {
			id          		5
			intersection		[3 0 1 0.8171 352.9153 389.7417 0 0]
		}
		dst {
			id          		11
			intersection		[0 -0.0627 -0.998 -1 279.9762 448.5272 0 0]
		}
		midPoint       		[332.0687 405.3812]
		chart          		2
		linkNode       		[2 21 24]
		dataLimits     		[276.73 352.915 389.742 448.527]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		24
		labelString    		"[e[1]<0 & Coastfct1<=0]"
		labelPosition  		[395.899 441.789 143.762 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		5
			intersection		[3 0 1 0.5403 391.3624 389.7417 0 0]
		}
		dst {
			id          		9
			intersection		[1 0 -1 0.5432 391.3624 579.0608 0 0]
		}
		midPoint       		[391.3624 450.9887]
		chart          		2
		linkNode       		[2 23 22]
		dataLimits     		[386.409 396.316 389.742 579.061]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		25
		labelString    		"{enable=0;}"
		labelPosition  		[755.253 496.795 72.438 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		12
			intersection		[0 0.6479 -0.7617 -1 689.2024 530.4069 0 0]
		}
		dst {
			id          		6
			intersection		[3 0 1 0.5348 804.1811 416.4986 0 0]
		}
		midPoint       		[733.6918 507.9745]
		chart          		2
		linkNode       		[2 22 26]
		dataLimits     		[689.202 809.134 416.499 530.407]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		26
		labelString    		"[e[1]>0 & Coastfct2>0]"
		labelPosition  		[847.181 463.119 135.961 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		10
			intersection		[1 0 -1 0.7211 842.3164 582.184 0 0]
		}
		dst {
			id          		6
			intersection		[3 0 1 0.1938 842.7859 416.4986 0 0]
		}
		midPoint       		[842.4473 529.1573]
		chart          		2
		linkNode       		[2 25 27]
		dataLimits     		[837.833 847.739 416.499 582.184]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		27
		labelString    		"{enable=0;}"
		labelPosition  		[283.082 498.081 72.438 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		11
			intersection		[0 0.9648 0.263 -1 288.037 458.4206 0 0]
		}
		dst {
			id          		9
			intersection		[1 0 -1 0.3424 368.0862 579.0608 0 0]
		}
		midPoint       		[329.1979 478.1175]
		chart          		2
		linkNode       		[2 26 28]
		dataLimits     		[288.037 373.04 458.421 579.061]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		28
		labelString    		"/ton=ton-delt;"
		labelPosition  		[624.384 443.256 81.354 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		7
			intersection		[1 0 -1 0.7957 623.3677 484.99 0 0]
		}
		dst {
			id          		7
			intersection		[1 0 -1 0.5171 574.0841 484.99 0 0]
		}
		midPoint       		[619.3503 467.2046]
		chart          		2
		linkNode       		[2 27 29]
		dataLimits     		[571.636 623.368 458.923 484.99]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		29
		labelString    		"[ton>tmin]{count=2;}"
		labelPosition  		[148.457 440.09 123.703 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		11
			intersection		[0 -0.8849 0.4659 -1 273.5257 460.012 0 0]
		}
		dst {
			id          		8
			intersection		[1 0 -1 0.4369 151.299 486.5732 0 0]
		}
		midPoint       		[223.0767 463.8934]
		chart          		2
		linkNode       		[2 28 30]
		dataLimits     		[148.851 273.526 460.012 486.573]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		30
		labelString    		"[ton>tmin]{count=2;}"
		labelPosition  		[565.989 560.17 123.703 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		12
			intersection		[0 -0.8215 0.5702 -1 677.6741 540.8562 0 0]
		}
		dst {
			id          		7
			intersection		[3 0 1 0.609 551.7747 523.3394 0 0]
		}
		midPoint       		[626.5955 557.6248]
		chart          		2
		linkNode       		[2 29 31]
		dataLimits     		[549.327 677.674 523.339 558.238]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		31
		labelString    		"/ton=ton-delt;"
		labelPosition  		[113.395 550.915 81.354 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		8
			intersection		[3 0 1 0.3535 183.854 528.534 0 0]
		}
		dst {
			id          		8
			intersection		[3 0 1 0.8071 113.4012 528.534 0 0]
		}
		midPoint       		[164.2127 546.7906]
		chart          		2
		linkNode       		[2 30 32]
		dataLimits     		[110.953 183.854 528.534 550.976]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		32
		labelString    		"[count==0]"
		labelPosition  		[245.797 560.855 65.752 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		8
			intersection		[3 0 1 0.2321 202.7097 528.534 0 0]
		}
		dst {
			id          		9
			intersection		[4 -1 0 0.6544 328.3853 604.6169 0 0]
		}
		midPoint       		[223.8029 573.0825]
		chart          		2
		linkNode       		[2 31 33]
		dataLimits     		[202.71 328.385 528.534 609.57]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		33
		labelString    		"[ton<2*delt]{enable=1;}"
		labelPosition  		[712.526 533.075 141.534 18.945]
		fontSize       		14
		arrowSize      		8.966
		src {
			id          		10
			intersection		[1 0 -1 0.3957 795.9845 582.184 0 0]
		}
		dst {
			id          		12
			intersection		[0 0.7304 0.683 -1 689.8493 541.7415 0 0]
		}
		midPoint       		[775.1934 562.335]
		chart          		2
		linkNode       		[2 32 34]
		dataLimits     		[689.849 795.984 541.742 582.184]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		34
		labelString    		"[e[1]<0 & Firefct2<0]"
		labelPosition  		[537.893 621.306 122.588 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		9
			intersection		[2 1 0 0.5464 444.3196 619.464 0 0]
		}
		dst {
			id          		10
			intersection		[4 -1 0 0.3864 739.6444 619.8661 0 0]
		}
		midPoint       		[541.9048 619.5737]
		chart          		2
		linkNode       		[2 33 35]
		dataLimits     		[444.32 739.644 614.913 624.819]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		35
		labelPosition  		[810.996 659.502 10.03 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		10
			intersection		[3 0 1 0.2789 842.3164 643.5976 0 0]
		}
		dst {
			id          		10
			intersection		[3 0 1 0.6134 794.6936 643.5976 0 0]
		}
		midPoint       		[828.2555 670.0837]
		chart          		2
		linkNode       		[2 34 0]
		dataLimits     		[789.74 842.316 643.598 672.627]
		subviewer      		2
		executionOrder 		3
	}

	data {
		id                            		36
		name                          		"jets"
		linkNode                      		[2 0 37]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		37
		name                          		"Nofjets"
		linkNode                      		[2 36 38]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		38
		name                          		"e"
		linkNode                      		[2 37 39]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"2"
			}
		}
		debug                         		[1]
	}

	data {
		id                            		39
		name                          		"enable"
		linkNode                      		[2 38 40]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		40
		name                          		"ton"
		linkNode                      		[2 39 41]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		41
		name                          		"Firefct1"
		linkNode                      		[2 40 42]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		42
		name                          		"Coastfct1"
		linkNode                      		[2 41 43]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		43
		name                          		"Firefct2"
		linkNode                      		[2 42 44]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		44
		name                          		"Coastfct2"
		linkNode                      		[2 43 45]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		45
		name                          		"tjcalc1"
		linkNode                      		[2 44 46]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		46
		name                          		"tjcalc"
		linkNode                      		[2 45 47]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		47
		name                          		"tmin"
		linkNode                      		[2 46 48]
		scope                         		PARAMETER_DATA
		initFromWorkspace             		1
		paramIndexForInitFromWorkspace		1
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		48
		name                          		"delt"
		linkNode                      		[2 47 49]
		scope                         		PARAMETER_DATA
		initFromWorkspace             		1
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		49
		name                          		"count"
		linkNode                      		[2 48 0]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	instance {
		id     		50
		name   		"Pitch Roll Control Law/Chart"
		machine		1
		chart  		2
	}

	chart {
		id                                        		51
		name                                      		"Yaw Control Law/Chart"
		windowPosition                            		[40.5 0.75 730.5 519.75]
		viewLimits                                		[0 1020.825 15.271 734.084]
		zoomFactor                                		1.486
		screen                                    		[1 1 1024 768 1.333333333333333]
		treeNode                                  		[0 52 0 0]
		firstTransition                           		62
		firstJunction                             		60
		viewObj                                   		51
		machine                                   		1
		toolbarMode                               		LIBRARY_TOOLBAR
		decomposition                             		CLUSTER_CHART
		firstData                                 		85
		updateMethod                              		DISCRETE
		sampleTime                                		"delt"
		chartFileNumber                           		4
	}

	state {
		id                  		52
		labelString         		"Wait_for_stable_rate"
		position            		[83.525 93.999 153.009 50.315]
		fontSize            		14
		arrowSize           		16.511
		chart               		51
		treeNode            		[51 0 0 53]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		53
		labelString         		"Start"
		position            		[511.941 154.84 126.031 94.794]
		fontSize            		14
		arrowSize           		11.145
		chart               		51
		treeNode            		[51 0 52 54]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		54
		labelString         		"Fire_region_1\n"
						"en: jets=-Nofjets;\n"
						"ton=tjcalc+tjcalc1;"
		position            		[327.51 329.367 138.909 60.375]
		fontSize            		14
		arrowSize           		16.511
		chart               		51
		treeNode            		[51 0 53 55]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		55
		labelString         		"Coast_region_2\n"
						"en: jets=0;\n"
						"ton=0;\n"
						"enable=0;"
		position            		[751.507 342.931 113.217 73.567]
		fontSize            		14
		arrowSize           		16.511
		chart               		51
		treeNode            		[51 0 54 56]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		56
		labelString         		"Skip_a_Sample_2\n"
						"en:count--;"
		position            		[482.593 484.99 176.921 38.349]
		fontSize            		14
		arrowSize           		8.16
		chart               		51
		treeNode            		[51 0 55 57]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		57
		labelString         		"Skip_a_Sample_1\n"
						"en:count--;"
		position            		[83.44 486.573 155.316 41.961]
		fontSize            		14
		arrowSize           		8.16
		chart               		51
		treeNode            		[51 0 56 58]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		58
		labelString         		"Coast_region_1\n"
						"en: jets=0;\n"
						"ton=0;\n"
						"enable=0;"
		position            		[328.385 579.061 115.934 73.943]
		fontSize            		14
		arrowSize           		16.511
		chart               		51
		treeNode            		[51 0 57 59]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		59
		labelString         		"Fire_region_2\n"
						"en: jets=Nofjets;\n"
						"ton=tjcalc-tjcalc1;"
		position            		[739.644 582.184 142.381 61.414]
		fontSize            		14
		arrowSize           		16.511
		chart               		51
		treeNode            		[51 0 58 0]
		subviewer           		51
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	junction {
		id         		60
		position   		[280.4678 456.3572 7.8454]
		arrowSize  		8.966
		chart      		51
		linkNode   		[51 0 61]
		subviewer  		51
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		61
		position   		[684.1191 536.3828 7.8454]
		arrowSize  		8.966
		chart      		51
		linkNode   		[51 60 0]
		subviewer  		51
		type       		CONNECTIVE_JUNCTION
	}

	transition {
		id             		62
		labelString    		"[count==0]"
		labelPosition  		[280.104 57.788 65.752 18.945]
		fontSize       		14
		arrowSize      		11.145
		src {
			id          		52
			intersection		[2 1 0 0.5252 236.535 120.4236 0 0]
		}
		dst {
			id          		53
			intersection		[1 0 -1 0.4318 566.3605 154.8403 0 0]
		}
		midPoint       		[351.8451 74.2995]
		chart          		51
		linkNode       		[51 0 63]
		dataLimits     		[236.535 569.704 58.521 154.84]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		63
		labelString    		"/count=2;"
		labelPosition  		[63.106 74.61 57.951 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			intersection		[0 0 0 0.4625 42.4078 70.0635 0 0]
		}
		dst {
			id          		52
			intersection		[1 0 -1 0.3345 134.7124 93.9992 0 0]
		}
		midPoint       		[81.7968 68.1506]
		chart          		51
		linkNode       		[51 62 64]
		dataLimits     		[42.408 139.666 64.845 93.999]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		64
		labelString    		"/count--;"
		labelPosition  		[142.768 180.921 51.264 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		52
			intersection		[3 0 1 0.2634 196.2332 144.3137 0 0]
		}
		dst {
			id          		52
			intersection		[3 0 1 0.6655 134.7124 144.3137 0 0]
		}
		midPoint       		[181.8533 175.42]
		chart          		51
		linkNode       		[51 63 65]
		dataLimits     		[129.759 196.233 144.314 179.794]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		65
		labelString    		"[ (e[1]<0 & Firefct2<0) | (e[1]>0 & Coastfct2>0) ]"
		labelPosition  		[711.33 153.107 284.182 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		53
			intersection		[2 1 0 0.1988 637.9718 173.6868 0 0]
		}
		dst {
			id          		59
			intersection		[2 1 0 0.5667 882.025 616.9873 0 0]
		}
		midPoint       		[986.943 500.3482]
		chart          		51
		linkNode       		[51 64 66]
		dataLimits     		[637.972 994.737 172.383 621.941]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		66
		labelString    		"[ (e[1]<0 & Coastfct1<=0 & Firefct2>0) ]"
		labelPosition  		[261.835 161.396 235.146 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		53
			intersection		[4 -1 0 0.769 511.9412 176.7346 0 0]
		}
		dst {
			id          		58
			intersection		[3 0 1 0.5768 377.4487 653.0038 0 0]
		}
		midPoint       		[81.4038 571.0611]
		chart          		51
		linkNode       		[51 65 67]
		dataLimits     		[24.953 511.941 176.735 691.567]
		subviewer      		51
		executionOrder 		4
	}

	transition {
		id             		67
		labelString    		"[ (e[1]>0 & Coastfct2>=0 & Firefct1<0) ]"
		labelPosition  		[648.968 291.156 235.146 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		53
			intersection		[2 1 0 0.5652 637.9718 208.4193 0 0]
		}
		dst {
			id          		55
			intersection		[1 0 -1 0.5509 813.8753 342.9314 0 0]
		}
		midPoint       		[717.8013 220.2549]
		chart          		51
		linkNode       		[51 66 68]
		dataLimits     		[637.972 818.829 208.419 342.931]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		68
		labelString    		"[ (e[1]>0 & Firefct1>0) | (e[1]<0 & Coastfct1<0) ]"
		labelPosition  		[249.265 278.195 284.182 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		53
			intersection		[4 -1 0 0.3696 511.9412 214.6015 0 0]
		}
		dst {
			id          		54
			intersection		[1 0 -1 0.3762 379.7673 329.3671 0 0]
		}
		midPoint       		[446.6596 233.8834]
		chart          		51
		linkNode       		[51 67 69]
		dataLimits     		[374.814 511.941 214.601 329.367]
		subviewer      		51
		executionOrder 		3
	}

	transition {
		id             		69
		labelString    		"[e[1]>0 & Firefct1>0]"
		labelPosition  		[589.328 342.147 122.588 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		55
			intersection		[4 -1 0 0.7362 751.5069 362.3349 0 0]
		}
		dst {
			id          		54
			intersection		[2 1 0 0.5333 466.4194 361.5667 0 0]
		}
		midPoint       		[656.9491 362.1207]
		chart          		51
		linkNode       		[51 68 70]
		dataLimits     		[466.419 751.507 356.613 366.52]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		70
		labelString    		"[count==0]"
		labelPosition  		[582.373 377.752 65.752 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		56
			intersection		[1 0 -1 0.3975 552.9153 484.99 0 0]
		}
		dst {
			id          		55
			intersection		[4 -1 0 0.389 751.5069 387.8808 0 0]
		}
		midPoint       		[602.8577 415.111]
		chart          		51
		linkNode       		[51 69 72]
		dataLimits     		[552.915 751.507 382.928 484.99]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		71
		labelPosition  		[435.114 395.669 10.03 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		54
			intersection		[3 0 1 0.1354 447.6061 389.7417 0 0]
		}
		dst {
			id          		54
			intersection		[3 0 1 0.4174 408.4364 389.7417 0 0]
		}
		midPoint       		[436.2452 413.9739]
		chart          		51
		linkNode       		[51 73 74]
		dataLimits     		[403.483 447.606 389.742 416.107]
		subviewer      		51
		executionOrder 		3
	}

	transition {
		id             		72
		labelString    		"[ton<2*delt]{enable=1;}"
		labelPosition  		[165.24 395.69 141.534 18.945]
		fontSize       		14
		arrowSize      		8.966
		src {
			id          		54
			intersection		[3 0 1 0.8171 352.9153 389.7417 0 0]
		}
		dst {
			id          		60
			intersection		[0 -0.0627 -0.998 -1 279.9762 448.5272 0 0]
		}
		midPoint       		[332.0687 405.3812]
		chart          		51
		linkNode       		[51 70 73]
		dataLimits     		[276.73 352.915 389.742 448.527]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		73
		labelString    		"[e[1]<0 & Coastfct1<=0]"
		labelPosition  		[395.899 441.789 143.762 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		54
			intersection		[3 0 1 0.5403 391.3624 389.7417 0 0]
		}
		dst {
			id          		58
			intersection		[1 0 -1 0.5432 391.3624 579.0608 0 0]
		}
		midPoint       		[391.3624 450.9887]
		chart          		51
		linkNode       		[51 72 71]
		dataLimits     		[386.409 396.316 389.742 579.061]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		74
		labelString    		"{enable=0;}"
		labelPosition  		[755.253 496.795 72.438 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		61
			intersection		[0 0.6479 -0.7617 -1 689.2024 530.4069 0 0]
		}
		dst {
			id          		55
			intersection		[3 0 1 0.5348 804.1811 416.4986 0 0]
		}
		midPoint       		[733.6918 507.9745]
		chart          		51
		linkNode       		[51 71 75]
		dataLimits     		[689.202 809.134 416.499 530.407]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		75
		labelString    		"[e[1]>0 & Coastfct2>0]"
		labelPosition  		[847.181 463.119 135.961 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		59
			intersection		[1 0 -1 0.7211 842.3164 582.184 0 0]
		}
		dst {
			id          		55
			intersection		[3 0 1 0.1938 842.7859 416.4986 0 0]
		}
		midPoint       		[842.4473 529.1573]
		chart          		51
		linkNode       		[51 74 76]
		dataLimits     		[837.833 847.739 416.499 582.184]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		76
		labelString    		"{enable=0;}"
		labelPosition  		[283.082 498.081 72.438 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		60
			intersection		[0 0.9648 0.263 -1 288.037 458.4206 0 0]
		}
		dst {
			id          		58
			intersection		[1 0 -1 0.3424 368.0862 579.0608 0 0]
		}
		midPoint       		[329.1979 478.1175]
		chart          		51
		linkNode       		[51 75 77]
		dataLimits     		[288.037 373.04 458.421 579.061]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		77
		labelString    		"/ton=ton-delt;"
		labelPosition  		[624.384 443.256 81.354 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		56
			intersection		[1 0 -1 0.7957 623.3677 484.99 0 0]
		}
		dst {
			id          		56
			intersection		[1 0 -1 0.5171 574.0841 484.99 0 0]
		}
		midPoint       		[619.3503 467.2046]
		chart          		51
		linkNode       		[51 76 78]
		dataLimits     		[571.636 623.368 458.923 484.99]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		78
		labelString    		"[ton>tmin]{count=2;}"
		labelPosition  		[148.457 440.09 123.703 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		60
			intersection		[0 -0.8849 0.4659 -1 273.5257 460.012 0 0]
		}
		dst {
			id          		57
			intersection		[1 0 -1 0.4369 151.299 486.5732 0 0]
		}
		midPoint       		[223.0767 463.8934]
		chart          		51
		linkNode       		[51 77 79]
		dataLimits     		[148.851 273.526 460.012 486.573]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		79
		labelString    		"[ton>tmin]{count=2;}"
		labelPosition  		[565.989 560.17 123.703 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		61
			intersection		[0 -0.8215 0.5702 -1 677.6741 540.8562 0 0]
		}
		dst {
			id          		56
			intersection		[3 0 1 0.609 551.7747 523.3394 0 0]
		}
		midPoint       		[626.5955 557.6248]
		chart          		51
		linkNode       		[51 78 80]
		dataLimits     		[549.327 677.674 523.339 558.238]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		80
		labelString    		"/ton=ton-delt;"
		labelPosition  		[113.395 550.915 81.354 18.945]
		fontSize       		14
		arrowSize      		8.16
		src {
			id          		57
			intersection		[3 0 1 0.3535 183.854 528.534 0 0]
		}
		dst {
			id          		57
			intersection		[3 0 1 0.8071 113.4012 528.534 0 0]
		}
		midPoint       		[164.2127 546.7906]
		chart          		51
		linkNode       		[51 79 81]
		dataLimits     		[110.953 183.854 528.534 550.976]
		subviewer      		51
		executionOrder 		2
	}

	transition {
		id             		81
		labelString    		"[count==0]"
		labelPosition  		[245.797 560.855 65.752 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		57
			intersection		[3 0 1 0.2321 202.7097 528.534 0 0]
		}
		dst {
			id          		58
			intersection		[4 -1 0 0.6544 328.3853 604.6169 0 0]
		}
		midPoint       		[223.8029 573.0825]
		chart          		51
		linkNode       		[51 80 82]
		dataLimits     		[202.71 328.385 528.534 609.57]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		82
		labelString    		"[ton<2*delt]{enable=1;}"
		labelPosition  		[712.526 533.075 141.534 18.945]
		fontSize       		14
		arrowSize      		8.966
		src {
			id          		59
			intersection		[1 0 -1 0.3957 795.9845 582.184 0 0]
		}
		dst {
			id          		61
			intersection		[0 0.7304 0.683 -1 689.8493 541.7415 0 0]
		}
		midPoint       		[775.1934 562.335]
		chart          		51
		linkNode       		[51 81 83]
		dataLimits     		[689.849 795.984 541.742 582.184]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		83
		labelString    		"[e[1]<0 & Firefct2<0]"
		labelPosition  		[537.893 621.306 122.588 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		58
			intersection		[2 1 0 0.5464 444.3196 619.464 0 0]
		}
		dst {
			id          		59
			intersection		[4 -1 0 0.3864 739.6444 619.8661 0 0]
		}
		midPoint       		[541.9048 619.5737]
		chart          		51
		linkNode       		[51 82 84]
		dataLimits     		[444.32 739.644 614.913 624.819]
		subviewer      		51
		executionOrder 		1
	}

	transition {
		id             		84
		labelPosition  		[810.996 659.502 10.03 18.945]
		fontSize       		14
		arrowSize      		16.511
		src {
			id          		59
			intersection		[3 0 1 0.2789 842.3164 643.5976 0 0]
		}
		dst {
			id          		59
			intersection		[3 0 1 0.6134 794.6936 643.5976 0 0]
		}
		midPoint       		[828.2555 670.0837]
		chart          		51
		linkNode       		[51 83 0]
		dataLimits     		[789.74 842.316 643.598 672.627]
		subviewer      		51
		executionOrder 		3
	}

	data {
		id                            		85
		name                          		"jets"
		linkNode                      		[51 0 86]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		86
		name                          		"Nofjets"
		linkNode                      		[51 85 87]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		87
		name                          		"e"
		linkNode                      		[51 86 88]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"2"
			}
		}
		debug                         		[1]
	}

	data {
		id                            		88
		name                          		"enable"
		linkNode                      		[51 87 89]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		89
		name                          		"ton"
		linkNode                      		[51 88 90]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		90
		name                          		"Firefct1"
		linkNode                      		[51 89 91]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		91
		name                          		"Coastfct1"
		linkNode                      		[51 90 92]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		92
		name                          		"Firefct2"
		linkNode                      		[51 91 93]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		93
		name                          		"Coastfct2"
		linkNode                      		[51 92 94]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		94
		name                          		"tjcalc1"
		linkNode                      		[51 93 95]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		95
		name                          		"tjcalc"
		linkNode                      		[51 94 96]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	data {
		id                            		96
		name                          		"tmin"
		linkNode                      		[51 95 97]
		scope                         		PARAMETER_DATA
		initFromWorkspace             		1
		paramIndexForInitFromWorkspace		1
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		97
		name                          		"delt"
		linkNode                      		[51 96 98]
		scope                         		PARAMETER_DATA
		initFromWorkspace             		1
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		98
		name                          		"count"
		linkNode                      		[51 97 0]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
		debug                         		[1]
	}

	instance {
		id     		99
		name   		"Yaw Control Law/Chart"
		machine		1
		chart  		51
	}

	target {
		id                        		100
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		codeFlags                 		" debug=1 telemetry=0 preservenames=0 preservenameswithparent"
						"=0 exportcharts=0 project=0 multiinstanced=0 statebitsets=0 "
						"databitsets=0 comments=1 echo=1 initializer=1 ioformat=1"
		machine                   		1
		linkNode                  		[1 0 0]
	}
}
