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
595
votes
24 answers
Simulator or Emulator? What is the difference?
While I understand what simulation and emulation mean in general, I almost always get confused about them. Assume that I create a piece of software that mimics existing hardware/software, what should I call it? A simulator or an emulator?
Could…

Khaled Alshaya
- 94,250
- 39
- 176
- 234
244
votes
18 answers
source of historical stock data
I'm trying to make a stock market simulator (perhaps eventually growing into a predicting AI), but I'm having trouble finding data to use. I'm looking for a (hopefully free) source of historical stock market data.
Ideally, it would be a very…

rmeador
- 25,504
- 18
- 62
- 103
204
votes
13 answers
Simulating tremor (from e.g. Parkinson's Disease) with the mouse on a webpage?
I'm working for a foundation that raises awareness for accessibility in the internet. For a presentation, we want to offer a small workshop that simulates different disabilities/impairments to people. This is done via a website created especially…

Joshua Muheim
- 12,617
- 9
- 76
- 152
147
votes
7 answers
iPhone Simulator - Simulate a slow connection?
Is there a way to slow down the internet connection to the iPhone Simulator, so as to mimic how the App might react when you are in a slow spot on the cellular network?

Chris
- 5,485
- 15
- 68
- 130
110
votes
10 answers
What's the difference between emulation and simulation?
Possible Duplicate:
Simulator or Emulator? What is the difference?
In simple understandable terms, what is the difference between the two terms?
[I have already looked at this, this and this]

Lazer
- 90,700
- 113
- 281
- 364
79
votes
9 answers
Using Camera in the Android emulator
I wish to simulate camera in the android emulator using the webcam. Basically I need to only take photos with the camera in the emulator (live preview is not needed i.e if it makes it any easier)
I followed the tutorial here which is the only one I…

Primal Pappachan
- 25,857
- 22
- 67
- 84
72
votes
5 answers
iPhone Browser simulator for Windows?
Note: This is a question about simulating the Browser on the iPhone, not simulating the whole device. I know that iPhone-device simulation is not possible on Windows, as discussed at length here.
I have a web site that looks really weird when viewed…

codeulike
- 22,514
- 29
- 120
- 167
45
votes
10 answers
Suggestions for Python debugging tools?
Yesterday I made a simulation using Python. I had a few difficulties with variables and debugging.
Is there any software for Python, which provides a decent debugger?
Related question: What is the best way to debug my Python code?

Léo Léopold Hertz 준영
- 134,464
- 179
- 445
- 697
44
votes
9 answers
How to set fake GPS location on IOS real device
Currently I have to test app and set the different fake GPS locations on real IOS 7 devices. On Android I use 'My Fake Location'. Unfortunately, I didn't find the same app for IOS 7.
Any ideas to solve my problem?

Maksim Alekseychik
- 3,578
- 5
- 17
- 15
39
votes
1 answer
How do you simulate Stripe Subscription Renewal Failure?
I'm trying to test different Stripe Subscription failures. Specifically, what happens when an active subscription gets renewed when initially the card got accepted and the subscription is active, but the renewal payment gets declined, or the…

Charlie Fish
- 18,491
- 19
- 86
- 179
38
votes
4 answers
VHDL - How should I create a clock in a testbench?
How should I create a clock in a testbench? I already have found one answer, however others on stack overflow have suggested that there are alternative or better ways of achieving this:
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY test_tb IS…

alexdavey
- 672
- 1
- 9
- 15
38
votes
4 answers
Simulating low battery for iPhones
I am working on a mobile game, which appearantly crashes when the Low Battery alert is displayed. It works fine on low memory, incoming calls and other messages.
Its a pain to test and debug this, since I can find no terminal or iPhone simulator way…

Nils Munch
- 8,805
- 11
- 51
- 103
35
votes
6 answers
How to make virtual organisms learn using neural networks?
I'm making a simple learning simulation, where there are multiple organisms on screen. They're supposed to learn how to eat, using their simple neural networks. They have 4 neurons, and each neuron activates movement in one direction (it's a 2D…

corazza
- 31,222
- 37
- 115
- 186
31
votes
8 answers
Experiences with Test Driven Development (TDD) for logic (chip) design in Verilog or VHDL
I have looked on the web and the discussions/examples appear to be for traditional software development. Since Verilog and VHDL (used for chip design, e.g. FPGAs and ASICs) are similar to software development C and C++ it would appear to make…

Brian Carlton
- 7,545
- 5
- 38
- 47
30
votes
3 answers
numpy array of objects
I'm trying to implement a simulation for a lattice model (lattice boltzmann) in Python. Each site of the lattice has a number of properties, and interact with neighboring sites according to certain rules. I figured that it might be clever to make a…

jonalm
- 935
- 2
- 11
- 21