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

📄 tcp40_on_off.mdl

📁 MATLAB程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  DstPort		  2	}	Line {	  SrcBlock		  "Sum"	  SrcPort		  1	  Points		  [10, 0; 0, -45; -410, 0; 0, -100]	  DstBlock		  "x(t)"	  DstPort		  1	}	Line {	  SrcBlock		  "combine\nx(t) & q(t)"	  SrcPort		  1	  DstBlock		  "red dropping \nfunction"	  DstPort		  1	}	Line {	  SrcBlock		  "red dropping \nfunction"	  SrcPort		  1	  DstBlock		  "drop prob"	  DstPort		  1	}      }    }    Block {      BlockType		      Sum      Name		      "Sum"      Ports		      [2, 1]      Position		      [650, 280, 670, 320]      Orientation	      "left"      NamePlacement	      "alternate"      ShowName		      off      IconShape		      "rectangular"      Inputs		      "+|+"      SaturateOnIntegerOverflow	off    }    Block {      BlockType		      SubSystem      Name		      "TCP source"      Ports		      [2, 2]      Position		      [105, 106, 185, 219]      ShowPortLabels	      on      TreatAsAtomicUnit	      off      RTWSystemCode	      "Auto"      RTWFcnNameOpts	      "Auto"      RTWFileNameOpts	      "Auto"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      System {	Name			"TCP source"	Location		[257, 454, 1072, 975]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	AutoZoom		on	Block {	  BlockType		  Inport	  Name			  "lost\nprob"	  Position		  [140, 103, 170, 117]	  NamePlacement		  "alternate"	  Port			  "1"	  Interpolate		  on	}	Block {	  BlockType		  Inport	  Name			  "RTT"	  Position		  [140, 158, 170, 172]	  Port			  "2"	  Interpolate		  on	}	Block {	  BlockType		  Math	  Name			  "1/rtt"	  Ports			  [1, 1]	  Position		  [210, 150, 240, 180]	  Operator		  "reciprocal"	  OutputSignalType	  "auto"	}	Block {	  BlockType		  Sum	  Name			  "AIMD"	  Ports			  [2, 1]	  Position		  [365, 207, 385, 243]	  IconShape		  "rectangular"	  Inputs		  "+|-"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Gain	  Name			  "Gain"	  Position		  [465, 435, 495, 465]	  Orientation		  "left"	  Gain			  "1/2"	  Multiplication	  "Element-wise(K.*u)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Product	  Name			  "Product"	  Ports			  [2, 1]	  Position		  [660, 81, 705, 114]	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Saturate	  Name			  "Saturation"	  Position		  [580, 75, 610, 105]	  UpperLimit		  "500"	  LowerLimit		  "1"	  LinearizeAsGain	  on	}	Block {	  BlockType		  VariableTransportDelay	  Name			  "Variable\nTransport Delay"	  Position		  [545, 345, 580, 380]	  Orientation		  "left"	  NamePlacement		  "alternate"	  MaximumDelay		  "10"	  InitialInput		  "0"	  MaximumPoints		  "20000"	  PadeOrder		  "0"	}	Block {	  BlockType		  Product	  Name			  "decrease term"	  Ports			  [2, 1]	  Position		  [375, 425, 425, 460]	  Orientation		  "left"	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Constant	  Name			  "dt"	  Position		  [210, 90, 240, 120]	  Value			  "1"	  VectorParams1D	  on	}	Block {	  BlockType		  Product	  Name			  "dt/rtt"	  Ports			  [2, 1]	  Position		  [275, 111, 320, 144]	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Product	  Name			  "pkt lost rate"	  Ports			  [2, 1]	  Position		  [650, 345, 705, 380]	  Orientation		  "left"	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Integrator	  Name			  "window\n"	  Ports			  [1, 1]	  Position		  [445, 75, 475, 105]	  ExternalReset		  "none"	  InitialConditionSource  "internal"	  InitialCondition	  "0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Outport	  Name			  "BW"	  Position		  [745, 93, 775, 107]	  Port			  "1"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Block {	  BlockType		  Outport	  Name			  "window"	  Position		  [745, 208, 775, 222]	  Port			  "2"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Line {	  SrcBlock		  "window\n"	  SrcPort		  1	  Points		  [0, 0; 35, 0]	  Branch {	    Points		    [0, 360]	    DstBlock		    "Gain"	    DstPort		    1	  }	  Branch {	    DstBlock		    "Saturation"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Gain"	  SrcPort		  1	  DstBlock		  "decrease term"	  DstPort		  2	}	Line {	  SrcBlock		  "decrease term"	  SrcPort		  1	  Points		  [-45, 0; 0, -210]	  DstBlock		  "AIMD"	  DstPort		  2	}	Line {	  SrcBlock		  "dt"	  SrcPort		  1	  Points		  [15, 0]	  DstBlock		  "dt/rtt"	  DstPort		  1	}	Line {	  SrcBlock		  "1/rtt"	  SrcPort		  1	  Points		  [0, 0; 5, 0]	  Branch {	    Points		    [10, 0]	    DstBlock		    "dt/rtt"	    DstPort		    2	  }	  Branch {	    Points		    [0, -5; 385, 0; 0, -55]	    DstBlock		    "Product"	    DstPort		    2	  }	}	Line {	  SrcBlock		  "dt/rtt"	  SrcPort		  1	  Points		  [0, 75]	  DstBlock		  "AIMD"	  DstPort		  1	}	Line {	  SrcBlock		  "AIMD"	  SrcPort		  1	  Points		  [15, 0; 0, -135]	  DstBlock		  "window\n"	  DstPort		  1	}	Line {	  SrcBlock		  "RTT"	  SrcPort		  1	  Points		  [0, 0; 15, 0]	  Branch {	    DstBlock		    "1/rtt"	    DstPort		    1	  }	  Branch {	    Points		    [0, 235; 415, 0; 0, -30]	    DstBlock		    "Variable\nTransport Delay"	    DstPort		    2	  }	}	Line {	  SrcBlock		  "Saturation"	  SrcPort		  1	  Points		  [5, 0]	  Branch {	    DstBlock		    "Product"	    DstPort		    1	  }	  Branch {	    Points		    [0, 125]	    DstBlock		    "window"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Product"	  SrcPort		  1	  Points		  [10, 0]	  Branch {	    DstBlock		    "BW"	    DstPort		    1	  }	  Branch {	    Points		    [0, 130]	    DstBlock		    "pkt lost rate"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "lost\nprob"	  SrcPort		  1	  Points		  [5, 0; 0, 300; 575, 0; 0, -40]	  DstBlock		  "pkt lost rate"	  DstPort		  2	}	Line {	  SrcBlock		  "pkt lost rate"	  SrcPort		  1	  Points		  [-30, 0; 0, -10]	  DstBlock		  "Variable\nTransport Delay"	  DstPort		  1	}	Line {	  SrcBlock		  "Variable\nTransport Delay"	  SrcPort		  1	  Points		  [-70, 0; 0, 70]	  DstBlock		  "decrease term"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "TCP source1"      Ports		      [2, 2]      Position		      [100, 316, 180, 429]      ShowPortLabels	      on      TreatAsAtomicUnit	      off      RTWSystemCode	      "Auto"      RTWFcnNameOpts	      "Auto"      RTWFileNameOpts	      "Auto"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      System {	Name			"TCP source1"	Location		[257, 454, 1072, 975]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	AutoZoom		on	Block {	  BlockType		  Inport	  Name			  "lost\nprob"	  Position		  [140, 103, 170, 117]	  NamePlacement		  "alternate"	  Port			  "1"	  Interpolate		  on	}	Block {	  BlockType		  Inport	  Name			  "RTT"	  Position		  [140, 158, 170, 172]	  Port			  "2"	  Interpolate		  on	}	Block {	  BlockType		  Math	  Name			  "1/rtt"	  Ports			  [1, 1]	  Position		  [210, 150, 240, 180]	  Operator		  "reciprocal"	  OutputSignalType	  "auto"	}	Block {	  BlockType		  Sum	  Name			  "AIMD"	  Ports			  [2, 1]	  Position		  [365, 207, 385, 243]	  IconShape		  "rectangular"	  Inputs		  "+|-"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Gain	  Name			  "Gain"	  Position		  [465, 435, 495, 465]	  Orientation		  "left"	  Gain			  "1/2"	  Multiplication	  "Element-wise(K.*u)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Product	  Name			  "Product"	  Ports			  [2, 1]	  Position		  [660, 81, 705, 114]	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Saturate	  Name			  "Saturation"	  Position		  [580, 75, 610, 105]	  UpperLimit		  "500"	  LowerLimit		  "1"	  LinearizeAsGain	  on	}	Block {	  BlockType		  VariableTransportDelay	  Name			  "Variable\nTransport Delay"	  Position		  [545, 345, 580, 380]	  Orientation		  "left"	  NamePlacement		  "alternate"	  MaximumDelay		  "10"	  InitialInput		  "0"	  MaximumPoints		  "20000"	  PadeOrder		  "0"	}	Block {	  BlockType		  Product	  Name			  "decrease term"	  Ports			  [2, 1]	  Position		  [375, 425, 425, 460]	  Orientation		  "left"	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Constant	  Name			  "dt"	  Position		  [210, 90, 240, 120]	  Value			  "1"	  VectorParams1D	  on	}	Block {	  BlockType		  Product	  Name			  "dt/rtt"	  Ports			  [2, 1]	  Position		  [275, 111, 320, 144]	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Product	  Name			  "pkt lost rate"	  Ports			  [2, 1]	  Position		  [650, 345, 705, 380]	  Orientation		  "left"	  Inputs		  "2"	  Multiplication	  "Element-wise(.*)"	  SaturateOnIntegerOverflow on	}	Block {	  BlockType		  Integrator	  Name			  "window\n"	  Ports			  [1, 1]	  Position		  [445, 75, 475, 105]	  ExternalReset		  "none"	  InitialConditionSource  "internal"	  InitialCondition	  "0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Outport	  Name			  "BW"	  Position		  [745, 93, 775, 107]	  Port			  "1"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Block {	  BlockType		  Outport	  Name			  "window"	  Position		  [745, 208, 775, 222]	  Port			  "2"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Line {	  SrcBlock		  "window\n"	  SrcPort		  1	  Points		  [0, 0; 35, 0]	  Branch {	    Points		    [0, 360]	    DstBlock		    "Gain"	    DstPort		    1	  }	  Branch {	    DstBlock		    "Saturation"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Gain"	  SrcPort		  1	  DstBlock		  "decrease term"	  DstPort		  2	}	Line {	  SrcBlock		  "decrease term"	  SrcPort		  1	  Points		  [-45, 0; 0, -210]	  DstBlock		  "AIMD"	  DstPort		  2	}	Line {	  SrcBlock		  "dt"	  SrcPort		  1	  Points		  [15, 0]	  DstBlock		  "dt/rtt"	  DstPort		  1	}	Line {	  SrcBlock		  "1/rtt"	  SrcPort		  1	  Points		  [0, 0; 5, 0]	  Branch {	    Points		    [10, 0]	    DstBlock		    "dt/rtt"	    DstPort		    2	  }	  Branch {	    Points		    [0, -5; 385, 0; 0, -55]	    DstBlock		    "Product"	    DstPort		    2	  }	}	Line {	  SrcBlock		  "dt/rtt"	  SrcPort		  1	  Points		  [0, 75]	  DstBlock		  "AIMD"	  DstPort		  1	}	Line {	  SrcBlock		  "AIMD"	  SrcPort		  1	  Points		  [15, 0; 0, -135]	  DstBlock		  "window\n"	  DstPort		  1	}	Line {	  SrcBlock		  "RTT"	  SrcPort		  1	  Points		  [0, 0; 15, 0]	  Branch {	    DstBlock		    "1/rtt"	    DstPort		    1	  }	  Branch {	    Points		    [0, 235; 415, 0; 0, -30]	    DstBlock		    "Variable\nTransport Delay"	    DstPort		    2	  }	}	Line {

⌨️ 快捷键说明

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