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

📄 omnetpp.ini

📁 ver good program for queing
💻 INI
字号:
[General]
preload-ned-files=*.ned
ini-warnings = no
# The name below is optional, default is omnetpp.sca
output-scalar-file = fifo.sca
# The name below is optional, default is omnetpp.vec
output-vector-file = fifo.vec

[Cmdenv]
runs-to-execute = 1
express-mode = yes
# for non-express mode:
module-messages = yes
event-banners = yes
# for express mode:
status-frequency = 50000
performance-display = no

[Tkenv]
# Uncomment the line below to set up Run 1 automatically on startup
#default-run= 1
use-mainwindow = yes
print-banners = yes
slowexec-delay = 300ms

[Parameters]
fifonet.gen.num_messages = 5000

[Run 1]
description = "a single queue"
network = fifonet

fifonet.num_buffers = 1
fifonet.num_cells = 100
fifonet.gen.ia_time = exponential(3)
fifonet.fifo[0].num_init_jobs = 10;
#fifonet.fifo[0].service_time = Erlang(100,200)
#fifonet.fifo[0].service_time = deterministic(0.5)
fifonet.fifo[0].service_time = exponential(2)
#This line will only be relevant in case you have more than one queue
fifonet.fifo[*].service_time = exponential(2)

[Run 2]
description = "a closed queueing network (ring)"
network = ring

# Please mind that the ring network does not contain an internal
# stop criterion. You have to stop it yourself.
ring.num_buffers = 3
ring.num_cells = 100
ring.fifo[*].num_init_jobs = 20;
# Note the sequence in which the fifos get their service rate
ring.fifo[0].service_time = exponential(3)
ring.fifo[*].service_time = exponential(2)

[Run 3]
description = "five tandem queues"
network = fifonet

fifonet.num_buffers = 5
fifonet.num_cells = 100
fifonet.gen.ia_time = exponential(3)
fifonet.fifo[*].num_init_jobs = 10;
fifonet.fifo[0].service_time = exponential(2)
fifonet.fifo[*].service_time = exponential(2)

[Run 4]
description = "ring, with no. of queues as input"
network = ring

#ring.num_buffers = 3
ring.num_cells = 100
ring.fifo[*].num_init_jobs = 20;
ring.fifo[0].service_time = exponential(3)
ring.fifo[*].service_time = exponential(2)

⌨️ 快捷键说明

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