Model { Name "yau_fair_throttle" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "180" 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 off 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 "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on Created "Mon Dec 17 11:08:56 2001" Creator "cslui" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "cslui" ModifiedDateFormat "%" LastModifiedDate "Thu Nov 13 10:15:58 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 "yau_fair_throttle" Location [4, 193, 970, 853] 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 [705, 105, 795, 135] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display1" Ports [1, 0, 0, 0, 0] Position [605, 305, 695, 335] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Gain Name "Gain" Position [295, 18, 350, 52] Gain "70" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [290, 99, 340, 131] Gain "20" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [295, 179, 340, 211] Gain "20" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain3" Position [360, 284, 410, 316] Gain "10" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain4" Position [370, 380, 420, 410] Gain "10" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "Ls" Position [40, 535, 70, 565] Value "1050" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [290, 281, 335, 314] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [295, 376, 340, 409] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Step Name "Step" Position [205, 315, 235, 345] Time "50" Before "1" After "0" SampleTime "0" } Block { BlockType Step Name "Step1" Position [205, 425, 235, 455] Time "100" Before "0" After "1" SampleTime "0" } Block { BlockType ToWorkspace Name "To Workspace" Position [755, 355, 815, 385] VariableName "exp3C_load" Buffer "1000" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace1" Position [800, 195, 860, 225] VariableName "exp3C_rate" Buffer "1000" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType Constant Name "Us" Position [40, 485, 70, 515] Value "1100" } Block { BlockType SubSystem Name "Web Server" Ports [3, 1, 0, 0, 0] Position [615, 485, 685, 575] ShowPortLabels on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Web Server" Location [82, 528, 903, 991] Open on 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 "10" 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 [5, 1, 0, 0, 0] Position [470, 50, 495, 200] IconShape "rectangular" Inputs "+|+|+|+|+" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "aggregated\nworkload" Ports [1, 0, 0, 0, 0] Position [755, 259, 785, 291] Floating off Location [904, 90, 1228, 329] 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 disable at t=50" Ports [1, 1, 0, 0, 0] Position [110, 256, 245, 294] ShowPortLabels on System { Name "constant source router disable at t=50" Location [71, 99, 781, 399] 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 enable at t=100" Ports [1, 1, 0, 0, 0] Position [115, 366, 250, 404] ShowPortLabels on System { Name "constant source router enable at t=100" Location [68, 71, 778, 371] 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 delay" Ports [1, 1, 0, 0, 0] Position [110, 16, 245, 54] ShowPortLabels on System { Name "constant source router with delay" 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 "sine source router with dealy " Ports [1, 1, 0, 0, 0] Position [110, 99, 245, 131] ShowPortLabels on System { Name "sine source router with dealy " Location [318, 139, 1170, 439] 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 [45, 123, 75, 137] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Constant" Position [50, 70, 80, 100] Value "30" } Block { BlockType Gain Name "Gain" Position [445, 160, 475, 190] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [260, 56, 265, 94] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [210, 14, 240, 46] Floating off Location [897, 651, 1221, 890] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData5" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sin Name "Sine Wave" Position [50, 20, 80, 50] Amplitude "10" Frequency "0.4" Phase "0" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [395, 68, 425, 112] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [120, 42, 150, 98] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [160, 115, 190, 145] DelayTime "0.05" InitialInput "0" BufferSize "1024" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [320, 59, 350, 91] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [485, 75, 515, 105] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Scope Name "router output rate" Ports [1, 0, 0, 0, 0] Position [300, 139, 330, 171] Floating off Location [909, 134, 1233, 373] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData3" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Outport Name "router's\nrate" Position [670, 83, 700, 97] 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 "Sum1" SrcPort 1 Points [25, 0] Branch { Points [10, 0; 0, 10; 25, 0] Branch { DstBlock "Mux" DstPort 1 } Branch { Points [0, 90] DstBlock "router output rate" DstPort 1 } } Branch { Points [0, -40] DstBlock "Scope" 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 [0, 0; 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 } Line { SrcBlock "Sine Wave" SrcPort 1 Points [20, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 Points [20, 0] DstBlock "Sum1" DstPort 2 } Annotation { Position [647, 154] } } } Block { BlockType SubSystem Name "square source router with delay" Ports [1, 1, 0, 0, 0] Position [105, 181, 250, 209] ShowPortLabels on System { Name "square source router with delay" Location [218, 73, 962, 373] 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 [45, 133, 75, 147] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Constant" Position [50, 80, 80, 110] Value "30" } Block { BlockType Gain Name "Gain" Position [445, 170, 475, 200] Orientation "left" NamePlacement "alternate" Gain "-1" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [260, 66, 265, 104] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [290, 174, 320, 206] Floating off Location [927, 736, 1251, 975] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData4" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [395, 78, 425, 122] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [120, 37, 150, 93] ShowName off IconShape "rectangular" Inputs "+|+" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Transport\nDelay" Position [160, 125, 190, 155] DelayTime "0.05" InitialInput "0" BufferSize "1024" } Block { BlockType MinMax Name "min" Ports [1, 1, 0, 0, 0] Position [320, 69, 350, 101] Function "min" Inputs "1" } Block { BlockType Integrator Name "rate of router" Ports [1, 1, 0, 0, 0] Position [485, 85, 515, 115] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType SignalGenerator Name "square" Position [50, 15, 80, 45] WaveForm "square" Amplitude "20" Frequency "0.05" Units "Hertz" } Block { BlockType Outport Name "router's\nrate" Position [670, 93, 700, 107] 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 "Sum1" SrcPort 1 Points [35, 0; 0, 10; 30, 0] Branch { DstBlock "Mux" DstPort 1 } Branch { Points [0, 115] DstBlock "Scope" 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 [0, 0; 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 } Line { SrcBlock "Constant" SrcPort 1 Points [20, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "square" SrcPort 1 Points [20, 0] DstBlock "Sum1" DstPort 1 } Annotation { Position [647, 164] } } } Block { BlockType Scope Name "throttle rate\n" Ports [1, 0, 0, 0, 0] Position [745, 159, 775, 191] Floating off Location [895, 383, 1219, 622] Open on 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 "Us" SrcPort 1 DstBlock "Web Server" DstPort 1 } Line { SrcBlock "Ls" SrcPort 1 Points [485, 0; 0, -20] DstBlock "Web Server" DstPort 2 } Line { SrcBlock "Web Server" SrcPort 1 Points [25, 0; 0, -60] Branch { Points [-640, 0; 0, -85] Branch { Points [0, -110] Branch { Points [0, -80] Branch { Points [0, -80] Branch { Points [0, -80] DstBlock "constant source router with delay" DstPort 1 } Branch { DstBlock "sine source router with dealy " DstPort 1 } } Branch { DstBlock "square source router with delay" DstPort 1 } } Branch { DstBlock "constant source router disable at t=50" DstPort 1 } } Branch { DstBlock "constant source router enable at t=100" DstPort 1 } } Branch { Points [10, 0; 0, -255] Branch { Points [0, -40] Branch { DstBlock "throttle rate\n" DstPort 1 } Branch { Points [-85, 0; 0, -55] DstBlock "Display" DstPort 1 } } Branch { Points [60, 0] DstBlock "To Workspace1" DstPort 1 } } } Line { SrcBlock "constant source router with delay" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "sine source router with dealy " SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [50, 0; 0, 30] DstBlock "aggregate \nsource rate" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [20, 0; 0, -20] DstBlock "aggregate \nsource rate" DstPort 2 } Line { SrcBlock "aggregate \nsource rate" SrcPort 1 Points [30, 0; 0, 150] Branch { Points [0, 45] Branch { Points [0, 240] DstBlock "Web Server" DstPort 3 } Branch { DstBlock "Display1" DstPort 1 } } Branch { Points [170, 0] Branch { DstBlock "aggregated\nworkload" DstPort 1 } Branch { Points [0, 95] DstBlock "To Workspace" DstPort 1 } } } Line { SrcBlock "square source router with delay" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "constant source router disable at t=50" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Step" SrcPort 1 Points [35, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "constant source router enable at t=100" SrcPort 1 DstBlock "Product1" DstPort 1 } Line { SrcBlock "Step1" SrcPort 1 Points [35, 0; 0, -40] DstBlock "Product1" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [60, 0; 0, -70] DstBlock "aggregate \nsource rate" DstPort 3 } Line { SrcBlock "Gain3" SrcPort 1 Points [15, 0; 0, -145] DstBlock "aggregate \nsource rate" DstPort 4 } Line { SrcBlock "Gain4" SrcPort 1 Points [20, 0; 0, -210] DstBlock "aggregate \nsource rate" DstPort 5 } } }