Model { Name "duecorpi" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "300e+6" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off Created "Sun Dec 26 15:33:25 1999" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Sun Dec 26 16:27:35 1999" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "duecorpi" Location [322, 83, 806, 368] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Gain Name "AU / m" Position [395, 345, 420, 375] Gain "149.6e+9" SaturateOnIntegerOverflow on } Block { BlockType Demux Name "Demux" Ports [1, 3, 0, 0, 0] Position [590, 331, 595, 369] BackgroundColor "black" ShowName off Outputs "3" } Block { BlockType Demux Name "Demux1" Ports [1, 3, 0, 0, 0] Position [590, 396, 595, 434] BackgroundColor "black" ShowName off Outputs "3" } Block { BlockType Demux Name "Demux2" Ports [1, 3, 0, 0, 0] Position [590, 466, 595, 504] BackgroundColor "black" ShowName off Outputs "3" } Block { BlockType Display Name "Display" Ports [0, 0, 0, 0, 0] Position [800, 345, 890, 375] Format "short" Decimation "1" Floating on SampleTime "-1" } Block { BlockType Fcn Name "Fcn" Position [550, 205, 610, 235] Expr "-(u[1]^2+u[2]^2+u[3]^2)^(1.5)" } Block { BlockType Gain Name "G (Mt / kg)" Position [580, 110, 605, 140] Gain "5.98e+24*6.672e-11" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [2, 1, 0, 0, 0] Position [245, 202, 275, 233] ExternalReset "none" InitialConditionSource "external" InitialCondition "0" LimitOutput off UpperSaturationLimit "1e15" LowerSaturationLimit "-1e15" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1, 0, 0, 0] Position [460, 202, 490, 233] ExternalReset "none" InitialConditionSource "external" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Constant Name "M" Position [490, 109, 535, 141] Value "333000" } Block { BlockType Mux Name "Mux" Ports [3, 1, 0, 0, 0] Position [135, 351, 140, 389] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [3, 1, 0, 0, 0] Position [370, 341, 375, 379] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [675, 187, 705, 218] Inputs "*/" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [745, 241, 775, 274] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "Scope" Ports [3, 0, 0, 0, 0] Position [660, 549, 690, 581] Floating off Location [618, 398, 978, 712] Open on NumInputPorts "3" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } Grid "on" TimeRange "auto" YMin "-5~-5~-5" YMax "5~5~5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Terminator Name "Terminator" Position [620, 360, 640, 380] ShowName off } Block { BlockType Terminator Name "Terminator1" Position [625, 430, 645, 450] ShowName off } Block { BlockType Constant Name "Vx0" Position [65, 290, 95, 320] Value "-25" } Block { BlockType Constant Name "Vy0" Position [65, 355, 95, 385] Value "60" } Block { BlockType Constant Name "Vz0" Position [65, 415, 95, 445] Value "15" } Block { BlockType Reference Name "XY Graph" Ports [2, 0, 0, 0, 0] Position [680, 331, 710, 364] SourceBlock "simulink3/Sinks/XY Graph" SourceType "XY scope." xmin "-3" xmax "3" ymin "-3" ymax "3" st "-1" } Block { BlockType Reference Name "XZ Graph" Ports [2, 0, 0, 0, 0] Position [680, 396, 710, 429] SourceBlock "simulink3/Sinks/XY Graph" SourceType "XY scope." xmin "-3" xmax "3" ymin "-3" ymax "3" st "-1" } Block { BlockType Reference Name "YZ Graph" Ports [2, 0, 0, 0, 0] Position [680, 471, 710, 504] SourceBlock "simulink3/Sinks/XY Graph" SourceType "XY scope." xmin "-3" xmax "3" ymin "-3" ymax "3" st "-1" } Block { BlockType Gain Name "km/s / m/s" Position [170, 355, 200, 385] Gain "1000" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "m / AU" Position [502, 295, 528, 325] Orientation "down" NamePlacement "alternate" Gain "1/149.6e+9" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "x0" Position [305, 290, 335, 320] Value "0.2" } Block { BlockType Constant Name "y0" Position [305, 345, 335, 375] Value "0.3" } Block { BlockType Constant Name "z0" Position [305, 410, 335, 440] Value "-.1" } Line { SrcBlock "x0" SrcPort 1 Points [15, 0] DstBlock "Mux1" DstPort 1 } Line { SrcBlock "y0" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "z0" SrcPort 1 Points [15, 0] DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Integrator" SrcPort 1 Points [70, 0; 0, -10] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Vx0" SrcPort 1 Points [20, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Vy0" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Vz0" SrcPort 1 Points [20, 0] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "km/s / m/s" DstPort 1 } Line { SrcBlock "km/s / m/s" SrcPort 1 Points [20, 0; 0, -145] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "AU / m" DstPort 1 } Line { SrcBlock "AU / m" SrcPort 1 Points [5, 0; 0, -135] DstBlock "Integrator1" DstPort 2 } Line { SrcBlock "M" SrcPort 1 DstBlock "G (Mt / kg)" DstPort 1 } Line { SrcBlock "G (Mt / kg)" SrcPort 1 Points [50, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [45, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [20, 0] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [20, 0] Branch { DstBlock "Fcn" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "Product1" DstPort 2 } Branch { DstBlock "m / AU" DstPort 1 } } } Line { SrcBlock "Product1" SrcPort 1 Points [25, 0; 0, -210; -620, 0; 0, 160] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "XY Graph" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [65, 0] DstBlock "XY Graph" DstPort 2 } Line { SrcBlock "Demux1" SrcPort 1 DstBlock "XZ Graph" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 3 Points [65, 0] DstBlock "XZ Graph" DstPort 2 } Line { SrcBlock "Demux2" SrcPort 1 Points [45, 0] DstBlock "Scope" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 Points [15, 0] Branch { Points [50, 0] DstBlock "YZ Graph" DstPort 1 } Branch { Points [0, 80] DstBlock "Scope" DstPort 2 } } Line { SrcBlock "Demux2" SrcPort 3 Points [5, 0] Branch { DstBlock "YZ Graph" DstPort 2 } Branch { Points [0, 80] DstBlock "Scope" DstPort 3 } } Line { SrcBlock "m / AU" SrcPort 1 Points [0, 20] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [0, 65] Branch { DstBlock "Demux1" DstPort 1 } Branch { Points [0, 70] DstBlock "Demux2" DstPort 1 } } } Line { SrcBlock "Demux" SrcPort 3 Points [5, 0] DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 2 Points [10, 0] DstBlock "Terminator1" DstPort 1 } Annotation { Position [316, 205] Text "dr/dt" } Annotation { Position [519, 201] Text "r" } Annotation { Position [634, 207] Text "r^3" } } }