Model { Name "imc_Q_d" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder 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 off BrowserLookUnderMasks off Created "Wed Mar 10 09:24:51 2004" Creator "kannanm" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "kannan" ModifiedDateFormat "%" LastModifiedDate "Sun Oct 2 16:09:01 2005" 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 off BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "t0" StopTime "tf" 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 BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } Block { BlockType DiscreteFilter Numerator "[1]" Denominator "[1 2]" SampleTime "1" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType RandomNumber Mean "0" Variance "1" Seed "0" SampleTime "-1" VectorParams1D 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 SampleTime "0" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } 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 } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" } } 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 "imc_Q_d" Location [383, 72, 963, 420] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Clock Name "Clock" Position [30, 175, 50, 195] Decimation "10" } Block { BlockType DiscreteFilter Name "Discrete Filter1" Position [400, 161, 430, 199] ShowName off Numerator "zk" Denominator "1" SampleTime "Ts" } Block { BlockType DiscreteFilter Name "Discrete Filter5" Position [390, 91, 420, 129] ShowName off Numerator "zk" Denominator "1" SampleTime "Ts" } Block { BlockType DiscreteFilter Name "HQ" Position [230, 92, 290, 128] Numerator "GiN" Denominator "GiD" SampleTime "Ts" } Block { BlockType DiscreteFilter Name "Integrator" Position [385, 31, 430, 69] Numerator "1" Denominator "[1 -1]" SampleTime "Ts" } Block { BlockType DiscreteFilter Name "Lowpass Filter" Position [145, 92, 205, 128] Numerator "1-alpha" Denominator "[1 -alpha]" SampleTime "Ts" } Block { BlockType DiscreteFilter Name "Plant" Position [325, 91, 370, 129] Numerator "Bp" Denominator "Ap" SampleTime "Ts" } Block { BlockType DiscreteFilter Name "Plant Model" Position [325, 161, 370, 199] Numerator "B" Denominator "A" SampleTime "Ts" } Block { BlockType RandomNumber Name "Random\nNumber" Position [330, 35, 360, 65] Variance "Nvar" SampleTime "Ts" } Block { BlockType Step Name "Step" Position [50, 95, 80, 125] After "st" SampleTime "Ts" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [105, 100, 125, 120] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [465, 170, 485, 190] Orientation "down" ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [445, 100, 465, 120] ShowName off IconShape "round" Inputs "++|" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType ToWorkspace Name "time" Position [70, 170, 105, 200] VariableName "t" MaxDataPoints "inf" SampleTime "Ts" SaveFormat "Array" } Block { BlockType ToWorkspace Name "u" Position [255, 62, 275, 78] Orientation "left" VariableName "u" MaxDataPoints "inf" SampleTime "Ts" SaveFormat "Array" } Block { BlockType Scope Name "u1" Ports [1] Position [240, 36, 275, 54] Orientation "left" NamePlacement "alternate" Location [869, 555, 1193, 860] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType ToWorkspace Name "y" Position [500, 128, 525, 142] VariableName "y" MaxDataPoints "inf" SampleTime "Ts" SaveFormat "Array" } Block { BlockType Scope Name "y1" Ports [1] Position [500, 101, 535, 119] NamePlacement "alternate" Location [869, 543, 1193, 870] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } DataFormat "StructureWithTime" } Line { SrcBlock "Lowpass Filter" SrcPort 1 DstBlock "HQ" DstPort 1 } Line { SrcBlock "HQ" SrcPort 1 Points [25, 0] Branch { DstBlock "Plant" DstPort 1 } Branch { Points [-20, 0] Branch { Points [0, 70] DstBlock "Plant Model" DstPort 1 } Branch { Points [0, -40] Branch { Points [0, -25] DstBlock "u1" DstPort 1 } Branch { DstBlock "u" DstPort 1 } } } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Lowpass Filter" DstPort 1 } Line { SrcBlock "Plant Model" SrcPort 1 DstBlock "Discrete Filter1" DstPort 1 } Line { SrcBlock "Plant" SrcPort 1 DstBlock "Discrete Filter5" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 25; -360, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Step" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [20, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [5, 0] Branch { DstBlock "y1" DstPort 1 } Branch { Points [0, 25] Branch { DstBlock "Sum1" DstPort 2 } Branch { DstBlock "y" DstPort 1 } } } Line { SrcBlock "Discrete Filter5" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Discrete Filter1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Random\nNumber" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Clock" SrcPort 1 DstBlock "time" DstPort 1 } Annotation { Name "delay" Position [407, 137] } Annotation { Name "delay" Position [420, 204] } } }