Model { Name "tahanan" Version 5.1 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off SortedOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks on BrowserLookUnderMasks off Created "Mon Jun 21 14:24:55 2004" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Universal" ModifiedDateFormat "%" LastModifiedDate "Wed Dec 22 22:43:54 2004" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off 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 ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "10" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off RTWOptions "-aEnforceIntegerDowncast=1 -aExtMode=0 -aExtModeTes" "ting=0 -aFoldNonRolledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1" " -aGenerateReport=0 -aIgnoreCustomStorageClasses=1 -aIncDataTypeInIds=0 -aInc" "HierarchyInIds=0 -aInlineInvariantSignals=0 -aInlinedPrmAccess=\"Literals\" -" "aLocalBlockOutputs=1 -aLogVarNameModifier=\"rt_\" -aMaxRTWIdLen=31 -aPrefixMo" "delToSubsysFcnNames=1 -aRTWVerbose=1 -aRollThreshold=5 -aShowEliminatedStatem" "ents=0" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType EnablePort StatesWhenEnabling "held" ShowOutputPort off ZeroCross on } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Inport Port "1" PortDimensions "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Scope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off } Block { BlockType Step Time "1" Before "0" After "1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow 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 "tahanan" Location [41, 82, 829, 542] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "portrait" PaperPositionMode "auto" PaperType "a4letter" PaperUnits "inches" ZoomFactor "80" ReportName "simulink-default.rpt" BlocksetDataString "[0 -9.81 0]|1|0|1e-3|1|1e-3|1|2|1e-4|1e-4|0|0|1|1" "e-5|Deprecated|0|0|0||1|0" Block { BlockType Gain Name "1/J" Position [205, 465, 275, 505] Gain "4.74" } Block { BlockType Gain Name "1/La" Position [190, 205, 245, 235] Gain "200" } Block { BlockType Gain Name "1/Lf" Position [220, 289, 285, 321] Gain "4.74" } Block { BlockType Gain Name "B" Position [205, 501, 275, 529] Orientation "left" Gain "0.654" } Block { BlockType SubSystem Name "E\n1" Ports [1, 1, 1] Position [140, 403, 185, 427] Orientation "left" TreatAsAtomicUnit on System { Name "E\n1" Location [274, 309, 772, 609] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [110, 103, 140, 117] } Block { BlockType EnablePort Name "Enable" Ports [] Position [235, 20, 255, 40] } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] OutputWhenDisabled "reset" InitialOutput "[0]" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "E\n2" Ports [1, 1, 1] Position [140, 356, 190, 374] Orientation "left" TreatAsAtomicUnit on System { Name "E\n2" Location [226, 300, 724, 600] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [110, 103, 140, 117] } Block { BlockType EnablePort Name "Enable" Ports [] Position [235, 20, 255, 40] } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] OutputWhenDisabled "reset" InitialOutput "[0]" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "E\n3" Ports [1, 1, 1] Position [115, 153, 160, 177] Orientation "left" TreatAsAtomicUnit on System { Name "E\n3" Location [274, 309, 772, 609] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [110, 103, 140, 117] } Block { BlockType EnablePort Name "Enable" Ports [] Position [235, 20, 255, 40] } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] OutputWhenDisabled "reset" InitialOutput "[0]" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "E\n4" Ports [1, 1, 1] Position [110, 111, 160, 129] Orientation "left" TreatAsAtomicUnit on System { Name "E\n4" Location [226, 300, 724, 600] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [110, 103, 140, 117] } Block { BlockType EnablePort Name "Enable" Ports [] Position [235, 20, 255, 40] } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] OutputWhenDisabled "reset" InitialOutput "[0]" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Gain Name "Eggl" Position [180, 255, 260, 285] Orientation "left" Gain "0.692" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [260, 205, 290, 235] } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [305, 290, 335, 320] } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [295, 470, 325, 500] } Block { BlockType Gain Name "Km1" Position [175, 437, 235, 463] Orientation "left" Gain "0.651" } Block { BlockType Product Name "Product" Ports [2, 1] Position [300, 252, 330, 283] Orientation "left" } Block { BlockType Product Name "Product1" Ports [2, 1] Position [285, 432, 315, 463] Orientation "left" } Block { BlockType Gain Name "Rf" Position [225, 322, 280, 348] Orientation "left" Gain "115" } Block { BlockType Gain Name "Rf1" Position [210, 403, 270, 427] Orientation "left" Gain "113" } Block { BlockType Scope Name "Scope" Ports [3] Position [390, 278, 420, 432] Location [5, 53, 809, 603] Open on NumInputPorts "3" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } List { ListType SelectedSignals axes1 "" axes2 "" axes3 "" } TimeRange "1.5" YMin "-500~0~0" YMax "99~3~270" SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType Step Name "Step1" Position [70, 264, 100, 296] Time "0" After "300" SampleTime "0" } Block { BlockType Step Name "Step2" Position [70, 208, 90, 232] Time "0" After "500" SampleTime "0" } Block { BlockType Step Name "Step3" Position [45, 321, 70, 339] Time "0" SampleTime "0" } Block { BlockType Step Name "Step4" Position [75, 334, 90, 356] SampleTime "0" } Block { BlockType Step Name "Step6" Position [55, 51, 80, 69] Time "0" SampleTime "0" } Block { BlockType Step Name "Step7" Position [65, 89, 80, 111] SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [130, 189, 160, 251] Inputs "-+-" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [135, 287, 165, 318] Inputs "+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [120, 474, 145, 496] Inputs "+-" } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [135, 324, 150, 351] Inputs "+-" } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [85, 399, 100, 426] Orientation "left" NamePlacement "alternate" } Block { BlockType Sum Name "Sum5" Ports [2, 1] Position [105, 79, 120, 106] Inputs "+-" } Block { BlockType Sum Name "Sum6" Ports [2, 1] Position [75, 144, 90, 171] Orientation "left" NamePlacement "alternate" } Block { BlockType Gain Name "ra1" Position [185, 148, 240, 182] Orientation "left" NamePlacement "alternate" Gain "0.19" } Block { BlockType Gain Name "ra2" Position [190, 103, 245, 137] Orientation "left" NamePlacement "alternate" Gain "1.5" } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/La" DstPort 1 } Line { SrcBlock "1/La" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [5, 0] Branch { Points [15, 0] Branch { Points [0, -100] DstBlock "ra2" DstPort 1 } Branch { Points [45, 0; 0, 80] Branch { Points [0, 140] DstBlock "Product1" DstPort 1 } Branch { Points [0, 5] DstBlock "Scope" DstPort 1 } } } Branch { Points [0, -55] DstBlock "ra1" DstPort 1 } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Eggl" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "1/Lf" DstPort 1 } Line { SrcBlock "1/Lf" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [10, 0; 0, 50] Branch { Points [-55, 0] Branch { DstBlock "Rf" DstPort 1 } Branch { Points [0, 60] DstBlock "Rf1" DstPort 1 } } Branch { DstBlock "Scope" DstPort 2 } } Line { SrcBlock "1/J" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Km1" DstPort 1 } Line { SrcBlock "Km1" SrcPort 1 Points [-75, 0; 0, 30] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "B" SrcPort 1 Points [-105, 0; 0, -25] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Step1" SrcPort 1 Points [25, 0; 0, 15] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Step4" SrcPort 1 Points [10, 0] Branch { DstBlock "Sum3" DstPort 2 } Branch { Points [5, 0; 0, 45; 50, 0] DstBlock "E\n1" DstPort enable } } Line { SrcBlock "Step3" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Rf1" SrcPort 1 DstBlock "E\n1" DstPort 1 } Line { SrcBlock "E\n1" SrcPort 1 Points [-5, 0; 0, 5] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [10, 0] DstBlock "E\n2" DstPort enable } Line { SrcBlock "Rf" SrcPort 1 Points [-10, 0; 0, 30] DstBlock "E\n2" DstPort 1 } Line { SrcBlock "E\n2" SrcPort 1 Points [0, 40] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [-45, 0; 0, -105] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Step7" SrcPort 1 Points [5, 0] Branch { DstBlock "Sum5" DstPort 2 } Branch { Points [0, 38] DstBlock "E\n3" DstPort enable } } Line { SrcBlock "Step6" SrcPort 1 Points [0, 25] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "E\n3" SrcPort 1 DstBlock "Sum6" DstPort 2 } Line { SrcBlock "Sum5" SrcPort 1 Points [10, 0] DstBlock "E\n4" DstPort enable } Line { SrcBlock "E\n4" SrcPort 1 DstBlock "Sum6" DstPort 1 } Line { SrcBlock "ra1" SrcPort 1 DstBlock "E\n3" DstPort 1 } Line { SrcBlock "ra2" SrcPort 1 DstBlock "E\n4" DstPort 1 } Line { SrcBlock "Sum6" SrcPort 1 Points [-10, 0; 0, 40] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Step2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Eggl" SrcPort 1 Points [-70, 0; 0, -30] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Integrator2" SrcPort 1 Points [10, 0] Branch { Points [10, 0] Branch { Points [25, 0] DstBlock "Scope" DstPort 3 } Branch { Points [0, 30] DstBlock "B" DstPort 1 } } Branch { Points [5, 0] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "1/J" DstPort 1 } } }