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

📄 umc.mdl

📁 Matlab: simulink mdl files for some basic queues.
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	Block {
	  BlockType		  Reference
	  Name			  "Event-Based\nRandom Number"
	  Ports			  [0, 1]
	  Position		  [575, 50, 645, 100]
	  Orientation		  "left"
	  SourceBlock		  "simeventsgenerators1/Signal Generators/Event-Based\nRandom Number"
	  SourceType		  "Event-Based Random Number"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  distribution		  "Exponential"
	  meanExp		  "service_time"
	  minUnif		  "1"
	  maxUnif		  "1"
	  pOneBern		  "0.25"
	  pSuccessBino		  "0.5"
	  numTrialBino		  "1"
	  meanNorm		  "0"
	  stdNorm		  "1"
	  minTri		  "1"
	  maxTri		  "3"
	  modeTri		  "2"
	  thresholdLogn		  "0"
	  scaleLogn		  "1"
	  shapeLogn		  "1"
	  pSuccessGeo		  "0.5"
	  meanPoiss		  "1"
	  thresholdLogl		  "0"
	  scaleLogl		  "1"
	  thresholdGam		  "0"
	  scaleGam		  "1"
	  shapeGam		  "1"
	  minBeta		  "0"
	  maxBeta		  "1"
	  shape1Beta		  "1"
	  shape2Beta		  "1"
	  minUnid		  "0"
	  maxUnid		  "1"
	  numValueUnid		  "2"
	  thresholdWbl		  "0"
	  scaleWbl		  "1"
	  shapeWbl		  "1"
	  valueVecCont		  "[0 1]"
	  cdfVecCont		  "[0 1]"
	  valueVecDisc		  "[0 1]"
	  probVecDisc		  "[0.5 0.5]"
	  seed			  "72524"
	  IsProcessed		  on
	  isConnected		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIFO Queue"
	  Ports			  [0, 3, 0, 0, 0, 1, 1]
	  Position		  [220, 118, 295, 217]
	  Priority		  "1"
	  UserDataPersistent	  on
	  UserData		  "DataTag3"
	  SourceBlock		  "simeventsqueue1/FIFO Queue"
	  SourceType		  "FIFO Queue"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Capacity		  "Inf"
	  EnableTOPort		  off
	  StatNumberDeparted	  "Off"
	  StatNumberInBlock	  "On"
	  StatPendingEntity	  "Off"
	  StatAverageWait	  "On"
	  StatAverageQueueLength  "On"
	  StatNumberTimedout	  "Off"
	}
	Block {
	  BlockType		  Reference
	  Name			  "N-Server"
	  Ports			  [1, 2, 0, 0, 0, 1, 1]
	  Position		  [570, 148, 655, 222]
	  Priority		  "1"
	  AttributesFormatString  "Number of servers = %<NumberOfServers>"
	  UserDataPersistent	  on
	  UserData		  "DataTag4"
	  FontSize		  12
	  SourceBlock		  "simeventsserver1/N-Server"
	  SourceType		  "N-Server"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  NumberOfServers	  "c"
	  ServiceTimeFrom	  "Signal port t"
	  ServiceTime		  "5"
	  AttributeName		  "ServiceTime"
	  PriorityServiceCompletion "500"
	  EnableTOPort		  off
	  StatNumberDeparted	  "Off"
	  StatNumberInBlock	  "Off"
	  StatPendingEntity	  "Off"
	  StatNumberPending	  "Off"
	  StatAverageWait	  "On"
	  StatUtilization	  "On"
	  StatNumberTimedout	  "Off"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Queue Length"
	  Ports			  [1]
	  Position		  [350, 229, 410, 271]
	  Priority		  "1"
	  UserDataPersistent	  on
	  UserData		  "DataTag5"
	  SourceBlock		  "simeventssink1/Signal Scope"
	  SourceType		  "Signal Scope"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PlotType		  "Stair"
	  InputType		  "Signal"
	  NumInputs		  "1"
	  AttributeNameY	  "Count"
	  XInputOptionSignal	  "Event time"
	  XInputOptionEntity	  "Event time"
	  AttributeNameX	  "Count"
	  EnableEntityOutport	  on
	  XMin			  "0"
	  XMax			  "10"
	  XLimitExceededOption	  "Stretch axis limits"
	  YMin			  "0"
	  YMax			  "10"
	  YLimitExceededOption	  "Stretch axis limits"
	  AxisGrid		  on
	  AxisLegend		  "off"
	  LineDisables		  " "
	  LineColors		  "b"
	  LineStyles		  "-"
	  LineMarkers		  "."
	  OpenScopeAtSimStart	  on
	  Title			  " "
	  YLabel		  " "
	  XLabel		  "Time"
	  FigurePosition	  "des_figposition([5 60 25 25])"
	  AxisZoom		  off
	  DataStoreOption	  "Limited"
	  DataPointsLimit	  "10000"
	  StatNumberArrived	  "Off"
	  ShowCountPlotted	  on
	  ShowToolbar		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Read Timer"
	  Ports			  [0, 1, 0, 0, 0, 1, 1]
	  Position		  [835, 184, 890, 231]
	  Priority		  "0"
	  UserDataPersistent	  on
	  UserData		  "DataTag6"
	  SourceBlock		  "simeventstiming1/Read Timer"
	  SourceType		  "Read Timer"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  TimerTag		  "T1"
	  TimerModeOption	  "Error"
	  TimerStop		  off
	  StatNumberDeparted	  "Off"
	  StatTimerNumberDeparted "Off"
	  StatTimeElapsed	  "Off"
	  StatAverageTimeElapsed  "On"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Server Utilization"
	  Ports			  [1]
	  Position		  [895, 74, 955, 116]
	  Priority		  "1"
	  UserDataPersistent	  on
	  UserData		  "DataTag7"
	  SourceBlock		  "simeventssink1/Signal Scope"
	  SourceType		  "Signal Scope"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PlotType		  "Stair"
	  InputType		  "Signal"
	  NumInputs		  "1"
	  AttributeNameY	  "Count"
	  XInputOptionSignal	  "Event time"
	  XInputOptionEntity	  "Event time"
	  AttributeNameX	  "Count"
	  EnableEntityOutport	  on
	  XMin			  "0"
	  XMax			  "10"
	  XLimitExceededOption	  "Stretch axis limits"
	  YMin			  "0"
	  YMax			  "10"
	  YLimitExceededOption	  "Stretch axis limits"
	  AxisGrid		  on
	  AxisLegend		  "off"
	  LineDisables		  " "
	  LineColors		  "b"
	  LineStyles		  "-"
	  LineMarkers		  "."
	  OpenScopeAtSimStart	  on
	  Title			  " "
	  YLabel		  " "
	  XLabel		  "Time"
	  FigurePosition	  "des_figposition([5 60 25 25])"
	  AxisZoom		  off
	  DataStoreOption	  "Limited"
	  DataPointsLimit	  "10000"
	  StatNumberArrived	  "Off"
	  ShowCountPlotted	  off
	  ShowToolbar		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Start Timer"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [130, 141, 185, 199]
	  Priority		  "0"
	  UserDataPersistent	  on
	  UserData		  "DataTag8"
	  SourceBlock		  "simeventstiming1/Start Timer"
	  SourceType		  "Start Timer"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  TimerTag		  "T1"
	  TimerStartedOption	  "Warn and continue"
	  StatNumberDeparted	  "Off"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Time-Based\nEntity Generator"
	  Ports			  [0, 0, 0, 0, 0, 0, 1]
	  Position		  [15, 143, 75, 197]
	  Priority		  "1"
	  UserDataPersistent	  on
	  UserData		  "DataTag9"
	  DialogController	  "des_ddg_create"
	  DialogControllerArgs	  "DataTag10"
	  SourceBlock		  "simeventsgenerators1/Entity Generators/Time-Based\nEntity Generator"
	  SourceType		  "Time-Based Entity Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  GenerateEntitiesUpon	  "Intergeneration time from dialog"
	  Distribution		  "Uniform"
	  Minimum		  "min"
	  Maximum		  "max"
	  Mean			  "1"
	  InitialSeed		  "12345"
	  Period		  "1"
	  PriorityEntityGeneration "300"

⌨️ 快捷键说明

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