Model { Name "good_vs_bad_constant_source" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "300" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" 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 off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_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 "Thu Nov 13 09:49:29 2003" Creator "cslui" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "cslui" ModifiedDateFormat "%" LastModifiedDate "Thu Nov 13 10:05:10 2003" 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 "good_vs_bad_constant_source" Location [73, 254, 1023, 978] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Display Name "Display" Ports [1, 0, 0, 0, 0] Position [775, 120, 865, 150] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display1" Ports [1, 0, 0, 0, 0] Position [675, 320, 765, 350] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Gain Name "Gain" Position [300, 38, 355, 72] Gain "20" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [295, 108, 350, 142] Gain "10" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [295, 173, 350, 207] Gain "15" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain3" Position [300, 238, 355, 272] Gain "30" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain4" Position [305, 313, 360, 347] Gain "1" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain5" Position [300, 393, 355, 427] Gain "2" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "Ls" Position [45, 555, 75, 585] Value "1650" } Block { BlockType Constant Name "Us" Position [45, 505, 75, 535] Value "1750" } Block { BlockType SubSystem Name "Web Server" Ports [3, 1, 0, 0, 0] Position [685, 500, 755, 590] ShowPortLabels on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Web Server" Location [82, 528, 903, 991] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Us" Position [40, 118, 70, 132] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "Ls" Position [40, 193, 70, 207] Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "Aggreate\nrates" Position [40, 263, 70, 277] Port "3" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain2" Position [280, 69, 315, 101] Gain "0.5" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain3" Position [225, 105, 255, 135] Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [380, 96, 425, 129] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [385, 171, 430, 204] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType RelationalOperator Name "Relational\nOperator" Position [135, 102, 165, 133] Operator ">=" } Block { BlockType RelationalOperator Name "Relational\nOperator1" Position [135, 177, 165, 208] Operator "<=" } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [495, 122, 540, 178] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "additive factor" Position [55, 330, 85, 360] Value "0.05" } Block { BlockType Integrator Name "server rate" Ports [1, 1, 0, 0, 0] Position [585, 135, 615, 165] ExternalReset "none" InitialConditionSource "internal" InitialCondition "100" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "Out1" Position [710, 143, 740, 157] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Us" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Ls" SrcPort 1 DstBlock "Relational\nOperator1" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Aggreate\nrates" SrcPort 1 Points [20, 0; 0, -85] Branch { Points [0, -75] DstBlock "Relational\nOperator" DstPort 1 } Branch { DstBlock "Relational\nOperator1" DstPort 1 } } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Relational\nOperator1" SrcPort 1 DstBlock "Product1" DstPort 2 } Line { Labels [1, 0] SrcBlock "additive factor" SrcPort 1 Points [0, -5; 270, 0; 0, -160] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [15, 0; 0, 20] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0; 0, 15] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [15, 0; 0, -20] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "server rate" DstPort 1 } Line { SrcBlock "server rate" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [0, -90; -385, 0; 0, 25] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } } } Block { BlockType Sum Name "aggregate \nsource rate" Ports [6, 1, 0, 0, 0] Position [555, 63, 585, 237] IconShape "rectangular" Inputs "+|+|+|+|+|+" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "aggregated\nworkload" Ports [1, 0, 0, 0, 0] Position [825, 274, 855, 306] Floating off Location [1015, 690, 1339, 929] Open on NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "19.53095429151084" YMin "0" YMax "6437.5" SaveToWorkspace off SaveName "ScopeData2" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType SubSystem Name "constant source router with input 10" Ports [1, 1, 0, 0, 0] Position [115, 236, 250, 274] ShowPortLabels on System { Name "constant source router with input 10" Location [34, 109, 744, 409] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "throttle \nsignal" Position [30, 118, 60, 132] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [430, 155, 460, 185] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [245, 51, 250, 89] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [380, 63, 410, 107] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [145, 110, 175, 140] DelayTime "0.1" InitialInput "0" BufferSize "1024" } Block { BlockType Constant Name "input traffic" Position [45, 45, 75, 75] Value "10" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [305, 54, 335, 86] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [470, 70, 500, 100] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "router's\nrate" Position [655, 78, 685, 92] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "throttle \nsignal" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [40, 0; 0, -45] DstBlock "Mux" DstPort 2 } Line { SrcBlock "input traffic" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "min" DstPort 1 } Line { SrcBlock "min" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "rate of router" DstPort 1 } Line { SrcBlock "rate of router" SrcPort 1 Points [90, 0] Branch { Points [0, 85] DstBlock "Gain" DstPort 1 } Branch { DstBlock "router's\nrate" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-70, 0; 0, -70] DstBlock "Sum" DstPort 2 } Annotation { Position [632, 149] } } } Block { BlockType SubSystem Name "constant source router with input 20" Ports [1, 1, 0, 0, 0] Position [115, 36, 250, 74] ShowPortLabels on System { Name "constant source router with input 20" Location [34, 109, 744, 409] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "throttle \nsignal" Position [30, 118, 60, 132] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [430, 155, 460, 185] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [245, 51, 250, 89] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [380, 63, 410, 107] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [145, 110, 175, 140] DelayTime "0.1" InitialInput "0" BufferSize "1024" } Block { BlockType Constant Name "input traffic" Position [45, 45, 75, 75] Value "20" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [305, 54, 335, 86] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [470, 70, 500, 100] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "router's\nrate" Position [655, 78, 685, 92] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "throttle \nsignal" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [40, 0; 0, -45] DstBlock "Mux" DstPort 2 } Line { SrcBlock "input traffic" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "min" DstPort 1 } Line { SrcBlock "min" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "rate of router" DstPort 1 } Line { SrcBlock "rate of router" SrcPort 1 Points [90, 0] Branch { Points [0, 85] DstBlock "Gain" DstPort 1 } Branch { DstBlock "router's\nrate" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-70, 0; 0, -70] DstBlock "Sum" DstPort 2 } Annotation { Position [632, 149] } } } Block { BlockType SubSystem Name "constant source router with input 25" Ports [1, 1, 0, 0, 0] Position [110, 171, 245, 209] ShowPortLabels on System { Name "constant source router with input 25" Location [34, 109, 744, 409] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "throttle \nsignal" Position [30, 118, 60, 132] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [430, 155, 460, 185] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [245, 51, 250, 89] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [380, 63, 410, 107] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [145, 110, 175, 140] DelayTime "0.1" InitialInput "0" BufferSize "1024" } Block { BlockType Constant Name "input traffic" Position [45, 45, 75, 75] Value "25" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [305, 54, 335, 86] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [470, 70, 500, 100] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "router's\nrate" Position [655, 78, 685, 92] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "throttle \nsignal" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [40, 0; 0, -45] DstBlock "Mux" DstPort 2 } Line { SrcBlock "input traffic" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "min" DstPort 1 } Line { SrcBlock "min" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "rate of router" DstPort 1 } Line { SrcBlock "rate of router" SrcPort 1 Points [90, 0] Branch { Points [0, 85] DstBlock "Gain" DstPort 1 } Branch { DstBlock "router's\nrate" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-70, 0; 0, -70] DstBlock "Sum" DstPort 2 } Annotation { Position [632, 149] } } } Block { BlockType SubSystem Name "constant source router with input 2800" Ports [1, 1, 0, 0, 0] Position [115, 391, 250, 429] ShowPortLabels on System { Name "constant source router with input 2800" Location [34, 109, 744, 409] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "throttle \nsignal" Position [30, 118, 60, 132] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [430, 155, 460, 185] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [245, 51, 250, 89] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [380, 63, 410, 107] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [145, 110, 175, 140] DelayTime "0.1" InitialInput "0" BufferSize "1024" } Block { BlockType Constant Name "input traffic" Position [45, 45, 75, 75] Value "2800" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [305, 54, 335, 86] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [470, 70, 500, 100] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "router's\nrate" Position [655, 78, 685, 92] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "throttle \nsignal" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [40, 0; 0, -45] DstBlock "Mux" DstPort 2 } Line { SrcBlock "input traffic" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "min" DstPort 1 } Line { SrcBlock "min" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "rate of router" DstPort 1 } Line { SrcBlock "rate of router" SrcPort 1 Points [90, 0] Branch { Points [0, 85] DstBlock "Gain" DstPort 1 } Branch { DstBlock "router's\nrate" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-70, 0; 0, -70] DstBlock "Sum" DstPort 2 } Annotation { Position [632, 149] } } } Block { BlockType SubSystem Name "constant source router with input 30" Ports [1, 1, 0, 0, 0] Position [110, 106, 245, 144] ShowPortLabels on System { Name "constant source router with input 30" Location [34, 109, 744, 409] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "throttle \nsignal" Position [30, 118, 60, 132] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [430, 155, 460, 185] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [245, 51, 250, 89] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [380, 63, 410, 107] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [145, 110, 175, 140] DelayTime "0.1" InitialInput "0" BufferSize "1024" } Block { BlockType Constant Name "input traffic" Position [45, 45, 75, 75] Value "30" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [305, 54, 335, 86] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [470, 70, 500, 100] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "router's\nrate" Position [655, 78, 685, 92] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "throttle \nsignal" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [40, 0; 0, -45] DstBlock "Mux" DstPort 2 } Line { SrcBlock "input traffic" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "min" DstPort 1 } Line { SrcBlock "min" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "rate of router" DstPort 1 } Line { SrcBlock "rate of router" SrcPort 1 Points [90, 0] Branch { Points [0, 85] DstBlock "Gain" DstPort 1 } Branch { DstBlock "router's\nrate" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-70, 0; 0, -70] DstBlock "Sum" DstPort 2 } Annotation { Position [632, 149] } } } Block { BlockType SubSystem Name "constant source router with input 4000" Ports [1, 1, 0, 0, 0] Position [115, 311, 250, 349] ShowPortLabels on System { Name "constant source router with input 4000" Location [34, 109, 744, 409] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "throttle \nsignal" Position [30, 118, 60, 132] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [430, 155, 460, 185] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [245, 51, 250, 89] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [380, 63, 410, 107] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [145, 110, 175, 140] DelayTime "0.1" InitialInput "0" BufferSize "1024" } Block { BlockType Constant Name "input traffic" Position [45, 45, 75, 75] Value "4000" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [305, 54, 335, 86] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [470, 70, 500, 100] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "router's\nrate" Position [655, 78, 685, 92] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "throttle \nsignal" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [40, 0; 0, -45] DstBlock "Mux" DstPort 2 } Line { SrcBlock "input traffic" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "min" DstPort 1 } Line { SrcBlock "min" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "rate of router" DstPort 1 } Line { SrcBlock "rate of router" SrcPort 1 Points [90, 0] Branch { Points [0, 85] DstBlock "Gain" DstPort 1 } Branch { DstBlock "router's\nrate" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-70, 0; 0, -70] DstBlock "Sum" DstPort 2 } Annotation { Position [632, 149] } } } Block { BlockType Scope Name "output source 1" Ports [1, 0, 0, 0, 0] Position [380, 64, 410, 96] Floating off Location [1003, 79, 1327, 318] Open on NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "19.53095429151084" YMin "-1" YMax "500" SaveToWorkspace off SaveName "ScopeData2" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "output source 5" Ports [1, 0, 0, 0, 0] Position [385, 334, 415, 366] Floating off Location [979, 367, 1303, 606] Open on NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "19.53095429151084" YMin "0" YMax "6437.5" SaveToWorkspace off SaveName "ScopeData2" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "output source 6" Ports [1, 0, 0, 0, 0] Position [395, 419, 425, 451] Floating off Location [1273, 386, 1597, 625] Open on NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "19.53095429151084" YMin "0" YMax "6437.5" SaveToWorkspace off SaveName "ScopeData2" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "throttle rate\n" Ports [1, 0, 0, 0, 0] Position [815, 174, 845, 206] Floating off Location [895, 383, 1219, 622] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData1" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Line { SrcBlock "constant source router with input 20" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "constant source router with input 30" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "constant source router with input 25" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "constant source router with input 10" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "constant source router with input 4000" SrcPort 1 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "constant source router with input 2800" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Us" SrcPort 1 Points [590, 0] DstBlock "Web Server" DstPort 1 } Line { SrcBlock "Ls" SrcPort 1 Points [550, 0; 0, -25] DstBlock "Web Server" DstPort 2 } Line { SrcBlock "Web Server" SrcPort 1 Points [25, 0; 0, -60] Branch { Points [0, -10; -740, 0; 0, -65] Branch { Points [0, -80] Branch { Points [0, -75; 5, 0] Branch { Points [-5, 0; 0, -90] Branch { Points [0, -40] Branch { Points [0, -70] DstBlock "constant source router with input 2" "0" DstPort 1 } Branch { DstBlock "constant source router with input 3" "0" DstPort 1 } } Branch { Points [0, 25] DstBlock "constant source router with input 25" DstPort 1 } } Branch { DstBlock "constant source router with input 10" DstPort 1 } } Branch { DstBlock "constant source router with input 4000" DstPort 1 } } Branch { DstBlock "constant source router with input 2800" DstPort 1 } } Branch { Points [10, 0; 0, -295] Branch { DstBlock "throttle rate\n" DstPort 1 } Branch { Points [-85, 0; 0, -55] DstBlock "Display" DstPort 1 } } } Line { SrcBlock "aggregate \nsource rate" SrcPort 1 Points [25, 0; 0, 140] Branch { Points [0, 50] Branch { Points [0, 235] DstBlock "Web Server" DstPort 3 } Branch { Points [45, 0] DstBlock "Display1" DstPort 1 } } Branch { Labels [1, 0] DstBlock "aggregated\nworkload" DstPort 1 } } Line { SrcBlock "Gain1" SrcPort 1 Points [170, 0; 0, -20] DstBlock "aggregate \nsource rate" DstPort 2 } Line { SrcBlock "Gain2" SrcPort 1 Points [130, 0; 0, -40; 5, 0; 0, -15] DstBlock "aggregate \nsource rate" DstPort 3 } Line { SrcBlock "Gain3" SrcPort 1 Points [135, 0; 0, -90] DstBlock "aggregate \nsource rate" DstPort 4 } Line { SrcBlock "Gain" SrcPort 1 Points [0, 0] Branch { Points [130, 0; 0, 20] DstBlock "aggregate \nsource rate" DstPort 1 } Branch { Points [0, 25] DstBlock "output source 1" DstPort 1 } } Line { SrcBlock "Gain4" SrcPort 1 Points [5, 0] Branch { Points [125, 0; 0, 30; 10, 0; 0, -165] DstBlock "aggregate \nsource rate" DstPort 5 } Branch { DstBlock "output source 5" DstPort 1 } } Line { SrcBlock "Gain5" SrcPort 1 Points [10, 0] Branch { Points [120, 0; 0, 30; 35, 0; 0, -215] DstBlock "aggregate \nsource rate" DstPort 6 } Branch { Points [0, 25] DstBlock "output source 6" DstPort 1 } } } }