📄 muc.mdl
字号:
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 [685, 559, 745, 601]
Priority "0"
UserDataPersistent on
UserData "DataTag5"
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 [690, 434, 750, 476]
Priority "1"
UserDataPersistent on
UserData "DataTag6"
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 [115, 154, 170, 196]
Priority "0"
UserDataPersistent on
UserData "DataTag7"
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 "System waiting time"
Ports [1]
Position [795, 507, 845, 543]
Priority "1"
UserDataPersistent on
UserData "DataTag8"
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 "Time-Based\nEntity Generator"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [25, 153, 85, 197]
Priority "1"
AttributesFormatString "Distribution = %<Distribution>\\nMean = %<Mean>"
UserDataPersistent on
UserData "DataTag9"
DialogController "des_ddg_create"
DialogControllerArgs "DataTag10"
FontSize 12
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 "Exponential"
Minimum "0"
Maximum "1"
Mean "lambda"
InitialSeed "67437"
Period "1"
PriorityEntityGeneration "300"
GenerateEntityAtSimulationStart off
ResponseWhenBlocked "Pause generation"
ResponseWhenUnblocked "Immediate restart"
EntityType "Standard"
StatNumberDeparted "Off"
StatPendingEntity "Off"
StatAverageIntergenerationTime "Off"
}
Block {
BlockType Outport
Name "Server Waiting time"
Position [695, 383, 725, 397]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Queue Waiting Time"
Position [405, 133, 435, 147]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "System Waiting time"
Position [805, 563, 835, 577]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Server utilization"
Position [700, 503, 730, 517]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Queue length"
Position [405, 203, 435, 217]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Number of entities"
Position [400, 63, 430, 77]
Port "6"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
LineType "Connection"
SrcBlock "Start Timer"
SrcPort RConn1
DstBlock "FIFO Queue"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Read Timer"
SrcPort RConn1
Points [0, 35]
DstBlock "Entity Sink"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Time-Based\nEntity Generator"
SrcPort RConn1
DstBlock "Start Timer"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "N-Server"
SrcPort RConn1
Points [0, 10]
DstBlock "Read Timer"
DstPort LConn1
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -