Model { Name "mras_mit" Version 2.20 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines on ShowLineWidths on StartTime "0.0" StopTime "inf" Solver ode45 RelTol "1e-4" AbsTol "1e-6" Refine "1" MaxStep "auto" 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" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWPlaceOutputsASAP off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode 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 "mras_mit" Location [69, 79, 729, 608] Open on ToolBar on StatusBar on ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Reference Name "Band-Limited\nWhite Noise" Ports [0, 1, 0, 0, 0] Position [45, 15, 75, 45] ForegroundColor blue SourceBlock "simulink/Sources/Band-Limited\nWhite Noise" SourceType "Continuous White Noise." Cov "[0.2]" Ts "0.1" seed "[23341]" } Block { BlockType TransferFcn Name "Bm/Am" Position [235, 82, 290, 118] Numerator "Bm" Denominator "Am" } Block { BlockType Display Name "Display R" Ports [1, 0, 0, 0, 0] Position [340, 422, 430, 508] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display S" Ports [1, 0, 0, 0, 0] Position [215, 422, 305, 508] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display T" Ports [1, 0, 0, 0, 0] Position [95, 422, 185, 508] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Sum Name "E" Ports [2, 1, 0, 0, 0] Position [480, 182, 510, 213] Orientation left Inputs "-+" } Block { BlockType SubSystem Name "Flush Pulse" Ports [0, 0, 0, 0, 0] Position [480, 384, 612, 418] ForegroundColor blue ShowName off OpenFcn "Bm=[1] , Am=[2 1], nreg=1, Q=1, K=0.1, As=[" "1 1], Bs=1" FontName "helvetica" FontSize 12 ShowPortLabels on MaskDisplay "disp('Double Click\\nto Init Example 1!')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale System { Name "Flush Pulse" Location [62, 393, 431, 487] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches } } Block { BlockType SubSystem Name "Flush Pulse1" Ports [0, 0, 0, 0, 0] Position [480, 429, 612, 463] ForegroundColor blue ShowName off OpenFcn "Bm=[10 5] , Am=conv([2 1],[8 1]), nreg=2, Q=1" ", K=0.01, As=[0.1 1], Bs=0.5" FontName "helvetica" FontSize 12 ShowPortLabels on MaskDisplay "disp('Double Click\\nto Init Example 2!')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale System { Name "Flush Pulse1" Location [62, 393, 431, 487] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches } } Block { BlockType SubSystem Name "Flush Pulse2" Ports [0, 0, 0, 0, 0] Position [480, 474, 612, 508] ForegroundColor blue ShowName off OpenFcn "Bm=[10 5] , Am=conv([2 1],[8 1]), nreg=3, Q=[" "1 1.1], K=0.01, As=[0.1 1], Bs=0.5" FontName "helvetica" FontSize 12 ShowPortLabels on MaskDisplay "disp('Double Click\\nto Init Example 3!')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale System { Name "Flush Pulse2" Location [62, 393, 431, 487] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches } } Block { BlockType Gain Name "Kr" Position [90, 320, 120, 350] Gain "[[0 ones(1,nreg)].*K]" } Block { BlockType Gain Name "Ks" Position [90, 270, 120, 300] Gain "K" } Block { BlockType Gain Name "Kt" Position [90, 220, 120, 250] Gain "-K" } Block { BlockType Reference Name "Manual Switch" Ports [2, 1, 0, 0, 0] Position [115, 62, 145, 93] ForegroundColor blue SourceBlock "simulink/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "1" action "0" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [555, 180, 585, 215] Inputs "2" } Block { BlockType TransferFcn Name "Plant" Position [375, 237, 430, 273] ForegroundColor blue Numerator "Bs" Denominator "As" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [140, 171, 170, 204] Orientation left Inputs "2" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [95, 366, 125, 399] Orientation left Inputs "2" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [70, 136, 100, 169] Orientation left Inputs "2" } Block { BlockType SubSystem Name "S/R" Ports [3, 1, 0, 0, 0] Position [235, 257, 295, 293] ForegroundColor blue ShowPortLabels on MaskType "Var iable Transfer Function" MaskDescription "Block implements countinuous transfer function " "with variable\npolynomials coeficients. Order of denominator must be specifie" "d.\nFirst input is regular signal input of transfer function.\nSecond one is" " denominator input and third one is numerator input." MaskPromptString "Transfer Fnc Order" MaskStyleString "edit" MaskTunableValueString "on" MaskVariables "n=@1;" MaskInitialization "\n" MaskDisplay "disp('Variabele\\nTrans. Fnc.')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "nreg" System { Name "S/R" Location [227, 72, 835, 477] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "WE" Position [30, 303, 60, 317] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "A" Position [30, 195, 60, 205] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "B" Position [30, 90, 60, 100] Port "3" PortWidth "-1" SampleTime "-1" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [230, 298, 260, 327] Outputs "[n 1]" } Block { BlockType Demux Name "Demux1" Ports [1, 2, 0, 0, 0] Position [105, 183, 135, 212] Outputs "[1 n]" } Block { BlockType Demux Name "Demux2" Ports [1, 2, 0, 0, 0] Position [175, 88, 205, 117] Outputs "[1 n]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [295, 290, 325, 320] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [175, 297, 205, 328] Inputs "[1 n]" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [185, 182, 215, 213] Inputs "/*" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [420, 211, 450, 244] Inputs "**" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [115, 86, 145, 119] Inputs "*/" } Block { BlockType Product Name "Product3" Ports [2, 1, 0, 0, 0] Position [390, 281, 420, 314] Inputs "**" } Block { BlockType Product Name "Product4" Ports [2, 1, 0, 0, 0] Position [260, 177, 290, 208] Inputs "**" } Block { BlockType Product Name "Product5" Ports [2, 1, 0, 0, 0] Position [175, 242, 205, 273] Orientation left Inputs "**" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [105, 287, 135, 318] Inputs "-+" } Block { BlockType Sum Name "Sum1" Ports [1, 1, 0, 0, 0] Position [445, 290, 465, 310] Inputs "+" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [500, 277, 530, 308] Inputs "++" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [125, 250, 145, 270] Orientation left Inputs "+" } Block { BlockType Sum Name "Sum4" Ports [2, 1, 0, 0, 0] Position [325, 157, 355, 208] Inputs "+-" } Block { BlockType Terminator Name "Term" Position [300, 335, 320, 355] } Block { BlockType Outport Name "U" Position [555, 288, 585, 302] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Demux1" SrcPort 1 Points [15, 0] Branch { Points [0, -35; -55, 0] DstBlock "Product2" DstPort 2 } Branch { DstBlock "Product" DstPort 1 } } Line { SrcBlock "B" SrcPort 1 DstBlock "Product2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 Points [25, 0] Branch { Points [170, 0] DstBlock "Product1" DstPort 1 } Branch { Points [0, 90] DstBlock "Product4" DstPort 1 } } Line { SrcBlock "Sum4" SrcPort 1 Points [15, 0] DstBlock "Product3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 25] DstBlock "Term" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "U" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [30, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [15, 0] Branch { Points [0, 65; -190, 0; 0, -50] DstBlock "Mux1" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } Branch { Points [0, -40] DstBlock "Product5" DstPort 2 } } Line { SrcBlock "WE" SrcPort 1 Points [10, 0] Branch { Points [0, -75] DstBlock "Product1" DstPort 2 } Branch { DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Sum3" SrcPort 1 Points [-30, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 Points [50, 0; 0, 60] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Product4" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0] Branch { DstBlock "Product4" DstPort 2 } Branch { Points [0, 50] DstBlock "Product5" DstPort 1 } } Line { SrcBlock "Demux1" SrcPort 2 DstBlock "Product" DstPort 2 } Line { SrcBlock "A" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Product5" SrcPort 1 DstBlock "Sum3" DstPort 1 } Annotation { Position [250, 36] Text "Transfer Function with Variable Polynoms" FontName "helvetica" FontSize 20 } } } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [615, 185, 645, 215] Floating off Location [566, 335, 971, 591] Open on Grid on TickLabels on ZoomMode on TimeRange "auto" YMin "-2" YMax "2" SaveToWorkspace off SaveName "ScopeData" LimitMaxRows on MaxRows "50000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType SubSystem Name "Sens R" Ports [1, 1, 0, 0, 0] Position [290, 341, 345, 369] Orientation left ShowPortLabels on MaskType "MRAS MIT FILT" MaskPromptString "Filter Denominator A" MaskStyleString "edit" MaskTunableValueString "on" MaskVariables "A=@1;" MaskInitialization "n=length(A)-1;\n" MaskDisplay "disp('MRAS MIT\\nFILT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "conv(Am,Q)" System { Name "Sens R" Location [291, 315, 762, 589] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "X" Position [25, 118, 55, 132] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Gain Name "A" Position [215, 65, 245, 95] Orientation left Gain "A(2:end)/A(1)" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [220, 113, 250, 142] Outputs "[n 1]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [280, 105, 310, 135] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [150, 112, 180, 143] Inputs "[1 n]" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 102, 120, 133] Inputs "-+" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [160, 70, 180, 90] Orientation left Inputs "+" } Block { BlockType Terminator Name "Term" Position [285, 150, 305, 170] } Block { BlockType Outport Name "AX" Position [380, 178, 410, 192] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "X" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "A" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-80, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { Points [0, -40] DstBlock "A" DstPort 1 } Branch { Points [0, 75; -195, 0; 0, -60] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 2 Points [15, 0] DstBlock "Term" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [0, 55] DstBlock "AX" DstPort 1 } } } } Block { BlockType SubSystem Name "Sens S" Ports [1, 1, 0, 0, 0] Position [375, 181, 430, 209] Orientation left ShowPortLabels on MaskType "MRAS MIT FILT" MaskPromptString "Filter Denominator A" MaskStyleString "edit" MaskTunableValueString "on" MaskVariables "A=@1;" MaskInitialization "n=length(A)-1;\n" MaskDisplay "disp('MRAS MIT\\nFILT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "conv(Am,Q)" System { Name "Sens S" Location [291, 315, 762, 589] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "X" Position [25, 118, 55, 132] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Gain Name "A" Position [215, 65, 245, 95] Orientation left Gain "A(2:end)/A(1)" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [220, 113, 250, 142] Outputs "[n 1]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [280, 105, 310, 135] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [150, 112, 180, 143] Inputs "[1 n]" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 102, 120, 133] Inputs "-+" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [160, 70, 180, 90] Orientation left Inputs "+" } Block { BlockType Terminator Name "Term" Position [285, 150, 305, 170] } Block { BlockType Outport Name "AX" Position [380, 178, 410, 192] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { Points [0, 55] DstBlock "AX" DstPort 1 } Branch { DstBlock "Demux" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 Points [15, 0] DstBlock "Term" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { Points [0, 75; -195, 0; 0, -60] DstBlock "Mux1" DstPort 2 } Branch { Points [0, -40] DstBlock "A" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-80, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "A" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "X" SrcPort 1 DstBlock "Sum" DstPort 2 } } } Block { BlockType SubSystem Name "Sens T" Ports [1, 1, 0, 0, 0] Position [135, 116, 190, 144] Orientation left ShowPortLabels on MaskType "MRAS MIT FILT" MaskPromptString "Filter Denominator A" MaskStyleString "edit" MaskTunableValueString "on" MaskVariables "A=@1;" MaskInitialization "n=length(A)-1;\n" MaskDisplay "disp('MRAS MIT\\nFILT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "conv(Am,Q)" System { Name "Sens T" Location [286, 292, 757, 566] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "X" Position [25, 118, 55, 132] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Gain Name "A" Position [215, 65, 245, 95] Orientation left Gain "A(2:end)/A(1)" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [220, 113, 250, 142] Outputs "[n 1]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [280, 105, 310, 135] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [150, 112, 180, 143] Inputs "[1 n]" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 102, 120, 133] Inputs "-+" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [160, 70, 180, 90] Orientation left Inputs "+" } Block { BlockType Terminator Name "Term" Position [285, 150, 305, 170] } Block { BlockType Outport Name "AX" Position [380, 178, 410, 192] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "X" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "A" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-80, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { Points [0, -40] DstBlock "A" DstPort 1 } Branch { Points [0, 75; -195, 0; 0, -60] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 2 Points [15, 0] DstBlock "Term" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [0, 55] DstBlock "AX" DstPort 1 } } } } Block { BlockType SignalGenerator Name "Signal\nGenerator" Position [40, 70, 70, 100] ForegroundColor blue WaveForm square Amplitude "1" Frequency "0.3" Units Hertz } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [320, 237, 350, 268] ForegroundColor blue Inputs "+-" } Block { BlockType SubSystem Name "T/R" Ports [3, 1, 0, 0, 0] Position [235, 207, 295, 243] ForegroundColor blue ShowPortLabels on MaskType "Var iable Transfer Function" MaskDescription "Block implements countinuous transfer function " "with variable\npolynomials coeficients. Order of denominator must be specifie" "d.\nFirst input is regular signal input of transfer function.\nSecond one is" " denominator input and third one is numerator input." MaskPromptString "Transfer Fnc Order" MaskStyleString "edit" MaskTunableValueString "on" MaskVariables "n=@1;" MaskInitialization "\n" MaskDisplay "disp('Variabele\\nTrans. Fnc.')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "nreg" System { Name "T/R" Location [227, 72, 835, 477] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "WE" Position [30, 303, 60, 317] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "A" Position [30, 195, 60, 205] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "B" Position [30, 90, 60, 100] Port "3" PortWidth "-1" SampleTime "-1" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [230, 298, 260, 327] Outputs "[n 1]" } Block { BlockType Demux Name "Demux1" Ports [1, 2, 0, 0, 0] Position [105, 183, 135, 212] Outputs "[1 n]" } Block { BlockType Demux Name "Demux2" Ports [1, 2, 0, 0, 0] Position [175, 88, 205, 117] Outputs "[1 n]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [295, 290, 325, 320] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [175, 297, 205, 328] Inputs "[1 n]" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [185, 182, 215, 213] Inputs "/*" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [420, 211, 450, 244] Inputs "**" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [115, 86, 145, 119] Inputs "*/" } Block { BlockType Product Name "Product3" Ports [2, 1, 0, 0, 0] Position [390, 281, 420, 314] Inputs "**" } Block { BlockType Product Name "Product4" Ports [2, 1, 0, 0, 0] Position [260, 177, 290, 208] Inputs "**" } Block { BlockType Product Name "Product5" Ports [2, 1, 0, 0, 0] Position [175, 242, 205, 273] Orientation left Inputs "**" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [105, 287, 135, 318] Inputs "-+" } Block { BlockType Sum Name "Sum1" Ports [1, 1, 0, 0, 0] Position [445, 290, 465, 310] Inputs "+" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [500, 277, 530, 308] Inputs "++" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [125, 250, 145, 270] Orientation left Inputs "+" } Block { BlockType Sum Name "Sum4" Ports [2, 1, 0, 0, 0] Position [325, 157, 355, 208] Inputs "+-" } Block { BlockType Terminator Name "Term" Position [300, 335, 320, 355] } Block { BlockType Outport Name "U" Position [555, 288, 585, 302] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Product5" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "A" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 2 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0] Branch { Points [0, 50] DstBlock "Product5" DstPort 1 } Branch { DstBlock "Product4" DstPort 2 } } Line { SrcBlock "Product4" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Demux2" SrcPort 2 Points [50, 0; 0, 60] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-30, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "WE" SrcPort 1 Points [10, 0] Branch { DstBlock "Sum" DstPort 2 } Branch { Points [0, -75] DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Integrator" SrcPort 1 Points [15, 0] Branch { Points [0, -40] DstBlock "Product5" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } Branch { Points [0, 65; -190, 0; 0, -50] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 Points [30, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "U" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 25] DstBlock "Term" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [15, 0] DstBlock "Product3" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 Points [25, 0] Branch { Points [0, 90] DstBlock "Product4" DstPort 1 } Branch { Points [170, 0] DstBlock "Product1" DstPort 1 } } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "B" SrcPort 1 DstBlock "Product2" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 1 Points [15, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, -35; -55, 0] DstBlock "Product2" DstPort 2 } } Annotation { Position [250, 36] Text "Transfer Function with Variable Polynoms" FontName "helvetica" FontSize 20 } } } Block { BlockType Integrator Name "par R" Ports [1, 1, 0, 0, 0] Position [140, 319, 170, 351] ExternalReset none InitialConditionSource internal InitialCondition "[1,zeros(1,nreg)]" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "par S" Ports [1, 1, 0, 0, 0] Position [140, 269, 170, 301] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "par T" Ports [1, 1, 0, 0, 0] Position [140, 219, 170, 251] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Line { SrcBlock "Kt" SrcPort 1 DstBlock "par T" DstPort 1 } Line { SrcBlock "Ks" SrcPort 1 DstBlock "par S" DstPort 1 } Line { SrcBlock "Kr" SrcPort 1 DstBlock "par R" DstPort 1 } Line { SrcBlock "Sens T" SrcPort 1 Points [-15, 0] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [-10, 0; 0, 80] DstBlock "Kt" DstPort 1 } Line { SrcBlock "T/R" SrcPort 1 Points [0, 20] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "S/R" SrcPort 1 Points [5, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Plant" SrcPort 1 Points [10, 0] Branch { Points [0, 55; -225, 0] DstBlock "S/R" DstPort 1 } Branch { DstBlock "Sens S" DstPort 1 } Branch { Points [85, 0; 0, -50] Branch { DstBlock "E" DstPort 2 } Branch { DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "Sum1" SrcPort 1 Points [5, 0] Branch { DstBlock "Plant" DstPort 1 } Branch { DstBlock "Sens R" DstPort 1 } } Line { SrcBlock "E" SrcPort 1 Points [-15, 0] Branch { Points [0, 190] DstBlock "Product1" DstPort 2 } Branch { Points [0, -40; -265, 0] Branch { DstBlock "Product2" DstPort 2 } Branch { Points [0, 20] DstBlock "Product" DstPort 1 } } } Line { SrcBlock "Product1" SrcPort 1 Points [-25, 0; 0, -50] DstBlock "Kr" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Scope" DstPort 1 } Line { SrcBlock "Bm/Am" SrcPort 1 Points [235, 0; 0, 90] Branch { DstBlock "E" DstPort 1 } Branch { DstBlock "Mux" DstPort 1 } } Line { SrcBlock "par R" SrcPort 1 Points [30, 0] Branch { Points [0, -60] Branch { DstBlock "S/R" DstPort 2 } Branch { Points [0, -50] DstBlock "T/R" DstPort 2 } } Branch { Points [0, 80; 120, 0] DstBlock "Display R" DstPort 1 } } Line { SrcBlock "par T" SrcPort 1 Points [10, 0] Branch { DstBlock "T/R" DstPort 3 } Branch { Points [0, 180; -105, 0] DstBlock "Display T" DstPort 1 } } Line { SrcBlock "par S" SrcPort 1 Points [20, 0] Branch { DstBlock "S/R" DstPort 3 } Branch { Points [0, 180] DstBlock "Display S" DstPort 1 } } Line { SrcBlock "Product" SrcPort 1 Points [-70, 0; 0, 95] DstBlock "Ks" DstPort 1 } Line { SrcBlock "Sens S" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Sens R" SrcPort 1 Points [-70, 0; 0, 20] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Manual Switch" SrcPort 1 Points [60, 0; 0, 20] Branch { DstBlock "Bm/Am" DstPort 1 } Branch { Points [0, 30] Branch { Points [0, 85] DstBlock "T/R" DstPort 1 } Branch { DstBlock "Sens T" DstPort 1 } } } Line { SrcBlock "Signal\nGenerator" SrcPort 1 DstBlock "Manual Switch" DstPort 2 } Line { SrcBlock "Band-Limited\nWhite Noise" SrcPort 1 Points [20, 0] DstBlock "Manual Switch" DstPort 1 } Annotation { Position [345, 39] Text "Model Reference Adaptive System\nMIT Rules" FontName "helvetica" FontSize 20 } } }