simulation

Reading data from Flight Simulator

I'm looking at building some hardware components to interface with Microsoft Flight Simulator which (hopefully) will display things that are currently taking up screen real estate (altimeter, airspeed indicator, radios, etc.) Is there a way to read the values they have while FlightSim is running so that I can synchronize the external, h...

Is a functional language a good choice for a Flight Simulator? How about Lisp?

I have been doing object-oriented programming for a few years now, and I have not done much functional programming. I have an interest in flight simulators, and am curious about the functional programming aspect of Lisp. Flight simulators or any other real world simulator makes sense to me in an object-oriented paradigm. Here are my qu...

Followup: Multiprocessing or Multithreading for Python simulation software

Hello folks, this is a follow up to this. (You don't have to read all the answers, just the question) People explained to me the difference between processes and threads. On the one hand, I wanted processes so I could fully exploit all core of the CPU, on the other hand, passing information between processes was less than ideal, and I d...

How should I program a simulation of a "car" moving along a track?

For Operating Systems class I'm going to write a scheduling simulator entitled "Jurrasic Park". The ultimate goal is for me to have a series of cars following a set path and passengers waiting in line at a set location for those cars to return to so they can be picked up and be taken on the tour. This will be a simple 2d, top-down view ...

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 fine-grained (second or minute interval) data set with price and volume of every symbol on NASD...

What books are good on physics simulation?

I'm taking a course in discrete and continuous human-activity based simulation (ie: simulation of a company). I want to learn physics simulation too, but I won't do that on the course, so I should study it by myself. So, what book would you recomend me to read to learn it? ...

Processing language vs javascript ?

I'm going to develop a comprehensive educational software which runs on the browser and has many visualization and simulation works (electrostatic and electromagnetic visualization, 2D and 3D). Which language(Processing, javascript or something else) is the best toward my purpose? ...

Unable to put a simulation in C to a webpage

I have the following simulation in C for cars in a traffic circle For example, 7 <space> <enter> gives more cars to the simulation, while s1 <enter> puts a top sign to the incoming road #1. I want to put the simulation to an internet page such that users can try it. However, I do not know where I should start. I know Joomla a...

Predicting drying time (similulating physical systems)?

ACM Question: Simulations involving service times and queues are fairly routine despite using statistical distributions to generate data of interest. Most physical systems are far more complex. Given Weight of a Towel Surface Area of Towel Dryer Volume Dryer Max Temperature Dryer Revolutions/Minute Boiling Point of Water Weight ...

Simulation for DIY in Physics

I am trying to build a software for college kids to learn physics concepts through experiemnt. e.g. try different angles to hit a moving object (to understand theory of projectiles); have moving bodies of varying speeds/ mass collide to understand collision better etc. Need to build realistic experiments( more 2D/3D look and feel). Is th...

Setting Virtual Key/MouseButton State Without Triggering Events

Is it possible to set the virtual key state / mouse button state for all programs on a computer without triggering the associated events at the same time (like setting the left mouse button to be currently pressed without sending a mouse down event). Could this be achieved by setting up a fake keyboard or mouse driver for a fake keyboar...

Resources on human simulator design. (think 13th floor)

After seeing the 13th Floor back in the day I have been obsessed to a degree with writing a simulator like that. I have written several simulations with a human base class that have a male and female subclass. They have a routine called runYear and they interact. They date, work, die, have kids, get sad, commit suicide, divorce, etc. ...

How to generate a universe?

If I wanted to generate a universe/galaxy like that of Elite or Spore, what would be some good programming reference materials and algorithms to take into account? ...

Simulate a set of airplanes in Erlang

Hello. I have a problem in one of my practical works to the university. This work is on Erlang and I have to build an Airplane Traffic and Collision Avoidance System. My problem is: how can a simulate an airplane trajectory, taking into account the velocity? I thought of using a process... Does anyone have some idea? Best reguards. ...

Simulating Mouse-click on IE Window at specific location

Hello, I am trying to simulate mouse-click at a particular location on an active Internet Explorer window. Given below is my NUnit test case code. When I run my test case it works perfectly for first time, producing the mouse-click where I want. The next time I run it, it moves the mouse alright but the click does not occur. And when I ...

Simulating Variable Frequency Drives

I need to make a simulation of robotic motors. These motors are AC supplied Variable Frequency Motors where the Pulse Width Modulation frequency controls the speed and torque. The primary vendors are ABB and Siemens. The communication from controlling computers is via an industrial networking protocol called Profibus. Are there any k...

.NET Library/Book for Crowd Simulation

I've been tasked with creating a simulation of people moving around. It could be a bunch of people walking through a restaurant or exiting a school. Searching around, I've found a bunch A* related stuff which is fine for one person but I will have a bunch. Is there a standard library people use for this stuff? Or a kind of algorithm ...

Best Game network programming articles and books

What are good resources for the latest in Game network programming. I'm looking for something that's not the traditional business software network programming, talking about RPC and clients making calls to the server. I'm looking for techniques and articles on the latest in Game simulation network programming. I'm looking for techniques...

How to simulate JavaScript in a client C# Applications

Hi Guys. I'm writing a web crawler (web spider) that crawl all links in a website. My application is a Win32 App, written in C# with .Net framework 3.5. Now I'm using HttpWebRequest an HttpWebResponse to communicate with the web server. I also built my own Http Parser that can parse anything I want. I found all link like "href", "src", "...

Modeling and Simulation Programming Language

I work with many different models and simulations. Some of the older models and simulations are written in FORTRAN. Some of those models have been converted to C++, but the current trend is to create these models using MATLAB/SIMULINK. From a computer science perspective I have always felt MATLAB/SIMULINK was not a good solution. Wha...