Model { Name "space_free" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon Dec 31 14:32:53 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Tue Jan 22 23:29:23 2002" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "10.0" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" 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 "Array" LimitDataPoints on MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeLogAll on OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt off BooleanDataType off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "space_free" Location [121, 70, 1006, 704] Open on ModelBrowserVisibility on ModelBrowserWidth 119 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off ReportName "simulink-default.rpt" Block { BlockType Gain Name "+ / -" Position [855, 215, 885, 245] Gain "-1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "+ / -1" Position [855, 260, 885, 290] Gain "-1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "-(deg->rad)" Position [785, 350, 815, 380] Gain "-3.1415926535898/180" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "0" Position [855, 310, 885, 340] ShowName off Value "0" VectorParams1D on } Block { BlockType Gain Name "0.013" Position [680, 390, 710, 420] Gain "0.013" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "23.439" Position [625, 345, 655, 375] ShowName off Value "23.439" VectorParams1D on } Block { BlockType Constant Name "Constant1" Position [850, 760, 880, 790] ForegroundColor "blue" ShowName off Value "0" VectorParams1D on } Block { BlockType Constant Name "Day" Position [55, 265, 85, 295] ForegroundColor "blue" Value "31" VectorParams1D on } Block { BlockType Constant Name "Day1" Position [205, 1060, 235, 1090] ForegroundColor "blue" Value "1" VectorParams1D on } Block { BlockType SubSystem Name "Earth" Ports [1, 3] Position [490, 210, 530, 270] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Earth" Location [436, 615, 846, 722] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "T" Position [25, 178, 55, 192] Port "1" Interpolate on } Block { BlockType Gain Name "0.00004204" Position [220, 170, 250, 200] Gain "0.00004204" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "0.000304" Position [220, 630, 250, 660] Gain "0.000304" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "0.000460" Position [230, 405, 260, 435] Gain "0.000460" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "0.0167" Position [120, 115, 150, 145] Value "0.01670862" VectorParams1D on } Block { BlockType Gain Name "1.719" Position [230, 320, 260, 350] Gain "1.719539" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "102.937" Position [145, 275, 175, 305] Value "102.937348" VectorParams1D on } Block { BlockType Gain Name "36000.76" Position [155, 565, 185, 595] Gain "36000.769823" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "820.466" Position [150, 500, 180, 530] Value "820.466449" VectorParams1D on } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [140, 405, 170, 435] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction1" Ports [1, 1] Position [155, 630, 185, 660] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [525, 330, 545, 350] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [335, 125, 355, 145] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [425, 315, 450, 355] ShowName off IconShape "rectangular" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [3, 1] Position [320, 565, 340, 595] ShowName off IconShape "rectangular" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "deg->rad" Position [590, 325, 620, 355] Gain "3.1415926535898/180" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "deg->rad2" Position [565, 565, 595, 595] Gain "3.1415926535898/180" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "e" Position [660, 128, 690, 142] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "ni" Position [665, 333, 695, 347] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "L" Position [660, 573, 690, 587] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "T" SrcPort 1 Points [30, 0] Branch { Points [0, 150] Branch { Points [0, 85] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { Points [0, 160] Branch { Points [0, 65] DstBlock "Math\nFunction1" DstPort 1 } Branch { Points [5, 0] DstBlock "36000.76" DstPort 1 } } } Branch { DstBlock "1.719" DstPort 1 } } Branch { DstBlock "0.00004204" DstPort 1 } } Line { SrcBlock "102.937" SrcPort 1 Points [210, 0; 0, 30] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "1.719" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Math\nFunction" SrcPort 1 DstBlock "0.000460" DstPort 1 } Line { SrcBlock "0.000460" SrcPort 1 Points [125, 0; 0, -70] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "deg->rad" DstPort 1 } Line { SrcBlock "0.0167" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "0.00004204" SrcPort 1 Points [65, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "e" DstPort 1 } Line { SrcBlock "Math\nFunction1" SrcPort 1 DstBlock "0.000304" DstPort 1 } Line { SrcBlock "820.466" SrcPort 1 Points [120, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "36000.76" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "0.000304" SrcPort 1 Points [50, 0] DstBlock "Sum3" DstPort 3 } Line { SrcBlock "Sum3" SrcPort 1 Points [140, 0] Branch { DstBlock "deg->rad2" DstPort 1 } Branch { Points [0, -235] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "deg->rad" SrcPort 1 DstBlock "ni" DstPort 1 } Line { SrcBlock "deg->rad2" SrcPort 1 DstBlock "L" DstPort 1 } Annotation { Position [578, 312] Text "ni=L-w*" } Annotation { Position [468, 320] Text "w*" } Annotation { Position [380, 559] Text "L" } } } Block { BlockType SubSystem Name "Earth Coord." Ports [2, 2] Position [720, 213, 770, 277] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Earth Coord." Location [453, 154, 929, 483] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "R" Position [25, 142, 55, 158] Port "1" Interpolate on } Block { BlockType Inport Name "L" Position [25, 227, 55, 243] Port "2" Interpolate on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [405, 210, 435, 245] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [405, 295, 435, 330] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [200, 305, 230, 335] ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [200, 220, 230, 250] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Outport Name "X" Position [615, 223, 645, 237] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Y" Position [615, 308, 645, 322] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 DstBlock "Product1" DstPort 2 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "R" SrcPort 1 Points [315, 0; 0, 70] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, 85] DstBlock "Product2" DstPort 1 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "X" DstPort 1 } Line { SrcBlock "L" SrcPort 1 Points [115, 0] Branch { DstBlock "Trigonometric\nFunction2" DstPort 1 } Branch { Points [0, 85] DstBlock "Trigonometric\nFunction1" DstPort 1 } } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Y" DstPort 1 } Annotation { Position [160, 214] Text "L" } Annotation { Position [609, 216] Text "X" } Annotation { Position [606, 297] Text "Y" } } } Block { BlockType SubSystem Name "Earth Distance" Ports [2, 1] Position [600, 208, 650, 252] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Earth Distance" Location [521, 474, 931, 711] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "e" Position [45, 238, 75, 252] Port "1" Interpolate on } Block { BlockType Inport Name "ni" Position [45, 398, 75, 412] Port "2" Interpolate on } Block { BlockType Constant Name "1.000" Position [170, 105, 200, 135] Value "1.00001161" VectorParams1D on } Block { BlockType Constant Name "Constant1" Position [165, 175, 195, 205] ShowName off Value "1" VectorParams1D on } Block { BlockType Constant Name "Constant3" Position [190, 310, 220, 340] ShowName off Value "1" VectorParams1D on } Block { BlockType Math Name "Math\nFunction2" Ports [1, 1] Position [210, 230, 240, 260] Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Product Name "Product2" Ports [2, 1] Position [355, 195, 385, 230] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [2, 1] Position [295, 360, 325, 395] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [2, 1] Position [445, 250, 475, 285] ShowName off Inputs "*/" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [295, 210, 315, 230] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [360, 335, 380, 355] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [205, 390, 235, 420] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Outport Name "r" Position [590, 263, 620, 277] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "e" SrcPort 1 Points [35, 0] Branch { DstBlock "Math\nFunction2" DstPort 1 } Branch { Points [0, 125] DstBlock "Product3" DstPort 1 } } Line { SrcBlock "Constant1" SrcPort 1 Points [80, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Math\nFunction2" SrcPort 1 Points [35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "1.000" SrcPort 1 Points [135, 0] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "ni" SrcPort 1 DstBlock "Trigonometric\nFunction2" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [40, 0] DstBlock "Product3" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 Points [120, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 Points [15, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 Points [40, 0] DstBlock "Product4" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [45, 0] DstBlock "Product4" DstPort 2 } Line { SrcBlock "Product4" SrcPort 1 DstBlock "r" DstPort 1 } Annotation { Position [531, 193] Text "r = (a (1-e^2)) / (1+e cos (ni))" } } } Block { BlockType Display Name "Elongation from Earth" Ports [1] Position [280, 806, 370, 834] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType From Name "From1" Position [810, 571, 855, 589] ForegroundColor "blue" CloseFcn "tagdialog Close" GotoTag "ysun" } Block { BlockType From Name "From10" Position [200, 426, 245, 444] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "ORAH" } Block { BlockType From Name "From11" Position [200, 481, 245, 499] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "ORAM" } Block { BlockType From Name "From12" Position [200, 531, 245, 549] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "ODD" } Block { BlockType From Name "From13" Position [200, 591, 245, 609] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "ODM" } Block { BlockType From Name "From14" Position [295, 1266, 340, 1284] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "suny" } Block { BlockType From Name "From15" Position [295, 1306, 340, 1324] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "sunz" } Block { BlockType From Name "From16" Position [295, 1346, 340, 1364] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "objx" } Block { BlockType From Name "From17" Position [295, 1386, 340, 1404] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "objy" } Block { BlockType From Name "From18" Position [295, 1426, 340, 1444] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "objz" } Block { BlockType From Name "From19" Position [295, 1226, 340, 1244] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "sunx" } Block { BlockType From Name "From2" Position [475, 591, 520, 609] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "q" } Block { BlockType From Name "From20" Position [200, 646, 245, 664] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "m" } Block { BlockType From Name "From21" Position [200, 701, 245, 719] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "DfS" } Block { BlockType From Name "From22" Position [200, 756, 245, 774] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "DfE" } Block { BlockType From Name "From23" Position [200, 811, 245, 829] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "elong" } Block { BlockType From Name "From3" Position [810, 526, 855, 544] ForegroundColor "blue" CloseFcn "tagdialog Close" GotoTag "xsun" } Block { BlockType From Name "From4" Position [475, 651, 520, 669] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "e" } Block { BlockType From Name "From5" Position [475, 541, 520, 559] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "a" } Block { BlockType From Name "From6" Position [475, 701, 520, 719] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "OM" } Block { BlockType From Name "From7" Position [475, 761, 520, 779] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "w" } Block { BlockType From Name "From8" Position [475, 816, 520, 834] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "i" } Block { BlockType From Name "From9" Position [475, 866, 520, 884] ForegroundColor "blue" ShowName off CloseFcn "tagdialog Close" GotoTag "M" } Block { BlockType Goto Name "Goto" Position [1000, 76, 1045, 94] ForegroundColor "blue" GotoTag "xsun" TagVisibility "local" } Block { BlockType Goto Name "Goto1" Position [1005, 121, 1050, 139] ForegroundColor "blue" GotoTag "ysun" TagVisibility "local" } Block { BlockType Goto Name "Goto10" Position [1320, 671, 1365, 689] ForegroundColor "blue" ShowName off GotoTag "ORAM" TagVisibility "local" } Block { BlockType Goto Name "Goto11" Position [1320, 716, 1365, 734] ForegroundColor "blue" ShowName off GotoTag "ODD" TagVisibility "local" } Block { BlockType Goto Name "Goto12" Position [1320, 761, 1365, 779] ForegroundColor "blue" ShowName off GotoTag "ODM" TagVisibility "local" } Block { BlockType Goto Name "Goto13" Position [1150, 331, 1195, 349] ForegroundColor "blue" ShowName off GotoTag "sunx" TagVisibility "local" } Block { BlockType Goto Name "Goto14" Position [1150, 371, 1195, 389] ForegroundColor "blue" ShowName off GotoTag "suny" TagVisibility "local" } Block { BlockType Goto Name "Goto15" Position [1150, 411, 1195, 429] ForegroundColor "blue" ShowName off GotoTag "sunz" TagVisibility "local" } Block { BlockType Goto Name "Goto16" Position [1175, 741, 1220, 759] ForegroundColor "blue" ShowName off GotoTag "objx" TagVisibility "local" } Block { BlockType Goto Name "Goto17" Position [1175, 781, 1220, 799] ForegroundColor "blue" ShowName off GotoTag "objy" TagVisibility "local" } Block { BlockType Goto Name "Goto18" Position [1175, 821, 1220, 839] ForegroundColor "blue" ShowName off GotoTag "objz" TagVisibility "local" } Block { BlockType Goto Name "Goto19" Position [605, 1246, 650, 1264] ForegroundColor "blue" ShowName off GotoTag "DfS" TagVisibility "local" } Block { BlockType Goto Name "Goto2" Position [115, 426, 160, 444] ForegroundColor "blue" ShowName off GotoTag "a" TagVisibility "local" } Block { BlockType Goto Name "Goto20" Position [605, 1326, 650, 1344] ForegroundColor "blue" ShowName off GotoTag "DfE" TagVisibility "local" } Block { BlockType Goto Name "Goto21" Position [605, 1406, 650, 1424] ForegroundColor "blue" ShowName off GotoTag "m" TagVisibility "local" } Block { BlockType Goto Name "Goto22" Position [610, 1611, 655, 1629] ForegroundColor "blue" ShowName off GotoTag "elong" TagVisibility "local" } Block { BlockType Goto Name "Goto3" Position [115, 481, 160, 499] ForegroundColor "blue" ShowName off GotoTag "q" TagVisibility "local" } Block { BlockType Goto Name "Goto4" Position [115, 531, 160, 549] ForegroundColor "blue" ShowName off GotoTag "e" TagVisibility "local" } Block { BlockType Goto Name "Goto5" Position [115, 591, 160, 609] ForegroundColor "blue" ShowName off GotoTag "OM" TagVisibility "local" } Block { BlockType Goto Name "Goto6" Position [115, 646, 160, 664] ForegroundColor "blue" ShowName off GotoTag "w" TagVisibility "local" } Block { BlockType Goto Name "Goto7" Position [115, 701, 160, 719] ForegroundColor "blue" ShowName off GotoTag "i" TagVisibility "local" } Block { BlockType Goto Name "Goto8" Position [115, 756, 160, 774] ForegroundColor "blue" ShowName off GotoTag "M" TagVisibility "local" } Block { BlockType Goto Name "Goto9" Position [1320, 631, 1365, 649] ForegroundColor "blue" ShowName off GotoTag "ORAH" TagVisibility "local" } Block { BlockType SubSystem Name "Julian Date" Ports [4, 1] Position [265, 206, 320, 269] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Julian Date" Location [119, 74, 943, 724] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Year" Position [30, 33, 60, 47] Port "1" Interpolate on } Block { BlockType Inport Name "Month" Position [25, 173, 55, 187] Port "2" Interpolate on } Block { BlockType Inport Name "Day" Position [25, 233, 55, 247] Port "3" Interpolate on } Block { BlockType Inport Name "UT" Position [25, 308, 55, 322] Port "4" Interpolate on } Block { BlockType Gain Name "1/12" Position [210, 100, 240, 130] Gain "1/12" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/24" Position [280, 300, 310, 330] Gain "1/24" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/9" Position [275, 175, 305, 205] Gain "1/9" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "1721013.5" Position [185, 265, 215, 295] ShowName off Value "1721013.5" VectorParams1D on } Block { BlockType Constant Name "275" Position [145, 195, 175, 225] ShowName off Value "275" VectorParams1D on } Block { BlockType Gain Name "367" Position [275, 25, 305, 55] Gain "367" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "7/4" Position [390, 95, 420, 125] Gain "7/4" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "9" Position [90, 125, 120, 155] ShowName off Value "9" VectorParams1D on } Block { BlockType Product Name "Product" Ports [2, 1] Position [210, 171, 240, 204] Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [165, 105, 185, 125] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [340, 100, 360, 120] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [6, 1] Position [550, 129, 585, 276] ShowName off IconShape "rectangular" Inputs "+-++++" SaturateOnIntegerOverflow on } Block { BlockType Rounding Name "int" Position [270, 100, 300, 130] Operator "floor" } Block { BlockType Rounding Name "int1" Position [445, 130, 475, 160] Operator "floor" } Block { BlockType Rounding Name "int2" Position [350, 175, 380, 205] Operator "floor" } Block { BlockType Outport Name "JD" Position [665, 198, 695, 212] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "9" SrcPort 1 Points [25, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/12" DstPort 1 } Line { SrcBlock "1/12" SrcPort 1 DstBlock "int" DstPort 1 } Line { SrcBlock "int" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "7/4" DstPort 1 } Line { SrcBlock "7/4" SrcPort 1 Points [0, 35] DstBlock "int1" DstPort 1 } Line { SrcBlock "367" SrcPort 1 Points [210, 0; 0, 100] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "int1" SrcPort 1 Points [20, 0; 0, 20] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "275" SrcPort 1 Points [10, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "1/9" DstPort 1 } Line { SrcBlock "1/9" SrcPort 1 DstBlock "int2" DstPort 1 } Line { SrcBlock "int2" SrcPort 1 DstBlock "Sum3" DstPort 3 } Line { SrcBlock "1721013.5" SrcPort 1 Points [225, 0; 0, -40] DstBlock "Sum3" DstPort 5 } Line { SrcBlock "1/24" SrcPort 1 Points [170, 0; 0, -50] DstBlock "Sum3" DstPort 6 } Line { SrcBlock "Year" SrcPort 1 Points [145, 0; 15, 0] Branch { DstBlock "367" DstPort 1 } Branch { Points [0, 45; 100, 0] DstBlock "Sum2" DstPort 1 } } Line { SrcBlock "Month" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -70] DstBlock "Sum" DstPort 1 } Branch { DstBlock "Product" DstPort 1 } } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "JD" DstPort 1 } Line { SrcBlock "Day" SrcPort 1 Points [350, 0; 0, -25] DstBlock "Sum3" DstPort 4 } Line { SrcBlock "UT" SrcPort 1 DstBlock "1/24" DstPort 1 } Annotation { Position [664, 179] Text "Julian Date" } } } Block { BlockType SubSystem Name "Julian Date1" Ports [4, 1] Position [355, 996, 410, 1059] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Julian Date1" Location [119, 74, 943, 724] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Year" Position [30, 33, 60, 47] Port "1" Interpolate on } Block { BlockType Inport Name "Month" Position [25, 173, 55, 187] Port "2" Interpolate on } Block { BlockType Inport Name "Day" Position [25, 233, 55, 247] Port "3" Interpolate on } Block { BlockType Inport Name "UT" Position [25, 308, 55, 322] Port "4" Interpolate on } Block { BlockType Gain Name "1/12" Position [210, 100, 240, 130] Gain "1/12" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/24" Position [280, 300, 310, 330] Gain "1/24" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/9" Position [275, 175, 305, 205] Gain "1/9" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "1721013.5" Position [185, 265, 215, 295] ShowName off Value "1721013.5" VectorParams1D on } Block { BlockType Constant Name "275" Position [145, 195, 175, 225] ShowName off Value "275" VectorParams1D on } Block { BlockType Gain Name "367" Position [275, 25, 305, 55] Gain "367" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "7/4" Position [390, 95, 420, 125] Gain "7/4" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "9" Position [90, 125, 120, 155] ShowName off Value "9" VectorParams1D on } Block { BlockType Product Name "Product" Ports [2, 1] Position [210, 171, 240, 204] Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [165, 105, 185, 125] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [340, 100, 360, 120] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [6, 1] Position [550, 129, 585, 276] ShowName off IconShape "rectangular" Inputs "+-++++" SaturateOnIntegerOverflow on } Block { BlockType Rounding Name "int" Position [270, 100, 300, 130] Operator "floor" } Block { BlockType Rounding Name "int1" Position [445, 130, 475, 160] Operator "floor" } Block { BlockType Rounding Name "int2" Position [350, 175, 380, 205] Operator "floor" } Block { BlockType Outport Name "JD" Position [665, 198, 695, 212] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "9" SrcPort 1 Points [25, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/12" DstPort 1 } Line { SrcBlock "1/12" SrcPort 1 DstBlock "int" DstPort 1 } Line { SrcBlock "int" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "7/4" DstPort 1 } Line { SrcBlock "7/4" SrcPort 1 Points [0, 35] DstBlock "int1" DstPort 1 } Line { SrcBlock "367" SrcPort 1 Points [210, 0; 0, 100] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "int1" SrcPort 1 Points [20, 0; 0, 20] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "275" SrcPort 1 Points [10, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "1/9" DstPort 1 } Line { SrcBlock "1/9" SrcPort 1 DstBlock "int2" DstPort 1 } Line { SrcBlock "int2" SrcPort 1 DstBlock "Sum3" DstPort 3 } Line { SrcBlock "1721013.5" SrcPort 1 Points [225, 0; 0, -40] DstBlock "Sum3" DstPort 5 } Line { SrcBlock "1/24" SrcPort 1 Points [170, 0; 0, -50] DstBlock "Sum3" DstPort 6 } Line { SrcBlock "Year" SrcPort 1 Points [145, 0; 15, 0] Branch { DstBlock "367" DstPort 1 } Branch { Points [0, 45; 100, 0] DstBlock "Sum2" DstPort 1 } } Line { SrcBlock "Month" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -70] DstBlock "Sum" DstPort 1 } Branch { DstBlock "Product" DstPort 1 } } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "JD" DstPort 1 } Line { SrcBlock "Day" SrcPort 1 Points [350, 0; 0, -25] DstBlock "Sum3" DstPort 4 } Line { SrcBlock "UT" SrcPort 1 DstBlock "1/24" DstPort 1 } Annotation { Position [664, 179] Text "Julian Date" } } } Block { BlockType Constant Name "M" Position [35, 750, 65, 780] ForegroundColor "blue" Value "0" VectorParams1D on } Block { BlockType Constant Name "Month" Position [55, 200, 85, 230] ForegroundColor "blue" Value "12" VectorParams1D on } Block { BlockType Constant Name "Month1" Position [205, 995, 235, 1025] ForegroundColor "blue" Value "1" VectorParams1D on } Block { BlockType Constant Name "OM" Position [35, 585, 65, 615] ForegroundColor "blue" Value "90" VectorParams1D on } Block { BlockType SubSystem Name "Object" Ports [9, 3] Position [730, 620, 825, 760] ForegroundColor "blue" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Object" Location [443, 521, 751, 699] Open off ModelBrowserVisibility on ModelBrowserWidth 119 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off Block { BlockType Inport Name "a" Position [25, 33, 55, 47] ForegroundColor "blue" Port "1" Interpolate on } Block { BlockType Inport Name "q" Position [25, 93, 55, 107] ForegroundColor "blue" Port "2" Interpolate on } Block { BlockType Inport Name "e" Position [25, 183, 55, 197] ForegroundColor "blue" Port "3" Interpolate on } Block { BlockType Inport Name "OMEGA" Position [25, 248, 55, 262] ForegroundColor "blue" Port "4" Interpolate on } Block { BlockType Inport Name "omega" Position [25, 323, 55, 337] ForegroundColor "blue" Port "5" Interpolate on } Block { BlockType Inport Name "i" Position [25, 398, 55, 412] ForegroundColor "blue" Port "6" Interpolate on } Block { BlockType Inport Name "M" Position [25, 453, 55, 467] ForegroundColor "blue" Port "7" Interpolate on } Block { BlockType Inport Name "T" Position [25, 673, 55, 687] ForegroundColor "blue" Port "8" Interpolate on } Block { BlockType Inport Name "t" Position [25, 733, 55, 747] ForegroundColor "blue" Port "9" Interpolate on } Block { BlockType Gain Name "-1" Position [275, 1120, 305, 1150] ShowName off Gain "-1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "-2" Position [560, 985, 590, 1015] ShowName off Gain "-1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "-3" Position [665, 1055, 695, 1085] ShowName off Gain "-1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "0" Position [405, 515, 435, 545] ForegroundColor "blue" ShowName off Value "0" VectorParams1D on } Block { BlockType Gain Name "2 pi" Position [445, 580, 475, 610] ForegroundColor "blue" Gain "2*3.1415926535898" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "6.2831" Position [300, 365, 330, 395] ForegroundColor "blue" Value "6.283185307" VectorParams1D on } Block { BlockType Reference Name "Algebraic Constraint" Ports [1, 1] Position [770, 580, 850, 610] ForegroundColor "blue" SourceBlock "simulink3/Math/Algebraic Constraint" SourceType "Algebraic Constraint" z0 "-1.8" } Block { BlockType Constant Name "Constant2" Position [70, 130, 100, 160] ForegroundColor "blue" ShowName off Value "1" VectorParams1D on } Block { BlockType Constant Name "Constant4" Position [90, 545, 120, 575] ForegroundColor "blue" ShowName off Value "1.5" VectorParams1D on } Block { BlockType Constant Name "Constant5" Position [570, 55, 600, 85] ForegroundColor "blue" ShowName off Value "1" VectorParams1D on } Block { BlockType Constant Name "Constant6" Position [320, 1015, 350, 1045] ShowName off Value "0" VectorParams1D on } Block { BlockType Display Name "Display3" Ports [1] Position [905, 442, 1000, 468] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType From Name "From" Position [30, 801, 75, 819] CloseFcn "tagdialog Close" GotoTag "a" } Block { BlockType From Name "From1" Position [25, 516, 70, 534] ForegroundColor "blue" CloseFcn "tagdialog Close" GotoTag "a" } Block { BlockType From Name "From10" Position [375, 301, 420, 319] ForegroundColor "blue" CloseFcn "tagdialog Close" GotoTag "Dt" } Block { BlockType From Name "From11" Position [30, 856, 75, 874] CloseFcn "tagdialog Close" GotoTag "e" } Block { BlockType From Name "From2" Position [440, 656, 485, 674] ForegroundColor "blue" CloseFcn "tagdialog Close" GotoTag "e" } Block { BlockType From Name "From3" Position [525, 131, 570, 149] ForegroundColor "blue" CloseFcn "tagdialog Close" GotoTag "e" } Block { BlockType From Name "From4" Position [720, 151, 765, 169] ForegroundColor "blue" CloseFcn "tagdialog Close" GotoTag "a" } Block { BlockType From Name "From5" Position [30, 946, 75, 964] CloseFcn "tagdialog Close" GotoTag "b" } Block { BlockType From Name "From6" Position [30, 1041, 75, 1059] CloseFcn "tagdialog Close" GotoTag "E" } Block { BlockType From Name "From7" Position [95, 1126, 140, 1144] CloseFcn "tagdialog Close" GotoTag "w" } Block { BlockType From Name "From8" Position [530, 1061, 575, 1079] CloseFcn "tagdialog Close" GotoTag "OM" } Block { BlockType From Name "From9" Position [490, 991, 535, 1009] CloseFcn "tagdialog Close" GotoTag "i" } Block { BlockType Goto Name "Goto" Position [360, 81, 405, 99] ForegroundColor "blue" GotoTag "a" TagVisibility "local" } Block { BlockType Goto Name "Goto1" Position [200, 181, 245, 199] ForegroundColor "blue" GotoTag "e" TagVisibility "local" } Block { BlockType Goto Name "Goto2" Position [940, 586, 985, 604] ForegroundColor "blue" GotoTag "E" TagVisibility "local" } Block { BlockType Goto Name "Goto3" Position [935, 101, 980, 119] ForegroundColor "blue" GotoTag "b" TagVisibility "local" } Block { BlockType Goto Name "Goto4" Position [320, 711, 365, 729] ForegroundColor "blue" GotoTag "Dt" TagVisibility "local" } Block { BlockType Goto Name "Goto5" Position [205, 321, 250, 339] ForegroundColor "blue" GotoTag "w" TagVisibility "local" } Block { BlockType Goto Name "Goto6" Position [205, 246, 250, 264] ForegroundColor "blue" GotoTag "OM" TagVisibility "local" } Block { BlockType Goto Name "Goto7" Position [200, 396, 245, 414] ForegroundColor "blue" GotoTag "i" TagVisibility "local" } Block { BlockType Math Name "Math\nFunction3" Ports [2, 1] Position [175, 517, 205, 548] ForegroundColor "blue" ShowName off Operator "pow" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction4" Ports [1, 1] Position [625, 125, 655, 155] ForegroundColor "blue" ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction5" Ports [1, 1] Position [760, 85, 790, 115] ForegroundColor "blue" ShowName off Operator "sqrt" OutputSignalType "auto" } Block { BlockType Product Name "Product1" Ports [2, 1] Position [585, 655, 615, 690] ForegroundColor "blue" ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [185, 115, 215, 150] ForegroundColor "blue" ShowName off Inputs "*/" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [2, 1] Position [390, 575, 420, 610] ForegroundColor "blue" ShowName off Inputs "/*" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product5" Ports [2, 1] Position [390, 370, 420, 405] ForegroundColor "blue" ShowName off Inputs "*/" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product6" Ports [2, 1] Position [850, 90, 880, 125] ForegroundColor "blue" ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product7" Ports [2, 1] Position [320, 860, 350, 895] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product8" Ports [2, 1] Position [250, 945, 280, 980] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product9" Ports [2, 1] Position [475, 365, 505, 400] ForegroundColor "blue" ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType RelationalOperator Name "Relational\nOperator" Position [495, 497, 525, 528] ForegroundColor "blue" ShowName off Operator "~=" } Block { BlockType SubSystem Name "Rot X" Ports [4, 3] Position [650, 882, 690, 943] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Rot X" Location [457, 408, 863, 703] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "75" AutoZoom off Block { BlockType Inport Name "X" Position [25, 28, 55, 42] Port "1" Interpolate on } Block { BlockType Inport Name "Y" Position [25, 78, 55, 92] Port "2" Interpolate on } Block { BlockType Inport Name "Z" Position [25, 133, 55, 147] Port "3" Interpolate on } Block { BlockType Inport Name "Th" Position [30, 288, 60, 302] Port "4" Interpolate on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [215, 75, 245, 110] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [260, 130, 290, 165] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [2, 1] Position [295, 205, 325, 240] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [2, 1] Position [345, 255, 375, 290] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [360, 90, 380, 110] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [400, 220, 420, 240] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [145, 280, 175, 310] ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [150, 340, 180, 370] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Outport Name "x" Position [485, 28, 515, 42] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "y" Position [480, 93, 510, 107] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "z" Position [485, 168, 515, 182] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "X" SrcPort 1 DstBlock "x" DstPort 1 } Line { SrcBlock "Th" SrcPort 1 Points [0, 0; 45, 0] Branch { DstBlock "Trigonometric\nFunction1" DstPort 1 } Branch { Points [0, 60] DstBlock "Trigonometric\nFunction2" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [0, -255] DstBlock "Product1" DstPort 2 } Branch { Points [125, 0; 0, -75] DstBlock "Product4" DstPort 2 } } Line { SrcBlock "Y" SrcPort 1 Points [0, 0; 85, 0] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, 130] DstBlock "Product3" DstPort 1 } } Line { SrcBlock "Z" SrcPort 1 Points [0, 0; 120, 0] Branch { DstBlock "Product2" DstPort 1 } Branch { Points [0, 125] DstBlock "Product4" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 Points [60, 0; 0, -65] Branch { Points [0, -75] DstBlock "Product2" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0] DstBlock "y" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Product4" SrcPort 1 Points [5, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 Points [30, 0; 0, -55] DstBlock "z" DstPort 1 } } } Block { BlockType SubSystem Name "Rot Z" Ports [4, 3] Position [495, 872, 535, 933] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Rot Z" Location [121, 70, 1022, 720] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off Block { BlockType Inport Name "X" Position [25, 28, 55, 42] Port "1" Interpolate on } Block { BlockType Inport Name "Y" Position [25, 133, 55, 147] Port "2" Interpolate on } Block { BlockType Inport Name "Z" Position [25, 328, 55, 342] Port "3" Interpolate on } Block { BlockType Inport Name "Th" Position [30, 403, 60, 417] Port "4" Interpolate on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [220, 25, 250, 60] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [250, 130, 280, 165] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [2, 1] Position [330, 185, 360, 220] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [2, 1] Position [420, 245, 450, 280] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [360, 40, 380, 60] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [485, 200, 505, 220] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [120, 395, 150, 425] ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [120, 455, 150, 485] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Outport Name "x" Position [565, 43, 595, 57] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "y" Position [565, 203, 595, 217] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "z" Position [575, 328, 605, 342] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Th" SrcPort 1 Points [20, 0] Branch { DstBlock "Trigonometric\nFunction1" DstPort 1 } Branch { Points [0, 60] DstBlock "Trigonometric\nFunction2" DstPort 1 } } Line { SrcBlock "Z" SrcPort 1 DstBlock "z" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [50, 0] Branch { DstBlock "Product1" DstPort 2 } Branch { Points [175, 0; 0, -200] DstBlock "Product4" DstPort 2 } } Line { SrcBlock "X" SrcPort 1 Points [65, 0] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, 160] DstBlock "Product3" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 Points [25, 0] Branch { Points [0, -255] DstBlock "Product2" DstPort 2 } Branch { Points [120, 0; 0, -200] DstBlock "Product3" DstPort 2 } } Line { SrcBlock "Y" SrcPort 1 Points [35, 0] Branch { DstBlock "Product2" DstPort 1 } Branch { Points [0, 115] DstBlock "Product4" DstPort 1 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [60, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "x" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Product4" SrcPort 1 Points [10, 0; 0, -50] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "y" DstPort 1 } } } Block { BlockType SubSystem Name "Rot Z1" Ports [4, 3] Position [770, 892, 810, 953] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Rot Z1" Location [121, 70, 1022, 720] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "X" Position [25, 28, 55, 42] Port "1" Interpolate on } Block { BlockType Inport Name "Y" Position [25, 133, 55, 147] Port "2" Interpolate on } Block { BlockType Inport Name "Z" Position [25, 328, 55, 342] Port "3" Interpolate on } Block { BlockType Inport Name "Th" Position [30, 403, 60, 417] Port "4" Interpolate on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [220, 25, 250, 60] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [250, 130, 280, 165] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [2, 1] Position [330, 185, 360, 220] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [2, 1] Position [420, 245, 450, 280] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [360, 40, 380, 60] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [485, 200, 505, 220] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [120, 395, 150, 425] ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [120, 455, 150, 485] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Outport Name "x" Position [565, 43, 595, 57] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "y" Position [565, 203, 595, 217] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "z" Position [575, 328, 605, 342] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "y" DstPort 1 } Line { SrcBlock "Product4" SrcPort 1 Points [10, 0; 0, -50] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "x" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [60, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Y" SrcPort 1 Points [35, 0] Branch { Points [0, 115] DstBlock "Product4" DstPort 1 } Branch { DstBlock "Product2" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 Points [25, 0] Branch { Points [120, 0; 0, -200] DstBlock "Product3" DstPort 2 } Branch { Points [0, -255] DstBlock "Product2" DstPort 2 } } Line { SrcBlock "X" SrcPort 1 Points [65, 0] Branch { Points [0, 160] DstBlock "Product3" DstPort 1 } Branch { DstBlock "Product1" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [50, 0] Branch { Points [175, 0; 0, -200] DstBlock "Product4" DstPort 2 } Branch { DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Z" SrcPort 1 DstBlock "z" DstPort 1 } Line { SrcBlock "Th" SrcPort 1 Points [20, 0] Branch { Points [0, 60] DstBlock "Trigonometric\nFunction2" DstPort 1 } Branch { DstBlock "Trigonometric\nFunction1" DstPort 1 } } } } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [135, 140, 155, 160] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [540, 395, 560, 415] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [175, 675, 195, 695] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum4" Ports [3, 1] Position [700, 577, 720, 613] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "++-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum5" Ports [2, 1] Position [700, 90, 720, 110] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum6" Ports [2, 1] Position [250, 875, 270, 895] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "Switch" Position [270, 75, 300, 105] ForegroundColor "blue" Threshold "0" } Block { BlockType Switch Name "Switch1" Position [595, 570, 625, 600] ForegroundColor "blue" Threshold "0" } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [170, 875, 200, 905] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [515, 700, 545, 730] ForegroundColor "blue" ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction3" Ports [1, 1] Position [170, 965, 200, 995] ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Gain Name "cent -> years" Position [230, 670, 260, 700] ForegroundColor "blue" Gain "100" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "deg->rad" Position [110, 240, 140, 270] ForegroundColor "blue" Gain "3.1415926535898/180" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "deg->rad1" Position [110, 315, 140, 345] ForegroundColor "blue" Gain "3.1415926535898/180" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "deg->rad2" Position [245, 445, 275, 475] ForegroundColor "blue" Gain "3.1415926535898/180" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "deg->rad3" Position [110, 390, 140, 420] ForegroundColor "blue" Gain "3.1415926535898/180" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "X" Position [945, 898, 975, 912] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Y" Position [945, 943, 975, 957] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Z" Position [945, 993, 975, 1007] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "a" SrcPort 1 Points [170, 0; 0, 40] Branch { Points [0, 10] DstBlock "Switch" DstPort 2 } Branch { DstBlock "Switch" DstPort 1 } } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "e" SrcPort 1 Points [60, 0] Branch { DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Goto1" DstPort 1 } } Line { SrcBlock "q" SrcPort 1 Points [110, 0] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [10, 0] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 Points [10, 0; 0, -35] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Switch" SrcPort 1 DstBlock "Goto" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Math\nFunction3" DstPort 1 } Line { SrcBlock "Constant4" SrcPort 1 Points [35, 0] DstBlock "Math\nFunction3" DstPort 2 } Line { SrcBlock "Math\nFunction3" SrcPort 1 Points [135, 0] Branch { Points [0, 50] DstBlock "Product4" DstPort 1 } Branch { Points [0, -140] DstBlock "Product5" DstPort 2 } } Line { SrcBlock "T" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "t" SrcPort 1 Points [100, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "cent -> years" DstPort 1 } Line { SrcBlock "M" SrcPort 1 Points [145, 0] Branch { DstBlock "deg->rad2" DstPort 1 } Branch { Points [0, 45] DstBlock "Relational\nOperator" DstPort 1 } } Line { SrcBlock "Product4" SrcPort 1 DstBlock "2 pi" DstPort 1 } Line { SrcBlock "Algebraic Constraint" SrcPort 1 Points [15, 0] Branch { Points [35, 0] Branch { Points [0, 160; -245, 0] Branch { Points [0, -150] DstBlock "Sum4" DstPort 3 } Branch { Points [-210, 0; 0, -40] DstBlock "Trigonometric\nFunction2" DstPort 1 } } Branch { DstBlock "Goto2" DstPort 1 } } Branch { Points [0, -140] DstBlock "Display3" DstPort 1 } } Line { SrcBlock "deg->rad2" SrcPort 1 Points [245, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "2 pi" SrcPort 1 DstBlock "Switch1" DstPort 3 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Product1" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [20, 0] DstBlock "Product1" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 Points [20, 0; 0, -80] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Switch1" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Algebraic Constraint" DstPort 1 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Math\nFunction4" DstPort 1 } Line { SrcBlock "Constant5" SrcPort 1 Points [80, 0] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "Math\nFunction4" SrcPort 1 Points [25, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Math\nFunction5" DstPort 1 } Line { SrcBlock "Math\nFunction5" SrcPort 1 DstBlock "Product6" DstPort 1 } Line { SrcBlock "From4" SrcPort 1 Points [65, 0] DstBlock "Product6" DstPort 2 } Line { SrcBlock "Product6" SrcPort 1 DstBlock "Goto3" DstPort 1 } Line { SrcBlock "From6" SrcPort 1 Points [50, 0; 0, -70] Branch { Points [0, -90] DstBlock "Trigonometric\nFunction1" DstPort 1 } Branch { DstBlock "Trigonometric\nFunction3" DstPort 1 } } Line { SrcBlock "From5" SrcPort 1 DstBlock "Product8" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "Sum6" DstPort 2 } Line { SrcBlock "Trigonometric\nFunction3" SrcPort 1 Points [30, 0] DstBlock "Product8" DstPort 2 } Line { SrcBlock "Product8" SrcPort 1 Points [130, 0; 0, -70] DstBlock "Rot Z" DstPort 2 } Line { SrcBlock "omega" SrcPort 1 DstBlock "deg->rad1" DstPort 1 } Line { SrcBlock "Constant6" SrcPort 1 Points [80, 0; 0, -120] DstBlock "Rot Z" DstPort 3 } Line { SrcBlock "From7" SrcPort 1 DstBlock "-1" DstPort 1 } Line { SrcBlock "-1" SrcPort 1 Points [145, 0; 0, -210] DstBlock "Rot Z" DstPort 4 } Line { SrcBlock "Rot Z" SrcPort 1 Points [95, 0] DstBlock "Rot X" DstPort 1 } Line { SrcBlock "Rot Z" SrcPort 2 DstBlock "Rot X" DstPort 2 } Line { SrcBlock "Rot Z" SrcPort 3 Points [95, 0] DstBlock "Rot X" DstPort 3 } Line { SrcBlock "OMEGA" SrcPort 1 DstBlock "deg->rad" DstPort 1 } Line { SrcBlock "From9" SrcPort 1 DstBlock "-2" DstPort 1 } Line { SrcBlock "-2" SrcPort 1 Points [40, 0] DstBlock "Rot X" DstPort 4 } Line { SrcBlock "i" SrcPort 1 DstBlock "deg->rad3" DstPort 1 } Line { SrcBlock "Rot X" SrcPort 1 Points [60, 0] DstBlock "Rot Z1" DstPort 1 } Line { SrcBlock "Rot X" SrcPort 2 DstBlock "Rot Z1" DstPort 2 } Line { SrcBlock "Rot X" SrcPort 3 Points [60, 0] DstBlock "Rot Z1" DstPort 3 } Line { SrcBlock "-3" SrcPort 1 Points [55, 0] DstBlock "Rot Z1" DstPort 4 } Line { SrcBlock "Rot Z1" SrcPort 1 DstBlock "X" DstPort 1 } Line { SrcBlock "Rot Z1" SrcPort 2 Points [100, 0; 0, 25] DstBlock "Y" DstPort 1 } Line { SrcBlock "Rot Z1" SrcPort 3 Points [85, 0; 0, 55] DstBlock "Z" DstPort 1 } Line { SrcBlock "deg->rad" SrcPort 1 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "deg->rad1" SrcPort 1 DstBlock "Goto5" DstPort 1 } Line { SrcBlock "deg->rad3" SrcPort 1 DstBlock "Goto7" DstPort 1 } Line { SrcBlock "6.2831" SrcPort 1 DstBlock "Product5" DstPort 1 } Line { SrcBlock "From10" SrcPort 1 Points [35, 0] DstBlock "Product9" DstPort 1 } Line { SrcBlock "Product5" SrcPort 1 DstBlock "Product9" DstPort 2 } Line { SrcBlock "Product9" SrcPort 1 Points [15, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [15, 0] DstBlock "Switch1" DstPort 1 } Line { SrcBlock "Product7" SrcPort 1 DstBlock "Rot Z" DstPort 1 } Line { SrcBlock "From11" SrcPort 1 Points [155, 0] DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Sum6" SrcPort 1 DstBlock "Product7" DstPort 2 } Line { SrcBlock "From" SrcPort 1 Points [210, 0; 0, 60] DstBlock "Product7" DstPort 1 } Line { SrcBlock "cent -> years" SrcPort 1 Points [30, 0] Branch { Points [80, 0] DstBlock "Product4" DstPort 2 } Branch { Points [0, 35] DstBlock "Goto4" DstPort 1 } } Line { SrcBlock "Relational\nOperator" SrcPort 1 Points [30, 0; 0, 70] DstBlock "Switch1" DstPort 2 } Line { SrcBlock "0" SrcPort 1 Points [40, 0] DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "From8" SrcPort 1 DstBlock "-3" DstPort 1 } Annotation { Position [262, 150] ForegroundColor "blue" Text "a = q / (1-e)" } Annotation { Position [281, 523] ForegroundColor "blue" Text "P" } Annotation { Position [298, 665] ForegroundColor "blue" Text "Dt" } Annotation { Position [504, 612] ForegroundColor "blue" Text "M" } Annotation { Position [895, 578] ForegroundColor "blue" Text "E [rad]" } Annotation { Position [665, 549] Text "Kepler's equation" } Annotation { Position [901, 96] ForegroundColor "blue" Text "b" } Annotation { Position [843, 51] ForegroundColor "blue" Text "b = a * (1-e^2) ^ (1/2)" } Annotation { Position [389, 863] Text "local x" } Annotation { Position [384, 943] Text "local y" } Annotation { Position [833, 862] Text "Object Absolute Coord." } Annotation { Position [433, 399] ForegroundColor "blue" Text "n" } Annotation { Position [613, 515] Text "Actual M" } Annotation { Position [443, 301] ForegroundColor "blue" Text "years" } Annotation { Position [68, 634] HorizontalAlignment "left" VerticalAlignment "top" ForegroundColor "blue" Text "Perihelion Time or\nTime Reference for M" } Annotation { Position [94, 725] ForegroundColor "blue" Text "Actual Time" } } } Block { BlockType Display Name "Object - Dec Deg" Ports [1] Position [280, 526, 370, 554] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Object - Dec min" Ports [1] Position [280, 586, 370, 614] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Object - Earth Distance" Ports [1] Position [280, 751, 370, 779] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Object - RA Hrs" Ports [1] Position [280, 422, 370, 448] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Object - RA min" Ports [1] Position [280, 476, 370, 504] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Object - Sun Distance" Ports [1] Position [280, 696, 370, 724] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType SubSystem Name "Object Magnitude" Ports [6, 3] Position [425, 1215, 530, 1455] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Object Magnitude" Location [488, 478, 758, 594] Open off ModelBrowserVisibility on ModelBrowserWidth 119 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "75" AutoZoom off Block { BlockType Inport Name "sunx" Position [25, 33, 55, 47] Port "1" Interpolate on } Block { BlockType Inport Name "suny" Position [25, 88, 55, 102] Port "2" Interpolate on } Block { BlockType Inport Name "sunz" Position [25, 138, 55, 152] Port "3" Interpolate on } Block { BlockType Inport Name "objx" Position [25, 298, 55, 312] Port "4" Interpolate on } Block { BlockType Inport Name "objy" Position [25, 353, 55, 367] Port "5" Interpolate on } Block { BlockType Inport Name "objz" Position [25, 403, 55, 417] Port "6" Interpolate on } Block { BlockType Constant Name "5" Position [95, 705, 125, 735] Value "8" VectorParams1D on } Block { BlockType Constant Name "Absolute Magnitude" Position [95, 465, 125, 495] Value "7.0" VectorParams1D on } Block { BlockType Constant Name "Constant" Position [95, 530, 125, 560] Value "5" VectorParams1D on } Block { BlockType From Name "From10" Position [60, 786, 105, 804] ShowName off CloseFcn "tagdialog Close" GotoTag "r" } Block { BlockType From Name "From2" Position [65, 616, 110, 634] ShowName off CloseFcn "tagdialog Close" GotoTag "D" } Block { BlockType Goto Name "Goto1" Position [740, 401, 785, 419] ShowName off GotoTag "D" TagVisibility "local" } Block { BlockType Goto Name "Goto2" Position [730, 156, 775, 174] ShowName off GotoTag "r" TagVisibility "local" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [350, 30, 380, 60] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction1" Ports [1, 1] Position [535, 85, 565, 115] ShowName off Operator "sqrt" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction10" Ports [1, 1] Position [195, 610, 225, 640] ShowName off Operator "log10" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction2" Ports [1, 1] Position [350, 85, 380, 115] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction3" Ports [1, 1] Position [350, 135, 380, 165] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction4" Ports [1, 1] Position [350, 290, 380, 320] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction5" Ports [1, 1] Position [535, 345, 565, 375] ShowName off Operator "sqrt" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction6" Ports [1, 1] Position [350, 345, 380, 375] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction7" Ports [1, 1] Position [350, 395, 380, 425] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction8" Ports [1, 1] Position [190, 780, 220, 810] ShowName off Operator "log10" OutputSignalType "auto" } Block { BlockType Display Name "Object - RA Hrs" Ports [1] Position [775, 292, 865, 318] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Product Name "Product1" Ports [2, 1] Position [285, 535, 315, 570] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product9" Ports [2, 1] Position [285, 710, 315, 745] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [155, 35, 175, 55] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [460, 84, 485, 116] ShowName off IconShape "rectangular" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [205, 90, 225, 110] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [260, 140, 280, 160] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum5" Ports [3, 1] Position [460, 344, 485, 376] ShowName off IconShape "rectangular" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum6" Ports [3, 1] Position [415, 535, 445, 575] ShowName off IconShape "rectangular" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Distance from Sun" Position [830, 93, 860, 107] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Distance from Earth" Position [825, 353, 855, 367] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Magnitude" Position [830, 548, 860, 562] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "sunx" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "objx" SrcPort 1 Points [80, 0] Branch { DstBlock "Math\nFunction4" DstPort 1 } Branch { DstBlock "Sum" DstPort 2 } } Line { SrcBlock "suny" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "sunz" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "objy" SrcPort 1 Points [130, 0] Branch { DstBlock "Math\nFunction6" DstPort 1 } Branch { DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "objz" SrcPort 1 Points [185, 0] Branch { DstBlock "Math\nFunction7" DstPort 1 } Branch { DstBlock "Sum4" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Math\nFunction" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Math\nFunction2" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Math\nFunction3" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [60, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Math\nFunction2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Math\nFunction3" SrcPort 1 Points [60, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Math\nFunction1" DstPort 1 } Line { SrcBlock "Math\nFunction4" SrcPort 1 Points [60, 0] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "Math\nFunction6" SrcPort 1 DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Math\nFunction7" SrcPort 1 Points [60, 0] DstBlock "Sum5" DstPort 3 } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Math\nFunction5" DstPort 1 } Line { SrcBlock "Math\nFunction1" SrcPort 1 Points [105, 0] Branch { DstBlock "Distance from Sun" DstPort 1 } Branch { Points [0, 65] DstBlock "Goto2" DstPort 1 } } Line { SrcBlock "Math\nFunction5" SrcPort 1 Points [105, 0] Branch { DstBlock "Distance from Earth" DstPort 1 } Branch { Points [0, 50] DstBlock "Goto1" DstPort 1 } } Line { SrcBlock "From10" SrcPort 1 DstBlock "Math\nFunction8" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Math\nFunction10" DstPort 1 } Line { SrcBlock "5" SrcPort 1 DstBlock "Product9" DstPort 1 } Line { SrcBlock "Math\nFunction8" SrcPort 1 Points [45, 0] DstBlock "Product9" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Product1" DstPort 1 } Line { SrcBlock "Math\nFunction10" SrcPort 1 Points [40, 0] DstBlock "Product1" DstPort 2 } Line { SrcBlock "Absolute Magnitude" SrcPort 1 Points [270, 0] DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum6" DstPort 2 } Line { SrcBlock "Product9" SrcPort 1 Points [80, 0] DstBlock "Sum6" DstPort 3 } Line { SrcBlock "Sum6" SrcPort 1 DstBlock "Magnitude" DstPort 1 } Annotation { Position [539, 68] Text "r - Object's distance from Sun" } Annotation { Position [540, 317] Text "R - Object's distance from Earth" } } } Block { BlockType Display Name "Object Visual Magnitude" Ports [1] Position [280, 641, 370, 669] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType SubSystem Name "Object coord." Ports [3, 4] Position [1155, 629, 1215, 696] ForegroundColor "blue" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Object coord." Location [119, 74, 943, 708] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off Block { BlockType Inport Name "X" Position [25, 58, 55, 72] Port "1" Interpolate on } Block { BlockType Inport Name "Y" Position [25, 183, 55, 197] Port "2" Interpolate on } Block { BlockType Inport Name "Z" Position [25, 328, 55, 342] Port "3" Interpolate on } Block { BlockType Gain Name "1" Position [780, 360, 810, 390] ShowName off Gain "60" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "60" Position [670, 155, 700, 185] ShowName off Gain "60" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "Constant" Position [225, 140, 255, 170] ShowName off Value "24" VectorParams1D on } Block { BlockType Math Name "Math\nFunction2" Ports [1, 1] Position [325, 255, 355, 285] ShowName off Operator "sqrt" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction3" Ports [1, 1] Position [140, 240, 170, 270] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction4" Ports [1, 1] Position [195, 275, 225, 305] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Product Name "Product2" Ports [2, 1] Position [385, 285, 415, 320] ShowName off Inputs "/*" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Rounding Name "Rounding\nFunction" Position [515, 90, 545, 120] ShowName off Operator "floor" } Block { BlockType Rounding Name "Rounding\nFunction1" Position [600, 265, 630, 295] ShowName off Operator "floor" } Block { BlockType Rounding Name "Rounding\nFunction2" Position [600, 315, 630, 345] ShowName off Operator "ceil" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [340, 140, 360, 160] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [265, 260, 285, 280] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [605, 160, 625, 180] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [725, 365, 745, 385] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "Switch" Position [440, 90, 470, 120] Threshold "0" } Block { BlockType Switch Name "Switch1" Position [665, 290, 695, 320] Threshold "0" } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [2, 1] Position [155, 77, 185, 108] Operator "atan2" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [455, 289, 485, 321] ShowName off Operator "atan" OutputSignalType "auto" } Block { BlockType Gain Name "rad -> deg" Position [515, 290, 545, 320] Gain "180/3.1415926535898" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "rad -> hrs" Position [240, 80, 270, 110] Gain "12/3.1415926535898" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "R A Hr" Position [825, 98, 855, 112] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "R A min" Position [825, 163, 855, 177] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Dec deg" Position [835, 298, 865, 312] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Dec min" Position [830, 368, 860, 382] Port "4" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Switch1" SrcPort 1 Points [10, 0] Branch { DstBlock "Sum3" DstPort 1 } Branch { DstBlock "Dec deg" DstPort 1 } } Line { SrcBlock "Rounding\nFunction2" SrcPort 1 Points [15, 0] DstBlock "Switch1" DstPort 3 } Line { SrcBlock "Rounding\nFunction1" SrcPort 1 Points [15, 0] DstBlock "Switch1" DstPort 1 } Line { SrcBlock "1" SrcPort 1 DstBlock "Dec min" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "1" DstPort 1 } Line { SrcBlock "60" SrcPort 1 DstBlock "R A min" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "60" DstPort 1 } Line { SrcBlock "Rounding\nFunction" SrcPort 1 Points [25, 0] Branch { Points [0, 60] DstBlock "Sum2" DstPort 1 } Branch { DstBlock "R A Hr" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 Points [25, 0; 0, -35] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Switch" SrcPort 1 Points [10, 0] Branch { Points [0, 70] DstBlock "Sum2" DstPort 2 } Branch { DstBlock "Rounding\nFunction" DstPort 1 } } Line { SrcBlock "rad -> hrs" SrcPort 1 Points [0, 0; 45, 0] Branch { Points [0, 50] DstBlock "Sum" DstPort 1 } Branch { Points [70, 0] Branch { Points [0, 10] DstBlock "Switch" DstPort 2 } Branch { DstBlock "Switch" DstPort 1 } } } Line { SrcBlock "rad -> deg" SrcPort 1 Points [10, 0] Branch { Points [20, 0] Branch { Points [0, 0] Branch { Points [0, 25] DstBlock "Rounding\nFunction2" DstPort 1 } Branch { DstBlock "Switch1" DstPort 2 } } Branch { Points [0, -25] DstBlock "Rounding\nFunction1" DstPort 1 } } Branch { Points [0, 75] DstBlock "Sum3" DstPort 2 } } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 DstBlock "rad -> deg" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "rad -> hrs" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Trigonometric\nFunction2" DstPort 1 } Line { SrcBlock "Z" SrcPort 1 Points [310, 0] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Math\nFunction2" SrcPort 1 Points [10, 0] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Math\nFunction2" DstPort 1 } Line { SrcBlock "Math\nFunction4" SrcPort 1 Points [20, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Math\nFunction3" SrcPort 1 Points [75, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Y" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [0, -105] DstBlock "Trigonometric\nFunction1" DstPort 1 } Branch { Points [0, 100] DstBlock "Math\nFunction4" DstPort 1 } } Line { SrcBlock "X" SrcPort 1 Points [45, 0; 0, 35] Branch { DstBlock "Trigonometric\nFunction1" DstPort 2 } Branch { Points [0, 155] DstBlock "Math\nFunction3" DstPort 1 } } } } Block { BlockType SubSystem Name "Rot X" Ports [4, 3] Position [1015, 222, 1055, 283] ForegroundColor "blue" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Rot X" Location [457, 408, 863, 703] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off Block { BlockType Inport Name "X" Position [25, 28, 55, 42] Port "1" Interpolate on } Block { BlockType Inport Name "Y" Position [25, 78, 55, 92] Port "2" Interpolate on } Block { BlockType Inport Name "Z" Position [25, 133, 55, 147] Port "3" Interpolate on } Block { BlockType Inport Name "Th" Position [30, 288, 60, 302] Port "4" Interpolate on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [215, 75, 245, 110] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [260, 130, 290, 165] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [2, 1] Position [295, 205, 325, 240] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [2, 1] Position [345, 255, 375, 290] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [360, 90, 380, 110] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [400, 220, 420, 240] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [145, 280, 175, 310] ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [150, 340, 180, 370] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Outport Name "x" Position [485, 28, 515, 42] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "y" Position [480, 93, 510, 107] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "z" Position [485, 168, 515, 182] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "X" SrcPort 1 DstBlock "x" DstPort 1 } Line { SrcBlock "Th" SrcPort 1 Points [0, 0; 45, 0] Branch { DstBlock "Trigonometric\nFunction1" DstPort 1 } Branch { Points [0, 60] DstBlock "Trigonometric\nFunction2" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [0, -255] DstBlock "Product1" DstPort 2 } Branch { Points [125, 0; 0, -75] DstBlock "Product4" DstPort 2 } } Line { SrcBlock "Y" SrcPort 1 Points [0, 0; 85, 0] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, 130] DstBlock "Product3" DstPort 1 } } Line { SrcBlock "Z" SrcPort 1 Points [0, 0; 120, 0] Branch { DstBlock "Product2" DstPort 1 } Branch { Points [0, 125] DstBlock "Product4" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 Points [60, 0; 0, -65] Branch { Points [0, -75] DstBlock "Product2" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0] DstBlock "y" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Product4" SrcPort 1 Points [5, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 Points [30, 0; 0, -55] DstBlock "z" DstPort 1 } } } Block { BlockType SubSystem Name "Rot X1" Ports [4, 3] Position [1050, 632, 1090, 693] ForegroundColor "blue" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Rot X1" Location [457, 408, 863, 703] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off Block { BlockType Inport Name "X" Position [25, 28, 55, 42] Port "1" Interpolate on } Block { BlockType Inport Name "Y" Position [25, 78, 55, 92] Port "2" Interpolate on } Block { BlockType Inport Name "Z" Position [25, 133, 55, 147] Port "3" Interpolate on } Block { BlockType Inport Name "Th" Position [30, 288, 60, 302] Port "4" Interpolate on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [215, 75, 245, 110] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [260, 130, 290, 165] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [2, 1] Position [295, 205, 325, 240] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product4" Ports [2, 1] Position [345, 255, 375, 290] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [360, 90, 380, 110] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [400, 220, 420, 240] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [145, 280, 175, 310] ShowName off Operator "sin" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [1, 1] Position [150, 340, 180, 370] ShowName off Operator "cos" OutputSignalType "auto" } Block { BlockType Outport Name "x" Position [485, 28, 515, 42] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "y" Position [480, 93, 510, 107] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "z" Position [485, 168, 515, 182] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Sum2" SrcPort 1 Points [30, 0; 0, -55] DstBlock "z" DstPort 1 } Line { SrcBlock "Product4" SrcPort 1 Points [5, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0] DstBlock "y" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 Points [60, 0; 0, -65] Branch { DstBlock "Product3" DstPort 2 } Branch { Points [0, -75] DstBlock "Product2" DstPort 2 } } Line { SrcBlock "Z" SrcPort 1 Points [0, 0; 120, 0] Branch { Points [0, 125] DstBlock "Product4" DstPort 1 } Branch { DstBlock "Product2" DstPort 1 } } Line { SrcBlock "Y" SrcPort 1 Points [0, 0; 85, 0] Branch { Points [0, 130] DstBlock "Product3" DstPort 1 } Branch { DstBlock "Product1" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [125, 0; 0, -75] DstBlock "Product4" DstPort 2 } Branch { Points [0, -255] DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Th" SrcPort 1 Points [0, 0; 45, 0] Branch { Points [0, 60] DstBlock "Trigonometric\nFunction2" DstPort 1 } Branch { DstBlock "Trigonometric\nFunction1" DstPort 1 } } Line { SrcBlock "X" SrcPort 1 DstBlock "x" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem" Ports [6, 1] Position [430, 1515, 535, 1720] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Subsystem" Location [628, 776, 736, 812] Open off ModelBrowserVisibility on ModelBrowserWidth 119 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off Block { BlockType Inport Name "sunx" Position [25, 33, 55, 47] Port "1" Interpolate on } Block { BlockType Inport Name "suny" Position [25, 88, 55, 102] Port "2" Interpolate on } Block { BlockType Inport Name "sunz" Position [25, 138, 55, 152] Port "3" Interpolate on } Block { BlockType Inport Name "objx" Position [25, 328, 55, 342] Port "4" Interpolate on } Block { BlockType Inport Name "objy" Position [25, 383, 55, 397] Port "5" Interpolate on } Block { BlockType Inport Name "objz" Position [25, 433, 55, 447] Port "6" Interpolate on } Block { BlockType Reference Name "Dot Product" Ports [2, 1] Position [455, 226, 485, 259] SourceBlock "simulink3/Math/Dot Product" SourceType "Dot Product" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [235, 25, 265, 55] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction1" Ports [1, 1] Position [420, 80, 450, 110] ShowName off Operator "sqrt" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction2" Ports [1, 1] Position [235, 80, 265, 110] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction3" Ports [1, 1] Position [235, 130, 265, 160] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction4" Ports [1, 1] Position [240, 320, 270, 350] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction5" Ports [1, 1] Position [425, 375, 455, 405] ShowName off Operator "sqrt" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction6" Ports [1, 1] Position [240, 375, 270, 405] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction7" Ports [1, 1] Position [240, 425, 270, 455] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Mux Name "Mux1" Ports [3, 1] Position [365, 193, 370, 237] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" Ports [3, 1] Position [365, 253, 370, 297] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Product Name "Product1" Ports [3, 1] Position [540, 220, 570, 270] ShowName off Inputs "/*/" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [345, 79, 370, 111] ShowName off IconShape "rectangular" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [350, 374, 375, 406] ShowName off IconShape "rectangular" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [605, 230, 635, 260] ShowName off Operator "acos" OutputSignalType "auto" } Block { BlockType Gain Name "rad -> deg" Position [670, 230, 700, 260] Gain "180/3.1415926535897" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Elongation" Position [735, 238, 765, 252] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Product1" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Trigonometric\nFunction1" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "rad -> deg" DstPort 1 } Line { SrcBlock "Mux3" SrcPort 1 Points [65, 0] DstBlock "Dot Product" DstPort 2 } Line { SrcBlock "sunx" SrcPort 1 Points [145, 0] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { Points [0, 160] DstBlock "Mux1" DstPort 1 } } Line { SrcBlock "suny" SrcPort 1 Points [125, 0] Branch { DstBlock "Math\nFunction2" DstPort 1 } Branch { Points [0, 120] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "sunz" SrcPort 1 Points [100, 0] Branch { DstBlock "Math\nFunction3" DstPort 1 } Branch { Points [0, 85] DstBlock "Mux1" DstPort 3 } } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [60, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Math\nFunction2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Math\nFunction3" SrcPort 1 Points [60, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Math\nFunction1" DstPort 1 } Line { SrcBlock "Math\nFunction1" SrcPort 1 Points [50, 0; 0, 135] DstBlock "Product1" DstPort 1 } Line { SrcBlock "objx" SrcPort 1 Points [95, 0] Branch { DstBlock "Math\nFunction4" DstPort 1 } Branch { Points [0, -75] DstBlock "Mux3" DstPort 1 } } Line { SrcBlock "objy" SrcPort 1 Points [115, 0] Branch { DstBlock "Math\nFunction6" DstPort 1 } Branch { Points [0, -115] DstBlock "Mux3" DstPort 2 } } Line { SrcBlock "objz" SrcPort 1 Points [130, 0] Branch { DstBlock "Math\nFunction7" DstPort 1 } Branch { Points [0, -150] DstBlock "Mux3" DstPort 3 } } Line { SrcBlock "Math\nFunction4" SrcPort 1 Points [60, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Math\nFunction6" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Math\nFunction7" SrcPort 1 Points [60, 0] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Math\nFunction5" DstPort 1 } Line { SrcBlock "Math\nFunction5" SrcPort 1 Points [50, 0; 0, -130] DstBlock "Product1" DstPort 3 } Line { SrcBlock "Mux1" SrcPort 1 Points [65, 0] DstBlock "Dot Product" DstPort 1 } Line { SrcBlock "rad -> deg" SrcPort 1 DstBlock "Elongation" DstPort 1 } Annotation { Position [414, 63] Text "Earth distance from Sun" } Annotation { Position [419, 358] Text "Earth distance from Object" } } } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [730, 355, 750, 375] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [945, 630, 965, 650] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [945, 675, 965, 695] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [945, 730, 965, 750] ForegroundColor "blue" ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Display Name "Sun - Dec Deg" Ports [1] Position [1295, 322, 1380, 348] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Sun - Dec min" Ports [1] Position [1295, 382, 1380, 408] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Sun - RA Hrs" Ports [1] Position [1290, 217, 1380, 243] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Sun - RA min" Ports [1] Position [1290, 266, 1380, 294] ForegroundColor "blue" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType SubSystem Name "Sun coord." Ports [3, 4] Position [1140, 219, 1200, 286] ForegroundColor "blue" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Sun coord." Location [384, 484, 799, 721] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off Block { BlockType Inport Name "X" Position [25, 58, 55, 72] Port "1" Interpolate on } Block { BlockType Inport Name "Y" Position [25, 183, 55, 197] Port "2" Interpolate on } Block { BlockType Inport Name "Z" Position [25, 288, 55, 302] Port "3" Interpolate on } Block { BlockType Gain Name "1" Position [780, 360, 810, 390] ShowName off Gain "60" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "60" Position [670, 155, 700, 185] ShowName off Gain "60" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "Constant" Position [225, 140, 255, 170] ShowName off Value "24" VectorParams1D on } Block { BlockType Math Name "Math\nFunction2" Ports [1, 1] Position [325, 330, 355, 360] ShowName off Operator "sqrt" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction3" Ports [1, 1] Position [140, 315, 170, 345] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Math Name "Math\nFunction4" Ports [1, 1] Position [195, 350, 225, 380] ShowName off Operator "magnitude^2" OutputSignalType "auto" } Block { BlockType Rounding Name "Rounding\nFunction" Position [515, 90, 545, 120] ShowName off Operator "floor" } Block { BlockType Rounding Name "Rounding\nFunction1" Position [615, 290, 645, 320] ShowName off Operator "fix" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [340, 140, 360, 160] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [265, 335, 285, 355] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [605, 160, 625, 180] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [725, 365, 745, 385] ShowName off IconShape "rectangular" Inputs "-+" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "Switch" Position [440, 90, 470, 120] Threshold "0" } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [2, 1] Position [155, 77, 185, 108] Operator "atan2" OutputSignalType "auto" } Block { BlockType Trigonometry Name "Trigonometric\nFunction2" Ports [2, 1] Position [440, 286, 470, 319] ShowName off Operator "atan2" OutputSignalType "auto" } Block { BlockType Gain Name "rad -> deg" Position [515, 290, 545, 320] Gain "180/3.1415926535898" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "rad -> hrs" Position [240, 80, 270, 110] Gain "12/3.1415926535898" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "R A Hr" Position [825, 98, 855, 112] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "R A min" Position [825, 163, 855, 177] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Dec deg" Position [835, 298, 865, 312] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Dec min" Position [830, 368, 860, 382] Port "4" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "X" SrcPort 1 Points [45, 0; 0, 35] Branch { Points [0, 230] DstBlock "Math\nFunction3" DstPort 1 } Branch { DstBlock "Trigonometric\nFunction1" DstPort 2 } } Line { SrcBlock "Y" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [0, 175] DstBlock "Math\nFunction4" DstPort 1 } Branch { Points [0, -105] DstBlock "Trigonometric\nFunction1" DstPort 1 } } Line { SrcBlock "Math\nFunction3" SrcPort 1 Points [75, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Math\nFunction4" SrcPort 1 Points [20, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Math\nFunction2" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "rad -> hrs" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction2" SrcPort 1 DstBlock "rad -> deg" DstPort 1 } Line { SrcBlock "rad -> deg" SrcPort 1 Points [15, 0] Branch { Points [0, 75] DstBlock "Sum3" DstPort 2 } Branch { DstBlock "Rounding\nFunction1" DstPort 1 } } Line { SrcBlock "rad -> hrs" SrcPort 1 Points [0, 0; 45, 0] Branch { Points [70, 0] Branch { DstBlock "Switch" DstPort 1 } Branch { Points [0, 10] DstBlock "Switch" DstPort 2 } } Branch { Points [0, 50] DstBlock "Sum" DstPort 1 } } Line { SrcBlock "Switch" SrcPort 1 Points [10, 0] Branch { DstBlock "Rounding\nFunction" DstPort 1 } Branch { Points [0, 70] DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [25, 0; 0, -35] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Rounding\nFunction" SrcPort 1 Points [25, 0] Branch { DstBlock "R A Hr" DstPort 1 } Branch { Points [0, 60] DstBlock "Sum2" DstPort 1 } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "60" DstPort 1 } Line { SrcBlock "60" SrcPort 1 DstBlock "R A min" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "1" DstPort 1 } Line { SrcBlock "1" SrcPort 1 DstBlock "Dec min" DstPort 1 } Line { SrcBlock "Rounding\nFunction1" SrcPort 1 Points [60, 0] Branch { DstBlock "Dec deg" DstPort 1 } Branch { DstBlock "Sum3" DstPort 1 } } Line { SrcBlock "Math\nFunction2" SrcPort 1 Points [65, 0] DstBlock "Trigonometric\nFunction2" DstPort 2 } Line { SrcBlock "Z" SrcPort 1 DstBlock "Trigonometric\nFunction2" DstPort 1 } } } Block { BlockType SubSystem Name "T in centuries" Ports [1, 1] Position [385, 210, 425, 270] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "T in centuries" Location [421, 213, 759, 345] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "JD" Position [75, 25, 105, 45] Port "1" Interpolate on } Block { BlockType Gain Name "1/36525" Position [230, 50, 260, 80] Gain "1/36525" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "2451545.0" Position [75, 75, 105, 105] Value "2451545.0" VectorParams1D on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [170, 55, 190, 75] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "T" Position [300, 58, 330, 72] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "2451545.0" SrcPort 1 Points [45, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "1/36525" DstPort 1 } Line { SrcBlock "JD" SrcPort 1 Points [45, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "1/36525" SrcPort 1 DstBlock "T" DstPort 1 } } } Block { BlockType SubSystem Name "T in centuries1" Ports [1, 1] Position [475, 1000, 515, 1060] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "T in centuries1" Location [421, 213, 759, 345] Open off ModelBrowserVisibility on ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "JD" Position [75, 25, 105, 45] Port "1" Interpolate on } Block { BlockType Gain Name "1/36525" Position [230, 50, 260, 80] Gain "1/36525" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "2451545.0" Position [75, 75, 105, 105] Value "2451545.0" VectorParams1D on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [170, 55, 190, 75] ShowName off IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "T" Position [300, 58, 330, 72] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "2451545.0" SrcPort 1 Points [45, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "1/36525" DstPort 1 } Line { SrcBlock "JD" SrcPort 1 Points [45, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "1/36525" SrcPort 1 DstBlock "T" DstPort 1 } } } Block { BlockType Constant Name "UT" Position [55, 335, 85, 365] ForegroundColor "blue" Value "0" VectorParams1D on } Block { BlockType Constant Name "UT1" Position [205, 1130, 235, 1160] ForegroundColor "blue" Value "0" VectorParams1D on } Block { BlockType Constant Name "Year" Position [55, 140, 85, 170] ForegroundColor "blue" Value "2001" VectorParams1D on } Block { BlockType Constant Name "Year1" Position [205, 935, 235, 965] ForegroundColor "blue" Value "2002" VectorParams1D on } Block { BlockType Constant Name "a" Position [35, 420, 65, 450] ForegroundColor "blue" Value "-1" VectorParams1D on } Block { BlockType Constant Name "e" Position [35, 525, 65, 555] ForegroundColor "blue" Value "0.5" VectorParams1D on } Block { BlockType Constant Name "i" Position [35, 695, 65, 725] ForegroundColor "blue" Value "45" VectorParams1D on } Block { BlockType Constant Name "q" Position [35, 475, 65, 505] ForegroundColor "blue" Value "1" VectorParams1D on } Block { BlockType Constant Name "w" Position [35, 640, 65, 670] ForegroundColor "blue" Value "30" VectorParams1D on } Line { SrcBlock "Year" SrcPort 1 Points [160, 0] DstBlock "Julian Date" DstPort 1 } Line { SrcBlock "Month" SrcPort 1 Points [50, 0; 0, 15] DstBlock "Julian Date" DstPort 2 } Line { SrcBlock "Day" SrcPort 1 Points [50, 0; 0, -35] DstBlock "Julian Date" DstPort 3 } Line { SrcBlock "UT" SrcPort 1 Points [160, 0] DstBlock "Julian Date" DstPort 4 } Line { SrcBlock "+ / -" SrcPort 1 Points [35, 0] Branch { Points [0, -145] DstBlock "Goto" DstPort 1 } Branch { DstBlock "Rot X" DstPort 1 } } Line { SrcBlock "Rot X" SrcPort 1 Points [0, 0; 50, 0] Branch { DstBlock "Sun coord." DstPort 1 } Branch { Points [0, 105] DstBlock "Goto13" DstPort 1 } } Line { SrcBlock "Rot X" SrcPort 2 Points [0, 0; 35, 0] Branch { DstBlock "Sun coord." DstPort 2 } Branch { Points [0, 125] DstBlock "Goto14" DstPort 1 } } Line { SrcBlock "Rot X" SrcPort 3 Points [0, 0; 15, 0] Branch { DstBlock "Sun coord." DstPort 3 } Branch { Points [0, 145] DstBlock "Goto15" DstPort 1 } } Line { SrcBlock "Sun coord." SrcPort 1 DstBlock "Sun - RA Hrs" DstPort 1 } Line { SrcBlock "Sun coord." SrcPort 3 Points [50, 0; 0, 75] DstBlock "Sun - Dec Deg" DstPort 1 } Line { SrcBlock "Sun coord." SrcPort 2 Points [70, 0] DstBlock "Sun - RA min" DstPort 1 } Line { SrcBlock "Sun coord." SrcPort 4 Points [30, 0; 0, 120] DstBlock "Sun - Dec min" DstPort 1 } Line { SrcBlock "From5" SrcPort 1 Points [100, 0; 0, 80] DstBlock "Object" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 Points [65, 0; 0, 45] DstBlock "Object" DstPort 2 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Object" DstPort 3 } Line { SrcBlock "From6" SrcPort 1 Points [115, 0; 0, -35] DstBlock "Object" DstPort 4 } Line { SrcBlock "From7" SrcPort 1 Points [135, 0; 0, -80] DstBlock "Object" DstPort 5 } Line { SrcBlock "From8" SrcPort 1 Points [150, 0; 0, -120] DstBlock "Object" DstPort 6 } Line { SrcBlock "Year1" SrcPort 1 Points [90, 0; 0, 55] DstBlock "Julian Date1" DstPort 1 } Line { SrcBlock "Month1" SrcPort 1 Points [50, 0; 0, 10] DstBlock "Julian Date1" DstPort 2 } Line { SrcBlock "Day1" SrcPort 1 Points [50, 0; 0, -40] DstBlock "Julian Date1" DstPort 3 } Line { SrcBlock "UT1" SrcPort 1 Points [90, 0; 0, -95] DstBlock "Julian Date1" DstPort 4 } Line { SrcBlock "Object" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Object" SrcPort 3 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Object" SrcPort 2 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "From3" SrcPort 1 Points [35, 0; 0, 100] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 Points [15, 0; 0, 100] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 Points [25, 0; 0, -30] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Rot X1" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [25, 0; 0, -30] DstBlock "Rot X1" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 Points [40, 0; 0, -70] DstBlock "Rot X1" DstPort 3 } Line { SrcBlock "Rot X1" SrcPort 1 Points [40, 0] Branch { DstBlock "Object coord." DstPort 1 } Branch { Points [0, 0; 0, 105] DstBlock "Goto16" DstPort 1 } } Line { SrcBlock "Rot X1" SrcPort 2 Points [25, 0] Branch { DstBlock "Object coord." DstPort 2 } Branch { Points [0, 0; 0, 125] DstBlock "Goto17" DstPort 1 } } Line { SrcBlock "Rot X1" SrcPort 3 Points [10, 0] Branch { DstBlock "Object coord." DstPort 3 } Branch { Points [0, 0; 0, 145] DstBlock "Goto18" DstPort 1 } } Line { SrcBlock "Object coord." SrcPort 1 DstBlock "Goto9" DstPort 1 } Line { SrcBlock "Object coord." SrcPort 2 Points [85, 0] DstBlock "Goto10" DstPort 1 } Line { SrcBlock "Object coord." SrcPort 3 Points [65, 0; 0, 55] DstBlock "Goto11" DstPort 1 } Line { SrcBlock "Object coord." SrcPort 4 Points [45, 0; 0, 85] DstBlock "Goto12" DstPort 1 } Line { SrcBlock "T in centuries1" SrcPort 1 Points [185, 0; 0, -295] DstBlock "Object" DstPort 8 } Line { SrcBlock "+ / -1" SrcPort 1 Points [20, 0; 0, -30; 45, 0] Branch { Points [0, -115] DstBlock "Goto1" DstPort 1 } Branch { DstBlock "Rot X" DstPort 2 } } Line { SrcBlock "From9" SrcPort 1 Points [165, 0; 0, -155] DstBlock "Object" DstPort 7 } Line { SrcBlock "a" SrcPort 1 DstBlock "Goto2" DstPort 1 } Line { SrcBlock "q" SrcPort 1 DstBlock "Goto3" DstPort 1 } Line { SrcBlock "e" SrcPort 1 DstBlock "Goto4" DstPort 1 } Line { SrcBlock "OM" SrcPort 1 DstBlock "Goto5" DstPort 1 } Line { SrcBlock "w" SrcPort 1 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "i" SrcPort 1 DstBlock "Goto7" DstPort 1 } Line { SrcBlock "M" SrcPort 1 DstBlock "Goto8" DstPort 1 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Object - RA Hrs" DstPort 1 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Object - RA min" DstPort 1 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Object - Dec Deg" DstPort 1 } Line { SrcBlock "From13" SrcPort 1 DstBlock "Object - Dec min" DstPort 1 } Line { SrcBlock "From19" SrcPort 1 Points [0, 0; 60, 0] Branch { DstBlock "Object Magnitude" DstPort 1 } Branch { Points [0, 295] DstBlock "Subsystem" DstPort 1 } } Line { SrcBlock "From14" SrcPort 1 Points [0, 0; 50, 0] Branch { DstBlock "Object Magnitude" DstPort 2 } Branch { Points [0, 290] DstBlock "Subsystem" DstPort 2 } } Line { SrcBlock "From15" SrcPort 1 Points [0, 0; 40, 0] Branch { DstBlock "Object Magnitude" DstPort 3 } Branch { Points [0, 285] DstBlock "Subsystem" DstPort 3 } } Line { SrcBlock "From16" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Object Magnitude" DstPort 4 } Branch { Points [0, 280] DstBlock "Subsystem" DstPort 4 } } Line { SrcBlock "From17" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "Object Magnitude" DstPort 5 } Branch { Points [0, 275] DstBlock "Subsystem" DstPort 5 } } Line { SrcBlock "From18" SrcPort 1 Points [0, 0; 10, 0] Branch { DstBlock "Object Magnitude" DstPort 6 } Branch { Points [0, 270] DstBlock "Subsystem" DstPort 6 } } Line { SrcBlock "Object Magnitude" SrcPort 1 DstBlock "Goto19" DstPort 1 } Line { SrcBlock "Object Magnitude" SrcPort 2 DstBlock "Goto20" DstPort 1 } Line { SrcBlock "Object Magnitude" SrcPort 3 DstBlock "Goto21" DstPort 1 } Line { SrcBlock "From20" SrcPort 1 DstBlock "Object Visual Magnitude" DstPort 1 } Line { SrcBlock "From21" SrcPort 1 DstBlock "Object - Sun Distance" DstPort 1 } Line { SrcBlock "From22" SrcPort 1 DstBlock "Object - Earth Distance" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Goto22" DstPort 1 } Line { SrcBlock "From23" SrcPort 1 DstBlock "Elongation from Earth" DstPort 1 } Line { SrcBlock "23.439" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "0.013" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "-(deg->rad)" DstPort 1 } Line { SrcBlock "-(deg->rad)" SrcPort 1 Points [180, 0] Branch { DstBlock "Rot X" DstPort 4 } Branch { Points [25, 0; 0, 320] DstBlock "Rot X1" DstPort 4 } } Line { SrcBlock "Julian Date" SrcPort 1 DstBlock "T in centuries" DstPort 1 } Line { SrcBlock "T in centuries" SrcPort 1 Points [10, 0] Branch { DstBlock "Earth" DstPort 1 } Branch { Points [0, 0; 0, 165] Branch { Points [0, 345] DstBlock "Object" DstPort 9 } Branch { DstBlock "0.013" DstPort 1 } } } Line { SrcBlock "Julian Date1" SrcPort 1 DstBlock "T in centuries1" DstPort 1 } Line { SrcBlock "Earth Coord." SrcPort 1 DstBlock "+ / -" DstPort 1 } Line { SrcBlock "Earth Coord." SrcPort 2 Points [65, 0] DstBlock "+ / -1" DstPort 1 } Line { SrcBlock "Earth" SrcPort 1 DstBlock "Earth Distance" DstPort 1 } Line { SrcBlock "Earth" SrcPort 2 DstBlock "Earth Distance" DstPort 2 } Line { SrcBlock "Earth Distance" SrcPort 1 DstBlock "Earth Coord." DstPort 1 } Line { SrcBlock "Earth" SrcPort 3 Points [40, 0; 0, 20; 105, 0; 0, -20] DstBlock "Earth Coord." DstPort 2 } Line { SrcBlock "0" SrcPort 1 Points [95, 0; 0, -65] DstBlock "Rot X" DstPort 3 } Annotation { Position [82, 110] ForegroundColor "blue" Text "1900<= Year <= 2099" } Annotation { Position [555, 542] ForegroundColor "blue" Text "au" } Annotation { Position [553, 591] ForegroundColor "blue" Text "au" } Annotation { Position [554, 700] ForegroundColor "blue" Text "deg" } Annotation { Position [559, 760] ForegroundColor "blue" Text "deg" } Annotation { Position [554, 810] ForegroundColor "blue" Text "deg" } Annotation { Position [554, 865] ForegroundColor "blue" Text "deg" } Annotation { Position [232, 905] ForegroundColor "blue" Text "1900<= Year <= 2099" } Annotation { Position [601, 1016] ForegroundColor "blue" Text "Time of perihelion passage" } Annotation { Position [602, 1044] ForegroundColor "blue" Text "or time reference for M" } Annotation { Position [37, 17] HorizontalAlignment "left" VerticalAlignment "top" Text "SPACE - Simulink Program for Astronomical Compu" "tation of Ephemerides\nprogram written by Luigi Pizzimenti" DropShadow on FontSize 12 FontAngle "italic" } Annotation { Position [482, 16] HorizontalAlignment "left" VerticalAlignment "top" ForegroundColor "gray" Text "Reference: J.M.A. Danby, Fundamentals of Celes" "tial Mechanics,\n Willmann-Bell, 1988\n \n " " R.R. Bate, D.D. Mueller, J.E. White, Fundamentals of Astrodynamics\n " " Dover Publications, 1971\n" DropShadow on } Annotation { Position [1096, 197] ForegroundColor "blue" Text "Sun as seen from Earth" } Annotation { Position [1121, 604] ForegroundColor "blue" Text "Object as seen from Earth" } Annotation { Position [685, 410] Text "eps" } Annotation { Position [400, 187] Text "Actual Time" } Annotation { Position [874, 181] Text "Sun's Coordin." } } }