Investigation of different targets in deep brain stimulation for Parkinson`s (Pirini et al. 2009)

 Download zip file 
Help downloading and running models
Accession:122369
"We investigated by a computational model of the basal ganglia the different network effects of deep brain stimulation (DBS) for Parkinson’s disease (PD) in different target sites in the subthalamic nucleus (STN), the globus pallidus pars interna (GPi), and the globus pallidus pars externa (GPe). A cellular-based model of the basal ganglia system (BGS), based on the model proposed by Rubin and Terman (J Comput Neurosci 16:211–235, 2004), was developed. ... Our results suggest that DBS in the STN could functionally restore the TC relay activity, while DBS in the GPe and in the GPi could functionally over-activate and inhibit it, respectively. Our results are consistent with the experimental and the clinical evidences on the network effects of DBS."
Reference:
1 . Pirini M, Rocchi L, Sensi M, Chiari L (2009) A computational modelling approach to investigate different targets in deep brain stimulation for Parkinson's disease. J Comput Neurosci 26:91-107 [PubMed]
Citations  Citation Browser
Model Information (Click on a link to find other models with that property)
Model Type: Realistic Network; Neuron or other electrically excitable cell;
Brain Region(s)/Organism: Neocortex; Thalamus; Basal ganglia; Subthalamic Nucleus;
Cell Type(s): Thalamus geniculate nucleus/lateral principal neuron; Subthalamus nucleus projection neuron; Globus pallidus neuron;
Channel(s): I Na,t; I T low threshold; I K; I Calcium;
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: MATLAB;
Model Concept(s): Activity Patterns; Parkinson's; Deep brain stimulation;
Implementer(s): Pirini, Marco [marco.pirini at unibo.it];
Search NeuronDB for information about:  Thalamus geniculate nucleus/lateral principal neuron; I Na,t; I T low threshold; I K; I Calcium;
Model {
  Name			  "GPI1"
  Version		  7.0
  MdlSubVersion		  0
  GraphicalInterface {
    NumRootInports	    32
    Inport {
      Name		      "In1"
    }
    Inport {
      Name		      "In2"
    }
    Inport {
      Name		      "In3"
    }
    Inport {
      Name		      "In4"
    }
    Inport {
      Name		      "In5"
    }
    Inport {
      Name		      "In6"
    }
    Inport {
      Name		      "In7"
    }
    Inport {
      Name		      "In8"
    }
    Inport {
      Name		      "In9"
    }
    Inport {
      Name		      "In10"
    }
    Inport {
      Name		      "In11"
    }
    Inport {
      Name		      "In12"
    }
    Inport {
      Name		      "In13"
    }
    Inport {
      Name		      "In14"
    }
    Inport {
      Name		      "In15"
    }
    Inport {
      Name		      "In16"
    }
    Inport {
      Name		      "In17"
    }
    Inport {
      Name		      "In18"
    }
    Inport {
      Name		      "In19"
    }
    Inport {
      Name		      "In20"
    }
    Inport {
      Name		      "In21"
    }
    Inport {
      Name		      "In22"
    }
    Inport {
      Name		      "In23"
    }
    Inport {
      Name		      "In24"
    }
    Inport {
      Name		      "In25"
    }
    Inport {
      Name		      "In26"
    }
    Inport {
      Name		      "In27"
    }
    Inport {
      Name		      "In28"
    }
    Inport {
      Name		      "In29"
    }
    Inport {
      Name		      "In30"
    }
    Inport {
      Name		      "In31"
    }
    Inport {
      Name		      "In32"
    }
    NumRootOutports	    0
    ParameterArgumentNames  ""
    ComputedModelVersion    "1.340"
    NumModelReferences	    0
    NumTestPointedSignals   0
  }
  SavedCharacterEncoding  "ibm-5348_P100-1997"
  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
  ScopeRefreshTime	  0.035000
  OverrideScopeRefreshTime on
  DisableAllScopes	  off
  DataTypeOverride	  "UseLocalSettings"
  MinMaxOverflowLogging	  "UseLocalSettings"
  MinMaxOverflowArchiveMode "Overwrite"
  BlockNameDataTip	  off
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  off
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Wed Sep 28 18:25:24 2005"
  Creator		  "marco"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "marco"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Thu Mar 06 19:48:18 2008"
  RTWModifiedTimeStamp	  0
  ModelVersionFormat	  "1.%<AutoIncrement:340>"
  ConfigurationManager	  "None"
  SimulationMode	  "normal"
  LinearizationMsg	  "none"
  Profile		  off
  ParamWorkspaceSource	  "MATLABWorkspace"
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "dw"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  covSaveCumulativeToWorkspaceVar on
  CovSaveSingleToWorkspaceVar on
  CovCumulativeVarName	  "covCumulativeData"
  CovCumulativeReport	  off
  CovReportOnPause	  on
  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
  BufferReuse		  on
  ShowModelReferenceBlockVersion off
  ShowModelReferenceBlockIO off
  Array {
    Type		    "Handle"
    Dimension		    1
    Simulink.ConfigSet {
      $ObjectID		      1
      Version		      "1.3.0"
      Array {
	Type			"Handle"
	Dimension		7
	Simulink.SolverCC {
	  $ObjectID		  2
	  Version		  "1.3.0"
	  StartTime		  "0.0"
	  StopTime		  "1000.0"
	  AbsTol		  "auto"
	  FixedStep		  "auto"
	  InitialStep		  "auto"
	  MaxNumMinSteps	  "-1"
	  MaxOrder		  5
	  ConsecutiveZCsStepRelTol "10*128*eps"
	  MaxConsecutiveZCs	  "1000"
	  ExtrapolationOrder	  4
	  NumberNewtonIterations  1
	  MaxStep		  "auto"
	  MinStep		  "auto"
	  MaxConsecutiveMinStep	  "1"
	  RelTol		  "1e-3"
	  SolverMode		  "Auto"
	  Solver		  "ode45"
	  SolverName		  "ode45"
	  ZeroCrossControl	  "UseLocalSettings"
	  AlgebraicLoopSolver	  "TrustRegion"
	  SolverResetMethod	  "Fast"
	  PositivePriorityOrder	  off
	  AutoInsertRateTranBlk	  off
	  SampleTimeConstraint	  "Unconstrained"
	  RateTranMode		  "Deterministic"
	}
	Simulink.DataIOCC {
	  $ObjectID		  3
	  Version		  "1.3.0"
	  Decimation		  "1"
	  ExternalInput		  "[t1,u1]"
	  FinalStateName	  "xFinal"
	  InitialState		  "xInitial"
	  LimitDataPoints	  on
	  MaxDataPoints		  "1000"
	  LoadExternalInput	  on
	  LoadInitialState	  off
	  SaveFinalState	  off
	  SaveFormat		  "Array"
	  SaveOutput		  off
	  SaveState		  off
	  SignalLogging		  off
	  InspectSignalLogs	  off
	  SaveTime		  off
	  StateSaveName		  "xout"
	  TimeSaveName		  "tout"
	  OutputSaveName	  "yout"
	  SignalLoggingName	  "sigsOut"
	  OutputOption		  "RefineOutputTimes"
	  OutputTimes		  "[]"
	  Refine		  "1"
	}
	Simulink.OptimizationCC {
	  $ObjectID		  4
	  Array {
	    Type		    "Cell"
	    Dimension		    5
	    Cell		    "ZeroExternalMemoryAtStartup"
	    Cell		    "ZeroInternalMemoryAtStartup"
	    Cell		    "InitFltsAndDblsToZero"
	    Cell		    "OptimizeModelRefInitCode"
	    Cell		    "NoFixptDivByZeroProtection"
	    PropName		    "DisabledProps"
	  }
	  Version		  "1.3.0"
	  BlockReduction	  on
	  BooleanDataType	  off
	  ConditionallyExecuteInputs on
	  InlineParams		  off
	  InlineInvariantSignals  off
	  OptimizeBlockIOStorage  on
	  BufferReuse		  on
	  EnforceIntegerDowncast  on
	  ExpressionFolding	  on
	  ExpressionDepthLimit	  2147483647
	  FoldNonRolledExpr	  on
	  LocalBlockOutputs	  on
	  RollThreshold		  5
	  SystemCodeInlineAuto	  off
	  StateBitsets		  off
	  DataBitsets		  off
	  UseTempVars		  off
	  ZeroExternalMemoryAtStartup on
	  ZeroInternalMemoryAtStartup on
	  InitFltsAndDblsToZero	  on
	  NoFixptDivByZeroProtection off
	  EfficientFloat2IntCast  off
	  OptimizeModelRefInitCode off
	  LifeSpan		  "inf"
	  BufferReusableBoundary  on
	  SimCompilerOptimization "Off"
	  AccelVerboseBuild	  off
	}
	Simulink.DebuggingCC {
	  $ObjectID		  5
	  Version		  "1.3.0"
	  RTPrefix		  "error"
	  ConsistencyChecking	  "none"
	  ArrayBoundsChecking	  "none"
	  SignalInfNanChecking	  "none"
	  SignalRangeChecking	  "none"
	  ReadBeforeWriteMsg	  "UseLocalSettings"
	  WriteAfterWriteMsg	  "UseLocalSettings"
	  WriteAfterReadMsg	  "UseLocalSettings"
	  AlgebraicLoopMsg	  "warning"
	  ArtificialAlgebraicLoopMsg "warning"
	  SaveWithDisabledLinksMsg "warning"
	  SaveWithParameterizedLinksMsg	"none"
	  CheckSSInitialOutputMsg on
	  CheckExecutionContextPreStartOutputMsg off
	  CheckExecutionContextRuntimeOutputMsg	off
	  SignalResolutionControl "TryResolveAllWithWarning"
	  BlockPriorityViolationMsg "warning"
	  MinStepSizeMsg	  "warning"
	  TimeAdjustmentMsg	  "none"
	  MaxConsecutiveZCsMsg	  "error"
	  SolverPrmCheckMsg	  "none"
	  InheritedTsInSrcMsg	  "warning"
	  DiscreteInheritContinuousMsg "warning"
	  MultiTaskDSMMsg	  "warning"
	  MultiTaskCondExecSysMsg "none"
	  MultiTaskRateTransMsg	  "error"
	  SingleTaskRateTransMsg  "none"
	  TasksWithSamePriorityMsg "warning"
	  SigSpecEnsureSampleTimeMsg "warning"
	  CheckMatrixSingularityMsg "none"
	  IntegerOverflowMsg	  "warning"
	  Int32ToFloatConvMsg	  "warning"
	  ParameterDowncastMsg	  "error"
	  ParameterOverflowMsg	  "error"
	  ParameterUnderflowMsg	  "none"
	  ParameterPrecisionLossMsg "warning"
	  ParameterTunabilityLossMsg "warning"
	  UnderSpecifiedDataTypeMsg "none"
	  UnnecessaryDatatypeConvMsg "none"
	  VectorMatrixConversionMsg "none"
	  InvalidFcnCallConnMsg	  "error"
	  FcnCallInpInsideContextMsg "Use local settings"
	  SignalLabelMismatchMsg  "none"
	  UnconnectedInputMsg	  "warning"
	  UnconnectedOutputMsg	  "warning"
	  UnconnectedLineMsg	  "warning"
	  SFcnCompatibilityMsg	  "none"
	  UniqueDataStoreMsg	  "none"
	  BusObjectLabelMismatch  "warning"
	  RootOutportRequireBusObject "warning"
	  AssertControl		  "UseLocalSettings"
	  EnableOverflowDetection off
	  ModelReferenceIOMsg	  "none"
	  ModelReferenceVersionMismatchMessage "none"
	  ModelReferenceIOMismatchMessage "none"
	  ModelReferenceCSMismatchMessage "none"
	  ModelReferenceSimTargetVerbose off
	  UnknownTsInhSupMsg	  "warning"
	  ModelReferenceDataLoggingMessage "warning"
	  ModelReferenceSymbolNameMessage "warning"
	  ModelReferenceExtraNoncontSigs "error"
	  StateNameClashWarn	  "warning"
	  StrictBusMsg		  "None"
	  LoggingUnavailableSignals "error"
	}
	Simulink.HardwareCC {
	  $ObjectID		  6
	  Version		  "1.3.0"
	  ProdBitPerChar	  8
	  ProdBitPerShort	  16
	  ProdBitPerInt		  32
	  ProdBitPerLong	  32
	  ProdIntDivRoundTo	  "Undefined"
	  ProdEndianess		  "Unspecified"
	  ProdWordSize		  32
	  ProdShiftRightIntArith  on
	  ProdHWDeviceType	  "32-bit Generic"
	  TargetBitPerChar	  8
	  TargetBitPerShort	  16
	  TargetBitPerInt	  32
	  TargetBitPerLong	  32
	  TargetShiftRightIntArith on
	  TargetIntDivRoundTo	  "Undefined"
	  TargetEndianess	  "Unspecified"
	  TargetWordSize	  32
	  TargetTypeEmulationWarnSuppressLevel 0
	  TargetPreprocMaxBitsSint 32
	  TargetPreprocMaxBitsUint 32
	  TargetHWDeviceType	  "Specified"
	  TargetUnknown		  on
	  ProdEqTarget		  on
	}
	Simulink.ModelReferenceCC {
	  $ObjectID		  7
	  Version		  "1.3.0"
	  UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
	  CheckModelReferenceTargetMessage "error"
	  ModelReferenceNumInstancesAllowed "Multi"
	  ModelReferencePassRootInputsByReference on
	  ModelReferenceMinAlgLoopOccurrences off
	}
	Simulink.RTWCC {
	  $BackupClass		  "Simulink.RTWCC"
	  $ObjectID		  8
	  Array {
	    Type		    "Cell"
	    Dimension		    1
	    Cell		    "IncludeHyperlinkInReport"
	    PropName		    "DisabledProps"
	  }
	  Version		  "1.3.0"
	  SystemTargetFile	  "grt.tlc"
	  GenCodeOnly		  off
	  MakeCommand		  "make_rtw"
	  GenerateMakefile	  on
	  TemplateMakefile	  "grt_default_tmf"
	  GenerateReport	  off
	  SaveLog		  off
	  RTWVerbose		  on
	  RetainRTWFile		  off
	  ProfileTLC		  off
	  TLCDebug		  off
	  TLCCoverage		  off
	  TLCAssert		  off
	  ProcessScriptMode	  "Default"
	  ConfigurationMode	  "Optimized"
	  ConfigAtBuild		  off
	  IncludeHyperlinkInReport off
	  LaunchReport		  off
	  TargetLang		  "C"
	  IncludeBusHierarchyInRTWFileBlockHierarchyMap	off
	  IncludeERTFirstTime	  on
	  GenerateTraceInfo	  off
	  RTWCompilerOptimization "Off"
	  Array {
	    Type		    "Handle"
	    Dimension		    2
	    Simulink.CodeAppCC {
	      $ObjectID		      9
	      Array {
		Type			"Cell"
		Dimension		9
		Cell			"IgnoreCustomStorageClasses"
		Cell			"InsertBlockDesc"
		Cell			"SFDataObjDesc"
		Cell			"SimulinkDataObjDesc"
		Cell			"DefineNamingRule"
		Cell			"SignalNamingRule"
		Cell			"ParamNamingRule"
		Cell			"InlinedPrmAccess"
		Cell			"CustomSymbolStr"
		PropName		"DisabledProps"
	      }
	      Version		      "1.3.0"
	      ForceParamTrailComments off
	      GenerateComments	      on
	      IgnoreCustomStorageClasses on
	      IncHierarchyInIds	      off
	      MaxIdLength	      31
	      PreserveName	      off
	      PreserveNameWithParent  off
	      ShowEliminatedStatement off
	      IncAutoGenComments      off
	      SimulinkDataObjDesc     off
	      SFDataObjDesc	      off
	      IncDataTypeInIds	      off
	      MangleLength	      1
	      CustomSymbolStrGlobalVar "$R$N$M"
	      CustomSymbolStrType     "$N$R$M"
	      CustomSymbolStrField    "$N$M"
	      CustomSymbolStrFcn      "$R$N$M$F"
	      CustomSymbolStrBlkIO    "rtb_$N$M"
	      CustomSymbolStrTmpVar   "$N$M"
	      CustomSymbolStrMacro    "$R$N$M"
	      DefineNamingRule	      "None"
	      ParamNamingRule	      "None"
	      SignalNamingRule	      "None"
	      InsertBlockDesc	      off
	      SimulinkBlockComments   on
	      EnableCustomComments    off
	      InlinedPrmAccess	      "Literals"
	      ReqsInCode	      off
	    }
	    Simulink.GRTTargetCC {
	      $BackupClass	      "Simulink.TargetCC"
	      $ObjectID		      10
	      Array {
		Type			"Cell"
		Dimension		12
		Cell			"IncludeMdlTerminateFcn"
		Cell			"CombineOutputUpdateFcns"
		Cell			"SuppressErrorStatus"
		Cell			"ERTCustomFileBanners"
		Cell			"GenerateSampleERTMain"
		Cell			"MultiInstanceERTCode"
		Cell			"PurelyIntegerCode"
		Cell			"SupportNonFinite"
		Cell			"SupportComplex"
		Cell			"SupportAbsoluteTime"
		Cell			"SupportContinuousTime"
		Cell			"SupportNonInlinedSFcns"
		PropName		"DisabledProps"
	      }
	      Version		      "1.3.0"
	      TargetFcnLib	      "ansi_tfl_tmw.mat"
	      TargetLibSuffix	      ""
	      TargetPreCompLibLocation ""
	      GenFloatMathFcnCalls    "ANSI_C"
	      UtilityFuncGeneration   "Auto"
	      GenerateFullHeader      on
	      GenerateSampleERTMain   off
	      GenerateTestInterfaces  off
	      IsPILTarget	      off
	      ModelReferenceCompliant on
	      CompOptLevelCompliant   on
	      IncludeMdlTerminateFcn  on
	      CombineOutputUpdateFcns off
	      SuppressErrorStatus     off
	      IncludeFileDelimiter    "Auto"
	      ERTCustomFileBanners    off
	      SupportAbsoluteTime     on
	      LogVarNameModifier      "rt_"
	      MatFileLogging	      on
	      MultiInstanceERTCode    off
	      SupportNonFinite	      on
	      SupportComplex	      on
	      PurelyIntegerCode	      off
	      SupportContinuousTime   on
	      SupportNonInlinedSFcns  on
	      EnableShiftOperators    on
	      ParenthesesLevel	      "Nominal"
	      PortableWordSizes	      off
	      ModelStepFunctionPrototypeControlCompliant off
	      ExtMode		      off
	      ExtModeStaticAlloc      off
	      ExtModeTesting	      off
	      ExtModeStaticAllocSize  1000000
	      ExtModeTransport	      0
	      ExtModeMexFile	      "ext_comm"
	      ExtModeIntrfLevel	      "Level1"
	      RTWCAPISignals	      off
	      RTWCAPIParams	      off
	      RTWCAPIStates	      off
	      GenerateASAP2	      off
	    }
	    PropName		    "Components"
	  }
	}
	PropName		"Components"
      }
      Name		      "Configuration"
      CurrentDlgPage	      "Solver"
    }
    PropName		    "ConfigurationSets"
  }
  Simulink.ConfigSet {
    $PropName		    "ActiveConfigurationSet"
    $ObjectID		    1
  }
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Clock
      DisplayTime	      off
    }
    Block {
      BlockType		      From
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      FromWorkspace
      VariableName	      "simulink_input"
      SampleTime	      "-1"
      Interpolate	      on
      ZeroCross		      off
      OutputAfterFinalValue   "Extrapolation"
    }
    Block {
      BlockType		      Fcn
      Expr		      "sin(u[1])"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParamMin		      "[]"
      ParamMax		      "[]"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "fixdt(1,16,0)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "[]"
      OutMin		      "[]"
      OutMax		      "[]"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Inport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      OutMin		      "[]"
      OutMax		      "[]"
      DataType		      "auto"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      Integrator
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      IgnoreLimit	      off
      ZeroCross		      on
      ContinuousStateAttributes	"''"
    }
    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"
      OutMin		      "[]"
      OutMax		      "[]"
      DataType		      "auto"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      CollapseMode	      "All dimensions"
      CollapseDim	      "1"
      InputSameDT	      on
      OutMin		      "[]"
      OutMax		      "[]"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Selector
      NumberOfDimensions      "1"
      IndexMode		      "One-based"
      InputPortWidth	      "-1"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      "FromPortIcon"
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      TreatAsAtomicUnit	      off
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      CollapseMode	      "All dimensions"
      CollapseDim	      "1"
      InputSameDT	      on
      OutMin		      "[]"
      OutMax		      "[]"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
    Block {
      BlockType		      Constant
      Value		      "1"
      VectorParams1D	      on
      SamplingMode	      "Sample based"
      OutMin		      "[]"
      OutMax		      "[]"
      OutDataTypeMode	      "Inherit from 'Constant value'"
      OutDataType	      "fixdt(1,16,0)"
      ConRadixGroup	      "Use specified scaling"
      OutScaling	      "[]"
      SampleTime	      "inf"
      FramePeriod	      "inf"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    UseDisplayTextAsClickCallback off
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "GPI1"
    Location		    [253, 78, 1261, 798]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Inport
      Name		      "In1"
      Position		      [410, 183, 440, 197]
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In2"
      Position		      [400, 333, 430, 347]
      Port		      "2"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In3"
      Position		      [405, 498, 435, 512]
      Port		      "3"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In4"
      Position		      [405, 683, 435, 697]
      Port		      "4"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In5"
      Position		      [400, 823, 430, 837]
      Port		      "5"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In6"
      Position		      [405, 978, 435, 992]
      Port		      "6"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In7"
      Position		      [405, 1148, 435, 1162]
      Port		      "7"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In8"
      Position		      [410, 1268, 440, 1282]
      Port		      "8"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In9"
      Position		      [415, 1528, 445, 1542]
      Port		      "9"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In10"
      Position		      [410, 1678, 440, 1692]
      Port		      "10"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In11"
      Position		      [410, 1843, 440, 1857]
      Port		      "11"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In12"
      Position		      [415, 1993, 445, 2007]
      Port		      "12"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In13"
      Position		      [410, 2158, 440, 2172]
      Port		      "13"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In14"
      Position		      [415, 2313, 445, 2327]
      Port		      "14"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In15"
      Position		      [415, 2483, 445, 2497]
      Port		      "15"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In16"
      Position		      [420, 2593, 450, 2607]
      Port		      "16"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In17"
      Position		      [415, 213, 445, 227]
      Port		      "17"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In18"
      Position		      [410, 368, 440, 382]
      Port		      "18"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In19"
      Position		      [410, 528, 440, 542]
      Port		      "19"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In20"
      Position		      [410, 713, 440, 727]
      Port		      "20"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In21"
      Position		      [405, 853, 435, 867]
      Port		      "21"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In22"
      Position		      [410, 1013, 440, 1027]
      Port		      "22"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In23"
      Position		      [405, 1173, 435, 1187]
      Port		      "23"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In24"
      Position		      [415, 1298, 445, 1312]
      Port		      "24"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In25"
      Position		      [420, 1568, 450, 1582]
      Port		      "25"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In26"
      Position		      [410, 1708, 440, 1722]
      Port		      "26"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In27"
      Position		      [370, 1858, 400, 1872]
      Port		      "27"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In28"
      Position		      [415, 2033, 445, 2047]
      Port		      "28"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In29"
      Position		      [410, 2193, 440, 2207]
      Port		      "29"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In30"
      Position		      [410, 2348, 440, 2362]
      Port		      "30"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In31"
      Position		      [415, 2518, 445, 2532]
      Port		      "31"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Inport
      Name		      "In32"
      Position		      [420, 2628, 450, 2642]
      Port		      "32"
      IconDisplay	      "Port number"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [20, 20, 40, 40]
      Decimation	      "10"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [295, 215, 325, 245]
      ForegroundColor	      "green"
      Value		      "0"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant1"
      Position		      [305, 370, 335, 400]
      ForegroundColor	      "green"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant10"
      Position		      [300, 2040, 330, 2070]
      ForegroundColor	      "green"
      Value		      "11"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant11"
      Position		      [295, 2205, 325, 2235]
      ForegroundColor	      "green"
      Value		      "12"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant12"
      Position		      [290, 2360, 320, 2390]
      ForegroundColor	      "green"
      Value		      "13"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant13"
      Position		      [290, 2520, 320, 2550]
      ForegroundColor	      "green"
      Value		      "14"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant14"
      Position		      [290, 2630, 320, 2660]
      ForegroundColor	      "green"
      Value		      "15"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant15"
      Position		      [310, 1710, 340, 1740]
      ForegroundColor	      "green"
      Value		      "9"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant2"
      Position		      [315, 530, 345, 560]
      ForegroundColor	      "green"
      Value		      "2"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant3"
      Position		      [315, 720, 345, 750]
      ForegroundColor	      "green"
      Value		      "3"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant4"
      Position		      [315, 870, 345, 900]
      ForegroundColor	      "green"
      Value		      "4"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant5"
      Position		      [315, 1025, 345, 1055]
      ForegroundColor	      "green"
      Value		      "5"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant6"
      Position		      [310, 1185, 340, 1215]
      ForegroundColor	      "green"
      Value		      "6"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant7"
      Position		      [310, 1305, 340, 1335]
      ForegroundColor	      "green"
      Value		      "7"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant8"
      Position		      [305, 1570, 335, 1600]
      ForegroundColor	      "green"
      Value		      "8"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant9"
      Position		      [305, 1870, 335, 1900]
      ForegroundColor	      "green"
      Value		      "10"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [755, 3177, 820, 3193]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi1"
    }
    Block {
      BlockType		      From
      Name		      "From10"
      Position		      [760, 3477, 825, 3493]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi10"
    }
    Block {
      BlockType		      From
      Name		      "From100"
      Position		      [395, 3227, 460, 3243]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi3"
    }
    Block {
      BlockType		      From
      Name		      "From101"
      Position		      [395, 3262, 460, 3278]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi4"
    }
    Block {
      BlockType		      From
      Name		      "From102"
      Position		      [395, 3287, 460, 3303]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi5"
    }
    Block {
      BlockType		      From
      Name		      "From103"
      Position		      [395, 3322, 460, 3338]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi6"
    }
    Block {
      BlockType		      From
      Name		      "From104"
      Position		      [390, 3367, 455, 3383]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi7"
    }
    Block {
      BlockType		      From
      Name		      "From11"
      Position		      [770, 3512, 835, 3528]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi11"
    }
    Block {
      BlockType		      From
      Name		      "From12"
      Position		      [760, 3552, 825, 3568]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi12"
    }
    Block {
      BlockType		      From
      Name		      "From13"
      Position		      [765, 3587, 830, 3603]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi13"
    }
    Block {
      BlockType		      From
      Name		      "From14"
      Position		      [755, 3142, 820, 3158]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi0"
    }
    Block {
      BlockType		      From
      Name		      "From15"
      Position		      [770, 3627, 835, 3643]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi14"
    }
    Block {
      BlockType		      From
      Name		      "From16"
      Position		      [775, 3662, 840, 3678]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi15"
    }
    Block {
      BlockType		      From
      Name		      "From2"
      Position		      [760, 3207, 825, 3223]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi2"
    }
    Block {
      BlockType		      From
      Name		      "From218"
      Position		      [410, 3402, 475, 3418]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi8"
    }
    Block {
      BlockType		      From
      Name		      "From219"
      Position		      [400, 3432, 465, 3448]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi9"
    }
    Block {
      BlockType		      From
      Name		      "From220"
      Position		      [400, 3472, 465, 3488]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi10"
    }
    Block {
      BlockType		      From
      Name		      "From221"
      Position		      [405, 3507, 470, 3523]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi11"
    }
    Block {
      BlockType		      From
      Name		      "From222"
      Position		      [405, 3547, 470, 3563]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi12"
    }
    Block {
      BlockType		      From
      Name		      "From223"
      Position		      [405, 3582, 470, 3598]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi13"
    }
    Block {
      BlockType		      From
      Name		      "From224"
      Position		      [410, 3622, 475, 3638]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi14"
    }
    Block {
      BlockType		      From
      Name		      "From225"
      Position		      [415, 3657, 480, 3673]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi15"
    }
    Block {
      BlockType		      From
      Name		      "From3"
      Position		      [760, 3242, 825, 3258]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi3"
    }
    Block {
      BlockType		      From
      Name		      "From4"
      Position		      [760, 3272, 825, 3288]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi4"
    }
    Block {
      BlockType		      From
      Name		      "From5"
      Position		      [770, 3307, 835, 3323]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi5"
    }
    Block {
      BlockType		      From
      Name		      "From6"
      Position		      [770, 3342, 835, 3358]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi6"
    }
    Block {
      BlockType		      From
      Name		      "From7"
      Position		      [770, 3377, 835, 3393]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi7"
    }
    Block {
      BlockType		      From
      Name		      "From8"
      Position		      [770, 3402, 835, 3418]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi8"
    }
    Block {
      BlockType		      From
      Name		      "From9"
      Position		      [760, 3437, 825, 3453]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "syngpi9"
    }
    Block {
      BlockType		      From
      Name		      "From97"
      Position		      [395, 3137, 460, 3153]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi0"
    }
    Block {
      BlockType		      From
      Name		      "From98"
      Position		      [395, 3167, 460, 3183]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi1"
    }
    Block {
      BlockType		      From
      Name		      "From99"
      Position		      [400, 3202, 465, 3218]
      ForegroundColor	      "magenta"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "outgpi2"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto33"
      Position		      [625, 217, 690, 233]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi0"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto34"
      Position		      [625, 412, 690, 428]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi1"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto35"
      Position		      [625, 517, 690, 533]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi2"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto36"
      Position		      [620, 742, 685, 758]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi3"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto37"
      Position		      [625, 902, 690, 918]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi4"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto38"
      Position		      [630, 1012, 695, 1028]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi5"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto39"
      Position		      [630, 1157, 695, 1173]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi6"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto40"
      Position		      [655, 1332, 720, 1348]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi7"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto73"
      Position		      [625, 182, 690, 198]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi0"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto74"
      Position		      [620, 307, 685, 323]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi1"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto75"
      Position		      [625, 482, 690, 498]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi2"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto76"
      Position		      [620, 652, 685, 668]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi3"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto77"
      Position		      [620, 817, 685, 833]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi4"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto78"
      Position		      [630, 972, 695, 988]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi5"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto79"
      Position		      [630, 1132, 695, 1148]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi6"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto80"
      Position		      [635, 1247, 700, 1263]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi7"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto81"
      Position		      [655, 1512, 720, 1528]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi8"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto82"
      Position		      [650, 1652, 715, 1668]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi9"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto83"
      Position		      [655, 1822, 720, 1838]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi10"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto84"
      Position		      [645, 1997, 710, 2013]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi11"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto85"
      Position		      [655, 2142, 720, 2158]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi12"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto86"
      Position		      [655, 2297, 720, 2313]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi13"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto87"
      Position		      [650, 2467, 715, 2483]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi14"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto88"
      Position		      [650, 2582, 715, 2598]
      ForegroundColor	      "magenta"
      GotoTag		      "syngpi15"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto89"
      Position		      [655, 1557, 720, 1573]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi8"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto90"
      Position		      [650, 1697, 715, 1713]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi9"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto91"
      Position		      [655, 1857, 720, 1873]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi10"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto92"
      Position		      [650, 2032, 715, 2048]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi11"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto93"
      Position		      [665, 2182, 730, 2198]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi12"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto94"
      Position		      [655, 2332, 720, 2348]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi13"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto95"
      Position		      [655, 2502, 720, 2518]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi14"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto96"
      Position		      [650, 2617, 715, 2633]
      ForegroundColor	      "magenta"
      GotoTag		      "outgpi15"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [16, 1]
      Position		      [880, 3136, 885, 3669]
      ShowName		      off
      Inputs		      "16"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [16, 1]
      Position		      [520, 3131, 525, 3664]
      ShowName		      off
      Inputs		      "16"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [630, 344, 660, 376]
      Floating		      off
      Location		      [5, 56, 1285, 769]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-90"
      YMax		      "60"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [635, 574, 665, 606]
      Floating		      off
      Location		      [5, 56, 1285, 773]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-90"
      YMax		      "60"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [635, 679, 665, 711]
      Floating		      off
      Location		      [5, 60, 1285, 993]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-90"
      YMax		      "60"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [1]
      Position		      [650, 854, 680, 886]
      Floating		      off
      Location		      [6, 60, 1158, 846]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope6"
      Ports		      [1]
      Position		      [645, 1049, 675, 1081]
      Floating		      off
      Location		      [5, 56, 1033, 765]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-90"
      YMax		      "60"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope7"
      Ports		      [1]
      Position		      [640, 1189, 670, 1221]
      Floating		      off
      Location		      [6, 60, 1158, 846]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData7"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope8"
      Ports		      [1]
      Position		      [645, 1269, 675, 1301]
      Floating		      off
      Location		      [5, 56, 1285, 773]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-90"
      YMax		      "60"
      SaveName		      "ScopeData8"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [75, 15, 135, 45]
      VariableName	      "t_GPI"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [935, 3380, 995, 3410]
      VariableName	      "SYNGPI"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace8"
      Position		      [575, 3375, 635, 3405]
      VariableName	      "VGPI"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp"
      Ports		      [5, 2]
      Position		      [520, 176, 560, 244]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp"
	Location		[253, 82, 1278, 777]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp1"
      Ports		      [5, 2]
      Position		      [520, 331, 560, 399]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp1"
	Location		[0, 88, 1268, 774]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp10"
      Ports		      [5, 2]
      Position		      [540, 1831, 580, 1899]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp10"
	Location		[253, 78, 1278, 781]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp11"
      Ports		      [5, 2]
      Position		      [540, 2011, 580, 2079]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp11"
	Location		[253, 78, 1278, 781]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp12"
      Ports		      [5, 2]
      Position		      [550, 2166, 590, 2234]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp12"
	Location		[0, 88, 1268, 774]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp13"
      Ports		      [5, 2]
      Position		      [560, 2311, 600, 2379]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp13"
	Location		[253, 78, 1278, 781]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [105, 463, 135, 477]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [585, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp14"
      Ports		      [5, 2]
      Position		      [550, 2481, 590, 2549]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp14"
	Location		[0, 88, 1268, 774]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp15"
      Ports		      [5, 2]
      Position		      [560, 2581, 600, 2649]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp15"
	Location		[0, 88, 1268, 774]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp2"
      Ports		      [5, 2]
      Position		      [525, 491, 565, 559]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp2"
	Location		[0, 88, 1268, 774]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp3"
      Ports		      [5, 2]
      Position		      [520, 661, 560, 729]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp3"
	Location		[0, 88, 1268, 774]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]
		    DstBlock		    "it_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "it_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "r_gpi"
		  SrcPort		  1
		  Points		  [0, 10]
		  DstBlock		  "it_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "r_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [625, 513, 655, 527]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-5, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -20]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 60, 0]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -75]
		  Branch {
		    DstBlock		    "il"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [15, 0]
		    DstBlock		    "ik"
		    DstPort		    1
		  }
		}
		Branch {
		  Points		  [15, 0]
		  DstBlock		  "ina"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "it"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 90]
		  Branch {
		    DstBlock		    "ica"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 65]
		    Branch {
		    Points		    [110, 0; 0, -45]
		    DstBlock		    "iahp"
		    DstPort		    3
		    }
		    Branch {
		    Points		    [0, 120]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "il"
	      SrcPort		      1
	      Points		      [-100, 0; 0, 40]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ik"
	      SrcPort		      1
	      Points		      [5, 0; 0, -45; -370, 0; 0, 110]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ina"
	      SrcPort		      1
	      Points		      [15, 0; 0, -130; -390, 0; 0, 145]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ica"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[20, 0]
		DstBlock		"iahp"
		DstPort			2
	      }
	      Branch {
		Points			[5, 0; 0, -300; -435, 0; 0, 215]
		DstBlock		"Sum"
		DstPort			5
	      }
	    }
	    Line {
	      SrcBlock		      "it"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[30, 0]
		DstBlock		"iahp"
		DstPort			1
	      }
	      Branch {
		Points			[0, -215; -410, 0; 0, 180]
		DstBlock		"Sum"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "iahp"
	      SrcPort		      1
	      Points		      [10, 0; 0, -305; -555, 0; 0, 250]
	      DstBlock		      "Sum"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Sum"
	      DstPort		      9
	    }
	    Line {
	      SrcBlock		      "Selector5\n"
	      SrcPort		      1
	      Points		      [15, 0; 0, -180]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [100, 0; 0, -360]
	      DstBlock		      "ik"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      Points		      [95, 0; 0, -355]
	      DstBlock		      "ina"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      Points		      [100, 0; 0, -335]
	      DstBlock		      "it"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      Points		      [260, 0; 0, -265]
	      DstBlock		      "iahp"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [15, 0; 0, -55]
	      Branch {
		Points			[0, -60]
		Branch {
		  Points		  [0, -60]
		  Branch {
		    Points		    [0, -65]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Selector5\n"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Selector5"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [20, 0]
		    DstBlock		    "Selector1"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Selector2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Selector3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 5; 85, 0; 0, 15]
	      DstBlock		      "Selector5\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [115, 0; 0, -5]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In5"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      10
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "igpegpi"
	  Ports			  [2, 1]
	  Position		  [575, 283, 615, 347]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "igpegpi"
	    Location		    [2, 82, 1150, 846]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "ggpegpi*(u-egpegpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "istngpi"
	  Ports			  [2, 1]
	  Position		  [575, 183, 615, 247]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "istngpi"
	    Location		    [453, 289, 793, 463]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 58, 60, 72]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 115, 140, 145]
	      Expr		      "gstngpi*(u-estngpi)"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [215, 91, 260, 124]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 103, 315, 117]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [95, 0; 0, 35]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi"
	  Ports			  [2, 1]
	  Position		  [445, 270, 485, 330]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [370, 103, 400, 117]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sigmagh_gpe))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpegpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpegpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_gpegpi1"
	  Ports			  [2, 1]
	  Position		  [1020, 45, 1060, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_gpegpi1"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_gpi-thetagh_gpi)/sigmagh_gpi))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_gpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "syn_stngpi"
	  Ports			  [2, 1]
	  Position		  [455, 170, 495, 230]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "syn_stngpi"
	    Location		    [2, 166, 582, 436]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 53, 55, 67]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [375, 108, 405, 122]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [80, 45, 210, 75]
	      Expr		      "1/(1+exp(-(u-theta_stn-thetagh_stn)/sigmagh_stn))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [240, 215, 300, 245]
	      Orientation	      "left"
	      Expr		      "A_stngpi*(1-u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [375, 168, 485, 202]
	      Orientation	      "left"
	      Gain		      "B_stngpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [425, 82, 455, 113]
	      InitialConditionSource  "external"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [245, 27, 290, 158]
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 85, 370, 105]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [525, 88, 555, 102]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -105]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 45]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-10, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Integrator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1085, 68, 1115, 82]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [895, 208, 925, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "igpegpi"
	  SrcPort		  1
	  Points		  [55, 0; 0, -95]
	  DstBlock		  "gpi_cell"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "istngpi"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "syn_gpegpi"
	  SrcPort		  1
	  DstBlock		  "igpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_stngpi"
	  SrcPort		  1
	  DstBlock		  "istngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "syn_gpegpi1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "syn_stngpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "gpi_cell"
	  SrcPort		  1
	  Points		  [0, -5; 5, 0]
	  Branch {
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 160; -250, 0; 0, -45]
	    Branch {
	      Points		      [0, -100]
	      DstBlock		      "istngpi"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "igpegpi"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -155]
	    DstBlock		    "syn_gpegpi1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "syn_gpegpi1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [165, 0]
	  Branch {
	    Points		    [-50, 0; 0, -155]
	    Branch {
	      DstBlock		      "Selector5"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -115; 690, 0]
	      DstBlock		      "Selector2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [-50, 0; 0, 50; 455, 0; 0, -225]
	    DstBlock		    "gpi_cell"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Selector1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [5, 0; 0, -25]
	  DstBlock		  "syn_stngpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -90]
	  DstBlock		  "syn_gpegpi"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35; 10, 0; 0, 25]
	  DstBlock		  "Selector5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45; 5, 0; 0, 30]
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  Points		  [580, 0]
	  DstBlock		  "gpi_cell"
	  DstPort		  5
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "gpicomp4"
      Ports		      [5, 2]
      Position		      [535, 826, 575, 894]
      BackgroundColor	      "magenta"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"gpicomp4"
	Location		[0, 88, 1268, 774]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [685, 188, 715, 202]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [390, 178, 420, 192]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [390, 278, 420, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [105, 398, 135, 412]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In5"
	  Position		  [110, 518, 140, 532]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [285, 155, 315, 185]
	  Value			  "sis0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [290, 305, 320, 335]
	  Value			  "sig0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [855, 65, 885, 95]
	  Value			  "sgi0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [2, 1]
	  Position		  [375, 386, 415, 424]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [2, 1]
	  Position		  [960, 71, 1000, 109]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [2, 1]
	  Position		  [385, 221, 425, 259]
	  IndexMode		  "Zero-based"
	  IndexOptions		  "Index vector (port)"
	  Indices		  "[1 3]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "gpi_cell"
	  Ports			  [5, 1]
	  Position		  [740, 189, 780, 251]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  System {
	    Name		    "gpi_cell"
	    Location		    [2, 82, 1253, 772]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [50, 288, 80, 302]
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [50, 313, 80, 327]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [50, 338, 80, 352]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [95, 728, 125, 742]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In5"
	      Position		      [55, 368, 85, 382]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 390, 45, 420]
	      Value		      "vgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [15, 465, 45, 495]
	      Value		      "ngi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [15, 525, 45, 555]
	      Value		      "hgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [15, 585, 45, 615]
	      Value		      "rgi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [15, 645, 45, 675]
	      Value		      "cagi0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [180, 226, 250, 264]
	      Gain		      "1/c_gpi"
	      ParameterDataType	      "sfix(16)"
	      ParameterScaling	      "2^0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [2, 1]
	      Position		      [265, 232, 295, 263]
	      InitialConditionSource  "external"
	      InitialCondition	      "-67"
	      LimitOutput	      on
	      UpperSaturationLimit    "80"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [2, 1]
	      Position		      [180, 536, 220, 574]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [2, 1]
	      Position		      [180, 591, 220, 629]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [2, 1]
	      Position		      [170, 651, 210, 689]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [2, 1]
	      Position		      [170, 466, 210, 504]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5\n"
	      Ports		      [2, 1]
	      Position		      [175, 416, 215, 454]
	      IndexMode		      "Zero-based"
	      IndexOptions	      "Index vector (port)"
	      Indices		      "[1 3]"
	      OutputSizes	      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Description	      "--------"
	      Ports		      [10, 1]
	      Position		      [105, 140, 165, 385]
	      ShowName		      off
	      Inputs		      "------+--+"
	      CollapseMode	      "All dimensions"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "iahp"
	      Ports		      [4, 1]
	      Position		      [505, 233, 570, 427]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"iahp"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 78, 55, 92]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [105, 128, 135, 142]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [25, 138, 55, 152]
		  Port			  "4"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [165, 50, 225, 80]
		  Expr			  "u/(u+k1_gpi)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [170, 120, 230, 150]
		  Expr			  "(u-ek_gpi)*gahp_gpi"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [280, 40, 335, 155]
		  CollapseMode		  "All dimensions"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [3, 1]
		  Position		  [90, 26, 135, 104]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Subsystem"
		    Location		    [0, 86, 1012, 756]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 38, 55, 52]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [215, 93, 245, 107]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [130, 48, 230, 102]
		    Gain		    "epsil_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [125, 144, 220, 176]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    Gain		    "kca_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [280, 62, 310, 93]
		    InitialConditionSource  "external"
		    InitialCondition	    "0.03"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [90, 29, 115, 121]
		    ShowName		    off
		    Inputs		    "---"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [370, 68, 400, 82]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain1"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    Points		    [-45, 0]
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [0, -5; 5, 0]
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 85]
		    DstBlock		    "Gain2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [5, 0; 0, -15]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [360, 93, 390, 107]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "Subsystem"
		  SrcPort		  1
		  DstBlock		  "Fcn"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [25, 0; 0, -10]
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [25, 0; 0, 10; 10, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  Points		  [15, 0]
		  DstBlock		  "Subsystem"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ica"
	      Ports		      [1, 1]
	      Position		      [390, 305, 430, 365]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ica"
		Location		[160, 217, 625, 486]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 115, 55, 130]
		  Orientation		  "down"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ica_gpe"
		  Ports			  [2, 1]
		  Position		  [335, 158, 385, 242]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ica_gpe"
		    Location		    [515, 326, 890, 511]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [35, 53, 65, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^2*gca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "sinf"
		  Position		  [95, 204, 250, 236]
		  Expr			  "1/(1 + exp(-(u-thetas_gpi)/sigmas_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 193, 440, 207]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "sinf"
		  SrcPort		  1
		  DstBlock		  "ica_gpe"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [0, 45]
		  Branch {
		    Points		    [0, 40]
		    DstBlock		    "sinf"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "ica_gpe"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ica_gpe"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ik"
	      Ports		      [2, 1]
	      Position		      [390, 80, 430, 140]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ik"
		Location		[2, 82, 1014, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 48, 45, 62]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [20, 158, 50, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ik_gpi"
		  Ports			  [2, 1]
		  Position		  [220, 83, 270, 167]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ik_gpi"
		    Location		    [347, 237, 722, 422]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 53, 55, 67]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [35, 118, 65, 132]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [90, 110, 150, 140]
		    Expr		    "u^4*gk_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [90, 45, 150, 75]
		    Expr		    "u-ek_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [170, 26, 295, 159]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [320, 88, 350, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "n_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 115, 190, 175]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "n_gpi"
		    Location		    [2, 82, 1014, 732]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [575, 358, 605, 372]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_n"
		    Position		    [240, 258, 395, 292]
		    Expr		    "1/(taun0_gpi+ taun1_gpi/(1+exp(-(u-thetataun_gpi)/sigmataun_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phin_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "ninf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetan_gpi)/sigman_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_n"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "ninf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_n"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "ninf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [30, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 118, 385, 132]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "n_gpi"
		  SrcPort		  1
		  DstBlock		  "ik_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [135, 0]
		    DstBlock		    "ik_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "n_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ik_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0; 0, -5]
		  DstBlock		  "n_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "il"
	      Position		      [185, 91, 275, 129]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Expr		      "gl_gpi*(u-el_gpi)"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ina"
	      Ports		      [2, 1]
	      Position		      [390, 155, 430, 215]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"ina"
		Location		[0, 86, 1012, 752]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 78, 45, 92]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 163, 45, 177]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "h_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 125, 190, 185]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "h_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [570, 343, 600, 357]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_h"
		    Position		    [240, 258, 420, 292]
		    Expr		    "1/(tauh0_gpi + tauh1_gpi/(1+exp(-(u-thetatauh_gpi)/sigmatauh_gpi)))"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phih_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "hinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetah_gpi)/sigmah_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_h"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "hinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_h"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "hinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [35, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ina_gpi"
		  Ports			  [3, 1]
		  Position		  [330, 29, 385, 181]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "ina_gpi"
		    Location		    [2, 82, 513, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^3*gna_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-ena_gpi"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Fcn
		  Name			  "minf"
		  Position		  [90, 68, 245, 102]
		  Expr			  "1/(1 + exp(-(u-thetam_gpi)/sigmam_gpi))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [410, 98, 440, 112]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "h_gpi"
		  SrcPort		  1
		  DstBlock		  "ina_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "minf"
		  SrcPort		  1
		  Points		  [65, 0]
		  DstBlock		  "ina_gpi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [5, 0]
		  Branch {
		    DstBlock		    "minf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 55]
		    DstBlock		    "h_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -30]
		    DstBlock		    "ina_gpi"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "ina_gpi"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "h_gpi"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "it"
	      Ports		      [2, 1]
	      Position		      [390, 230, 430, 290]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"it"
		Location		[2, 82, 1014, 732]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [15, 83, 45, 97]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 123, 45, 137]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "ainf"
		  Position		  [105, 142, 260, 178]
		  Expr			  "1/(1 + exp(-(u-thetaa_gpi)/sigmaa_gpi))"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "it_gpi"
		  Ports			  [3, 1]
		  Position		  [480, 23, 540, 187]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "it_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 88, 55, 102]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 133, 55, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [25, 178, 55, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [75, 125, 205, 155]
		    Expr		    "u^2*gt_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn2"
		    Position		    [80, 80, 140, 110]
		    Expr		    "u-eca_gpi"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn3"
		    Position		    [75, 170, 205, 200]
		    Expr		    "u^3"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [300, 73, 425, 207]
		    Inputs		    "3"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [450, 133, 480, 147]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Fcn2"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    DstBlock		    "Fcn3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn3"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "r_gpi"
		  Ports			  [2, 1]
		  Position		  [90, 65, 190, 125]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "r_gpi"
		    Location		    [2, 82, 1014, 752]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [125, 318, 155, 332]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [580, 353, 610, 367]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "1/tau_r"
		    Position		    [225, 258, 405, 292]
		    Expr		    "1/taur_gpi"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [555, 277, 625, 323]
		    Gain		    "phir_gpi"
		    ParameterDataType	    "sfix(16)"
		    ParameterScaling	    "2^0"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Integrator
		    Name		    "Integrator1"
		    Ports		    [2, 1]
		    Position		    [655, 287, 685, 318]
		    InitialConditionSource  "external"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [480, 249, 525, 351]
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [415, 315, 435, 335]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|+-"
		    CollapseMode	    "All dimensions"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "rinf"
		    Position		    [240, 310, 385, 340]
		    Expr		    "1/(1 + exp(-(u-thetar_gpi)/sigmar_gpi))"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [815, 293, 845, 307]
		    IconDisplay		    "Port number"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [0, 0; 15, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "1/tau_r"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "rinf"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "1/tau_r"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Integrator1"
		    SrcPort		    1
		    Points		    [30, -5; 30, 0]
		    Branch {
		    Points		    [0, 90; -325, 0]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "rinf"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Integrator1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 103, 590, 117]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Line {
		  SrcBlock		  "ainf"
		  SrcPort		  1
		  DstBlock		  "it_gpi"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    Points		    [0, -10]
		    DstBlock		    "r_gpi"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "ainf"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40]