⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcp40_on_off.mdl

📁 MATLAB程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
Model {  Name			  "TCP40_ON_OFF"  Version		  4.00  SampleTimeColors	  off  LibraryLinkDisplay	  "none"  WideLines		  off  ShowLineDimensions	  off  ShowPortDataTypes	  off  RecordCoverage	  off  CovPath		  "/"  CovSaveName		  "covdata"  CovNameIncrementing	  off  CovHtmlReporting	  on  BlockNameDataTip	  off  BlockParametersDataTip  off  BlockDescriptionStringDataTip	off  ToolBar		  on  StatusBar		  on  BrowserShowLibraryLinks off  BrowserLookUnderMasks	  off  Created		  "Wed Nov 28 09:07:52 2001"  Creator		  "cslui"  UpdateHistory		  "UpdateHistoryNever"  ModifiedByFormat	  "%<Auto>"  LastModifiedBy	  "cslui"  ModifiedDateFormat	  "%<Auto>"  LastModifiedDate	  "Wed Nov 28 11:41:47 2001"  ModelVersionFormat	  "1.%<AutoIncrement:3>"  ConfigurationManager	  "none"  SimParamPage		  "Solver"  StartTime		  "0.0"  StopTime		  "150"  SolverMode		  "Auto"  Solver		  "ode45"  RelTol		  "1e-3"  AbsTol		  "auto"  Refine		  "1"  MaxStep		  "auto"  MinStep		  "auto"  MaxNumMinSteps	  "-1"  InitialStep		  "auto"  FixedStep		  "auto"  MaxOrder		  5  OutputOption		  "RefineOutputTimes"  OutputTimes		  "[]"  LoadExternalInput	  off  ExternalInput		  "[t, u]"  SaveTime		  on  TimeSaveName		  "tout"  SaveState		  off  StateSaveName		  "xout"  SaveOutput		  on  OutputSaveName	  "yout"  LoadInitialState	  off  InitialState		  "xInitial"  SaveFinalState	  off  FinalStateName	  "xFinal"  SaveFormat		  "Array"  LimitDataPoints	  on  MaxDataPoints		  "1000"  Decimation		  "1"  AlgebraicLoopMsg	  "warning"  MinStepSizeMsg	  "warning"  UnconnectedInputMsg	  "warning"  UnconnectedOutputMsg	  "warning"  UnconnectedLineMsg	  "warning"  InheritedTsInSrcMsg	  "warning"  SingleTaskRateTransMsg  "none"  MultiTaskRateTransMsg	  "error"  IntegerOverflowMsg	  "warning"  CheckForMatrixSingularity "none"  UnnecessaryDatatypeConvMsg "none"  Int32ToFloatConvMsg	  "warning"  SignalLabelMismatchMsg  "none"  LinearizationMsg	  "none"  VectorMatrixConversionMsg "none"  SfunCompatibilityCheckMsg "none"  BlockPriorityViolationMsg "warning"  ArrayBoundsChecking	  "none"  ConsistencyChecking	  "none"  ZeroCross		  on  Profile		  off  SimulationMode	  "normal"  RTWSystemTargetFile	  "grt.tlc"  RTWInlineParameters	  off  RTWRetainRTWFile	  off  RTWTemplateMakefile	  "grt_default_tmf"  RTWMakeCommand	  "make_rtw"  RTWGenerateCodeOnly	  off  TLCProfiler		  off  TLCDebug		  off  TLCCoverage		  off  AccelSystemTargetFile	  "accel.tlc"  AccelTemplateMakefile	  "accel_default_tmf"  AccelMakeCommand	  "make_rtw"  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  ExtModeLogAll		  on  OptimizeBlockIOStorage  on  BufferReuse		  on  ParameterPooling	  on  BlockReductionOpt	  off  BooleanDataType	  off  BlockDefaults {    Orientation		    "right"    ForegroundColor	    "black"    BackgroundColor	    "white"    DropShadow		    off    NamePlacement	    "normal"    FontName		    "Helvetica"    FontSize		    10    FontWeight		    "normal"    FontAngle		    "normal"    ShowName		    on  }  AnnotationDefaults {    HorizontalAlignment	    "center"    VerticalAlignment	    "middle"    ForegroundColor	    "black"    BackgroundColor	    "white"    DropShadow		    off    FontName		    "Helvetica"    FontSize		    10    FontWeight		    "normal"    FontAngle		    "normal"  }  LineDefaults {    FontName		    "Helvetica"    FontSize		    9    FontWeight		    "normal"    FontAngle		    "normal"  }  System {    Name		    "TCP40_ON_OFF"    Location		    [147, 294, 1112, 952]    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		      Step      Name		      "0 to 1"      Position		      [205, 545, 235, 575]      Time		      "120"      Before		      "0"      After		      "1"      SampleTime	      "0"      VectorParams1D	      on    }    Block {      BlockType		      Step      Name		      "1 to 0"      Position		      [210, 390, 240, 420]      Time		      "70"      Before		      "1"      After		      "0"      SampleTime	      "0"      VectorParams1D	      on    }    Block {      BlockType		      Scope      Name		      "Congestion Window\n"      Ports		      [1]      Position		      [825, 204, 855, 236]      Floating		      off      Location		      [854, 667, 1178, 906]      Open		      on      NumInputPorts	      "1"      TickLabels	      "OneTimeTick"      ZoomMode		      "on"      List {	ListType		AxesTitles	axes1			"%<SignalLabel>"      }      Grid		      "on"      TimeRange		      "auto"      YMin		      "0"      YMax		      "30"      SaveToWorkspace	      off      SaveName		      "ScopeData2"      DataFormat	      "StructureWithTime"      LimitDataPoints	      on      MaxDataPoints	      "5000"      Decimation	      "1"      SampleInput	      off      SampleTime	      "0"    }    Block {      BlockType		      Gain      Name		      "Gain"      Position		      [235, 120, 265, 150]      Gain		      "40"      Multiplication	      "Element-wise(K.*u)"      SaturateOnIntegerOverflow	on    }    Block {      BlockType		      Gain      Name		      "Gain1"      Position		      [375, 340, 405, 370]      Gain		      "20"      Multiplication	      "Element-wise(K.*u)"      SaturateOnIntegerOverflow	on    }    Block {      BlockType		      Gain      Name		      "Gain2"      Position		      [375, 485, 405, 515]      Gain		      "20"      Multiplication	      "Element-wise(K.*u)"      SaturateOnIntegerOverflow	on    }    Block {      BlockType		      Product      Name		      "Product"      Ports		      [2, 1]      Position		      [290, 336, 335, 369]      Inputs		      "2"      Multiplication	      "Element-wise(.*)"      SaturateOnIntegerOverflow	on    }    Block {      BlockType		      Product      Name		      "Product1"      Ports		      [2, 1]      Position		      [280, 481, 325, 514]      Inputs		      "2"      Multiplication	      "Element-wise(.*)"      SaturateOnIntegerOverflow	on    }    Block {      BlockType		      SubSystem      Name		      "RED routers"      Ports		      [1, 4]      Position		      [585, 121, 690, 214]      ShowPortLabels	      on      TreatAsAtomicUnit	      off      RTWSystemCode	      "Auto"      RTWFcnNameOpts	      "Auto"      RTWFileNameOpts	      "Auto"      MaskPromptString	      "Router Capacity"      MaskStyleString	      "edit"      MaskTunableValueString  "on"      MaskEnableString	      "on"      MaskVisibilityString    "on"      MaskToolTipString	      "on"      MaskVariables	      "C=@1;"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "1310"      System {	Name			"RED routers"	Location		[377, 78, 1123, 778]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	AutoZoom		on	Block {	  BlockType		  Inport	  Name			  "traffic"	  Position		  [110, 68, 140, 82]	  Port			  "1"	  Interpolate		  on	}	Block {	  BlockType		  Constant	  Name			  "Constant"	  Position		  [110, 125, 140, 155]	  Value			  "C"	  VectorParams1D	  on	}	Block {	  BlockType		  Constant	  Name			  "Constant1"	  Position		  [165, 395, 195, 425]	  Value			  "0.125"	  VectorParams1D	  on	}	Block {	  BlockType		  Gain	  Name			  "Gain"	  Position		  [245, 395, 275, 425]	  Gain			  "-1"	  Multiplication	  "Element-wise(K.*u)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Math	  Name			  "Math\nFunction"	  Ports			  [1, 1]	  Position		  [245, 165, 275, 195]	  Operator		  "reciprocal"	  OutputSignalType	  "auto"	}	Block {	  BlockType		  Product	  Name			  "Product"	  Ports			  [2, 1]	  Position		  [405, 156, 450, 189]	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Product	  Name			  "Product1"	  Ports			  [2, 1]	  Position		  [435, 271, 480, 304]	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Product	  Name			  "Product2"	  Ports			  [2, 1]	  Position		  [435, 431, 480, 464]	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Sum	  Name			  "Sum"	  Ports			  [2, 1]	  Position		  [530, 397, 560, 453]	  IconShape		  "rectangular"	  Inputs		  "++"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Sum	  Name			  "aggregate\ntraffic\n"	  Ports			  [2, 1]	  Position		  [210, 75, 235, 125]	  IconShape		  "rectangular"	  Inputs		  "+|-"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Mux	  Name			  "combine\nx(t) & q(t)"	  Ports			  [2, 1]	  Position		  [375, 491, 380, 529]	  Inputs		  "2"	  DisplayOption		  "bar"	}	Block {	  BlockType		  Integrator	  Name			  "q(t)"	  Ports			  [1, 1]	  Position		  [290, 59, 325, 121]	  ExternalReset		  "none"	  InitialConditionSource  "internal"	  InitialCondition	  "0"	  LimitOutput		  on	  UpperSaturationLimit	  "8000"	  LowerSaturationLimit	  "0"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  MATLABFcn	  Name			  "red dropping \nfunction"	  Position		  [450, 495, 510, 525]	  MATLABFcn		  "red"	  OutputDimensions	  "-1"	  OutputSignalType	  "real"	  Output1D		  on	}	Block {	  BlockType		  Integrator	  Name			  "x(t)"	  Ports			  [1, 1]	  Position		  [210, 265, 240, 295]	  ExternalReset		  "none"	  InitialConditionSource  "internal"	  InitialCondition	  "0"	  LimitOutput		  on	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "0"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Outport	  Name			  "inst queue length"	  Position		  [650, 83, 680, 97]	  Port			  "1"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Block {	  BlockType		  Outport	  Name			  "queueing\ndelay"	  Position		  [655, 168, 685, 182]	  Port			  "2"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Block {	  BlockType		  Outport	  Name			  "avg queue length"	  Position		  [655, 223, 685, 237]	  Port			  "3"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Block {	  BlockType		  Outport	  Name			  "drop prob"	  Position		  [645, 503, 675, 517]	  Port			  "4"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Line {	  SrcBlock		  "traffic"	  SrcPort		  1	  DstBlock		  "aggregate\ntraffic\n"	  DstPort		  1	}	Line {	  SrcBlock		  "Constant"	  SrcPort		  1	  Points		  [20, 0]	  Branch {	    Points		    [0, -30]	    DstBlock		    "aggregate\ntraffic\n"	    DstPort		    2	  }	  Branch {	    Points		    [0, 40]	    DstBlock		    "Math\nFunction"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "aggregate\ntraffic\n"	  SrcPort		  1	  DstBlock		  "q(t)"	  DstPort		  1	}	Line {	  SrcBlock		  "q(t)"	  SrcPort		  1	  Points		  [5, 0]	  Branch {	    Points		    [50, 0]	    Branch {	      DstBlock		      "inst queue length"	      DstPort		      1	    }	    Branch {	      Points		      [0, 365]	      DstBlock		      "Product2"	      DstPort		      2	    }	  }	  Branch {	    Points		    [0, 75]	    Branch {	      DstBlock		      "Product"	      DstPort		      1	    }	    Branch {	      Points		      [0, 355]	      DstBlock		      "combine\nx(t) & q(t)"	      DstPort		      2	    }	  }	}	Line {	  SrcBlock		  "Math\nFunction"	  SrcPort		  1	  DstBlock		  "Product"	  DstPort		  2	}	Line {	  SrcBlock		  "Product"	  SrcPort		  1	  DstBlock		  "queueing\ndelay"	  DstPort		  1	}	Line {	  SrcBlock		  "x(t)"	  SrcPort		  1	  Points		  [0, 0; 40, 0]	  Branch {	    DstBlock		    "Product1"	    DstPort		    1	  }	  Branch {	    Points		    [0, -50]	    DstBlock		    "avg queue length"	    DstPort		    1	  }	  Branch {	    Points		    [0, 220]	    DstBlock		    "combine\nx(t) & q(t)"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Constant1"	  SrcPort		  1	  Points		  [0, 0; 15, 0]	  Branch {	    DstBlock		    "Gain"	    DstPort		    1	  }	  Branch {	    Points		    [0, 30]	    DstBlock		    "Product2"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Gain"	  SrcPort		  1	  Points		  [75, 0; 0, -115]	  DstBlock		  "Product1"	  DstPort		  2	}	Line {	  SrcBlock		  "Product1"	  SrcPort		  1	  Points		  [20, 0; 0, 120]	  DstBlock		  "Sum"	  DstPort		  1	}	Line {	  SrcBlock		  "Product2"	  SrcPort		  1	  Points		  [20, 0; 0, -10]	  DstBlock		  "Sum"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -