Model { Name "ch17pr6_pid" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines on ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "500" SolverMode "SingleTasking" Solver "ode45" RelTol "1e-3" 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" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip on BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar off StatusBar off BrowserShowLibraryLinks on BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_vc.tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" 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 off Created "Wed Jan 24 16:14:54 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Tue Jul 10 13:57:48 2001" ModelVersionFormat "1.%" ConfigurationManager "none" 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 "ch17pr6_pid" Location [116, 44, 759, 600] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "75" AutoZoom off ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "COntroller" Ports [2, 2, 0, 0, 0] Position [340, 167, 370, 218] Orientation "left" ShowPortLabels on System { Name "COntroller" Location [156, 99, 679, 330] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "75" AutoZoom on Block { BlockType Inport Name "In1" Position [445, 48, 475, 62] Orientation "left" Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "In2" Position [450, 108, 480, 122] Orientation "left" Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType SubSystem Name "Move size limit" Ports [1, 1, 0, 0, 0] Position [80, 35, 110, 85] Orientation "left" ForegroundColor "red" ShowPortLabels on System { Name "Move size limit" Location [167, 52, 415, 327] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "75" AutoZoom on Block { BlockType Inport Name "In1" Position [275, 100, 305, 115] Orientation "up" Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [155, 50, 175, 70] Orientation "left" ForegroundColor "red" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [45, 115, 65, 135] Orientation "down" ForegroundColor "red" NamePlacement "alternate" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [185, 25, 205, 45] Orientation "left" ForegroundColor "red" ShowName off IconShape "rectangular" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1, 0, 0, 0] Position [90, 125, 110, 145] Orientation "left" ForegroundColor "red" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "Switch1" Position [90, 45, 120, 75] Orientation "left" ForegroundColor "red" Threshold "0.05" } Block { BlockType Switch Name "Switch2" Position [40, 165, 70, 195] Orientation "down" ForegroundColor "red" NamePlacement "alternate" Threshold "-0.05" } Block { BlockType UnitDelay Name "Unit Delay" Position [112, 190, 148, 230] Orientation "up" ForegroundColor "red" NamePlacement "alternate" X0 "0" SampleTime "1" } Block { BlockType Constant Name "constant" Position [270, 25, 290, 45] Orientation "left" ForegroundColor "red" Value "0.05" } Block { BlockType Constant Name "constant1" Position [145, 130, 165, 150] Orientation "left" ForegroundColor "red" Value "0.05" } Block { BlockType Outport Name "Out1" Position [150, 323, 180, 337] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Switch1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Switch2" DstPort 2 } Line { SrcBlock "Switch2" SrcPort 1 Points [0, 130; 75, 0] Branch { DstBlock "Unit Delay" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 Points [0, -15] Branch { Points [0, -20] DstBlock "Sum" DstPort 1 } Branch { Points [-155, 0] DstBlock "Switch1" DstPort 3 } } Line { SrcBlock "constant" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [-45, 0] DstBlock "Switch1" DstPort 1 } Line { SrcBlock "Switch1" SrcPort 1 Points [-30, 0; 0, 20] Branch { DstBlock "Sum1" DstPort 1 } Branch { Points [-25, 0; 0, 65; 15, 0] DstBlock "Switch2" DstPort 1 } } Line { SrcBlock "Unit Delay" SrcPort 1 Points [0, -50] Branch { Points [0, -30] Branch { Points [105, 0; 0, -40; -10, 0] Branch { DstBlock "Sum" DstPort 2 } Branch { DstBlock "Sum2" DstPort 2 } } Branch { Points [0, -10; -70, 0] DstBlock "Sum1" DstPort 2 } } Branch { Points [0, 0] DstBlock "Sum3" DstPort 1 } } Line { SrcBlock "constant1" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [-20, 0] DstBlock "Switch2" DstPort 3 } } } Block { BlockType SubSystem Name "Move size limit1" Ports [1, 1, 0, 0, 0] Position [205, 95, 235, 145] Orientation "left" ForegroundColor "green" ShowPortLabels on System { Name "Move size limit1" Location [163, 48, 650, 442] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [275, 100, 305, 115] Orientation "up" Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [155, 50, 175, 70] Orientation "left" ForegroundColor "green" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [45, 115, 65, 135] Orientation "down" ForegroundColor "green" NamePlacement "alternate" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [185, 25, 205, 45] Orientation "left" ForegroundColor "green" ShowName off IconShape "rectangular" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1, 0, 0, 0] Position [90, 125, 110, 145] Orientation "left" ForegroundColor "green" ShowName off IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "Switch1" Position [90, 45, 120, 75] Orientation "left" ForegroundColor "green" Threshold "0.05" } Block { BlockType Switch Name "Switch2" Position [40, 165, 70, 195] Orientation "down" ForegroundColor "green" NamePlacement "alternate" Threshold "-0.05" } Block { BlockType UnitDelay Name "Unit Delay" Position [112, 190, 148, 230] Orientation "up" ForegroundColor "green" NamePlacement "alternate" X0 "0" SampleTime "1" } Block { BlockType Constant Name "constant" Position [270, 25, 290, 45] Orientation "left" ForegroundColor "green" Value "0.05" } Block { BlockType Constant Name "constant1" Position [145, 130, 165, 150] Orientation "left" ForegroundColor "green" Value "0.05" } Block { BlockType Outport Name "Out1" Position [150, 323, 180, 337] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Switch1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Switch2" DstPort 2 } Line { SrcBlock "Switch2" SrcPort 1 Points [0, 130; 75, 0] Branch { DstBlock "Unit Delay" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 Points [0, -15] Branch { Points [0, -20] DstBlock "Sum" DstPort 1 } Branch { Points [-155, 0] DstBlock "Switch1" DstPort 3 } } Line { SrcBlock "constant" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [-45, 0] DstBlock "Switch1" DstPort 1 } Line { SrcBlock "Switch1" SrcPort 1 Points [-30, 0; 0, 20] Branch { DstBlock "Sum1" DstPort 1 } Branch { Points [-25, 0; 0, 65; 15, 0] DstBlock "Switch2" DstPort 1 } } Line { SrcBlock "Unit Delay" SrcPort 1 Points [0, -50] Branch { Points [0, -30] Branch { Points [105, 0; 0, -40; -10, 0] Branch { DstBlock "Sum" DstPort 2 } Branch { DstBlock "Sum2" DstPort 2 } } Branch { Points [0, -10; -70, 0] DstBlock "Sum1" DstPort 2 } } Branch { Points [0, 0] DstBlock "Sum3" DstPort 1 } } Line { SrcBlock "constant1" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [-20, 0] DstBlock "Switch2" DstPort 3 } } } Block { BlockType SubSystem Name "PID Controller1" Ports [3, 1, 0, 0, 0] Position [335, 95, 415, 135] Orientation "left" ForegroundColor "green" ShowPortLabels on MaskType "Real PID Controller" MaskDescription "Programmed by Babu Joseph, Washington Unive" "rstiy in St. Louis, 1998\n" MaskHelp "This block simulates the discrete PID contr" "oller:\n\nco= controller output\nmv = measurement value\nsp= setpoint\ne =sp-" "mv\n\nThe equation used is\n\nco(n)=co(n-1)+ kc*(e(n)-e(n-1)+ Ts/taui*e(n) + " "taud/Ts*(mv(n)-2*mv(n-1)+mv(n-2))\n\nA noise filter of 5 second time constant" " is used to filter out noise in the measurement. Derivative action is taken o" "n the measurement not error.\n\nThe controller has an output feedback feature" " which can be used to prevent reset windup in the controller.\n\nAuto/Manual " "switch is provided, along with bumpless transfer capability.\n\nThe user may " "set the upper and lower limits on the controller output." MaskPromptString "Auto/Manual Switch|Manual Controller Output" "|Sample Time,Ts|Kc: Proportional Gain: Negative for DIRECT Action|taui: Integ" "ral time|Derivative Time, taud|Upper limit for controller output|Lower limit " "for controller output|Noise filter tim const, al" MaskStyleString "popup(Manual|Automatic),edit,edit,edit,edit" ",edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on" MaskVariables "am_flag=@1;co=@2;Ts=@3;Kc=@4;taui=@5;taud=@" "6;co_max=@7;co_min=@8;al=@9;" MaskDisplay "\n" MaskIconFrame on MaskIconOpaque off MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "Automatic|0|1|0.245|56.41|5.3873|.5|-.5|0" System { Name "PID Controller1" Location [21, 305, 910, 799] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "setpt" Position [50, 172, 80, 188] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "meas" Position [15, 212, 45, 228] Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "out_fdbk" Position [265, 117, 295, 133] Port "3" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType DiscreteTransferFcn Name "Derivative Mode" Position [260, 245, 360, 285] Numerator "Kc*taud*[1 -2 1]" Denominator "[ 1 0 0]" SampleTime "Ts" } Block { BlockType DiscreteTransferFcn Name "First order\nnoise filter" Position [150, 182, 210, 218] Numerator "[Ts 0]" Denominator "[(al+Ts) -al]" SampleTime "Ts" } Block { BlockType Constant Name "Fla1" Position [555, 246, 605, 264] ShowName off Value "am_flag" } Block { BlockType Constant Name "Fla2" Position [260, 326, 310, 344] ShowName off Value "co" } Block { BlockType Mux Name "Mux" Ports [3, 1, 0, 0, 0] Position [385, 67, 420, 103] Inputs "3" DisplayOption "none" } Block { BlockType DiscreteTransferFcn Name "Prop + Inegral" Position [260, 180, 390, 220] Numerator "Kc*[ (1+Ts/taui) -1 ]" Denominator "[ 1 0 ]" SampleTime "Ts" } Block { BlockType Saturate Name "Saturation2" Position [580, 195, 610, 225] UpperLimit "co_max" LowerLimit "co_min" } Block { BlockType Sum Name "Sum8" Ports [2, 1, 0, 0, 0] Position [520, 187, 550, 218] IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "auto/man switch" Position [685, 195, 715, 225] Threshold "1.5" } Block { BlockType Sum Name "en" Ports [2, 1, 0, 0, 0] Position [105, 182, 135, 213] IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "en1" Ports [2, 1, 0, 0, 0] Position [430, 192, 460, 223] IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "scope for displaying\npid: sp=red,mv=ye" "l,co=bl" Ports [1, 0, 0, 0, 0] Position [585, 70, 615, 100] Floating off Location [301, 39, 1014, 352] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "200" YMin "-1" YMax "101" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType UnitDelay Name "unit delay " Position [330, 110, 360, 140] X0 "co" SampleTime "Ts" } Block { BlockType Outport Name "output" Position [755, 203, 785, 217] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "meas" SrcPort 1 Points [0, -20] Branch { Points [-5, 0; 0, -140; 325, 0] DstBlock "Mux" DstPort 1 } Branch { Points [0, 5] DstBlock "en" DstPort 2 } } Line { SrcBlock "Sum8" SrcPort 1 Points [0, 5] DstBlock "Saturation2" DstPort 1 } Line { SrcBlock "Saturation2" SrcPort 1 Points [0, -10] DstBlock "auto/man switch" DstPort 1 } Line { SrcBlock "Fla1" SrcPort 1 Points [25, 0; 0, -45] DstBlock "auto/man switch" DstPort 2 } Line { SrcBlock "Derivative Mode" SrcPort 1 Points [50, 0] DstBlock "en1" DstPort 2 } Line { SrcBlock "en1" SrcPort 1 DstBlock "Sum8" DstPort 2 } Line { SrcBlock "setpt" SrcPort 1 Points [5, 0] Branch { DstBlock "en" DstPort 1 } Branch { Points [0, -95] DstBlock "Mux" DstPort 2 } } Line { SrcBlock "en" SrcPort 1 DstBlock "First order\nnoise filter" DstPort 1 } Line { SrcBlock "Fla2" SrcPort 1 Points [335, 0; 0, -115] DstBlock "auto/man switch" DstPort 3 } Line { SrcBlock "auto/man switch" SrcPort 1 DstBlock "output" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "scope for displaying\npid: sp=red,mv=ye" "l,co=bl" DstPort 1 } Line { SrcBlock "out_fdbk" SrcPort 1 Points [5, 0] Branch { Points [0, -30] DstBlock "Mux" DstPort 3 } Branch { DstBlock "unit delay " DstPort 1 } } Line { SrcBlock "unit delay " SrcPort 1 Points [140, 0] DstBlock "Sum8" DstPort 1 } Line { SrcBlock "First order\nnoise filter" SrcPort 1 Points [15, 0] Branch { Points [0, 65] DstBlock "Derivative Mode" DstPort 1 } Branch { DstBlock "Prop + Inegral" DstPort 1 } } Line { SrcBlock "Prop + Inegral" SrcPort 1 DstBlock "en1" DstPort 1 } Annotation { Position [394, 30] Text "Discrete PID controller (velocity) wit" "h external reset feedback. Babu Joseph, 1998" FontName "Arial" FontSize 14 FontWeight "bold" } } } Block { BlockType SubSystem Name "PID Controller2" Ports [3, 1, 0, 0, 0] Position [330, 35, 410, 75] Orientation "left" ForegroundColor "red" ShowPortLabels on MaskType "Real PID Controller" MaskDescription "Programmed by Babu Joseph, Washington Unive" "rstiy in St. Louis, 1998\n" MaskHelp "This block simulates the discrete PID contr" "oller:\n\nco= controller output\nmv = measurement value\nsp= setpoint\ne =sp-" "mv\n\nThe equation used is\n\nco(n)=co(n-1)+ kc*(e(n)-e(n-1)+ Ts/taui*e(n) + " "taud/Ts*(mv(n)-2*mv(n-1)+mv(n-2))\n\nA noise filter of 5 second time constant" " is used to filter out noise in the measurement. Derivative action is taken o" "n the measurement not error.\n\nThe controller has an output feedback feature" " which can be used to prevent reset windup in the controller.\n\nAuto/Manual " "switch is provided, along with bumpless transfer capability.\n\nThe user may " "set the upper and lower limits on the controller output." MaskPromptString "Auto/Manual Switch|Manual Controller Output" "|Sample Time,Ts|Kc: Proportional Gain: Negative for DIRECT Action|taui: Integ" "ral time|Derivative Time, taud|Upper limit for controller output|Lower limit " "for controller output|Noise filter tim const, al" MaskStyleString "popup(Manual|Automatic),edit,edit,edit,edit" ",edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on" MaskVariables "am_flag=@1;co=@2;Ts=@3;Kc=@4;taui=@5;taud=@" "6;co_max=@7;co_min=@8;al=@9;" MaskDisplay "\n" MaskIconFrame on MaskIconOpaque off MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "Automatic|0|1|0.6485|65.546|5.151|.5|-.5|0" System { Name "PID Controller2" Location [21, 305, 910, 799] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "setpt" Position [50, 172, 80, 188] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "meas" Position [15, 212, 45, 228] Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "out_fdbk" Position [265, 117, 295, 133] Port "3" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType DiscreteTransferFcn Name "Derivative Mode" Position [260, 245, 360, 285] Numerator "Kc*taud*[1 -2 1]" Denominator "[ 1 0 0]" SampleTime "Ts" } Block { BlockType DiscreteTransferFcn Name "First order\nnoise filter" Position [150, 182, 210, 218] Numerator "[Ts 0]" Denominator "[(al+Ts) -al]" SampleTime "Ts" } Block { BlockType Constant Name "Fla1" Position [555, 246, 605, 264] ShowName off Value "am_flag" } Block { BlockType Constant Name "Fla2" Position [260, 326, 310, 344] ShowName off Value "co" } Block { BlockType Mux Name "Mux" Ports [3, 1, 0, 0, 0] Position [385, 67, 420, 103] Inputs "3" DisplayOption "none" } Block { BlockType DiscreteTransferFcn Name "Prop + Inegral" Position [260, 180, 390, 220] Numerator "Kc*[ (1+Ts/taui) -1 ]" Denominator "[ 1 0 ]" SampleTime "Ts" } Block { BlockType Saturate Name "Saturation2" Position [580, 195, 610, 225] UpperLimit "co_max" LowerLimit "co_min" } Block { BlockType Sum Name "Sum8" Ports [2, 1, 0, 0, 0] Position [520, 187, 550, 218] IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "auto/man switch" Position [685, 195, 715, 225] Threshold "1.5" } Block { BlockType Sum Name "en" Ports [2, 1, 0, 0, 0] Position [105, 182, 135, 213] IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "en1" Ports [2, 1, 0, 0, 0] Position [430, 192, 460, 223] IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "scope for displaying\npid: sp=red,mv=ye" "l,co=bl" Ports [1, 0, 0, 0, 0] Position [585, 70, 615, 100] Floating off Location [301, 39, 1014, 352] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "200" YMin "-1" YMax "101" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType UnitDelay Name "unit delay " Position [330, 110, 360, 140] X0 "co" SampleTime "Ts" } Block { BlockType Outport Name "output" Position [755, 203, 785, 217] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "meas" SrcPort 1 Points [0, -20] Branch { Points [-5, 0; 0, -140; 325, 0] DstBlock "Mux" DstPort 1 } Branch { Points [0, 5] DstBlock "en" DstPort 2 } } Line { SrcBlock "Sum8" SrcPort 1 Points [0, 5] DstBlock "Saturation2" DstPort 1 } Line { SrcBlock "Saturation2" SrcPort 1 Points [0, -10] DstBlock "auto/man switch" DstPort 1 } Line { SrcBlock "Fla1" SrcPort 1 Points [25, 0; 0, -45] DstBlock "auto/man switch" DstPort 2 } Line { SrcBlock "Derivative Mode" SrcPort 1 Points [50, 0] DstBlock "en1" DstPort 2 } Line { SrcBlock "en1" SrcPort 1 DstBlock "Sum8" DstPort 2 } Line { SrcBlock "setpt" SrcPort 1 Points [5, 0] Branch { DstBlock "en" DstPort 1 } Branch { Points [0, -95] DstBlock "Mux" DstPort 2 } } Line { SrcBlock "en" SrcPort 1 DstBlock "First order\nnoise filter" DstPort 1 } Line { SrcBlock "Fla2" SrcPort 1 Points [335, 0; 0, -115] DstBlock "auto/man switch" DstPort 3 } Line { SrcBlock "auto/man switch" SrcPort 1 DstBlock "output" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "scope for displaying\npid: sp=red,mv=ye" "l,co=bl" DstPort 1 } Line { SrcBlock "out_fdbk" SrcPort 1 Points [5, 0] Branch { Points [0, -30] DstBlock "Mux" DstPort 3 } Branch { DstBlock "unit delay " DstPort 1 } } Line { SrcBlock "unit delay " SrcPort 1 Points [140, 0] DstBlock "Sum8" DstPort 1 } Line { SrcBlock "First order\nnoise filter" SrcPort 1 Points [15, 0] Branch { Points [0, 65] DstBlock "Derivative Mode" DstPort 1 } Branch { DstBlock "Prop + Inegral" DstPort 1 } } Line { SrcBlock "Prop + Inegral" SrcPort 1 DstBlock "en1" DstPort 1 } Annotation { Position [394, 30] Text "Discrete PID controller (velocity) wit" "h external reset feedback. Babu Joseph, 1998" FontName "Arial" FontSize 14 FontWeight "bold" } } } Block { BlockType Constant Name "y1set" Position [495, 90, 515, 110] Orientation "left" ForegroundColor "green" Value "0" } Block { BlockType Constant Name "y2set1" Position [500, 30, 520, 50] Orientation "left" ForegroundColor "red" Value "0" } Block { BlockType Outport Name "Out1" Position [25, 53, 55, 67] Orientation "left" Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Out2" Position [150, 113, 180, 127] Orientation "left" Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "y1set" SrcPort 1 DstBlock "PID Controller1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "PID Controller1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "PID Controller2" DstPort 2 } Line { SrcBlock "y2set1" SrcPort 1 DstBlock "PID Controller2" DstPort 1 } Line { SrcBlock "PID Controller2" SrcPort 1 Points [-15, 0; 0, 5] Branch { Points [0, 25; 130, 0; 0, -20; -15, 0] DstBlock "PID Controller2" DstPort 3 } Branch { DstBlock "Move size limit" DstPort 1 } } Line { SrcBlock "PID Controller1" SrcPort 1 Points [-20, 0] Branch { Points [0, 35; 130, 0; 0, -20] DstBlock "PID Controller1" DstPort 3 } Branch { Points [0, 5] DstBlock "Move size limit1" DstPort 1 } } Line { SrcBlock "Move size limit" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Move size limit1" SrcPort 1 DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Heavy Oil\nFractionator" Ports [5, 7, 0, 0, 0] Position [350, 246, 395, 484] DropShadow on ShowPortLabels on MaskPromptString "Error in Upp Ref Duty Tfns|Error in Int Ref Dut" "y Tfns|Error in Bott duty tfns|Err in Side draw tfns|Error in top draw tfs" MaskStyleString "edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "||||" MaskEnableString "on,on,on,on,on" MaskVisibilityString "on,on,on,on,on" MaskVariables "e5=@1;e4=@2;e3=@3;e2=@4;e1=@5;" MaskInitialization "e1=0;e2=0;e3=0;e4=0;e5=0;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "1.0|1.0|-1.0|-1.0|-1.0" System { Name "Heavy Oil\nFractionator" Location [8, 89, 808, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "u1" Position [80, 53, 110, 67] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "u2" Position [65, 108, 95, 122] Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "u3" Position [50, 158, 80, 172] Port "3" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "l1" Position [40, 203, 70, 217] Port "4" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "l2" Position [25, 248, 55, 262] Port "5" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType SubSystem Name "Shell Fractionator" Ports [5, 5, 0, 0, 0] Position [365, 49, 430, 241] ShowPortLabels on System { Name "Shell Fractionator" Location [78, 132, 720, 681] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "u1" Position [125, 53, 155, 67] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "u2" Position [120, 153, 150, 167] Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "u3" Position [110, 238, 140, 252] Port "3" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "l1" Position [105, 338, 135, 352] Port "4" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "l2" Position [105, 408, 135, 422] Port "5" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Display Name "Display" Ports [1, 0, 0, 0, 0] Position [595, 580, 685, 610] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display1" Ports [1, 0, 0, 0, 0] Position [600, 415, 690, 445] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType SubSystem Name "Subsystem" Ports [1, 7, 0, 0, 0] Position [180, 0, 235, 90] ShowPortLabels on System { Name "Subsystem" Location [198, 86, 777, 538] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType TransferFcn Name "Transfer Fcn" Position [155, 26, 220, 64] Numerator "[4.05+2.11*e1]" Denominator "[50 1]" } Block { BlockType TransferFcn Name "Transfer Fcn1" Position [155, 77, 220, 113] Numerator "[5.39+3.29*e1]" Denominator "[50 1]" } Block { BlockType TransferFcn Name "Transfer Fcn2" Position [155, 127, 210, 163] Numerator "[4.38+3.11*e1]" Denominator "[33 1]" } Block { BlockType TransferFcn Name "Transfer Fcn3" Position [160, 182, 215, 218] Numerator "[3.66+2.29*e1]" Denominator "[9 1]" } Block { BlockType TransferFcn Name "Transfer Fcn4" Position [160, 247, 215, 283] Numerator "[5.92+2.34*e1]" Denominator "[12 1]" } Block { BlockType TransferFcn Name "Transfer Fcn7" Position [165, 302, 220, 338] Numerator "[4.13+1.71*e1]" Denominator "[8 1]" } Block { BlockType TransferFcn Name "Transfer Fcn8" Position [165, 352, 230, 388] Numerator "[4.06+2.39*e1]" Denominator "[13 1]" } Block { BlockType TransportDelay Name "Transport\nDelay" Position [260, 15, 290, 45] DelayTime "27" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay1" Position [260, 80, 290, 110] DelayTime "18" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay2" Position [260, 140, 290, 170] DelayTime "20" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay3" Position [310, 185, 340, 215] DelayTime "2" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay4" Position [255, 250, 285, 280] DelayTime "11" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay5" Position [295, 305, 325, 335] DelayTime "5" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay6" Position [255, 360, 285, 390] DelayTime "8" InitialInput "0" BufferSize "1024" } Block { BlockType Outport Name "Out1" Position [315, 23, 345, 37] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out2" Position [315, 88, 345, 102] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out3" Position [370, 188, 400, 202] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out4" Position [325, 253, 355, 267] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out5\n" Position [355, 313, 385, 327] Port "5" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out6\n" Position [350, 373, 380, 387] Port "6" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out7" Position [315, 143, 345, 157] Port "7" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Transport\nDelay2" SrcPort 1 Points [0, -5] DstBlock "Out7" DstPort 1 } Line { SrcBlock "Transport\nDelay1" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "Transfer Fcn2" SrcPort 1 Points [0, 10] DstBlock "Transport\nDelay2" DstPort 1 } Line { SrcBlock "Transfer Fcn1" SrcPort 1 DstBlock "Transport\nDelay1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] Branch { Points [0, 50] Branch { DstBlock "Transfer Fcn1" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "Transfer Fcn2" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Transfer Fcn3" DstPort 1 } Branch { Points [0, 65] Branch { DstBlock "Transfer Fcn4" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Transfer Fcn7" DstPort 1 } Branch { Points [0, 50] DstBlock "Transfer Fcn8" DstPort 1 } } } } } } Branch { DstBlock "Transfer Fcn" DstPort 1 } } Line { SrcBlock "Transfer Fcn3" SrcPort 1 DstBlock "Transport\nDelay3" DstPort 1 } Line { SrcBlock "Transfer Fcn4" SrcPort 1 DstBlock "Transport\nDelay4" DstPort 1 } Line { SrcBlock "Transfer Fcn7" SrcPort 1 DstBlock "Transport\nDelay5" DstPort 1 } Line { SrcBlock "Transport\nDelay4" SrcPort 1 Points [20, 0] DstBlock "Out4" DstPort 1 } Line { SrcBlock "Transport\nDelay5" SrcPort 1 DstBlock "Out5\n" DstPort 1 } Line { SrcBlock "Transfer Fcn8" SrcPort 1 Points [5, 0] DstBlock "Transport\nDelay6" DstPort 1 } Line { SrcBlock "Transport\nDelay6" SrcPort 1 Points [45, 0] DstBlock "Out6\n" DstPort 1 } Line { SrcBlock "Transport\nDelay3" SrcPort 1 Points [10, 0] DstBlock "Out3" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Transfer Fcn" SrcPort 1 Points [20, 0] DstBlock "Transport\nDelay" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem1" Ports [1, 7, 0, 0, 0] Position [175, 114, 230, 196] ShowPortLabels on System { Name "Subsystem1" Location [257, 218, 795, 618] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType TransferFcn Name "Transfer Fcn3" Position [115, 27, 170, 63] Numerator "[1.77+.39*e2]" Denominator "[60 1]" } Block { BlockType TransferFcn Name "Transfer Fcn4" Position [140, 277, 195, 313] Numerator "[2.54+.24*e2]" Denominator "[27 1]" } Block { BlockType TransferFcn Name "Transfer Fcn5" Position [130, 102, 185, 138] Numerator "[5.72+.57*e2]" Denominator "[60 1]" } Block { BlockType TransferFcn Name "Transfer Fcn6" Position [170, 487, 225, 523] Numerator "[4.42+.73*e2]" Denominator "[44 1]" } Block { BlockType TransferFcn Name "Transfer Fcn7" Position [155, 352, 210, 388] Numerator "[2.38+.93*e2]" Denominator "[19 1]" } Block { BlockType TransferFcn Name "Transfer Fcn8" Position [155, 422, 210, 458] Numerator "[4.18++.35*e2]" Denominator "[33 1]" } Block { BlockType TransferFcn Name "Transfer Fcn9" Position [125, 162, 180, 198] Numerator "[1.65+.35*e2]" Denominator "[30 1]" } Block { BlockType TransportDelay Name "Transport\nDelay3" Position [220, 30, 250, 60] DelayTime "28" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay4" Position [245, 280, 275, 310] DelayTime "12" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay5" Position [235, 105, 265, 135] DelayTime "14" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay6" Position [260, 490, 290, 520] DelayTime "22" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay7" Position [260, 355, 290, 385] DelayTime "7" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay8" Position [260, 425, 290, 455] DelayTime "4" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay9" Position [230, 165, 260, 195] DelayTime "20" InitialInput "0" BufferSize "1024" } Block { BlockType Outport Name "Out1" Position [275, 38, 305, 52] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out2" Position [290, 113, 320, 127] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out3" Position [305, 173, 335, 187] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out4" Position [300, 288, 330, 302] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out5" Position [315, 363, 345, 377] Port "5" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out6" Position [315, 433, 345, 447] Port "6" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out7" Position [325, 498, 355, 512] Port "7" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Transport\nDelay5" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "Transport\nDelay3" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] Branch { Points [0, 75] Branch { DstBlock "Transfer Fcn5" DstPort 1 } Branch { Points [0, 320] Branch { Points [0, 65] DstBlock "Transfer Fcn6" DstPort 1 } Branch { Points [0, -145] Branch { DstBlock "Transfer Fcn4" DstPort 1 } Branch { Points [0, 75] Branch { DstBlock "Transfer Fcn7" DstPort 1 } Branch { Points [0, 70] Branch { DstBlock "Transfer Fcn8" DstPort 1 } Branch { Points [0, -260] DstBlock "Transfer Fcn9" DstPort 1 } } } } } } Branch { DstBlock "Transfer Fcn3" DstPort 1 } } Line { SrcBlock "Transfer Fcn5" SrcPort 1 DstBlock "Transport\nDelay5" DstPort 1 } Line { SrcBlock "Transfer Fcn3" SrcPort 1 DstBlock "Transport\nDelay3" DstPort 1 } Line { SrcBlock "Transport\nDelay8" SrcPort 1 DstBlock "Out6" DstPort 1 } Line { SrcBlock "Transport\nDelay7" SrcPort 1 DstBlock "Out5" DstPort 1 } Line { SrcBlock "Transport\nDelay4" SrcPort 1 DstBlock "Out4" DstPort 1 } Line { SrcBlock "Transfer Fcn8" SrcPort 1 DstBlock "Transport\nDelay8" DstPort 1 } Line { SrcBlock "Transfer Fcn7" SrcPort 1 DstBlock "Transport\nDelay7" DstPort 1 } Line { SrcBlock "Transfer Fcn4" SrcPort 1 DstBlock "Transport\nDelay4" DstPort 1 } Line { SrcBlock "Transport\nDelay9" SrcPort 1 DstBlock "Out3" DstPort 1 } Line { SrcBlock "Transfer Fcn9" SrcPort 1 DstBlock "Transport\nDelay9" DstPort 1 } Line { SrcBlock "Transport\nDelay6" SrcPort 1 DstBlock "Out7" DstPort 1 } Line { SrcBlock "Transfer Fcn6" SrcPort 1 DstBlock "Transport\nDelay6" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem2" Ports [1, 7, 0, 0, 0] Position [175, 211, 230, 289] ShowPortLabels on System { Name "Subsystem2" Location [197, 115, 817, 604] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType TransferFcn Name "Transfer Fcn10" Position [135, 207, 190, 243] Numerator "[5.53+.67*e3]" Denominator "[40 1]" } Block { BlockType TransferFcn Name "Transfer Fcn11" Position [135, 267, 190, 303] Numerator "[6.23+.30*e3]" Denominator "[10 1]" } Block { BlockType TransferFcn Name "Transfer Fcn12" Position [135, 327, 190, 363] Numerator "[6.53+.72*e3]" Denominator "[9 1]" } Block { BlockType TransferFcn Name "Transfer Fcn13" Position [130, 377, 185, 413] Numerator "[8.10+.32*e3]" Denominator "[20 1]" } Block { BlockType TransferFcn Name "Transfer Fcn7" Position [145, 27, 200, 63] Numerator "[5.88+.59*e3]" Denominator "[50 1]" } Block { BlockType TransferFcn Name "Transfer Fcn8" Position [145, 87, 200, 123] Numerator "[6.90+.89*e3]" Denominator "[40 1]" } Block { BlockType TransferFcn Name "Transfer Fcn9" Position [145, 147, 200, 183] Numerator "[7.20+1.33*e3]" Denominator "[19 1]" } Block { BlockType TransportDelay Name "Transport\nDelay10" Position [240, 270, 270, 300] DelayTime "2" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay11" Position [240, 330, 270, 360] DelayTime "1" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay12" Position [240, 390, 270, 420] DelayTime "2" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay7" Position [250, 30, 280, 60] DelayTime "27" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay8" Position [250, 90, 280, 120] DelayTime "15" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay9" Position [240, 210, 270, 240] DelayTime "2" InitialInput "0" BufferSize "1024" } Block { BlockType Outport Name "Out1" Position [305, 38, 335, 52] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out2" Position [305, 98, 335, 112] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out3" Position [295, 218, 325, 232] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out4" Position [305, 393, 335, 407] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out5" Position [295, 278, 325, 292] Port "5" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out6" Position [335, 333, 365, 347] Port "6" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out7" Position [225, 158, 255, 172] Port "7" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Transfer Fcn9" SrcPort 1 DstBlock "Out7" DstPort 1 } Line { SrcBlock "Transport\nDelay8" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "Transport\nDelay7" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Transfer Fcn8" SrcPort 1 DstBlock "Transport\nDelay8" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] Branch { Points [-15, 0; 0, 60] Branch { DstBlock "Transfer Fcn8" DstPort 1 } Branch { Points [0, 60] Branch { DstBlock "Transfer Fcn9" DstPort 1 } Branch { Points [0, 60] Branch { DstBlock "Transfer Fcn10" DstPort 1 } Branch { Points [0, 60] Branch { DstBlock "Transfer Fcn11" DstPort 1 } Branch { Points [0, 60] Branch { DstBlock "Transfer Fcn12" DstPort 1 } Branch { Points [0, 50] DstBlock "Transfer Fcn13" DstPort 1 } } } } } } Branch { DstBlock "Transfer Fcn7" DstPort 1 } } Line { SrcBlock "Transfer Fcn7" SrcPort 1 DstBlock "Transport\nDelay7" DstPort 1 } Line { SrcBlock "Transport\nDelay10" SrcPort 1 DstBlock "Out5" DstPort 1 } Line { SrcBlock "Transport\nDelay9" SrcPort 1 DstBlock "Out3" DstPort 1 } Line { SrcBlock "Transfer Fcn11" SrcPort 1 DstBlock "Transport\nDelay10" DstPort 1 } Line { SrcBlock "Transfer Fcn10" SrcPort 1 DstBlock "Transport\nDelay9" DstPort 1 } Line { SrcBlock "Transport\nDelay11" SrcPort 1 Points [45, 0] DstBlock "Out6" DstPort 1 } Line { SrcBlock "Transfer Fcn12" SrcPort 1 DstBlock "Transport\nDelay11" DstPort 1 } Line { SrcBlock "Transport\nDelay12" SrcPort 1 Points [15, 0] DstBlock "Out4" DstPort 1 } Line { SrcBlock "Transfer Fcn13" SrcPort 1 Points [35, 0] DstBlock "Transport\nDelay12" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem3" Ports [1, 7, 0, 0, 0] Position [170, 305, 235, 385] ShowPortLabels on System { Name "Subsystem3" Location [177, 69, 785, 593] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [15, 23, 45, 37] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType SubSystem Name "Subsystem3" Ports [2, 2, 0, 0, 0] Position [160, 57, 200, 108] ShowPortLabels on System { Name "Subsystem3" Location [142, 344, 472, 532] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "In2" Position [80, 138, 110, 152] Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType TransferFcn Name "Transfer Fcn7" Position [90, 27, 145, 63] Numerator "[1.20+.12*e4]" Denominator "[45 1]" } Block { BlockType TransferFcn Name "Transfer Fcn8" Position [145, 127, 200, 163] Numerator "[1.52+.13*e4]" Denominator "[25 1]" } Block { BlockType TransportDelay Name "Transport\nDelay7" Position [180, 30, 210, 60] DelayTime "27" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay8" Position [220, 130, 250, 160] DelayTime "15" InitialInput "0" BufferSize "1024" } Block { BlockType Outport Name "Out1" Position [235, 38, 265, 52] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out2" Position [275, 138, 305, 152] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Transport\nDelay8" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "Transport\nDelay7" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Transfer Fcn8" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Transfer Fcn7" DstPort 1 } Line { SrcBlock "Transfer Fcn8" SrcPort 1 DstBlock "Transport\nDelay8" DstPort 1 } Line { SrcBlock "Transfer Fcn7" SrcPort 1 DstBlock "Transport\nDelay7" DstPort 1 } } } Block { BlockType TransferFcn Name "Transfer Fcn10" Position [140, 207, 195, 243] Numerator "[1.73+.02*e4]" Denominator "[5 1]" } Block { BlockType TransferFcn Name "Transfer Fcn11" Position [140, 257, 195, 293] Numerator "[1.16+.08*e4]" Denominator "[11 1]" } Block { BlockType TransferFcn Name "Transfer Fcn12" Position [140, 312, 195, 348] Numerator "[1.31+.03*e4]" Denominator "[2 1]" } Block { BlockType TransferFcn Name "Transfer Fcn13" Position [140, 382, 195, 418] Numerator "[1.19+.08*e4]" Denominator "[19 1]" } Block { BlockType TransferFcn Name "Transfer Fcn9" Position [140, 152, 195, 188] Numerator "[1.14+.18*e4]" Denominator "[27 1]" } Block { BlockType Outport Name "Out1" Position [230, 53, 260, 67] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out2" Position [230, 88, 260, 102] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out3" Position [220, 268, 250, 282] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out4" Position [220, 218, 250, 232] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out5" Position [220, 323, 250, 337] Port "5" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out6" Position [220, 393, 250, 407] Port "6" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out7" Position [220, 163, 250, 177] Port "7" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Subsystem3" SrcPort 1 Points [10, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] Branch { DstBlock "Subsystem3" DstPort 1 } Branch { Points [0, 140] Branch { Points [0, -75] DstBlock "Subsystem3" DstPort 2 } Branch { Points [0, 0] Branch { DstBlock "Transfer Fcn9" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Transfer Fcn10" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "Transfer Fcn11" DstPort 1 } Branch { Points [0, 50] Branch { Points [0, 5] DstBlock "Transfer Fcn12" DstPort 1 } Branch { Points [0, 75] DstBlock "Transfer Fcn13" DstPort 1 } } } } } } } Line { SrcBlock "Transfer Fcn9" SrcPort 1 DstBlock "Out7" DstPort 1 } Line { SrcBlock "Transfer Fcn10" SrcPort 1 DstBlock "Out4" DstPort 1 } Line { SrcBlock "Transfer Fcn11" SrcPort 1 DstBlock "Out3" DstPort 1 } Line { SrcBlock "Transfer Fcn12" SrcPort 1 DstBlock "Out5" DstPort 1 } Line { SrcBlock "Transfer Fcn13" SrcPort 1 DstBlock "Out6" DstPort 1 } Line { SrcBlock "Subsystem3" SrcPort 2 DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem4" Ports [1, 7, 0, 0, 0] Position [165, 397, 245, 473] ShowPortLabels on System { Name "Subsystem4" Location [89, 157, 815, 607] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType TransferFcn Name "Transfer Fcn10" Position [115, 187, 170, 223] Numerator "[1.79+.04*e5]" Denominator "[19 1]" } Block { BlockType TransferFcn Name "Transfer Fcn11" Position [115, 262, 170, 298] Numerator "[1.26+0.02*e5]" Denominator "[22 1]" } Block { BlockType TransferFcn Name "Transfer Fcn12" Position [110, 317, 165, 353] Numerator "[1.17+0.01*e5]" Denominator "[24 1]" } Block { BlockType TransferFcn Name "Transfer Fcn13" Position [110, 392, 165, 428] Numerator "[1.26+.18*e5]" Denominator "[32 1]" } Block { BlockType TransferFcn Name "Transfer Fcn7" Position [105, 27, 160, 63] Numerator "[1.44+.16*e5]" Denominator "[40 1]" } Block { BlockType TransferFcn Name "Transfer Fcn8" Position [115, 77, 170, 113] Numerator "[1.83+.13*e5]" Denominator "[20 1]" } Block { BlockType TransferFcn Name "Transfer Fcn9" Position [120, 132, 175, 168] Numerator "[1.27+.08*e5]" Denominator "[6 1]" } Block { BlockType TransportDelay Name "Transport\nDelay7" Position [195, 30, 225, 60] DelayTime "27" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay8" Position [215, 90, 245, 120] DelayTime "15" InitialInput "0" BufferSize "1024" } Block { BlockType Outport Name "Out1" Position [250, 38, 280, 52] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out2" Position [270, 98, 300, 112] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out3" Position [220, 153, 250, 167] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out4" Position [195, 198, 225, 212] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out5" Position [195, 273, 225, 287] Port "5" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out6" Position [190, 328, 220, 342] Port "6" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Out7" Position [190, 403, 220, 417] Port "7" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Transfer Fcn9" SrcPort 1 Points [25, 0] DstBlock "Out3" DstPort 1 } Line { SrcBlock "Transport\nDelay8" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "Transport\nDelay7" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] Branch { Points [0, 50] Branch { DstBlock "Transfer Fcn8" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Transfer Fcn9" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Transfer Fcn10" DstPort 1 } Branch { Points [0, 75] Branch { DstBlock "Transfer Fcn11" DstPort 1 } Branch { Points [0, 55] Branch { Points [0, 75] DstBlock "Transfer Fcn13" DstPort 1 } Branch { DstBlock "Transfer Fcn12" DstPort 1 } } } } } } Branch { DstBlock "Transfer Fcn7" DstPort 1 } } Line { SrcBlock "Transfer Fcn8" SrcPort 1 Points [25, 0] DstBlock "Transport\nDelay8" DstPort 1 } Line { SrcBlock "Transfer Fcn7" SrcPort 1 DstBlock "Transport\nDelay7" DstPort 1 } Line { SrcBlock "Transfer Fcn10" SrcPort 1 DstBlock "Out4" DstPort 1 } Line { SrcBlock "Transfer Fcn11" SrcPort 1 DstBlock "Out5" DstPort 1 } Line { SrcBlock "Transfer Fcn12" SrcPort 1 DstBlock "Out6" DstPort 1 } Line { SrcBlock "Transfer Fcn13" SrcPort 1 DstBlock "Out7" DstPort 1 } } } Block { BlockType Sum Name "Sum" Ports [5, 1, 0, 0, 0] Position [445, 36, 490, 84] IconShape "rectangular" Inputs "+++++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [5, 1, 0, 0, 0] Position [440, 121, 500, 169] IconShape "rectangular" Inputs "+++++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [5, 1, 0, 0, 0] Position [465, 241, 530, 299] IconShape "rectangular" Inputs "+++++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [5, 1, 0, 0, 0] Position [485, 326, 530, 374] IconShape "rectangular" Inputs "+++++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum4" Ports [5, 1, 0, 0, 0] Position [450, 411, 495, 459] IconShape "rectangular" Inputs "+++++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum5" Ports [5, 1, 0, 0, 0] Position [445, 491, 490, 539] IconShape "rectangular" Inputs "+++++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum6" Ports [5, 1, 0, 0, 0] Position [445, 576, 490, 624] IconShape "rectangular" Inputs "+++++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "y1" Position [595, 48, 625, 62] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y2" Position [600, 128, 630, 142] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y3" Position [600, 343, 630, 357] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y5" Position [595, 503, 625, 517] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y7" Position [600, 263, 630, 277] Port "5" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "l2" SrcPort 1 Points [10, 0] DstBlock "Subsystem4" DstPort 1 } Line { SrcBlock "l1" SrcPort 1 DstBlock "Subsystem3" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "y7" DstPort 1 } Line { SrcBlock "u3" SrcPort 1 Points [15, 0] DstBlock "Subsystem2" DstPort 1 } Line { SrcBlock "u2" SrcPort 1 Points [5, 0] DstBlock "Subsystem1" DstPort 1 } Line { SrcBlock "u1" SrcPort 1 Points [0, -15] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "y1" DstPort 1 } Line { SrcBlock "Subsystem4" SrcPort 2 Points [175, 0] DstBlock "Sum1" DstPort 5 } Line { SrcBlock "Subsystem4" SrcPort 1 Points [180, 0] DstBlock "Sum" DstPort 5 } Line { SrcBlock "Subsystem3" SrcPort 7 Points [210, 0] DstBlock "Sum2" DstPort 4 } Line { SrcBlock "Subsystem3" SrcPort 2 Points [185, 0] DstBlock "Sum1" DstPort 4 } Line { SrcBlock "Subsystem3" SrcPort 1 Points [190, 0] DstBlock "Sum" DstPort 4 } Line { SrcBlock "Subsystem2" SrcPort 2 DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Subsystem2" SrcPort 1 Points [195, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Subsystem2" SrcPort 7 Points [10, 0; 0, -10] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Subsystem1" SrcPort 2 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Subsystem1" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 7 Points [0, 175] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 2 Points [185, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 1 Points [190, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -10] DstBlock "y2" DstPort 1 } Line { SrcBlock "Subsystem1" SrcPort 7 Points [215, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "y3" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [0, -5] DstBlock "Display1" DstPort 1 } Line { SrcBlock "Sum5" SrcPort 1 Points [0, -5] DstBlock "y5" DstPort 1 } Line { SrcBlock "Sum6" SrcPort 1 Points [0, -5] DstBlock "Display" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 3 Points [140, 0; 0, 300; 90, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Subsystem1" SrcPort 3 Points [140, 0; 0, 205; 95, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Subsystem2" SrcPort 3 Points [130, 0; 0, 120; 105, 0] DstBlock "Sum3" DstPort 3 } Line { SrcBlock "Subsystem3" SrcPort 3 Points [115, 0; 0, 30; 115, 0] DstBlock "Sum3" DstPort 4 } Line { SrcBlock "Subsystem4" SrcPort 3 Points [220, 0] DstBlock "Sum3" DstPort 5 } Line { SrcBlock "Subsystem4" SrcPort 7 Points [155, 0; 0, -180; 45, 0] DstBlock "Sum2" DstPort 5 } Line { SrcBlock "Subsystem" SrcPort 4 Points [100, 0; 0, 375; 95, 0] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Subsystem1" SrcPort 4 Points [90, 0; 0, 285; 110, 0] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Subsystem2" SrcPort 4 Points [75, 0; 0, 200; 130, 0; 0, -15] DstBlock "Sum4" DstPort 3 } Line { SrcBlock "Subsystem3" SrcPort 4 Points [110, 0; 0, 100] DstBlock "Sum4" DstPort 4 } Line { SrcBlock "Subsystem4" SrcPort 4 Points [0, -5; 70, 0; 0, 30; 115, 0] DstBlock "Sum4" DstPort 5 } Line { SrcBlock "Subsystem" SrcPort 5 Points [65, 0; 0, 440] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "Subsystem4" SrcPort 5 Points [0, -5; 45, 0; 0, 65] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Subsystem3" SrcPort 5 Points [40, 0; 0, 160] DstBlock "Sum5" DstPort 3 } Line { SrcBlock "Subsystem2" SrcPort 5 Points [40, 0; 0, 270; -10, 0; 0, -5] DstBlock "Sum5" DstPort 4 } Line { SrcBlock "Subsystem1" SrcPort 5 Points [30, 0; 0, 385; 165, 0] DstBlock "Sum5" DstPort 5 } Line { SrcBlock "Subsystem" SrcPort 6 Points [45, 0; 0, 515] DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Subsystem4" SrcPort 6 Points [0, 140; 180, 0] DstBlock "Sum6" DstPort 2 } Line { SrcBlock "Subsystem3" SrcPort 6 Points [20, 0; 0, 240; 170, 0] DstBlock "Sum6" DstPort 3 } Line { SrcBlock "Subsystem2" SrcPort 6 Points [85, 0; 0, 345; 110, 0] DstBlock "Sum6" DstPort 4 } Line { SrcBlock "Subsystem1" SrcPort 6 Points [65, 0; 0, 450; 130, 0] DstBlock "Sum6" DstPort 5 } } } Block { BlockType ToWorkspace Name "To Workspace10" Position [15, 222, 60, 238] Orientation "left" ShowName off VariableName "l2" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace6" Position [65, 12, 110, 28] Orientation "left" ShowName off VariableName "u1" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace7" Position [50, 77, 95, 93] Orientation "left" ShowName off VariableName "u2" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace8" Position [40, 132, 85, 148] Orientation "left" ShowName off VariableName "u3" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace9" Position [15, 177, 60, 193] Orientation "left" ShowName off VariableName "l1" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType Mux Name "outputmux" Ports [5, 1, 0, 0, 0] Position [755, 228, 790, 322] Inputs "5" DisplayOption "none" } Block { BlockType Mux Name "outputs1" Ports [5, 1, 0, 0, 0] Position [265, 278, 300, 372] Inputs "5" DisplayOption "none" } Block { BlockType Outport Name "y1" Position [660, 48, 690, 62] ForegroundColor "green" Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y2" Position [645, 88, 675, 102] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y3" Position [655, 128, 685, 142] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y5" Position [655, 168, 685, 182] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "y7" Position [655, 208, 685, 222] Port "5" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "outputs" Position [870, 273, 900, 287] Port "6" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "inputs" Position [325, 303, 355, 317] Port "7" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "l2" SrcPort 1 Points [15, 0] Branch { DstBlock "To Workspace10" DstPort 1 } Branch { Points [0, -15; 80, 0] Branch { Points [0, 45] DstBlock "outputs1" DstPort 1 } Branch { Points [10, 0; 0, -10; 185, 0] DstBlock "Shell Fractionator" DstPort 5 } } } Line { SrcBlock "l1" SrcPort 1 Points [15, 0] Branch { Points [-15, 0] DstBlock "To Workspace9" DstPort 1 } Branch { Points [45, 0] Branch { Points [0, 95] DstBlock "outputs1" DstPort 2 } Branch { Points [30, 0; 0, -25] DstBlock "Shell Fractionator" DstPort 4 } } } Line { SrcBlock "u3" SrcPort 1 Points [15, 0] Branch { DstBlock "To Workspace8" DstPort 1 } Branch { Points [20, 0] Branch { Points [5, 0; 0, 165; 125, 0] DstBlock "outputs1" DstPort 3 } Branch { Points [45, 0; 0, -25; 185, 0] DstBlock "Shell Fractionator" DstPort 3 } } } Line { SrcBlock "u2" SrcPort 1 Points [15, 0] Branch { Points [-5, 0] DstBlock "To Workspace7" DstPort 1 } Branch { Points [5, 0; 0, 230] DstBlock "outputs1" DstPort 4 } Branch { Points [50, 0; 0, -20; 185, 0] DstBlock "Shell Fractionator" DstPort 2 } } Line { SrcBlock "outputmux" SrcPort 1 Points [0, 5] DstBlock "outputs" DstPort 1 } Line { SrcBlock "outputs1" SrcPort 1 Points [0, -15] DstBlock "inputs" DstPort 1 } Line { SrcBlock "u1" SrcPort 1 Points [0, 0] Branch { Points [15, 0] Branch { Points [0, -40] DstBlock "To Workspace6" DstPort 1 } Branch { Points [35, 0; 0, -10; 185, 0] DstBlock "Shell Fractionator" DstPort 1 } } Branch { Points [0, 305] DstBlock "outputs1" DstPort 5 } } Line { SrcBlock "Shell Fractionator" SrcPort 1 Points [45, 0; 0, -5; 65, 0; 40, -5] Branch { DstBlock "y1" DstPort 1 } Branch { Points [0, 260] DstBlock "outputmux" DstPort 5 } } Line { SrcBlock "Shell Fractionator" SrcPort 2 Points [45, 0; 0, -5; 65, 0; 0, -5; 60, 0] Branch { DstBlock "y2" DstPort 1 } Branch { Points [0, 200] DstBlock "outputmux" DstPort 4 } } Line { SrcBlock "Shell Fractionator" SrcPort 3 Points [45, 0; 0, -5; 65, 0; 0, -5; 70, 0] Branch { DstBlock "y3" DstPort 1 } Branch { Points [0, 140] DstBlock "outputmux" DstPort 3 } } Line { SrcBlock "Shell Fractionator" SrcPort 4 Points [45, 0; 0, -5; 65, 0; 0, -5; 80, 0] Branch { DstBlock "y5" DstPort 1 } Branch { Points [0, 80] DstBlock "outputmux" DstPort 2 } } Line { SrcBlock "Shell Fractionator" SrcPort 5 Points [45, 0; 0, -5; 65, 0; 0, -5; 90, 0] Branch { DstBlock "y7" DstPort 1 } Branch { Points [0, 20] DstBlock "outputmux" DstPort 1 } } } } Block { BlockType Scope Name "Inputs" Ports [1, 0, 0, 0, 0] Position [540, 455, 570, 485] Floating off Location [267, 263, 591, 502] Open off NumInputPorts "1" TickLabels "on" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "500" YMin "-1" YMax "1" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Outputs" Ports [1, 0, 0, 0, 0] Position [495, 420, 525, 450] Floating off Location [278, 267, 602, 546] Open off NumInputPorts "1" TickLabels "on" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "500" YMin "-6" YMax "6" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType ToWorkspace Name "To Workspace1" Position [490, 287, 535, 303] ForegroundColor "red" ShowName off VariableName "y2" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace3" Position [490, 322, 535, 338] ForegroundColor "lightBlue" ShowName off VariableName "y3" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace4" Position [490, 357, 535, 373] ForegroundColor "magenta" ShowName off VariableName "y5" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace5" Position [490, 392, 535, 408] ForegroundColor "yellow" ShowName off VariableName "y7" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType Constant Name "l1" Position [195, 400, 215, 420] ForegroundColor "magenta" Value "-0.5" } Block { BlockType Constant Name "l2" Position [190, 445, 210, 465] ForegroundColor "yellow" Value "-0.5" } Block { BlockType Constant Name "l5" Position [195, 355, 215, 375] ForegroundColor "lightBlue" Value "0.0" } Block { BlockType ToWorkspace Name "wy1" Position [490, 252, 535, 268] ForegroundColor "green" ShowName off VariableName "y1" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Line { SrcBlock "l2" SrcPort 1 DstBlock "Heavy Oil\nFractionator" DstPort 5 } Line { SrcBlock "Heavy Oil\nFractionator" SrcPort 6 DstBlock "Outputs" DstPort 1 } Line { SrcBlock "Heavy Oil\nFractionator" SrcPort 7 DstBlock "Inputs" DstPort 1 } Line { SrcBlock "Heavy Oil\nFractionator" SrcPort 3 DstBlock "To Workspace3" DstPort 1 } Line { SrcBlock "Heavy Oil\nFractionator" SrcPort 4 DstBlock "To Workspace4" DstPort 1 } Line { SrcBlock "Heavy Oil\nFractionator" SrcPort 1 Points [75, 0] Branch { DstBlock "wy1" DstPort 1 } Branch { Points [5, 0; 0, -55] DstBlock "COntroller" DstPort 2 } } Line { SrcBlock "Heavy Oil\nFractionator" SrcPort 2 Points [75, 0] Branch { DstBlock "To Workspace1" DstPort 1 } Branch { Points [0, -15; 75, 0; 0, -100] DstBlock "COntroller" DstPort 1 } } Line { SrcBlock "l1" SrcPort 1 DstBlock "Heavy Oil\nFractionator" DstPort 4 } Line { SrcBlock "COntroller" SrcPort 1 Points [-40, 0; 0, 140] DstBlock "Heavy Oil\nFractionator" DstPort 2 } Line { SrcBlock "COntroller" SrcPort 2 Points [-25, 0; 0, 70] DstBlock "Heavy Oil\nFractionator" DstPort 1 } Line { SrcBlock "Heavy Oil\nFractionator" SrcPort 5 DstBlock "To Workspace5" DstPort 1 } Line { SrcBlock "l5" SrcPort 1 DstBlock "Heavy Oil\nFractionator" DstPort 3 } Annotation { Position [282, 357] Text "bottoms reflux" } Annotation { Position [278, 399] Text "upper reflux" } Annotation { Position [283, 447] Text "inter reflux" } Annotation { Position [444, 252] Text "top endpoint " } Annotation { Position [447, 288] Text "side endpt" } Annotation { Position [449, 322] Text "top draw temp" } Annotation { Position [446, 355] Text "side draw temp" } Annotation { Position [449, 392] Text "bottoms temp" } } }