Find Jobs
Hire Freelancers

Code for Discrete event simulation

£20-250 GBP

Fechado
Publicado há aproximadamente 4 anos

£20-250 GBP

Pago na entrega
A python code that performs a full discrete event simulation of a very simple Internet router. The python code should include: 1. Random arrival of packets 2. Random distribution of packet sizes 3. Multiple router output interfaces ('servers') 4. Serving schedule - the simulation will have to support both first-in-first-out ( FIFO) serving, and priority serving The python code splits into four commands (Which the user can choose from such as A, B, C, D). Command 1 A discrete-event simulation of an Internet router with a single input queue and a single output interface. The packets arrive following a random Poisson process, with a pre-defined average time between two arriving packets. The Poisson process is characterized by an exponential distribution of inter-arrival times. The packets have random sizes - the packet size should be calculated by the simulator at the packet arrival. The packet size should be considered a random variable with exponential distribution. In case the package has arrived and cannot be served immediately, it must wait for the first available opportunity to be served. The output interface (the server) should operate without any breaks, and should operate at a constant serving rate (this means that packet size determines the service time duration). The code should request the average system parameters - average packet size and average interarrival time for the packets, and should calculate the following parameters: - Average waiting time - Average queue size - Probability that the queue size is 0 at the arrival of a new call - Probability that the queue size is greater than 5 times the average packet size. Command 2 The code from the previous command should be modified to support four separate servers (four output router interfaces). In the simulation, upon arrival of the packet, the server (output interface) should be randomly identified for that packet, regardless of the queue sizes. The code should request the average system parameters - average packet size and average interarrival time for the packets, and should calculate the same simulation results as in Command 1. Command 3 The simulator should operate as in the previous commands, but this time at the generation (“Arrival”) of the packages the packages should be assigned a class (“priority” or “economy”). The class assignment should be random, but on average 20% of the packages should be “priority” and 80% should be “economy”. The serving policies should be as follows: - Policy A: one server should be dedicated for the priority packages only, and one for the economy packages. If there are no priority packets, that server should be empty - Policy B: one server should be dedicated for the priority packets, and one for the economy packets. If there are no priority packages, the first waiting economy pack should be served. The code should request the average system parameters - average packet size and average interarrival time for the packets, probability of the priority packets (default = 20%) and should calculate the following parameters: - Average waiting time for both traffic classes - Average queue size for both traffic classes - Probability that the queue size for each of the classes is more than 5 - Probability that the queue size is 0 upon arrival of a new packet Command 4 Generate graphs representing the results of the simulation. These results should show how the parameters calculated during the simulation (the average waiting time, the average queue size, etc.) change during the simulation time - the xy graphs should have simulation time on the x-axis and the measured parameter on the y axis. Please add Comments to explaining each part so as to make it possible to tweak, change and understand. Libraries allowed to use: Matplotlib Random Csv
ID do Projeto: 24922199

Sobre o projeto

6 propostas
Projeto remoto
Ativo há 4 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
6 freelancers estão ofertando em média £156 GBP for esse trabalho
Avatar do Usuário
Hello, After reviewing the detail carefully i understood that you need Code for Discrete event simulation and i think I am the perfect person for this job . I have a strong team having experience of more than 5 years. I do not want to waste your time so please give me a chance to show my skills. I will make sure you will never regret after working with me. I will surely complete your work on time . Please text me and explain me all the details.I am looking for your response. Thank you.
£250 GBP em 12 dias
5,0 (14 avaliações)
5,3
5,3
Avatar do Usuário
Alright I have great knowledge about all the concepts you mentioned ... But for better understanding about your course you can send me the course materials .. notes , slides anything you have .. and I am sure you you will get 90+ or full marks ..
£135 GBP em 7 dias
4,8 (50 avaliações)
5,3
5,3
Avatar do Usuário
Hello, I hold a PhD in computer networking and am very good at Python and discrete event simulation. The code you need is essentially an M/M/1 queue. Kindly check my previous projects to see that I have completed several projects involving M/M/1 queues. I have successfully completed ALL projects I have taken up. I can easily complete yours as well. Kindly assign me the project.
£278 GBP em 7 dias
5,0 (3 avaliações)
4,1
4,1
Avatar do Usuário
I am a data enthusiast, and have been working with data, analysis, interpretation, and reporting for over 2 years. Interests: machine learning, insight creation, data mining, biostatistics, cluster analysis, classification tree, data management. - statistical software Python, Microsoft office/excel, MySql Tableau. I am seeking opportunities to advance statistical analysis of your confidential company data and summarizing with a report or a presentation for you or your business. In professional life.
£120 GBP em 7 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
We build your python work I am writing this proposal in order to work for you in Software and Web Development. We are highly trained professional developers seeking to freelance and earn online. Having a flair in programming and development I have been excellent with JAVA,C#,C/C++ and PHP programming language along with MySQL with XAMPP Server. I also build application for Cloud computing and High performance computing as I also have knowledge regarding Hadoop, MPI, OpenMP (distributed frameworks) and also have build applications in CUDA C++ and OpenCL. I also have experience with the most famous framework ASP.NET. My most expertise are in JAVA where I have built countless projects for semester projects and Final year project. You may find many developers in this field however we assure that you will not be able to find a team like us. We not only ensure the code is quality wise but we also assure that the code we write are optimised and we ensure that the program performs right operation under right environment i.e. we create programs that are defect free. You may also find freelancers that cost low but they do not put their 100% which then shows in the software and leads to an unhappy customer. We ensure reasonable price are put as tag on the job and we ensure in order to give the write product. We highly appreciate your time, if you are interested kindly let me know
£20 GBP em 2 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Brain Hub is a group of independent professional writers and website developer and scholars from everywhere throughout the world. Together, we give best quality aid to secondary school, undergraduate, Masters and Ph.d. programs. 1. Academic writing 2. Article/content/blog writing 3. Product description writing 4. Transcription writing 5. Logo designing 6. Autocad 7. Audio recording/voice recording 8. Picture illustration 9. SQL 10. Web Development and designing 11. Book designing We are honored with a group of experienced online scholarly scholars who have capability in English dialect, alongside assorted subject information of Finance, Marketing, Accounting, Management, Statistics, Human Resources, and Information Technology oour expert writers promise to convey brilliant quality in a manner that you need at most dependable valuing alongside a few different profits and administrations
£135 GBP em 7 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) TANZANIA, UNITED REPUBLIC OF
Arusha, Tanzania, United Republic of
0,0
0
Membro desde abr. 15, 2020

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.