Model { Name "io_faults_for_RLS" 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 "Sun Oct 21 12:12:21 2018" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "simani" ModifiedDateFormat "%" LastModifiedDate "Sun Nov 04 15:17:17 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 "io_faults_for_RLS" Location [139, 105, 1156, 762] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant1" Position [65, 445, 95, 475] ShowName off Value "0" VectorParams1D on } Block { BlockType Constant Name "Constant2" Position [405, 440, 435, 470] ShowName off Value "0" VectorParams1D on } Block { BlockType DigitalClock Name "Digital Clock" Position [100, 48, 165, 72] SampleTime "1" } Block { BlockType DiscreteZeroPole Name "Discrete Time System" Position [385, 236, 495, 294] BackgroundColor "magenta" Zeros "[]" Poles "[0.6 0.7 0.8]" Gain "0.0240" SampleTime "1" RTWStateStorageClass "Auto" } Block { BlockType Display Name "Display" Ports [1] Position [360, 45, 450, 75] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType ToWorkspace Name "Input Signal" Position [320, 510, 380, 540] BackgroundColor "green" VariableName "U" MaxDataPoints "inf" Decimation "1" SampleTime "1" SaveFormat "Array" } Block { BlockType Step Name "Input sensor fault" Position [65, 355, 95, 385] Time "500" Before "0" After "-1" SampleTime "1" VectorParams1D on } Block { BlockType Reference Name "Manual Switch1" Ports [2, 1] Position [150, 325, 190, 505] SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "0" action "0" } Block { BlockType Reference Name "Manual Switch2" Ports [2, 1] Position [490, 320, 530, 500] SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "0" action "0" } Block { BlockType RandomNumber Name "Meeasurement\nnoise" Position [725, 395, 755, 425] Orientation "left" Mean "0" Variance "(0.01)^2" Seed "3" SampleTime "1" VectorParams1D on } Block { BlockType ToWorkspace Name "Output Signal" Position [670, 480, 730, 510] BackgroundColor "green" VariableName "Y" MaxDataPoints "inf" Decimation "1" SampleTime "1" SaveFormat "Array" } Block { BlockType Step Name "Output sensor fault" Position [405, 350, 435, 380] Time "500" Before "0" After "1" SampleTime "0" VectorParams1D on } Block { BlockType Scope Name "Scope" Ports [2] Position [795, 207, 835, 283] 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 "Scope1" Ports [2] Position [785, 542, 825, 618] 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 "ScopeData1" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [235, 405, 255, 425] Orientation "down" NamePlacement "alternate" ShowName off IconShape "round" Inputs "++|" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [620, 400, 640, 420] Orientation "down" NamePlacement "alternate" ShowName off IconShape "round" Inputs "+++" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace Name "Time" Position [375, 125, 435, 155] VariableName "t" MaxDataPoints "inf" Decimation "1" SampleTime "1" SaveFormat "Array" } Block { BlockType UniformRandomNumber Name "Uniform Random\nNumber" Position [60, 249, 90, 281] Minimum "-1" Maximum "1" Seed "0" SampleTime "1" VectorParams1D on } Line { SrcBlock "Digital Clock" SrcPort 1 Points [0, 0; 50, 0] Branch { DstBlock "Display" DstPort 1 } Branch { Points [0, 80] DstBlock "Time" DstPort 1 } } Line { SrcBlock "Uniform Random\nNumber" SrcPort 1 Points [150, 0] Branch { DstBlock "Sum1" DstPort 2 } Branch { Points [0, -40] DstBlock "Scope" DstPort 1 } Branch { DstBlock "Discrete Time System" DstPort 1 } } Line { SrcBlock "Discrete Time System" SrcPort 1 Points [130, 0] Branch { DstBlock "Scope" DstPort 2 } Branch { DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Manual Switch1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 95] Branch { DstBlock "Input Signal" DstPort 1 } Branch { Points [0, 35] DstBlock "Scope1" DstPort 1 } } Line { SrcBlock "Manual Switch1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Input sensor fault" SrcPort 1 DstBlock "Manual Switch1" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Manual Switch2" DstPort 2 } Line { SrcBlock "Manual Switch2" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Output sensor fault" SrcPort 1 DstBlock "Manual Switch2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [0, 70] Branch { DstBlock "Output Signal" DstPort 1 } Branch { Points [0, 105] DstBlock "Scope1" DstPort 2 } } Line { SrcBlock "Meeasurement\nnoise" SrcPort 1 DstBlock "Sum2" DstPort 3 } Annotation { Position [567, 250] Text "y*(t)" } Annotation { Position [598, 452] Text "y(t)" } } }