Questions tagged [simulation]

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.

5194 questions
8
votes
1 answer

Simulating a key press event in Python 2.7

What I want to do is to press any keyboard key from the Python script level on Windows. I have tried SendKeys but it works only on python 2.6. Other methods that I have tried including import win32com.client…
Piotr Dabkowski
  • 5,661
  • 5
  • 38
  • 47
8
votes
1 answer

Testing Windows 7 multitouch on a dev machine without multitouch?

Is there a way to test the multitouch capability of an application using a non-multitouch enabled machine? I'd like to simulate user input for zoom, scaling and rotating during runtime. This is for a WPF application written in C#.
karl.r
  • 961
  • 1
  • 11
  • 28
8
votes
2 answers

Model division of cancer cells on a grid

I have a 5000x5000 grid, and I'm trying to implement a simple model of cancer division in MATLAB. Initially, it picks a random point (x,y) and makes that cell a cancer cell. On the first iteration, it divides - the parent cell stays in it's place,…
DRG
  • 241
  • 1
  • 6
7
votes
1 answer

Akka for simulations

I'm new to akka and the actor-pattern, therefore I'm not sure if it fit my needs. I want to create a simulation with akka and millions of entities (think as domain objects - later actors) that can influence each other. So thinking as simulation with…
Dag
  • 10,079
  • 8
  • 51
  • 74
7
votes
4 answers

Free OPC server for simulated values

I am developing an OPC client and need a free OPC server that can both simulate values ​​and set values static. Is there such a server freely available?
magol
  • 6,135
  • 17
  • 65
  • 120
7
votes
4 answers

Android: Is there a way to simulating D-Pad Events (API 10)?

The problem is very simple. I have to simulate the dpad events (UP,DOWN,RIGHT,LEFT,CENTER) for navigate in my GUI that consists of a lot of buttons and other elements. With the simulator D-Pad I can without a line code navigate throw this GUI. But…
NitroBoarder
  • 93
  • 1
  • 5
7
votes
2 answers

Is there a reason to initialize (not reset) signals in VHDL and Verilog?

I have never initialized signals. That way any signal missing a reset or assignment would be unknown or initialized. In some reference code they have initialization. This defeats what I wish. Also since intialization isn't synthesizable, there could…
Brian Carlton
  • 7,545
  • 5
  • 38
  • 47
7
votes
1 answer

Simulate Arduino-like Interrupts in C++11

I am working on a crude Arduino simulator. It's main function should be to test simple code consisting of control structures, loops, switches and subroutines. My main idea is to simply provide the functions of the Arduino library myself, for example…
ShadowEagle
  • 490
  • 1
  • 4
  • 15
7
votes
4 answers

Water simulation with a grid

For a while I've been attempting to simulate flowing water with algorithms I've scavenged from "Real-Time Fluid Dynamics for Games". The trouble is I don't seem to get out water-like behavior with those algorithms. Myself I guess I'm doing something…
Cheery
  • 24,645
  • 16
  • 59
  • 83
7
votes
2 answers

Simulating a CPU design written in Chisel

I've written a single-cycled CPU in Chisel3 which implements most of the RV32I instructions (except CSR, Fence, ECALL/BREAK, LB/SB, which may be included later). The instructions are currently hard coded in the instruction memory, but I will change…
dannebra
  • 73
  • 4
7
votes
1 answer

What's the basic ideas of *continuous physic simulation* like box2d/bullet3d?

Traditional physics simulation in games or graphics industry was basically discrete. But engines nowadays such as box2d or bullet3d implement continuous physics simulation. I know basic principles of discrete simulation, but I have no idea about…
eonil
  • 83,476
  • 81
  • 317
  • 516
7
votes
5 answers

Xcode 8.3.2 : Could not hardlink copy

I am getting this error message while trying to launch my app in simulator. What is the actual issue?
7
votes
2 answers

2D grid water/liquid simulation (platformer tile based)

I have a grid based game (platformer) where I've based everything on tiles. I have tiles that are solid and liquid. I'm trying to find of a good way to make water tiles simulate water in a rough way. At the moment I have the current system: When a…
Jón Trausti Arason
  • 4,548
  • 1
  • 39
  • 46
7
votes
1 answer

Is it possible to create a simulation waveform from yosys output

I've found simulating using iverilog to be a less than suitable method, I can simulate designs that won't synthesise and conversely designs that will not only synthesize but also work as intended on physical hardware, won't synthesise with iverilog…
Chris Camacho
  • 1,164
  • 1
  • 9
  • 31
7
votes
4 answers

How to stop a simulation by timeout?

I have manageg to implement a simulation timeout in VHDL. If processes are running longer the MaxRuntime they get 'killed'. Unfortunately, this does not work the other way around. If my simulation is finished before MaxRuntime, everything is waiting…
Paebbels
  • 15,573
  • 13
  • 70
  • 139