The Joy of Simulation

Using Monte Carlo simulation to set test parameters and select algorithmic approaches

#testing #glengarry-glen-ross #data-science #simulation #monte-carlo

What is GEEK

Buddha Community

The Joy of Simulation

The Joy of Simulation

Using Monte Carlo simulation to set test parameters and select algorithmic approaches

#testing #glengarry-glen-ross #data-science #simulation #monte-carlo

Alec  Nikolaus

Alec Nikolaus

1596247680

Simulating a Queuing System in Python

We all have visited a bank at some point in our life, and we are familiar with how banks operate. Customers enter, wait in a queue for their number to be called out, get service from the teller, and finally leave. This is a queueing system, and we encounter many queueing systems in our day to day lives, from grocery stores to amusement parks they’re everywhere. And that’s why we must try and make them as efficient as possible. There is a lot of randomness involved in these systems, which can cause huge delays, result in long queues, reduce efficiency, and even monetary loss. The randomness can be addressed by developing a discrete event simulation model, this can be extremely helpful in improving the operational efficiency, by analyzing key performance measures.

In this project, I am going to be simulating a queueing system for a bank.

Let’s consider a bank that has two tellers. Customers arrive at the bank about every 3 minutes on average according to a Poisson process. This rate of arrival is assumed in this case but should be modeled from actual data to get accurate results. They wait in a single line for an idle teller. This type of system is referred to as a M/M/2 queueing system. The average time it takes to serve a customer is 1.2 minutes by the first teller and 1.5 minutes by the second teller. The service times are assumed to be exponential here. When a customer enters the bank and both tellers are idle, they choose either one with equal probabilities. If a customer enters the bank and there are four people waiting in the line, they will leave the bank with probability 50%. If a customer enters the bank and there are five or more people waiting in the line, they will leave the bank with probability 60%.

Lets first try and visualize the system

Image for post

Great! now let’s start building the model

#simulation #decision-making #queuing-theory #discrete-event-simulation #python

Mia  Marquardt

Mia Marquardt

1624860900

Easier to use common Machine Learning in High Performance Computing simulations

SmartSim

SmartSim makes it easier to use common Machine Learning (ML) libraries like PyTorch and TensorFlow, in High Performance Computing (HPC) simulations and workloads.

SmartSim provides an API to connect HPC (MPI + X) simulations written in Fortran, C, C++, and Python to an in-memory database called the Orchestrator. The Orchestrator is built on Redis, a popular caching database written in C. This connection between simulation and database is the fundamental paradigm of SmartSim. Simulations in the aforementioned languages can stream data to the Orchestrator and pull the data out in Python for online analysis, visualization, and training.

In addition, the Orchestrator is equipped with ML inference runtimes: PyTorch, TensorFlow, and ONNX. From inside a simulation, users can store and execute trained models and retrieve the result.

#machine learning #simulation #pytorch #tensorflow #high performance computing simulations

andrew cls

andrew cls

1597334096

How can I run iPhone simulator over full-screen- Fullscreen Xcode 11 and Simulator (2020)

https://www.youtube.com/watch?v=1EN988Xu8sU&t=15s

#https://www.youtube.com/watch?v=1en988xu8su&t=15s #how can i run iphone simulator over full-screen- fullscreen xcode 11 and simulator (2020)

Madilyn  Kihn

Madilyn Kihn

1598376942

Simulation is Everywhere!

Simulation is everywhere!
In my next article, I describe how we use simulation at rideOS to improve our partners’ fleet.
tl;dr of this article: Simulation can and has been used in a wide variety of domains.
In my previous article, we learned how simulation is about making something “similar enough”, and we primarily considered two domains: video games and professional training.

#research #robotics #simulation #artificial-intelligence #animation