Model { Name "punto5esc_elevatorpi" Version 6.0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.117" 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 RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon Jul 01 17:09:14 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Juan Manuel" ModifiedDateFormat "%" LastModifiedDate "Tue Jun 26 17:22:36 2007" ModelVersionFormat "1.%" ConfigurationManager "none" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "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 on BufferReuse on ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.0.4" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.0.4" StartTime "0.0" StopTime "120" AbsTol "auto" FixedStep "0.02" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" RelTol "1e-3" SolverMode "Auto" Solver "ode4" ZeroCrossControl "UseLocalSettings" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.0.4" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints off MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.0.4" BlockReduction off BooleanDataType off ConditionallyExecuteInputs on ConditionalExecOptimization "on_for_testing" InlineParams off InlineInvariantSignals on OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off OptimizeModelRefInitCode off LifeSpan "inf" } Simulink.DebuggingCC { $ObjectID 5 Version "1.0.4" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "none" UnconnectedOutputMsg "none" UnconnectedLineMsg "none" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" } Simulink.HardwareCC { $ObjectID 6 Version "1.0.4" 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.0.4" 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.0.4" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" 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 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.0.4" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 12 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } Version "1.0.4" TargetFcnLib "ansi_tfl_tmw.mat" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" SimulationMode "normal" CurrentDlgPage "Data Import//Export" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Abs SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" } Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType DataTypeConversion OutDataTypeMode "Inherit via back propagation" OutDataType "sfix(16)" OutScaling "2^0" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Derivative LinearizePole "inf" } Block { BlockType Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Inport BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType Logic Operator "AND" Inputs "2" AllPortsSameDT on OutDataTypeMode "Logical (see Configuration Parameters: Optimiza" "tion)" LogicDataType "uint(8)" SampleTime "-1" } Block { BlockType Lookup InputValues "[-4:5]" OutputValues " rand(1,10)-0.5" LookUpMeth "Interpolation-Extrapolation" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" LUTDesignTableMode "Redesign Table" LUTDesignDataSource "Block Dialog" LUTDesignFunctionName "sqrt(x)" LUTDesignUseExistingBP on LUTDesignRelError "0.01" LUTDesignAbsError "1e-6" } Block { BlockType Lookup2D RowIndex "[0 1]" ColumnIndex "[0 1]" OutputValues "[0 0;0 0]" LookUpMeth "Interpolation-Extrapolation" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" LUTDesignTableMode "Redesign Table" LUTDesignDataSource "Block Dialog" LUTDesignFunctionName "sqrt(x)" LUTDesignUseExistingBP on LUTDesignRelError "0.01" LUTDesignAbsError "1e-6" } Block { BlockType Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Mux Inputs "4" DisplayOption "none" BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RandomNumber Mean "0" Variance "1" Seed "0" SampleTime "-1" VectorParams1D on } Block { BlockType RelationalOperator Operator ">=" InputSameDT on LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza" "tion)" LogicDataType "uint(8)" ZeroCross on SampleTime "-1" } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on SampleTime "-1" } Block { BlockType Scope Floating off 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 "0" } Block { BlockType Selector InputType "Vector" IndexMode "One-based" ElementSrc "Internal" Elements "1" RowSrc "Internal" Rows "1" ColumnSrc "Internal" Columns "1" InputPortWidth "-1" IndexIsStartValue off OutputPortSize "1" } Block { BlockType "S-Function" FunctionName "system" PortCounts "[]" SFunctionModules "''" } Block { BlockType Signum ZeroCross on SampleTime "-1" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType Stop } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutDataTypeMode "Inherit via internal rule" RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" } Block { BlockType Terminator } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" FixptAsFi off } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" SampleTime "-1" } Block { BlockType UnitDelay X0 "0" SampleTime "1" StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "punto5esc_elevatorpi" Location [2, 82, 773, 537] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Display Name "AOA" Ports [1] Position [485, 186, 570, 214] BackgroundColor "yellow" DropShadow on Decimation "1" } Block { BlockType Sum Name "Add" Ports [2, 1] Position [447, 910, 478, 940] Orientation "down" NamePlacement "alternate" Inputs "-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Aileron" Position [15, 106, 55, 124] DropShadow on Value "Aileron" } Block { BlockType Display Name "Aileron1" Ports [1] Position [60, 810, 150, 840] Decimation "1" } Block { BlockType Display Name "Aircraft states" Ports [1] Position [630, 45, 715, 335] BackgroundColor "cyan" DropShadow on Decimation "1" } Block { BlockType Display Name "Airspeed" Ports [1] Position [485, 86, 570, 114] BackgroundColor "yellow" DropShadow on Decimation "1" } Block { BlockType Display Name "Bank angle" Ports [1] Position [485, 236, 570, 264] BackgroundColor "yellow" DropShadow on Decimation "1" } Block { BlockType Constant Name "Constant" Position [385, 885, 415, 915] Value "theta" } Block { BlockType Gain Name "D2R" Position [450, 960, 480, 990] Orientation "down" NamePlacement "alternate" Gain "pi/180" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Demux Name "Demux" Ports [1, 3] Position [370, 86, 375, 154] BackgroundColor "black" ShowName off Outputs "3" } Block { BlockType Demux Name "Demux1" Ports [1, 3] Position [440, 266, 445, 334] BackgroundColor "black" ShowName off Outputs "3" } Block { BlockType Demux Name "Demux2" Ports [1, 15] Position [620, 469, 625, 731] BackgroundColor "black" ShowName off Outputs "15" DisplayOption "bar" } Block { BlockType Demux Name "Demux3" Ports [1, 2] Position [175, 624, 180, 706] Orientation "left" BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Demux Name "Demux4" Ports [1, 2] Position [175, 534, 180, 616] Orientation "left" BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Demux Name "Demux5" Ports [1, 3] Position [469, 425, 531, 430] Orientation "down" BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Constant Name "Elevator" Position [15, 66, 55, 84] DropShadow on Value "Elevator" } Block { BlockType Display Name "Elevator1" Ports [1] Position [60, 720, 150, 750] Decimation "1" } Block { BlockType Constant Name "Flap" Position [15, 26, 55, 44] DropShadow on Value "0" } Block { BlockType Reference Name "FlightGear 0.9.8 \nInterface" Ports [12] Position [780, 369, 865, 611] SourceBlock "aerosimlib/Pilot Interface/FlightGear 0.9.8 \nI" "nterface" SourceType "FlightGear 0.9.8 interface" ShowPortLabels on hostname "'localhost'" port "5500" tsamp "0.02" } Block { BlockType Gain Name "Gain" Position [225, 650, 255, 680] Orientation "left" NamePlacement "alternate" Gain "-Klat" Multiplication "Matrix(K*u) (u vector)" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [225, 560, 255, 590] Orientation "left" NamePlacement "alternate" Gain "-Klon" Multiplication "Matrix(K*u) (u vector)" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" Position [155, 995, 185, 1025] Orientation "left" NamePlacement "alternate" Gain "-1/9.2110" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Display Name "Heading" Ports [1] Position [485, 336, 570, 364] BackgroundColor "yellow" DropShadow on Decimation "1" } Block { BlockType Constant Name "Ignition" Position [15, 266, 55, 284] DropShadow on } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [270, 1060, 300, 1090] Orientation "left" } Block { BlockType Gain Name "Ki" Position [360, 1060, 390, 1090] Orientation "left" NamePlacement "alternate" Gain "-1.5" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Kp" Position [355, 995, 385, 1025] Orientation "left" NamePlacement "alternate" Gain "-3.2" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Mixture" Position [15, 226, 55, 244] DropShadow on Value "13" } Block { BlockType Mux Name "Mux" Ports [7, 1] Position [180, 14, 185, 296] ShowName off Inputs "7" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [3, 1] Position [650, 531, 655, 579] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" Ports [2, 1] Position [680, 643, 685, 687] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" Ports [2, 1] Position [650, 638, 655, 667] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" Ports [6, 1] Position [365, 522, 370, 623] Orientation "left" NamePlacement "alternate" ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType Mux Name "Mux5" Ports [5, 1] Position [365, 666, 370, 754] Orientation "left" ShowName off Inputs "5" DisplayOption "bar" } Block { BlockType SubSystem Name "North American Navion" Ports [3, 15] Position [225, 57, 340, 353] BackgroundColor "lightBlue" DropShadow on AncestorBlock "aerosimlib/Complete Aircraft/6-DOF Aircraft Mod" "el\n(Body-frame EOM)" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "6-DOF Aircraft Model" MaskDescription "Nonlinear 6-DOF aircraft model with equations o" "f motion in body frame." MaskHelp "The block implements the 6-DOF nonlinear aircra" "ft model using AeroSim blocks. Velocities are computed in body frame.\n

" "Inputs:\n

  • Controls = the 7x1 vector of aircraft controls [flap elevato" "r aileron rudder throttle mixture ignition]. Aerodynamic controls are in radi" "ans, throttle is from 0 to 1, mixture is fraction air/fuel flow, ignition is " "0 (engine off) or 1 (engine on).
  • \n
  • Winds = the 3x1 vector of backgrou" "nd wind speed components in navigation frame [North East Down]
  • \n
  • RST " "= the integrator reset flag (0 or 1, all integrators on rising edge)\n

    \n<" "P>Outputs: \n
  • States = the 15x1 aircraft state vector [Velocities, " "Angular rates, Quaternions, Position, Fuel mass, Engine speed].
  • \n
  • Sen" "sors = the 18x1 vector of sensor outputs [GPS Position, GPS Groundspeed, Acce" "lerometers, Gyros, Air data, Magnetometer].
  • \n
  • VelW = the 3x1 vector o" "f aircraft velocity in wind axes [Airspeed, sideslip, angle of attack]
  • \n" "
  • Mach = the Mach number
  • \n
  • Ang Acc = the 3x1 vector of angular acce" "lerations\n
  • Euler = the 3x1 vector of Euler angles (roll, pitch, yaw)
  • " "\n
  • AeroCoeff = the 6x1 vector of aerodynamic coefficients [CD CY CL Cl Cm " "Cn]
  • \n
  • PropCoeff = the 3x1 vector of propeller coefficients [J CT CP]<" "/LI>\n
  • EngCoeff = the 5x1 vector of engine coefficients [MAP Airflow Fuelf" "low BSFC Power]
  • \n
  • Mass = the current aircraft mass
  • \n
  • ECEF = 3" "x1 vector of position of the aircraft in the Earth-centered, Earth-fixed fram" "e
  • \n
  • MSL = the aircraft altitude above mean-sea-level
  • \n
  • AGL = " "the aircraft altitude above terrain
  • \n
  • REarth = the Earth equivalent r" "adius at current location\n
  • AConGnd = the aircraft-on-ground flag (0 if ai" "rcraft above ground, 1 if aircraft on the ground)
  • \n

    \n

    Parameter" "s:\n

  • Aircraft configuration file = the MAT-file with aircraft data\n
  • Initial velocities = the 3x1 vector of initial aircraft velocities in " "body axes [u v w]
  • \n
  • Initial angular rates = the 3x1 vector of initial" " angular rates [p q r]
  • \n
  • Initial attitude = the 4x1 vector of initial" " quaternions [e0 ex ey ez]
  • \n
  • Initial position = the 3x1 vector of ini" "tial aircraft location [Lat Lon Alt]
  • \n
  • Initial fuel mass = the initia" "l quantity of fuel on-board the aircraft
  • \n
  • Initial engine speed = the" " initial engine rotation speed
  • \n
  • Ground altitude = the ground altitud" "e at aircraft location
  • \n
  • WMM coefficient file = the path to the magne" "tic model coefficient file
  • \n
  • Simulation date = the date to be used fo" "r the magnetic model [day month year]
  • \n
  • Sample time = the aircraft mo" "del sample time.
  • \n

    " MaskPromptString "Aircraft configuration file:|Initial velocities" ":|Initial angular rates:|Initial attitude:|Initial position:|Initial fuel mas" "s:|Initial engine speed:|Ground altitude:|WMM coefficient file:|Simulation da" "te:|Sample time:" MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit,ed" "it,edit" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,," MaskVariables "aircraftcfg=@1;VelocitiesIni=@2;RatesIni=@3;Qua" "ternionsIni=@4;PositionIni=@5;FuelIni=@6;OmegaIni=@7;GndAlt=@8;wmmfile=@9;dmy" "=@10;tsamp=@11;" MaskInitialization "load(aircraftcfg);" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "'navioncfg.mat'|[u v w]'|[p q r]'*pi/180|[q0 q1" " q2 q3]'|[45*pi/180 -122*pi/180 Alt]'|Fuel|Engine*pi/30|0|'C:\\Archivos de Pr" "ograma\\AeroSim\\wmm.cof'|[09 01 2002]|0.02" MaskTabNameString ",,,,,,,,,," System { Name "North American Navion" Location [-34, 64, 737, 541] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "Controls" Position [15, 153, 45, 167] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Winds" Position [365, 508, 395, 522] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "RST" Position [70, 418, 100, 432] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "Aerodynamics" Ports [7, 6] Position [180, 36, 280, 184] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Aerodynamics" Location [312, 142, 1054, 942] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "VelB" Position [20, 58, 50, 72] Port "1" IconDisplay "Port number" PortDimensions "[3 1]" LatchInput off } Block { BlockType Inport Name "WindB" Position [20, 88, 50, 102] Port "2" IconDisplay "Port number" PortDimensions "[3 1]" LatchInput off } Block { BlockType Inport Name "Rates" Position [20, 258, 50, 272] Port "3" IconDisplay "Port number" PortDimensions "[3 1]" LatchInput off } Block { BlockType Inport Name "WindRates" Position [20, 288, 50, 302] Port "4" IconDisplay "Port number" PortDimensions "[3 1]" LatchInput off } Block { BlockType Inport Name "AeroCon" Position [20, 168, 50, 182] Port "5" IconDisplay "Port number" PortDimensions "[4 1]" LatchInput off } Block { BlockType Inport Name "rho" Position [20, 198, 50, 212] Port "6" IconDisplay "Port number" PortDimensions "1" LatchInput off } Block { BlockType Inport Name "a" Position [20, 228, 50, 242] Port "7" IconDisplay "Port number" PortDimensions "1" LatchInput off } Block { BlockType Reference Name "Aerodynamic\nForce" Ports [5, 1] Position [515, 53, 615, 157] SourceBlock "aerosimlib/Aerodynamics/Aerodynamic\nFo" "rce" SourceType "Aerodynamic force" ShowPortLabels on S "S" } Block { BlockType Reference Name "Aerodynamic\nMoment" Ports [4, 1] Position [515, 199, 615, 281] SourceBlock "aerosimlib/Aerodynamics/Aerodynamic\nMo" "ment" SourceType "Aerodynamic moment" ShowPortLabels on c "MAC" b "b" S "S" } Block { BlockType Reference Name "Drag Coefficient" Ports [4, 1] Position [300, 211, 400, 289] SourceBlock "aerosimlib/Aerodynamics/Drag Coefficien" "t" SourceType "Drag coefficient" ShowPortLabels on CL0 "CLmind" CD0 "CDmin" CDdf "CDdf" CDde "CDde" CDda "CDda" CDdr "CDdr" CDM "CDM" e "osw" b "b" S "S" } Block { BlockType Reference Name "Dynamic Pressure" Ports [2, 1] Position [115, 187, 200, 238] SourceBlock "aerosimlib/Aerodynamics/Dynamic Pressur" "e" SourceType "Dynamic pressure" ShowPortLabels on } Block { BlockType Reference Name "Lift Coefficient" Ports [5, 1] Position [300, 52, 400, 158] SourceBlock "aerosimlib/Aerodynamics/Lift Coefficien" "t" SourceType "Lift coefficient" ShowPortLabels on CL0 "CL0" CLalpha "CLa" CLdf "CLdf" CLde "CLde" CLalphadot "CLalphadot" CLq "CLq" CLM "CLM" c "MAC" } Block { BlockType Mux Name "Mux" Ports [6, 1] Position [515, 322, 520, 438] ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType Reference Name "Pitch Moment\nCoefficient" Ports [5, 1] Position [300, 423, 400, 527] SourceBlock "aerosimlib/Aerodynamics/Pitch Moment\nC" "oefficient" SourceType "Pitch moment coefficient" ShowPortLabels on Cm0 "Cm0" Cma "Cma" Cmdf "Cmdf" Cmde "Cmde" Cmalphadot "Cmalphadot" Cmq "Cmq" CmM "CmM" c "MAC" } Block { BlockType Reference Name "Roll Moment\nCoefficient" Ports [3, 1] Position [300, 560, 400, 640] SourceBlock "aerosimlib/Aerodynamics/Roll Moment\nCo" "efficient" SourceType "Roll moment coefficient" ShowPortLabels on Clbeta "Clbeta" Clda "Clda" Cldr "Cldr" Clp "Clp" Clr "Clr" b "b" } Block { BlockType Reference Name "Side Force Coefficient" Ports [3, 1] Position [300, 321, 400, 399] SourceBlock "aerosimlib/Aerodynamics/Side Force Coef" "ficient" SourceType "Side force coefficient" ShowPortLabels on CYbeta "CYbeta" CYda "CYda" CYdr "CYdr" CYp "CYp" CYr "CYr" b "b" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [75, 255, 95, 275] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Reference Name "Wind-axes Velocities" Ports [3, 3] Position [110, 52, 210, 128] SourceBlock "aerosimlib/Aerodynamics/Wind-axes Veloc" "ities" SourceType "Wind-axes velocities" ShowPortLabels on Vabnd "VaBnd" betabnd "BetaBnd" alphabnd "AlphaBnd" } Block { BlockType Reference Name "Yaw Moment\nCoefficient" Ports [3, 1] Position [300, 675, 400, 755] SourceBlock "aerosimlib/Aerodynamics/Yaw Moment\nCoe" "fficient" SourceType "Yaw moment coefficient" ShowPortLabels on Cnbeta "Cnbeta" Cnda "Cnda" Cndr "Cndr" Cnp "Cnp" Cnr "Cnr" b "b" } Block { BlockType Outport Name "Faero" Position [680, 98, 710, 112] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Maero" Position [680, 128, 710, 142] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "AeroCoeff" Position [680, 158, 710, 172] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "VelW" Position [680, 188, 710, 202] Port "4" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Mach" Position [680, 218, 710, 232] Port "5" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "pdyn" Position [680, 248, 710, 262] Port "6" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [135, 0] Branch { Points [0, 120] Branch { Points [0, 110] Branch { Points [0, 130] Branch { DstBlock "Roll Moment\nCoefficient" DstPort 3 } Branch { Points [0, 115] DstBlock "Yaw Moment\nCoefficient" DstPort 3 } } Branch { DstBlock "Pitch Moment\nCoefficient" DstPort 4 } } Branch { DstBlock "Side Force Coefficient" DstPort 3 } } Branch { Points [0, -140] DstBlock "Lift Coefficient" DstPort 4 } } Line { SrcBlock "WindRates" SrcPort 1 Points [30, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Rates" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 Points [120, 0; 0, -215] DstBlock "AeroCoeff" DstPort 1 } Line { SrcBlock "Aerodynamic\nMoment" SrcPort 1 Points [15, 0; 0, -105] DstBlock "Maero" DstPort 1 } Line { SrcBlock "Aerodynamic\nForce" SrcPort 1 DstBlock "Faero" DstPort 1 } Line { SrcBlock "Yaw Moment\nCoefficient" SrcPort 1 Points [90, 0; 0, -285] Branch { DstBlock "Mux" DstPort 6 } Branch { Points [0, -180] DstBlock "Aerodynamic\nMoment" DstPort 3 } } Line { SrcBlock "Pitch Moment\nCoefficient" SrcPort 1 Points [80, 0; 0, -65] Branch { DstBlock "Mux" DstPort 5 } Branch { Points [0, -180] DstBlock "Aerodynamic\nMoment" DstPort 2 } } Line { SrcBlock "Roll Moment\nCoefficient" SrcPort 1 Points [70, 0; 0, -210] Branch { DstBlock "Mux" DstPort 4 } Branch { Points [0, -180] DstBlock "Aerodynamic\nMoment" DstPort 1 } } Line { SrcBlock "Dynamic Pressure" SrcPort 1 Points [10, 0; 0, 95; 240, 0] Branch { Points [200, 0; 0, -55] DstBlock "pdyn" DstPort 1 } Branch { Points [0, -40] Branch { DstBlock "Aerodynamic\nMoment" DstPort 4 } Branch { Points [0, -145] DstBlock "Aerodynamic\nForce" DstPort 4 } } } Line { SrcBlock "Side Force Coefficient" SrcPort 1 Points [40, 0; 0, -10] Branch { DstBlock "Mux" DstPort 2 } Branch { Points [0, -265] DstBlock "Aerodynamic\nForce" DstPort 2 } } Line { SrcBlock "Drag Coefficient" SrcPort 1 Points [0, 0; 30, 0] Branch { Points [0, 80] DstBlock "Mux" DstPort 1 } Branch { Points [0, -185] DstBlock "Aerodynamic\nForce" DstPort 1 } } Line { SrcBlock "Lift Coefficient" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [0, 95] Branch { Points [0, 170] DstBlock "Mux" DstPort 3 } Branch { Points [-150, 0; 0, 60] DstBlock "Drag Coefficient" DstPort 3 } } Branch { DstBlock "Aerodynamic\nForce" DstPort 3 } } Line { SrcBlock "Wind-axes Velocities" SrcPort 3 Points [30, 0; 0, 30] Branch { Points [30, 0] Branch { Points [0, 35; 380, 0; 0, 45] DstBlock "Mach" DstPort 1 } Branch { DstBlock "Lift Coefficient" DstPort 5 } } Branch { Points [0, 135] Branch { Points [0, 235] DstBlock "Pitch Moment\nCoefficient" DstPort 5 } Branch { DstBlock "Drag Coefficient" DstPort 4 } } } Line { SrcBlock "Wind-axes Velocities" SrcPort 2 Points [10, 0; 0, 15] Branch { Points [0, 370] DstBlock "Pitch Moment\nCoefficient" DstPort 3 } Branch { DstBlock "Lift Coefficient" DstPort 3 } } Line { SrcBlock "AeroCon" SrcPort 1 Points [0, 0; 210, 0] Branch { Points [0, 65] Branch { Points [0, 120] Branch { Points [0, 95] Branch { Points [0, 145] Branch { Points [0, 115] DstBlock "Yaw Moment\nCoefficient" DstPort 2 } Branch { DstBlock "Roll Moment\nCoefficient" DstPort 2 } } Branch { DstBlock "Pitch Moment\nCoefficient" DstPort 2 } } Branch { DstBlock "Side Force Coefficient" DstPort 2 } } Branch { DstBlock "Drag Coefficient" DstPort 2 } } Branch { Points [0, -90] DstBlock "Lift Coefficient" DstPort 2 } } Line { SrcBlock "rho" SrcPort 1 Points [20, 0; 0, 20] DstBlock "Dynamic Pressure" DstPort 2 } Line { SrcBlock "Wind-axes Velocities" SrcPort 1 Points [0, 0; 40, 0] Branch { Points [0, 95] Branch { Points [0, 30] Branch { Points [210, 0] Branch { Points [200, 0] DstBlock "VelW" DstPort 1 } Branch { Points [0, -45] DstBlock "Aerodynamic\nForce" DstPort 5 } } Branch { Points [0, 30] Branch { Points [0, 115] Branch { Points [0, 100] Branch { Points [0, 140] Branch { Points [0, 115] DstBlock "Yaw Moment\nCoefficient" DstPort 1 } Branch { DstBlock "Roll Moment\nCoefficient" DstPort 1 } } Branch { DstBlock "Pitch Moment\nCoefficient" DstPort 1 } } Branch { DstBlock "Side Force Coefficient" DstPort 1 } } Branch { DstBlock "Drag Coefficient" DstPort 1 } } } Branch { Points [-160, 0; 0, 40] DstBlock "Dynamic Pressure" DstPort 1 } } Branch { DstBlock "Lift Coefficient" DstPort 1 } } Line { SrcBlock "a" SrcPort 1 Points [30, 0; 0, -120] DstBlock "Wind-axes Velocities" DstPort 3 } Line { SrcBlock "WindB" SrcPort 1 Points [20, 0; 0, -5] DstBlock "Wind-axes Velocities" DstPort 2 } Line { SrcBlock "VelB" SrcPort 1 DstBlock "Wind-axes Velocities" DstPort 1 } Annotation { Name "Inputs" Position [37, 26] } Annotation { Name "Outputs" Position [695, 82] } Annotation { Name "Aerodynamic Parameters" Position [156, 28] } Annotation { Name "Aerodynamic Coefficients" Position [340, 29] } Annotation { Name "Aerodynamic Loads" Position [564, 32] } } } Block { BlockType Reference Name "Aircraft Inertia" Ports [2, 5] Position [455, 108, 555, 262] SourceBlock "aerosimlib/Inertia/Aircraft Inertia" SourceType "Aircraft inertia" ShowPortLabels on FuelIni "FuelIni" Mempty "mempty" Mgross "mgross" CGempty "CGempty" CGgross "CGgross" Jempty "Jempty" Jgross "Jgross" } Block { BlockType SubSystem Name "Atmosphere" Ports [6, 6] Position [460, 449, 560, 681] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Atmosphere" Location [496, 288, 1178, 741] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "MSL" Position [25, 43, 55, 57] Port "1" IconDisplay "Port number" PortDimensions "1" DataType "double" LatchInput off } Block { BlockType Inport Name "AGL" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" PortDimensions "1" DataType "double" LatchInput off } Block { BlockType Inport Name "Winds" Position [25, 113, 55, 127] Port "3" IconDisplay "Port number" PortDimensions "[3 1]" DataType "double" LatchInput off } Block { BlockType Inport Name "VelB" Position [25, 148, 55, 162] Port "4" IconDisplay "Port number" PortDimensions "[3 1]" DataType "double" LatchInput off } Block { BlockType Inport Name "VelW" Position [25, 183, 55, 197] Port "5" IconDisplay "Port number" PortDimensions "[3 1]" LatchInput off } Block { BlockType Inport Name "DCM" Position [25, 253, 55, 267] Port "6" IconDisplay "Port number" PortDimensions "[3 3]" DataType "double" LatchInput off } Block { BlockType Reference Name "Background Wind" Ports [2, 2] Position [130, 121, 220, 194] SourceBlock "aerosimlib/Atmosphere/Background Wind" SourceType "Background wind" ShowPortLabels on } Block { BlockType Reference Name "Standard Atmosphere" Ports [1, 4] Position [120, 12, 220, 88] SourceBlock "aerosimlib/Atmosphere/Standard Atmosphe" "re" SourceType "Standard atmosphere" ShowPortLabels on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [445, 225, 465, 245] ShowName off IconShape "round" Inputs "|++" } Block { BlockType Terminator Name "Terminator" Position [385, 380, 405, 400] } Block { BlockType Reference Name "Turbulence" Ports [3, 2] Position [260, 213, 360, 287] SourceBlock "aerosimlib/Atmosphere/Turbulence" SourceType "Turbulence" ShowPortLabels on tsamp "tsamp" } Block { BlockType Reference Name "Wind Shear" Ports [3, 2] Position [260, 334, 355, 406] SourceBlock "aerosimlib/Atmosphere/Wind Shear" SourceType "Wind shear" ShowPortLabels on } Block { BlockType Outport Name "pstatic" Position [625, 38, 655, 52] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "OAT" Position [625, 73, 655, 87] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "rho" Position [625, 108, 655, 122] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "a" Position [625, 143, 655, 157] Port "4" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "WindVel" Position [625, 178, 655, 192] Port "5" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "WindRates" Position [625, 213, 655, 227] Port "6" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Wind Shear" SrcPort 2 DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [75, 0; 0, -50] DstBlock "WindVel" DstPort 1 } Line { SrcBlock "Standard Atmosphere" SrcPort 4 Points [350, 0; 0, 70] DstBlock "a" DstPort 1 } Line { SrcBlock "Standard Atmosphere" SrcPort 3 Points [360, 0; 0, 55] DstBlock "rho" DstPort 1 } Line { SrcBlock "Standard Atmosphere" SrcPort 2 Points [370, 0; 0, 40] DstBlock "OAT" DstPort 1 } Line { SrcBlock "Standard Atmosphere" SrcPort 1 Points [380, 0; 0, 25] DstBlock "pstatic" DstPort 1 } Line { SrcBlock "Wind Shear" SrcPort 1 Points [195, 0; 0, -135] DstBlock "WindRates" DstPort 1 } Line { SrcBlock "VelB" SrcPort 1 Points [20, 0; 0, 240] DstBlock "Wind Shear" DstPort 3 } Line { SrcBlock "Turbulence" SrcPort 2 Points [25, 0; 0, 45; -155, 0; 0, 55] DstBlock "Wind Shear" DstPort 2 } Line { SrcBlock "Turbulence" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Background Wind" SrcPort 2 Points [20, 0] DstBlock "Wind Shear" DstPort 1 } Line { SrcBlock "VelW" SrcPort 1 Points [30, 0; 0, 35] DstBlock "Turbulence" DstPort 1 } Line { SrcBlock "AGL" SrcPort 1 Points [40, 0; 0, 165] DstBlock "Turbulence" DstPort 2 } Line { SrcBlock "Background Wind" SrcPort 1 Points [10, 0; 0, 50] Branch { Points [135, 0; 0, 90; 85, 0] DstBlock "Sum" DstPort 2 } Branch { Points [0, 85] DstBlock "Turbulence" DstPort 3 } } Line { SrcBlock "DCM" SrcPort 1 Points [50, 0; 0, -85] DstBlock "Background Wind" DstPort 2 } Line { SrcBlock "Winds" SrcPort 1 Points [50, 0; 0, 20] DstBlock "Background Wind" DstPort 1 } Line { SrcBlock "MSL" SrcPort 1 DstBlock "Standard Atmosphere" DstPort 1 } Annotation { Name "Outputs" Position [640, 20] } Annotation { Name "Inputs" Position [43, 26] } } } Block { BlockType Demux Name "Demux" Ports [1, 7] Position [65, 89, 70, 231] BackgroundColor "black" ShowName off Outputs "7" } Block { BlockType SubSystem Name "Earth" Ports [2, 8] Position [795, 351, 895, 544] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Earth" Location [9, 47, 454, 503] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "Position" Position [20, 43, 50, 57] Port "1" IconDisplay "Port number" PortDimensions "[3 1]" DataType "double" LatchInput off } Block { BlockType Inport Name "DCM" Position [20, 78, 50, 92] Port "2" IconDisplay "Port number" PortDimensions "[3 3]" DataType "double" LatchInput off } Block { BlockType Reference Name "ECEF Position" Ports [1, 1] Position [115, 352, 215, 428] SourceBlock "aerosimlib/Transformations/ECEF Positio" "n" SourceType "ECEF Position" ShowPortLabels on } Block { BlockType Reference Name "EGM-96" Ports [1, 1] Position [115, 139, 195, 201] SourceBlock "aerosimlib/Earth/EGM-96" SourceType "EGM-96 geoid undulation model" ShowPortLabels on } Block { BlockType Constant Name "Ground Alt" Position [20, 112, 50, 128] Value "GndAlt" } Block { BlockType Reference Name "Ground Detection" Ports [2, 2] Position [245, 279, 320, 321] SourceBlock "aerosimlib/Earth/Ground Detection" SourceType "Ground detection" ShowPortLabels on } Block { BlockType Mux Name "Mux3" Ports [2, 1] Position [220, 18, 225, 67] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Reference Name "WGS-84" Ports [1, 4] Position [115, 19, 195, 116] SourceBlock "aerosimlib/Earth/WGS-84" SourceType "WGS-84 Earth model" ShowPortLabels on } Block { BlockType Reference Name "WMM-2000" Ports [2, 1] Position [115, 224, 195, 286] SourceBlock "aerosimlib/Earth/WMM-2000" SourceType "WMM-2000" ShowPortLabels on wmmfile "wmmfile" simdate "dmy" } Block { BlockType Outport Name "MSL" Position [390, 48, 420, 62] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "AGL" Position [390, 78, 420, 92] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "AConGnd" Position [390, 108, 420, 122] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Rearth" Position [390, 138, 420, 152] Port "4" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Requiv" Position [390, 168, 420, 182] Port "5" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Gravity" Position [390, 198, 420, 212] Port "6" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "MagField" Position [390, 228, 420, 242] Port "7" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "ECEF" Position [390, 258, 420, 272] Port "8" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ECEF Position" SrcPort 1 Points [140, 0; 0, -125] DstBlock "ECEF" DstPort 1 } Line { SrcBlock "WMM-2000" SrcPort 1 Points [130, 0; 0, -20] DstBlock "MagField" DstPort 1 } Line { SrcBlock "WGS-84" SrcPort 4 Points [110, 0; 0, 100] DstBlock "Gravity" DstPort 1 } Line { SrcBlock "WGS-84" SrcPort 3 Points [120, 0; 0, 95] DstBlock "Requiv" DstPort 1 } Line { SrcBlock "Mux3" SrcPort 1 Points [100, 0; 0, 100] DstBlock "Rearth" DstPort 1 } Line { SrcBlock "Ground Detection" SrcPort 1 Points [25, 0; 0, -175] DstBlock "AConGnd" DstPort 1 } Line { SrcBlock "Ground Detection" SrcPort 2 Points [15, 0; 0, -225] DstBlock "AGL" DstPort 1 } Line { SrcBlock "WGS-84" SrcPort 2 DstBlock "Mux3" DstPort 2 } Line { SrcBlock "WGS-84" SrcPort 1 DstBlock "Mux3" DstPort 1 } Line { SrcBlock "EGM-96" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [35, 0; 0, -115] DstBlock "MSL" DstPort 1 } Branch { Points [0, 120] DstBlock "Ground Detection" DstPort 1 } } Line { SrcBlock "Ground Alt" SrcPort 1 Points [20, 0; 0, 190] DstBlock "Ground Detection" DstPort 2 } Line { SrcBlock "DCM" SrcPort 1 Points [30, 0; 0, 185] DstBlock "WMM-2000" DstPort 2 } Line { SrcBlock "Position" SrcPort 1 Points [40, 0; 0, 20] Branch { Points [0, 100] Branch { Points [0, 70] Branch { Points [0, 150] DstBlock "ECEF Position" DstPort 1 } Branch { DstBlock "WMM-2000" DstPort 1 } } Branch { DstBlock "EGM-96" DstPort 1 } } Branch { DstBlock "WGS-84" DstPort 1 } } Annotation { Name "Outputs" Position [404, 32] } Annotation { Name "Inputs" Position [39, 24] } } } Block { BlockType SubSystem Name "Equations of Motion" Ports [7, 8] Position [795, 88, 895, 277] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Equations of Motion" Location [140, 125, 648, 619] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "Accel" Position [15, 43, 45, 57] Port "1" IconDisplay "Port number" PortDimensions "[3 1]" LatchInput off } Block { BlockType Inport Name "Moment" Position [15, 73, 45, 87] Port "2" IconDisplay "Port number" PortDimensions "[3 1]" LatchInput off } Block { BlockType Inport Name "Inertia" Position [15, 103, 45, 117] Port "3" IconDisplay "Port number" PortDimensions "[4 1]" LatchInput off } Block { BlockType Inport Name "Rearth" Position [15, 143, 45, 157] Port "4" IconDisplay "Port number" PortDimensions "[2 1]" LatchInput off } Block { BlockType Inport Name "Gravity" Position [15, 178, 45, 192] Port "5" IconDisplay "Port number" PortDimensions "1" LatchInput off } Block { BlockType Inport Name "AConGnd" Position [15, 213, 45, 227] Port "6" IconDisplay "Port number" PortDimensions "1" LatchInput off } Block { BlockType Inport Name "RST" Position [15, 243, 45, 257] Port "7" IconDisplay "Port number" PortDimensions "1" LatchInput off } Block { BlockType Reference Name "Body-Inertial DCM\nFrom Quaternions" Ports [1, 1] Position [300, 305, 395, 365] SourceBlock "aerosimlib/Transformations/Body-Inertia" "l DCM\nFrom Quaternions" SourceType "Body-Inertial DCM" ShowPortLabels on } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [120, 397, 125, 448] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType SubSystem Name "Euler Angles\nFrom Quaternions" Ports [1, 1] Position [300, 220, 395, 280] AncestorBlock "aerosimlib/Transformations/Euler Angles" "\nFrom Quaternions" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "Euler Angles" MaskDescription "Compute Euler angles from Euler-Rodrigu" "es quaternions." MaskHelp "The block computes the three Euler angl" "es (roll, pitch, heading) of the vehicle based on the Euler-Rodrigues quatern" "ions.\n

    Input: the 4x1 vector of quaternions;

    \n

    Output:" " the 3x1 vector of Euler angles.

    " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Euler Angles\nFrom Quaternions" Location [39, 131, 769, 625] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "Quaternions" Position [25, 83, 55, 97] Port "1" IconDisplay "Port number" PortDimensions "[4 1]" LatchInput off } Block { BlockType Demux Name "Demux" Ports [1, 4] Position [100, 41, 105, 134] BackgroundColor "black" ShowName off } Block { BlockType Demux Name "Demux1" Ports [1, 4] Position [210, 426, 215, 519] BackgroundColor "black" ShowName off } Block { BlockType Gain Name "Gain6" Position [415, 60, 445, 90] Gain "2" } Block { BlockType Gain Name "Gain7" Position [415, 205, 445, 235] Gain "2" } Block { BlockType Gain Name "Gain8" Position [415, 275, 445, 305] Gain "2" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [155, 460, 185, 490] Operator "square" } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [650, 192, 655, 248] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Sum Name "Sum10" Ports [4, 1] Position [360, 106, 385, 184] ShowName off Inputs "+--+" } Block { BlockType Sum Name "Sum11" Ports [2, 1] Position [360, 200, 385, 240] ShowName off Inputs "-+" } Block { BlockType Sum Name "Sum12" Ports [2, 1] Position [360, 270, 385, 310] ShowName off } Block { BlockType Sum Name "Sum13" Ports [4, 1] Position [360, 321, 385, 399] ShowName off Inputs "++--" } Block { BlockType Sum Name "Sum9" Ports [2, 1] Position [360, 55, 385, 95] ShowName off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" Ports [2, 1] Position [480, 64, 510, 106] Operator "atan2" } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [480, 205, 510, 235] Operator "asin" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [2, 1] Position [480, 279, 510, 321] Operator "atan2" } Block { BlockType Product Name "exe0" Ports [2, 1] Position [185, 354, 215, 396] RndMeth "Floor" } Block { BlockType Product Name "exey" Ports [2, 1] Position [185, 54, 215, 96] RndMeth "Floor" } Block { BlockType Product Name "exez" Ports [2, 1] Position [185, 174, 215, 216] RndMeth "Floor" } Block { BlockType Product Name "eye0" Ports [2, 1] Position [185, 234, 215, 276] RndMeth "Floor" } Block { BlockType Product Name "eyez" Ports [2, 1] Position [185, 294, 215, 336] RndMeth "Floor" } Block { BlockType Product Name "eze0" Ports [2, 1] Position [185, 114, 215, 156] RndMeth "Floor" } Block { BlockType Reference Name "pi Bound" Ports [1, 1] Position [540, 68, 600, 102] SourceBlock "aerosimlib/Math/pi Bound" SourceType "pi bound" ShowPortLabels on } Block { BlockType Reference Name "pi Bound1" Ports [1, 1] Position [540, 203, 600, 237] SourceBlock "aerosimlib/Math/pi Bound" SourceType "pi bound" ShowPortLabels on } Block { BlockType Outport Name "Euler" Position [685, 213, 715, 227] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "pi Bound1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "pi Bound" SrcPort 1 Points [25, 0; 0, 115] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Euler" DstPort 1 } Line { SrcBlock "exe0" SrcPort 1 Points [70, 0; 0, -290] DstBlock "Sum9" DstPort 2 } Line { SrcBlock "eyez" SrcPort 1 Points [60, 0; 0, -250] DstBlock "Sum9" DstPort 1 } Line { SrcBlock "eye0" SrcPort 1 Points [50, 0; 0, -25] DstBlock "Sum11" DstPort 2 } Line { SrcBlock "exez" SrcPort 1 Points [40, 0; 0, 15] DstBlock "Sum11" DstPort 1 } Line { SrcBlock "eze0" SrcPort 1 Points [30, 0; 0, 165] DstBlock "Sum12" DstPort 2 } Line { SrcBlock "exey" SrcPort 1 Points [20, 0; 0, 205] DstBlock "Sum12" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 4 Points [110, 0; 0, -120] Branch { DstBlock "Sum13" DstPort 4 } Branch { Points [0, -215] DstBlock "Sum10" DstPort 4 } } Line { SrcBlock "Demux1" SrcPort 3 Points [100, 0; 0, -115] Branch { DstBlock "Sum13" DstPort 3 } Branch { Points [0, -215] DstBlock "Sum10" DstPort 3 } } Line { SrcBlock "Demux1" SrcPort 2 Points [90, 0; 0, -110] Branch { DstBlock "Sum13" DstPort 2 } Branch { Points [0, -215] DstBlock "Sum10" DstPort 2 } } Line { SrcBlock "Demux1" SrcPort 1 Points [80, 0; 0, -105] Branch { DstBlock "Sum13" DstPort 1 } Branch { Points [0, -215] DstBlock "Sum10" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 4 Points [0, 0; 50, 0] Branch { Points [0, 80] Branch { Points [0, 120] DstBlock "eyez" DstPort 2 } Branch { DstBlock "exez" DstPort 2 } } Branch { DstBlock "eze0" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 3 Points [0, 0; 40, 0] Branch { Points [0, 145] Branch { Points [0, 60] DstBlock "eyez" DstPort 1 } Branch { DstBlock "eye0" DstPort 1 } } Branch { Points [0, -15] DstBlock "exey" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 2 Points [0, 0; 30, 0] Branch { Points [0, 110] Branch { Points [0, 180] DstBlock "exe0" DstPort 1 } Branch { DstBlock "exez" DstPort 1 } } Branch { Points [0, -10] DstBlock "exey" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 1 Points [20, 0; 0, 95] Branch { Points [0, 120] Branch { Points [0, 120] DstBlock "exe0" DstPort 2 } Branch { DstBlock "eye0" DstPort 2 } } Branch { DstBlock "eze0" DstPort 2 } } Line { SrcBlock "Quaternions" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [0, 385] DstBlock "Math\nFunction" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [115, 0; 0, -60] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 DstBlock "pi Bound" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "pi Bound1" DstPort 1 } Line { SrcBlock "Sum13" SrcPort 1 Points [65, 0; 0, -50] DstBlock "Trigonometric\nFunction2" DstPort 2 } Line { SrcBlock "Gain8" SrcPort 1 DstBlock "Trigonometric\nFunction2" DstPort 1 } Line { SrcBlock "Sum12" SrcPort 1 DstBlock "Gain8" DstPort 1 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "Trigonometric\nFunction1" DstPort 1 } Line { SrcBlock "Sum11" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { SrcBlock "Sum10" SrcPort 1 Points [65, 0; 0, -50] DstBlock "Trigonometric\nFunction" DstPort 2 } Line { SrcBlock "Gain6" SrcPort 1 DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Sum9" SrcPort 1 DstBlock "Gain6" DstPort 1 } Annotation { Name "Quaternion products" Position [210, 36] } Annotation { Name "Sources" Position [87, 26] } Annotation { Name "Compute Euler angles" Position [418, 35] } } } Block { BlockType Reference Name "Forces" Ports [5, 1] Position [150, 16, 250, 124] SourceBlock "aerosimlib/Equations of Motion/Body-Fra" "me EOM/Forces" SourceType "Force equations" ShowPortLabels on VelocitiesIni "VelocitiesIni" } Block { BlockType Reference Name "Kinematics (Quaternions)" Ports [2, 1] Position [150, 245, 250, 325] SourceBlock "aerosimlib/Equations of Motion/Body-Fra" "me EOM/Kinematics (Quaternions)" SourceType "Kinematic Equations" ShowPortLabels on QuaternionsIni "QuaternionsIni" } Block { BlockType Reference Name "Moments" Ports [3, 2] Position [150, 145, 250, 225] SourceBlock "aerosimlib/Equations of Motion/Body-Fra" "me EOM/Moments" SourceType "Moment equations" ShowPortLabels on RatesIni "RatesIni" } Block { BlockType Reference Name "Navigation" Ports [6, 2] Position [150, 347, 250, 498] SourceBlock "aerosimlib/Equations of Motion/Body-Fra" "me EOM/Navigation" SourceType "Navigation equations" ShowPortLabels on PositionIni "PositionIni" } Block { BlockType Outport Name "VelB" Position [450, 63, 480, 77] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Rates" Position [450, 93, 480, 107] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Quaternions" Position [450, 123, 480, 137] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Position" Position [450, 153, 480, 167] Port "4" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Groundspeed" Position [450, 183, 480, 197] Port "5" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "DCM" Position [450, 213, 480, 227] Port "6" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Euler" Position [450, 243, 480, 257] Port "7" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Ang Acc" Position [450, 273, 480, 287] Port "8" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Navigation" SrcPort 2 Points [165, 0; 0, -270] DstBlock "Groundspeed" DstPort 1 } Line { SrcBlock "Navigation" SrcPort 1 Points [160, 0; 0, -225] DstBlock "Position" DstPort 1 } Line { SrcBlock "Moments" SrcPort 2 Points [155, 0; 0, 75] DstBlock "Ang Acc" DstPort 1 } Line { SrcBlock "RST" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [0, 55] Branch { DstBlock "Kinematics (Quaternions)" DstPort 2 } Branch { Points [0, 180] DstBlock "Navigation" DstPort 6 } } Branch { Points [0, -40] Branch { DstBlock "Moments" DstPort 3 } Branch { Points [0, -100] DstBlock "Forces" DstPort 5 } } } Line { SrcBlock "Moments" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -65] DstBlock "Rates" DstPort 1 } Branch { Points [0, 350; -165, 0; 0, -250] Branch { DstBlock "Kinematics (Quaternions)" DstPort 1 } Branch { Points [0, -235] DstBlock "Forces" DstPort 1 } } } Line { SrcBlock "Kinematics (Quaternions)" SrcPort 1 Points [25, 0] Branch { Points [0, 50] DstBlock "Body-Inertial DCM\nFrom Quaternions" DstPort 1 } Branch { Points [0, -35] Branch { DstBlock "Euler Angles\nFrom Quaternions" DstPort 1 } Branch { Points [0, -120] DstBlock "Quaternions" DstPort 1 } } } Line { SrcBlock "Forces" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [0, 450; -175, 0; 0, -160] DstBlock "Navigation" DstPort 1 } Branch { DstBlock "VelB" DstPort 1 } } Line { SrcBlock "AConGnd" SrcPort 1 Points [20, 0; 0, 240] DstBlock "Navigation" DstPort 5 } Line { SrcBlock "Gravity" SrcPort 1 Points [10, 0; 0, -115] DstBlock "Forces" DstPort 3 } Line { SrcBlock "Inertia" SrcPort 1 Points [25, 0; 0, 50] DstBlock "Moments" DstPort 1 } Line { SrcBlock "Moment" SrcPort 1 Points [20, 0; 0, 105] DstBlock "Moments" DstPort 2 } Line { SrcBlock "Accel" SrcPort 1 DstBlock "Forces" DstPort 2 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Navigation" DstPort 4 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Navigation" DstPort 3 } Line { SrcBlock "Rearth" SrcPort 1 Points [15, 0; 0, 275] DstBlock "Demux" DstPort 1 } Line { SrcBlock "Body-Inertial DCM\nFrom Quaternions" SrcPort 1 Points [5, 0] Branch { Points [0, 190; -310, 0; 0, -140] Branch { DstBlock "Navigation" DstPort 2 } Branch { Points [0, -295] DstBlock "Forces" DstPort 4 } } Branch { Points [0, -115] DstBlock "DCM" DstPort 1 } } Line { SrcBlock "Euler Angles\nFrom Quaternions" SrcPort 1 DstBlock "Euler" DstPort 1 } Annotation { Name "Inputs" Position [34, 25] } Annotation { Name "Outputs" Position [466, 41] } } } Block { BlockType Reference Name "GA Propulsion System" Ports [7, 6] Position [180, 228, 280, 402] SourceBlock "aerosimlib/Propulsion/GA Propulsion System" SourceType "General-aviation propulsion system" ShowPortLabels on OmegaIni "OmegaIni" RPM "RPM" MAP "MAP" FuelFlow "FuelFlow" Power "Power" Jeng "Jeng" J "J" CT "CT" CP "CP" Rprop "Rprop" Jprop "Jprop" TSL "TSL" } Block { BlockType Mux Name "Mux" Ports [4, 1] Position [95, 89, 100, 171] ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [3, 1] Position [95, 171, 100, 229] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" Ports [3, 1] Position [645, 451, 650, 499] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" Ports [6, 1] Position [1035, 239, 1040, 386] ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType Mux Name "Mux7" Ports [6, 1] Position [1035, 81, 1040, 234] ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType Reference Name "Total Acceleration" Ports [3, 1] Position [640, 66, 730, 154] SourceBlock "aerosimlib/Equations of Motion/Total Accele" "ration" SourceType "Total acceleration" ShowPortLabels on } Block { BlockType Reference Name "Total Moment" Ports [5, 1] Position [630, 231, 730, 339] SourceBlock "aerosimlib/Equations of Motion/Total Moment" SourceType "Total moment" ShowPortLabels on raero "rAC" rprop "rHub" } Block { BlockType Outport Name "States" Position [1065, 153, 1095, 167] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Sensors" Position [1065, 308, 1095, 322] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "VelW" Position [1060, 753, 1090, 767] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Mach" Position [300, 143, 330, 157] Port "4" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Ang Acc" Position [915, 263, 945, 277] Port "5" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Euler" Position [945, 238, 975, 252] Port "6" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "AeroCoeff" Position [300, 93, 330, 107] Port "7" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "PropCoeff" Position [300, 383, 330, 397] Port "8" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "EngCoeff" Position [300, 353, 330, 367] Port "9" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Mass" Position [1060, 693, 1090, 707] Port "10" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "ECEF" Position [920, 528, 950, 542] Port "11" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "MSL" Position [1035, 403, 1065, 417] Port "12" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "AGL" Position [1035, 433, 1065, 447] Port "13" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "REarth" Position [920, 453, 950, 467] Port "14" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "AConGnd" Position [920, 403, 950, 417] Port "15" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Equations of Motion" SrcPort 7 DstBlock "Euler" DstPort 1 } Line { SrcBlock "Equations of Motion" SrcPort 8 DstBlock "Ang Acc" DstPort 1 } Line { SrcBlock "Atmosphere" SrcPort 6 Points [5, 0; 0, 90; -455, 0; 0, -645] DstBlock "Aerodynamics" DstPort 4 } Line { SrcBlock "RST" SrcPort 1 Points [0, 0; 60, 0] Branch { Points [240, 0; 0, -30; 35, 0] Branch { DstBlock "Aircraft Inertia" DstPort 2 } Branch { Points [330, 0; 0, -135] DstBlock "Equations of Motion" DstPort 7 } } Branch { DstBlock "GA Propulsion System" DstPort 7 } } Line { SrcBlock "Aircraft Inertia" SrcPort 5 Points "[5, 0; 0, 165; -155, 0; 0, 20; -265, 0; 0, " "-165]" DstBlock "GA Propulsion System" DstPort 2 } Line { SrcBlock "Atmosphere" SrcPort 4 Points [10, 0; 0, 155; -435, 0; 0, -570] DstBlock "Aerodynamics" DstPort 7 } Line { SrcBlock "Atmosphere" SrcPort 3 Points [15, 0; 0, 190; -445, 0; 0, -395] Branch { DstBlock "GA Propulsion System" DstPort 5 } Branch { Points [0, -190] DstBlock "Aerodynamics" DstPort 6 } } Line { SrcBlock "Atmosphere" SrcPort 5 Points [20, 0; 0, 105; -460, 0; 0, -660] DstBlock "Aerodynamics" DstPort 2 } Line { SrcBlock "Winds" SrcPort 1 Points [45, 0] DstBlock "Atmosphere" DstPort 3 } Line { SrcBlock "Earth" SrcPort 2 Points [80, 0; 0, 55] Branch { DstBlock "AGL" DstPort 1 } Branch { Points [0, 270; -545, 0; 0, -205] DstBlock "Atmosphere" DstPort 2 } } Line { SrcBlock "Earth" SrcPort 1 Points [85, 0; 0, 50] Branch { DstBlock "MSL" DstPort 1 } Branch { Points [0, 295; -545, 0; 0, -240] DstBlock "Atmosphere" DstPort 1 } } Line { SrcBlock "Aerodynamics" SrcPort 4 Points [130, 0; 0, 310] Branch { Points [0, 130] Branch { Points [-10, 0; 0, 195] DstBlock "VelW" DstPort 1 } Branch { Points [30, 0] DstBlock "Atmosphere" DstPort 5 } } Branch { Points [-255, 0; 0, -70] DstBlock "GA Propulsion System" DstPort 6 } } Line { SrcBlock "GA Propulsion System" SrcPort 4 Points [135, 0; 0, -180] DstBlock "Aircraft Inertia" DstPort 1 } Line { SrcBlock "GA Propulsion System" SrcPort 3 Points "[295, 0; 0, 90; 160, 0; 0, -80; 260, 0; 0, " "-90]" DstBlock "Mux7" DstPort 6 } Line { SrcBlock "Aircraft Inertia" SrcPort 1 Points "[25, 0; 0, 260; 160, 0; 0, -80; 240, 0; 0, " "-110]" DstBlock "Mux7" DstPort 5 } Line { SrcBlock "Mux2" SrcPort 1 Points [105, 0; 0, -145; 255, 0; 0, 20] DstBlock "Mux4" DstPort 5 } Line { SrcBlock "Aerodynamics" SrcPort 6 Points [140, 0; 0, 250; 160, 0; 0, 50] DstBlock "Mux2" DstPort 2 } Line { SrcBlock "Atmosphere" SrcPort 2 Points [0, -15; 40, 0] Branch { Points [0, 260; -450, 0; 0, -435] DstBlock "GA Propulsion System" DstPort 4 } Branch { DstBlock "Mux2" DstPort 3 } } Line { SrcBlock "Atmosphere" SrcPort 1 Points [0, -5; 35, 0] Branch { Points [0, 285; -450, 0; 0, -455] DstBlock "GA Propulsion System" DstPort 3 } Branch { DstBlock "Mux2" DstPort 1 } } Line { SrcBlock "Equations of Motion" SrcPort 6 Points [90, 0; 0, 360] Branch { Points [0, 135; -565, 0; 0, -50] DstBlock "Atmosphere" DstPort 6 } Branch { Points [-215, 0; 0, -85] DstBlock "Earth" DstPort 2 } } Line { SrcBlock "GA Propulsion System" SrcPort 2 Points [145, 0; 0, 35] DstBlock "Total Moment" DstPort 4 } Line { SrcBlock "GA Propulsion System" SrcPort 1 Points [150, 0; 0, 45; 170, 0] Branch { DstBlock "Total Moment" DstPort 3 } Branch { Points [0, -175] DstBlock "Total Acceleration" DstPort 2 } } Line { SrcBlock "Aerodynamics" SrcPort 2 Points [325, 0; 0, 190] DstBlock "Total Moment" DstPort 2 } Line { SrcBlock "Aerodynamics" SrcPort 1 Points [330, 0; 0, 30] Branch { DstBlock "Total Moment" DstPort 1 } Branch { DstBlock "Total Acceleration" DstPort 1 } } Line { SrcBlock "Aircraft Inertia" SrcPort 3 Points [40, 0; 0, 140] DstBlock "Total Moment" DstPort 5 } Line { SrcBlock "Total Moment" SrcPort 1 Points [5, 0; 0, -150] DstBlock "Equations of Motion" DstPort 2 } Line { SrcBlock "Aircraft Inertia" SrcPort 4 Points [185, 0; 0, -55] DstBlock "Equations of Motion" DstPort 3 } Line { SrcBlock "Aircraft Inertia" SrcPort 2 Points [0, 0; 15, 0] Branch { Points [0, 265; -145, 0; 0, 280] DstBlock "Mass" DstPort 1 } Branch { Points [45, 0; 0, -15] DstBlock "Total Acceleration" DstPort 3 } } Line { SrcBlock "Earth" SrcPort 4 Points [65, 0; 0, 135; -215, 0; 0, -385] DstBlock "Equations of Motion" DstPort 4 } Line { SrcBlock "Earth" SrcPort 6 Points [60, 0; 0, 80; -205, 0; 0, -355] DstBlock "Equations of Motion" DstPort 5 } Line { SrcBlock "Earth" SrcPort 7 Points [115, 0; 0, -135] DstBlock "Mux4" DstPort 6 } Line { SrcBlock "Total Acceleration" SrcPort 1 Points [25, 0] Branch { Points [0, 190] DstBlock "Mux4" DstPort 3 } Branch { DstBlock "Equations of Motion" DstPort 1 } } Line { SrcBlock "Equations of Motion" SrcPort 5 Points [80, 0; 0, 80] DstBlock "Mux4" DstPort 2 } Line { SrcBlock "Earth" SrcPort 3 Points [0, 0; 5, 0] Branch { Points [0, 150; -140, 0; 0, -325] DstBlock "Equations of Motion" DstPort 6 } Branch { DstBlock "AConGnd" DstPort 1 } } Line { SrcBlock "Earth" SrcPort 5 DstBlock "REarth" DstPort 1 } Line { SrcBlock "GA Propulsion System" SrcPort 6 DstBlock "PropCoeff" DstPort 1 } Line { SrcBlock "GA Propulsion System" SrcPort 5 DstBlock "EngCoeff" DstPort 1 } Line { SrcBlock "Demux" SrcPort 7 DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Demux" SrcPort 6 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Demux" SrcPort 5 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 4 DstBlock "Mux" DstPort 4 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "Mux" DstPort 3 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Controls" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Mux4" SrcPort 1 DstBlock "Sensors" DstPort 1 } Line { SrcBlock "Mux7" SrcPort 1 DstBlock "States" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [5, 0; 0, 40] DstBlock "GA Propulsion System" DstPort 1 } Line { SrcBlock "Equations of Motion" SrcPort 1 Points [0, 0; 110, 0] Branch { Points [0, 630; -600, 0] Branch { Points [-290, 0; 0, -675] DstBlock "Aerodynamics" DstPort 1 } Branch { Points [0, -140] DstBlock "Atmosphere" DstPort 4 } } Branch { DstBlock "Mux7" DstPort 1 } } Line { SrcBlock "Equations of Motion" SrcPort 2 Points [0, 0; 95, 0] Branch { Points [0, 205] Branch { Points [0, 395; -865, 0; 0, -630] DstBlock "Aerodynamics" DstPort 3 } Branch { DstBlock "Mux4" DstPort 4 } } Branch { DstBlock "Mux7" DstPort 2 } } Line { SrcBlock "Equations of Motion" SrcPort 4 Points [0, 0; 105, 0] Branch { Points [0, 80] Branch { Points [0, 325; -235, 0; 0, -175] DstBlock "Earth" DstPort 1 } Branch { DstBlock "Mux4" DstPort 1 } } Branch { DstBlock "Mux7" DstPort 4 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Aerodynamics" DstPort 5 } Line { SrcBlock "Equations of Motion" SrcPort 3 DstBlock "Mux7" DstPort 3 } Line { SrcBlock "Aerodynamics" SrcPort 5 DstBlock "Mach" DstPort 1 } Line { SrcBlock "Aerodynamics" SrcPort 3 DstBlock "AeroCoeff" DstPort 1 } Line { SrcBlock "Earth" SrcPort 8 DstBlock "ECEF" DstPort 1 } Annotation { Name "Solve equations of motion" Position [841, 75] } Annotation { Name "Inputs" Position [36, 74] } Annotation { Name "Outputs" Position [1053, 65] } Annotation { Name "Aerodynamic Model" Position [228, 18] } Annotation { Name "Earth Model" Position [847, 338] } Annotation { Name "Sum forces and moments" Position [673, 32] } Annotation { Name "Atmosphere Model" Position [512, 433] } Annotation { Name "Propulsion Model" Position [228, 215] } } } Block { BlockType Display Name "Pitch angle" Ports [1] Position [485, 286, 570, 314] BackgroundColor "yellow" DropShadow on Decimation "1" } Block { BlockType Scope Name "Position angles" Ports [1] Position [690, 584, 720, 616] Location [5, 47, 1285, 999] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } TimeRange "300" YMin "-50" YMax "900" SaveName "ScopeData4" DataFormat "StructureWithTime" } Block { BlockType Reference Name "Radians\nto Degrees" Ports [1, 1] Position [395, 285, 420, 315] BackgroundColor "green" DropShadow on ShowName off SourceBlock "simulink_extras/Transformations/Radians\nto Deg" "rees" SourceType "RadiansToDegrees" ShowPortLabels on } Block { BlockType Reference Name "Radians\nto Degrees1" Ports [1, 1] Position [390, 125, 415, 155] BackgroundColor "green" DropShadow on ShowName off SourceBlock "simulink_extras/Transformations/Radians\nto Deg" "rees" SourceType "RadiansToDegrees" ShowPortLabels on } Block { BlockType Reference Name "Radians\nto Degrees2" Ports [1, 1] Position [430, 105, 455, 135] BackgroundColor "green" DropShadow on ShowName off SourceBlock "simulink_extras/Transformations/Radians\nto Deg" "rees" SourceType "RadiansToDegrees" ShowPortLabels on } Block { BlockType Constant Name "Reset" Position [15, 346, 55, 364] DropShadow on Value "0" } Block { BlockType Constant Name "Rudder" Position [15, 146, 55, 164] DropShadow on Value "Rudder" } Block { BlockType Display Name "Rudder1" Ports [1] Position [60, 855, 150, 885] Decimation "1" } Block { BlockType Display Name "Sideslip" Ports [1] Position [485, 136, 570, 164] BackgroundColor "yellow" DropShadow on Decimation "1" } Block { BlockType Step Name "Step1" Position [15, 430, 45, 460] After "0.0608" SampleTime "0" } Block { BlockType Stop Name "Stop Simulation\nwhen A/C on the ground" Position [390, 327, 425, 363] BackgroundColor "red" DropShadow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [310, 655, 330, 675] Orientation "left" ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [4, 1] Position [90, 66, 115, 124] ShowName off Inputs "|++++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [90, 105, 110, 125] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [115, 145, 135, 165] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [135, 185, 155, 205] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" Ports [2, 1] Position [280, 565, 300, 585] Orientation "left" ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum6" Ports [2, 1] Position [225, 1000, 245, 1020] Orientation "left" ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Throttle" Position [15, 186, 55, 204] DropShadow on Value "Throttle" } Block { BlockType Display Name "Throttle1" Ports [1] Position [60, 765, 150, 795] Decimation "1" } Block { BlockType ToWorkspace Name "To Workspace" Position [380, 175, 440, 205] VariableName "balanceo" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace1" Position [615, 355, 675, 385] VariableName "cabeceo" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace2" Position [380, 230, 440, 260] VariableName "rumbo" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace3" Position [440, 155, 500, 185] VariableName "ataque" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace4" Position [685, 705, 745, 735] NamePlacement "alternate" VariableName "altitud" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace5" Position [480, 30, 540, 60] VariableName "velocidad" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "Valores\nde equilibrio" Position [270, 835, 300, 865] Orientation "up" Value "[u w q*pi/180 theta*pi/180 Alt Engine*pi/30]" } Block { BlockType Constant Name "Valores\nde equilibrio1" Position [390, 835, 420, 865] Orientation "up" Value "[v p*pi/180 r*pi/180 phi*pi/180 psi*pi/180]" } Block { BlockType Constant Name "Winds" Position [15, 306, 55, 324] DropShadow on Value "[0 0 0]" } Line { Labels [1, 0] SrcBlock "Reset" SrcPort 1 Points [150, 0] DstBlock "North American Navion" DstPort 3 } Line { SrcBlock "Winds" SrcPort 1 Points [145, 0; 0, -110] DstBlock "North American Navion" DstPort 2 } Line { SrcBlock "North American Navion" SrcPort 1 Points [255, 0; 0, 125] Branch { DstBlock "Aircraft states" DstPort 1 } Branch { Points [0, 410] DstBlock "Demux2" DstPort 1 } } Line { SrcBlock "North American Navion" SrcPort 6 Points [15, 0; 0, 135] Branch { DstBlock "Radians\nto Degrees" DstPort 1 } Branch { Points [0, 100; 140, 0] Branch { DstBlock "FlightGear 0.9.8 \nInterface" DstPort 2 } Branch { DstBlock "Demux5" DstPort 1 } } } Line { SrcBlock "North American Navion" SrcPort 3 Points [10, 0] DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "Radians\nto Degrees1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Radians\nto Degrees2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [0, 0; 90, 0] Branch { DstBlock "Airspeed" DstPort 1 } Branch { Points [0, -55] DstBlock "To Workspace5" DstPort 1 } } Line { SrcBlock "Radians\nto Degrees2" SrcPort 1 Points [5, 0; 0, 30] DstBlock "Sideslip" DstPort 1 } Line { SrcBlock "Radians\nto Degrees1" SrcPort 1 Points [40, 0; 0, 60; 10, 0] Branch { DstBlock "AOA" DstPort 1 } Branch { Points [0, -30] DstBlock "To Workspace3" DstPort 1 } } Line { SrcBlock "North American Navion" SrcPort 15 DstBlock "Stop Simulation\nwhen A/C on the ground" DstPort 1 } Line { SrcBlock "Radians\nto Degrees" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 2 Points [0, 0; 15, 0] Branch { Points [5, 0] Branch { DstBlock "Pitch angle" DstPort 1 } Branch { DstBlock "Add" DstPort 2 } } Branch { Points [0, 70] DstBlock "To Workspace1" DstPort 1 } } Line { SrcBlock "Demux1" SrcPort 3 Points [0, 0; 10, 0] Branch { Points [5, 0; 0, 30] DstBlock "Heading" DstPort 1 } Branch { Points [0, -75] DstBlock "To Workspace2" DstPort 1 } } Line { SrcBlock "Demux1" SrcPort 1 Points [5, 0; 0, -30] Branch { DstBlock "Bank angle" DstPort 1 } Branch { Points [0, -60] DstBlock "To Workspace" DstPort 1 } } Line { SrcBlock "Flap" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mixture" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "Ignition" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "Mux" SrcPort 1 Points [0, -50; 5, 0] Branch { DstBlock "North American Navion" DstPort 1 } Branch { Labels [4, 0] Points [0, -100; 695, 0; 0, 640; -130, 0; 0, -45] DstBlock "FlightGear 0.9.8 \nInterface" DstPort 12 } } Line { SrcBlock "North American Navion" SrcPort 13 Points [5, 0; 0, 155] DstBlock "FlightGear 0.9.8 \nInterface" DstPort 5 } Line { SrcBlock "Demux2" SrcPort 4 Points [5, 0] Branch { DstBlock "Mux1" DstPort 1 } Branch { Points [-160, 0; 0, 155] DstBlock "Mux5" DstPort 2 } } Line { SrcBlock "Demux2" SrcPort 5 Points [5, 0] Branch { DstBlock "Mux1" DstPort 2 } Branch { Points [-250, 0] DstBlock "Mux4" DstPort 3 } } Line { SrcBlock "Demux2" SrcPort 6 Points [5, 0] Branch { DstBlock "Mux1" DstPort 3 } Branch { Points [-105, 0; 0, 140] DstBlock "Mux5" DstPort 3 } } Line { SrcBlock "Mux1" SrcPort 1 Points [75, 0; 0, -55] DstBlock "FlightGear 0.9.8 \nInterface" DstPort 7 } Line { SrcBlock "Mux2" SrcPort 1 Points [60, 0; 0, -285] DstBlock "FlightGear 0.9.8 \nInterface" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 11 DstBlock "Mux3" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 12 DstBlock "Mux3" DstPort 2 } Line { SrcBlock "Mux3" SrcPort 1 Points [0, 0; 5, 0] Branch { DstBlock "Mux2" DstPort 1 } Branch { Points [0, -55] DstBlock "Position angles" DstPort 1 } } Line { SrcBlock "Demux2" SrcPort 13 Points [10, 0] Branch { Points [25, 0] Branch { DstBlock "Mux2" DstPort 2 } Branch { Points [0, 45] DstBlock "To Workspace4" DstPort 1 } } Branch { Points [-135, 0; 0, -80] DstBlock "Mux4" DstPort 5 } } Line { SrcBlock "Elevator" SrcPort 1 Points [0, -5] DstBlock "Sum1" DstPort 1 } Line { Labels [0, 0] SrcBlock "Demux2" SrcPort 2 Points [-235, 0; 0, 170] DstBlock "Mux5" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -5] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Aileron" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Rudder" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Throttle" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { Labels [0, 0] SrcBlock "Demux5" SrcPort 3 Points [0, 320; -135, 0] DstBlock "Mux5" DstPort 5 } Line { SrcBlock "Demux5" SrcPort 1 Points [0, 290] DstBlock "Mux5" DstPort 4 } Line { SrcBlock "Demux2" SrcPort 1 Points [-245, 0] DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 3 Points [-240, 0; 0, 25] DstBlock "Mux4" DstPort 2 } Line { SrcBlock "Demux5" SrcPort 2 Points [0, 145] DstBlock "Mux4" DstPort 4 } Line { SrcBlock "Demux2" SrcPort 15 Points [-140, 0; 0, -95] DstBlock "Mux4" DstPort 6 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Demux3" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Demux4" DstPort 1 } Line { SrcBlock "Demux4" SrcPort 1 Points [-100, 0; 0, -50] Branch { Points [0, -425] DstBlock "Sum1" DstPort 2 } Branch { Points [-25, 0] DstBlock "Elevator1" DstPort 1 } } Line { SrcBlock "Demux4" SrcPort 2 Points [-25, 0; 0, -15] Branch { DstBlock "Sum4" DstPort 2 } Branch { Points [-100, 0] DstBlock "Throttle1" DstPort 1 } } Line { SrcBlock "Demux3" SrcPort 1 Points [-75, 0; 0, -35] Branch { Points [0, -470] DstBlock "Sum2" DstPort 2 } Branch { Points [-50, 0] DstBlock "Aileron1" DstPort 1 } } Line { SrcBlock "Demux3" SrcPort 2 Points [-55, 0; 0, -20] Branch { Points [0, -485] DstBlock "Sum3" DstPort 2 } Branch { Points [-70, 0] DstBlock "Rudder1" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Mux5" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Mux4" SrcPort 1 DstBlock "Sum5" DstPort 1 } Line { SrcBlock "Valores\nde equilibrio" SrcPort 1 Points [0, -230] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Valores\nde equilibrio1" SrcPort 1 Points [0, -50; -85, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Step1" SrcPort 1 Points [20, 0; 0, -355] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Add" SrcPort 1 DstBlock "D2R" DstPort 1 } Line { SrcBlock "D2R" SrcPort 1 Points [0, 0; 0, 15] Branch { DstBlock "Kp" DstPort 1 } Branch { Points [0, 65] DstBlock "Ki" DstPort 1 } } Line { SrcBlock "Kp" SrcPort 1 DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [-30, 0] DstBlock "Sum6" DstPort 2 } Line { SrcBlock "Ki" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Sum6" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 Points [35, 0] DstBlock "Add" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-75, 0] DstBlock "Sum1" DstPort 4 } Annotation { Name "Groundspeed X-axis" Position [777, 53] } Annotation { Name "Groundspeed Y-axis" Position [777, 73] } Annotation { Name "Groundspeed Z-axis" Position [777, 93] } Annotation { Name "Roll rate p" Position [757, 113] } Annotation { Name "Pitch rate q" Position [757, 133] } Annotation { Name "Yaw rate r" Position [757, 153] } Annotation { Name "Quaternion e0" Position [767, 173] } Annotation { Name "Quaternion ex" Position [767, 193] } Annotation { Name "Quaternion ey" Position [767, 213] } Annotation { Name "Quaternion ez" Position [767, 233] } Annotation { Name "Latitude" Position [752, 253] } Annotation { Name "Longitude" Position [757, 273] } Annotation { Name "Altitude" Position [752, 293] } Annotation { Name "Fuel mass" Position [757, 313] } Annotation { Name "Engine speed" Position [767, 333] } } } e-REdING. Biblioteca de la Escuela Superior de Ingenieros de Sevilla.


    ANÁLISIS DE CASOS PRÁCTICOS DE SISTEMAS DE CONTROL DE VUELO COMO APOYO A LA DOCENCIA

    : Fernández Jiménez, Juan Manuel
    : Ingeniería Telecomunicación
    Contenido del proyecto: