0% found this document useful (0 votes)
50 views4 pages

Koforidua Technical University (Ktu) : Faculty of Applied Science and Technology Department of Computer Science

The document is a mid-semester assignment from Koforidua Technical University for the course "Computer Simulation and System Modelling". It discusses the simulation of a network router and presents two simulation runs with different simulation times. It finds that the first simulation run did not reach steady state as its values differ from the analytical results, while the second run did reach steady state. It also outlines the six major steps in a simulation project life cycle as determining goals, data collection, building the model, validating the model, running the simulation and collecting results, and analyzing results and documenting findings.

Uploaded by

Adjarko Philip
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views4 pages

Koforidua Technical University (Ktu) : Faculty of Applied Science and Technology Department of Computer Science

The document is a mid-semester assignment from Koforidua Technical University for the course "Computer Simulation and System Modelling". It discusses the simulation of a network router and presents two simulation runs with different simulation times. It finds that the first simulation run did not reach steady state as its values differ from the analytical results, while the second run did reach steady state. It also outlines the six major steps in a simulation project life cycle as determining goals, data collection, building the model, validating the model, running the simulation and collecting results, and analyzing results and documenting findings.

Uploaded by

Adjarko Philip
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

KOFORIDUA TECHNICAL UNIVERSITY (KTU)

FACULTY OF APPLIED SCIENCE AND TECHNOLOGY


DEPARTMENT OF COMPUTER SCIENCE

NAME: ASARE JUSTICE WILLIAMS

INDEX NUMBER: B202160010

PROGRAMME: BSc COMPUTER SCIENCE

MID SEMESTER ASSIGNMENT

COURSE: COMPUTER SIMULATION AND SYSTEM


MODELLING
COURSE CODE: COSC330

LECTURER: MR. FRANCIS BOTCHWEY


1. Consider the network simulation problem as shown in the following figure. We propose
to study the performance of a network router which has a buffer to store incoming
packets from a video server and phone server in a local network and a constant
transmission speed equal to C = 1 Mbit/sec.

We assume that the router has an infinite buffer size. The first station sends video
stream at a rate γ 1 packets/ secand the second station sends a voice stream at a
rate γ 2 packets/ sec We assume that both streams follow a Poisson Arrival Process and
that the total arrival rate γ =γ 1+γ 2=55 packets /sec
All Packets have an exponentially distributed service time with the mean 1/μ .
We make two simulation runs with different simulation times, and we observe the
results of waiting time.
Table 1 presents the simulation and analytical results of the waiting time for this
network

Did Simulation run#1 and Simulation run#2 reach the steady state? Explain your answers

ANSWER:

Simulation run#1 did not reach the steady state because its values at high loads are
far from the analytical results. However, Simulation Run# 2 has reached the steady
state because all its values are close to the analytical results.
2. In general, the simulation project life cycle consists of six major steps, each having
multiple components. List and explain these steps.

ANSWER:

Simulation is the representation, imitation of a real system, in other words, through models we
try to represent a particular system, in order to study it and get some results.

The six (6) major steps in simulation project life cycle are;

1 - Determine the goals

Setting the goal is the first step to be taken. We should never start a simulation without having a
purpose to be achieved. The goal should be formulated clearly, highlighting the issues for which
we desire to get answers. The discrete event simulation can be used for a multiple purpose,
among the most common are:

 increasing productivity in existing production systems;


 assist in decision-making in new facilities investments;
 sizing process inventories;
 analysis of material flow;
 sizing manpower;
 Continuous improvement of the production process.

2 - Perform an appropriate data collection

In this step, we must analyze the actual system and check what information is relevant to
construct the model. It’s important to check which are the input data and what should be
expected from the output data to allow build the information that will serve as a response to the
goal. The data collection process is the most time-consuming phase of discrete event simulation,
we must take time to understand the process and to collect data, thereby allowing the activity
occur properly and to build the model as close to reality as possible. For the success of this step,
the process must be carefully analyzed with the goal to obtain the largest possible amount of
data. In case of new production systems, we should seek references in similar process, to make
possible to collect data that will help to the proper construction of the new model.

3 - Build the model

Through the use of dedicated software for this type of simulation, we should compare the tool
objects and the elements that make part of the process. Thus, it is possible to construct a model
that represents the system under consideration. This step requires a certain time, it is necessary to
create a model that can adequately represent the system that is in study, the logical and
procedures should be created to allow the model be able to represent the real system and achieve
expected goal.

4 - Validate the built model

With the model already built it's necessary to validate the data that were considered for their
construction, in other words, we should check if the model is actually working as real system in
case of existing processes, or in case of processes not yet available we should see if it's behaving
as imagined. This step is important because if there is no data validation, simulation results can
be compromised.

5 - Perform simulation and collect the results

After the data has been validated, we must start the simulation and collect the results. For
significant data collection, the model must remain running for a certain period of time, thus it is
possible to obtain more reliable results. When in doubt, we should run the simulation as many
times as we feel necessary, after all that's why we are simulating. At this stage, it’s still possible
to make some changes in the model to see how it behaves and evaluate other possibilities. The
most important thing is not to make huge changes in the model, but changing only some
parameters and see how the model behaves, otherwise you will be falling again in step 3.

6 - Analyze the results and making of final documentation

In this step, we need to critically analyze the results and turn them into information to aid in
decision-making and serve as answers to questions that were part of the goal. Through this
analysis, we can check which way to go as well what should be done to the process in question.
As a final step, the documentation should be prepared with the information
obtained from the simulation, describing in detail what should be done. This
document is important to specify and detail the necessary paths to be followed for
the changes that we will do.

You might also like