Simulation is the imitation of some real thing, state of affairs, or process. The act of simulating something generally entails representing certain key characteristics or behaviours of a selected physical or abstract system.
Questions tagged [simulation]
5194 questions
15
votes
12 answers
Robot simulation environments
I would like to make a list of remarkable robot simulation environments including advantages and disadvantages of them. Some examples I know of are Webots and Player/Stage.

rics
- 5,494
- 5
- 33
- 42
15
votes
5 answers
Stochastic calculus library in python
I am looking for a python library that would allow me to compute stochastic calculus stuff, like the (conditional) expectation of a random process I would define the diffusion. I had a look a at simpy (simpy.sourceforge.net), but it does not seem to…

LeMiz
- 5,554
- 5
- 28
- 23
14
votes
3 answers
Implementing common random numbers in a simulation
I am building a small simulation in Python and I would like to use Common Random Numbers to reduce variation. I know that I must achieve synchronization for CRN to work:
CRN requires synchronization of the random number streams, which ensures that…

derNincompoop
- 672
- 11
- 22
14
votes
2 answers
sql loop through each row in a table
I've created a program that generates buy and sell signals of stocks. I've also created logic that tests the different signals and provides the return for each trade.
The next step is to simulate the strategy and its rules over a long period of…

vighurt
- 151
- 1
- 1
- 6
14
votes
2 answers
N body simulation in C++
I am trying to implement an OpenMP version of the 2-dimensional n-body simulation.
But there is a problem: I assume each particle's initial velocity and acceleration are zero. When the particles first gather together, they would disperse out in a…

user3558391
- 161
- 2
- 7
14
votes
8 answers
Simulate multiple users using a website
I am developing a website (basically a public facing site).
How can I simulate multiple users are surfing my site and doing various activities so that I can understand how my site will behave in a real time environment?
I am using Apache server and…

voila
- 1,594
- 2
- 19
- 38
14
votes
10 answers
Are there any open-source military/war strategy simulating engines/frameworks?
Are there any open-source military/war strategy simulating engines or frameworks? Combat rules engines or weapon selection guides? I'm looking for something similar to a military strategy "unit testing" in a simulated field.
What I'm trying to build…

luvieere
- 37,065
- 18
- 127
- 179
14
votes
1 answer
How to simulate incoming calls on a real device?
For testing purposes I want to simulate/spoof incomming calls on a real android device (ie. not the emulator). I know that DDMS provides this feature for emulators, but I am unable to find a solution for actual devices connected by usb.

user1689493
- 161
- 1
- 4
14
votes
1 answer
Framework for benchmarking my tracking algorithm
I am currently developing an application based on OpenCV/C++ to track small animals:
Here is a example of the kind of video it should process. The program simply output the x,y position of the animal and the time for each area. This is graphical…

Quentin Geissmann
- 2,240
- 1
- 21
- 36
13
votes
5 answers
Getting Started With Traffic Simulation in JavaScript
I am going to be asking a lot of questions in the upcoming months. For my ninth grade science fair project I would like to create a traffic simulator in order to test whether or not interconnected communicating traffic lights can increase traffic…

Conner Ruhl
- 1,693
- 4
- 20
- 31
13
votes
5 answers
Unit testing for stochastic processes?
Is there a sane way to unit test a stochastic process? For example say that you have coded a simulator for a specific system model. The simulator works randomly based on the seeds of the rngs so the state of the system cannot be predicted and if it…

imoschak
- 215
- 2
- 8
13
votes
1 answer
Kotlin uses runtime assertions for null checking - Performance overhead?
I'm considering Kotlin for a simulation framework and noticed that the compiler interweaves static checkParameterIsNotNull calls after for each method which can be accessed from java. This checks wether the method parameter is not null by accessing…

Jack Shade
- 491
- 5
- 13
13
votes
13 answers
bandwidth and traffic simulator for web apps?
Can you suggest how to create a test environment to simulate various types of bandwidths and traffic in a web app?
Or maybe an open source program which does this against localhost?
I think this is a very important subject when programming web apps…

paranoio
- 349
- 6
- 13
12
votes
1 answer
Gatling-Value baseURL is not a member of io.gatling.http.protocol.HttpProtocolBuilder
I've written the following Gatling scenario below. I'm getting the following error
Value baseURL is not a member of io.gatling.http.protocol.HttpProtocolBuilder
I tried directly importing the io.gatling.http.protocol.HttpProtocolBuilder but that did…

Zac Davidson
- 247
- 1
- 6
- 13
12
votes
1 answer
Simulation of t copula in Python
I am trying to simulate a t-copula using Python, but my code yields strange results (is not well-behaving):
I followed the approach suggested by Demarta & McNeil (2004) in "The t Copula and Related Copulas", which states:
By intuition, I know that…

rhonsprudel
- 121
- 1
- 5