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
5
votes
1 answer
3d Framework C# Winforms for micromechanics simulation
i'm currently making some software to assist our experiments with writing 3d microstructures into glasschips using a femtosecond laser. It would be of great help to have a simulator for the structures before actually writing them. I'm sure there is…

user871784
- 1,247
- 4
- 13
- 32
5
votes
2 answers
Open source motion-capture software
Is there any open source software to map points on the human body to a simulated 3D model? Something like they do in some movies to map the movement of actors onto 3D models. What do they use? Are there any open initiatives for a wider audience in…

luvieere
- 37,065
- 18
- 127
- 179
5
votes
2 answers
C vs. C++ for numeric simulation (performance)
I am about to write an off-lattice diffusion limited aggregation (DLA) simulation and I am wondering whether to use C or C++.
C++ would be nice for design reasons but I am wondering if C would perform better. Of course I know about algorithm…

Wuhtzu
- 161
- 2
- 5
5
votes
1 answer
how to simulate correlated binary data with R?
Supposing I want 2 vectors of binary data with specified phi coefficients, how could I simulate it with R?
For example, how can I create two vectors like x and y of specified vector length with the cor efficient of 0.79
> x = c(1, 1, 0, 0, 1, …

RNA
- 146,987
- 15
- 52
- 70
5
votes
2 answers
Tutorial on stochastic simulation in Haskell
I'd like to use Haskell for stochastic simulation, but I don't know how. I've read Hutton's 'Programming in Haskell', and I'm comfortable writing deterministic functional programs. However, I don't know how to start writing stochastic simulations of…

Marius Kempe
- 423
- 3
- 9
5
votes
2 answers
VHDL alternative submodule architecture for simulation
I have a VHDL component which implements a DRAM test sequence. It contains a child entity which is the DRAM controller.
I want to simulate (debug) the DRAM test sequence but use a simple fake stub for the DRAM controller rather than the real,…

blueshift
- 6,742
- 2
- 39
- 63
5
votes
2 answers
Making a more efficient monte carlo simulation
So, I've written this code that should effectively estimate the area under the curve of the function defined as h(x). My problem is that i need to be able to estimate the area to within 6 decimal places, but the algorithm i've defined in estimateN…

Khodeir
- 465
- 4
- 15
5
votes
1 answer
Controlling events in a hybrid Modelica model
I am confused by the hybrid modelling paradigm in Modelica. On one hand, events are useful, on the other hand, they are to be avoided. Let me explain my case:
I have a large model consisting of multiple buildings in a neighborhood that is…

saroele
- 9,481
- 10
- 29
- 39
5
votes
1 answer
Discrete fluid "filling" algorithm for a height map
I am looking for an algorithm that will describe the transient behaviour of a fluid as it spreads across the surface of a height map. My starting conditions at t=0 are:
A 2D matrix of height values (H) of size [x, y]
A 2D matrix of fluid height…

Generesque
- 53
- 3
5
votes
4 answers
Find the best game tactic against an other tactic, for example in the card game Toepen
I want to test some card game tactics against each other, my goal is to know witch tactic would be better in real live. To do this I made a simulation, but I don't know if I made a good one. So I would like to know how to create a good…

Laurence
- 1,815
- 4
- 22
- 35
5
votes
2 answers
Simple Discrete event simulation library (C++) for process/task scheduling?
Simple question:
I built a quasi-processor simulator that takes a precedence graph, determines priorities (and "ready" instructions), schedules the tasks on available functional units, etc. Pretty much a very basic simulator.
But I realized I…

user770901
- 414
- 1
- 4
- 15
5
votes
1 answer
Controlling memory allocation/GC in a simulation?
I'm having a bit of trouble figuring out how to reduce memory usage and GC time in a simulation running in the State monad. Presently I have to run the compiled code with +RTS -K100M to avoid stack space overflow, and the GC stats are pretty…

jtobin
- 3,253
- 3
- 18
- 27
4
votes
1 answer
L1 and L2 Miss Rates in SimpleScalar Simulation
I have simulated 4 different binaries in the SimpleScalar simulation tool and for every binary the L2 unified miss rate is greater than L1 data miss rate.
In my assignment I am suppose to do some analysis. First thing that come to my mind is L2 miss…

emre nevayeshirazi
- 18,983
- 12
- 64
- 81
4
votes
1 answer
How to simulate IMS segment processing via a Java web service
I'm working on a project which involves writing web services on mainframe enviroment.We are going to be provided a test enviroment on which we can do development and see the inital results. That process is taking a lot of time and I wanted to see if…

gizgok
- 7,303
- 21
- 79
- 124
4
votes
1 answer
Need help modeling a train system with SimPy
I need help modeling a train system (like a subway system) in SimPy, the problem is that my "Simulation" teacher wants me to use Python + SimPy and I don't have a clue how to use it, after a week reading about SimPy I managed to understand the bank…

nosmirck
- 666
- 9
- 31