Model { Name "parameter_change_for_FDI" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Wed Oct 31 10:03:47 2018" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "simani" ModifiedDateFormat "%" LastModifiedDate "Sun Nov 04 15:18:45 2018" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" StartTime "0.0" StopTime "1020" 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" InvalidFcnCallConnMsg "error" 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" 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 OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt on RTWExpressionDepthLimit 5 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 "parameter_change_for_FDI" Location [225, 110, 1199, 723] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType ToWorkspace Name " Measured\nInput Signal " Position [290, 35, 350, 65] BackgroundColor "green" VariableName "U" MaxDataPoints "inf" Decimation "1" SampleTime "1" SaveFormat "Array" } Block { BlockType DigitalClock Name "Digital Clock" Position [15, 418, 80, 442] SampleTime "1" } Block { BlockType Display Name "Display" Ports [1] Position [175, 415, 265, 445] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType RandomNumber Name "Exciting input" Position [40, 145, 70, 175] Mean "0" Variance "0.4/(0.6388)^2" Seed "1" SampleTime "1" VectorParams1D on } Block { BlockType ToWorkspace Name "Measured \nOutput Signal" Position [760, 335, 820, 365] BackgroundColor "green" VariableName "Y" MaxDataPoints "inf" Decimation "1" SampleTime "1" SaveFormat "Array" } Block { BlockType RandomNumber Name "Meeasurement\nnoise" Position [560, 255, 590, 285] Mean "0" Variance "(0.01)^2" Seed "3" SampleTime "1" VectorParams1D on } Block { BlockType Scope Name "Scope" Ports [2] Position [785, 127, 825, 203] Floating off Location [5, 68, 1285, 808] Open off NumInputPorts "2" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" axes2 "%" } List { ListType SelectedSignals axes1 "" axes2 "" } Grid "on" TimeRange "auto" YMin "-5~-5" YMax "5~5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [2] Position [585, 437, 625, 513] Floating off Location [5, 68, 1285, 808] Open off NumInputPorts "2" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" axes2 "%" } List { ListType SelectedSignals axes1 "" axes2 "" } Grid "on" TimeRange "auto" YMin "-5~-5" YMax "5~5" SaveToWorkspace off SaveName "ScopeData2" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [615, 175, 635, 195] ShowName off IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType SubSystem Name "Switching\nparameter" Ports [1, 1] Position [160, 180, 260, 230] BackgroundColor "yellow" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Switching\nparameter" Location [127, 180, 1042, 725] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "t" Position [95, 113, 125, 127] Port "1" LatchInput off Interpolate on } Block { BlockType Constant Name "Constant" Position [240, 215, 270, 245] Value "0.2" VectorParams1D on } Block { BlockType Constant Name "Constant1" Position [235, 390, 265, 420] Value "0.9" VectorParams1D on } Block { BlockType RelationalOperator Name "Relational\nOperator" Position [390, 103, 425, 167] Operator "<=" } Block { BlockType Switch Name "Switch" Position [490, 280, 525, 360] Threshold "1" } Block { BlockType Constant Name "Switching\nTime" Position [325, 135, 355, 165] Value "500" VectorParams1D on } Block { BlockType Outport Name "a(t)" Position [635, 313, 665, 327] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Constant" SrcPort 1 Points [85, 0; 0, 65] DstBlock "Switch" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 Points [90, 0; 0, -60] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Switching\nTime" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 Points [25, 0; 0, 185] DstBlock "Switch" DstPort 2 } Line { SrcBlock "Switch" SrcPort 1 DstBlock "a(t)" DstPort 1 } Line { SrcBlock "t" SrcPort 1 DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType SubSystem Name "Switching model" Ports [2, 1] Position [330, 137, 550, 228] BackgroundColor "magenta" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Switching model" Location [39, 114, 1235, 753] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "u*(t)" Position [90, 58, 120, 72] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "f(t)" Position [85, 458, 115, 472] Port "2" LatchInput off Interpolate on } Block { BlockType Constant Name "Constant" Position [680, 270, 710, 300] Value "12/25" VectorParams1D on } Block { BlockType Constant Name "Constant1" Position [375, 420, 405, 450] Value "7/5" VectorParams1D on } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn" Position [740, 47, 800, 83] Numerator "[1]" Denominator "[1 0 0 0]" SampleTime "1" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn1" Position [465, 237, 525, 273] Numerator "[1]" Denominator "[1 0 0]" SampleTime "1" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn2" Position [590, 137, 650, 173] Numerator "[1]" Denominator "[1 0 0 0]" SampleTime "1" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn3" Position [350, 337, 410, 373] Numerator "[1]" Denominator "[1 0]" SampleTime "1" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType Gain Name "Gain" Position [845, 35, 980, 95] ShowName off Gain "0.0240/0.1304" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [710, 129, 775, 181] ShowName off Gain "12/25" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [595, 289, 660, 341] ShowName off Gain "7/5" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product" Ports [2, 1] Position [895, 141, 935, 194] Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [825, 241, 865, 294] Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [515, 341, 555, 394] Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [1060, 16, 1095, 429] ShowName off IconShape "rectangular" Inputs "++++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [745, 271, 770, 329] ShowName off IconShape "rectangular" Inputs "--" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [440, 421, 465, 479] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "y*(t)" Position [1160, 213, 1190, 227] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Discrete\nTransfer Fcn" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5; 25, 0] Branch { DstBlock "y*(t)" DstPort 1 } Branch { Points [0, 380; -820, 0; 0, -245] Branch { Points [0, -100] Branch { Points [0, -100] DstBlock "Discrete\nTransfer Fcn2" DstPort 1 } Branch { DstBlock "Discrete\nTransfer Fcn1" DstPort 1 } } Branch { DstBlock "Discrete\nTransfer Fcn3" DstPort 1 } } } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "u*(t)" SrcPort 1 DstBlock "Discrete\nTransfer Fcn" DstPort 1 } Line { SrcBlock "Discrete\nTransfer Fcn2" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [175, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Discrete\nTransfer Fcn1" SrcPort 1 DstBlock "Product1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [20, 0; 0, -20] DstBlock "Product1" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "f(t)" SrcPort 1 Points [130, 0] Branch { DstBlock "Sum2" DstPort 2 } Branch { Points [0, 70; 330, 0] Branch { DstBlock "Gain2" DstPort 1 } Branch { Points [300, 0] DstBlock "Product" DstPort 2 } } } Line { SrcBlock "Product2" SrcPort 1 Points [485, 0] DstBlock "Sum" DstPort 4 } Line { SrcBlock "Discrete\nTransfer Fcn3" SrcPort 1 DstBlock "Product2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [15, 0; 0, -70] DstBlock "Product2" DstPort 2 } Annotation { Position [1006, 48] Text "0.0240*u(t-3)" } Annotation { Position [990, 156] Text "12/25*a*y(t-3)" } Annotation { Position [966, 259] Text "-(7/5*a+12/25)*y(t-2)" } Annotation { Position [185, 451] Text "a" } Annotation { Position [817, 354] Text "(7/5+a)*y(t-1)" } } } Block { BlockType ToWorkspace Name "Time" Position [305, 500, 365, 530] VariableName "t" MaxDataPoints "inf" Decimation "1" SampleTime "1" SaveFormat "Array" } Line { SrcBlock "Exciting input" SrcPort 1 Points [125, 0] Branch { DstBlock "Switching model" DstPort 1 } Branch { Points [0, -50] Branch { Points [0, -60] DstBlock " Measured\nInput Signal " DstPort 1 } Branch { Points [440, 0; 0, 35] DstBlock "Scope" DstPort 1 } } } Line { SrcBlock "Digital Clock" SrcPort 1 Points [35, 0] Branch { DstBlock "Display" DstPort 1 } Branch { Points [0, 85] DstBlock "Time" DstPort 1 } Branch { Points [0, -225] DstBlock "Switching\nparameter" DstPort 1 } } Line { SrcBlock "Switching\nparameter" SrcPort 1 Points [30, 0] Branch { DstBlock "Switching model" DstPort 2 } Branch { Points [0, 250] DstBlock "Scope2" DstPort 1 } } Line { SrcBlock "Meeasurement\nnoise" SrcPort 1 Points [30, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Switching model" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [75, 0] Branch { DstBlock "Scope" DstPort 2 } Branch { Points [0, 165] Branch { Points [-195, 0; 0, 145] DstBlock "Scope2" DstPort 2 } Branch { DstBlock "Measured \nOutput Signal" DstPort 1 } } } Annotation { Position [266, 145] Text "u*(t)" } Annotation { Position [695, 173] Text "y(t)" } Annotation { Position [572, 165] Text "y*(t)" } Annotation { Position [648, 233] Text "v(t)" } Annotation { Position [293, 184] Text "f(t)" } } }