Aur Posted June 8, 2009 Report Posted June 8, 2009 Hi! I just found this site, while researching different ideas for simulations. Basically I have to come up with a complex problem that I can simulate on a computer, using a language of my choice. I have a few months to do this, so I'm trying to find a project that I find interesting. At the moment my favourite idea is a crowd simulator. But I'd be welcome to hear anyother ideas on simulations. Thanks for any help. :ud: Quote
Pyrotex Posted June 8, 2009 Report Posted June 8, 2009 Hi! ...At the moment my favourite idea is a crowd simulator. But I'd be welcome to hear anyother ideas on simulations. Thanks for any help. :ud:Hi! And welcome to Hypography! Funny you should ask that. I've done quite a bit of simulation over the years as part of my job(s), and one day hoped to find a language I could use to do my own "sims" at home. Obviously, there are many such languages now. But I don't have the time! The one sim I always wanted to do was to simulate traffic on a multi-lane, limited access highway. Like an interstate. I got the idea while driving on the LBJ Freeway that circles Dallas. I would build a sim of a "circular" interstate loop, with L lanes (where I could set L in the program), and X exit ramps and N entrance ramps. The "cars" would be the heart of the sim, because it is there I would be able to simulate not just the vehicles, but their DRIVERS. :ud: So, some car parameters would be:Average driving speed over the posted speed limit, as an average (+ or -);Average acceleration rate, when acceleratingAverage braking rate, when brakingProbability of using turn signalsAverage drift rate when changing lanesVisual knowledge, measured in meters ahead of their own vehicleMirror knowledge, measured in meters behind own vehicleLeft knowledge, size of blind spot on the leftRight knowledge, size of blind spot on the rightClosing rate fright (how fast must they be closing on a bumper before they hit brakes)Closing distance fright (how close must they be to a bumper before they hit brakes)Probability of urge to change lanesDrunkenness factor, 0-100, where 100 means random steerage and speedProbability of responding to turn signal within Visual knowledgeProbability of responding to brake lights within Visual knowledgeProbability of being uncomfortable next to car in next laneProbability of responding to any urge or discomfort by changing lanesProbability of urge to go fasterProbability of urge to slow downProbability of checking blind spots before changing lanes Separate from the cars, other parameters I would control would be:Average time between new car entry, at entrance ramp N-sub-aAverage time between car exits, at exit rampt X-sub-aLane blockage at position P, lane L-sub-a.Speed rate X turn rate yielding non-zero probability of loss of control (NZPLOC)Speed rate X brake rate yielding NZPLOC You get the idea.Then I would set up the sim for, maybe 4 lanes, 10 miles around the loop, speed limit of 60 MPH, turn on the entrance ramps until I had a density of about 1 car per 20 meters per lane and see how accidents happen. And how this affects traffic flow. I also want to see if I could simulate "reverse compression waves" in an otherwise normal flow of traffic. This is where at a specific traffic densities, at one position in the loop, the cars get closer together, slow down, then speed up and get further apart, forming a temporary "clump" -- this clump travels BACKWARDS around the loop, typically at speeds about 1/4 of the forward average traffic flow. These things are REAL, I've been in quite a few of them! Quote
Southtown Posted June 8, 2009 Report Posted June 8, 2009 I've seen that before in dense traffic. I consciously try to negate it by being slower to speed up or slow down than the guy in front of me. The stop and go just aggravates me to no end. Quote
Jay-qu Posted June 8, 2009 Report Posted June 8, 2009 Pyro, I think about how I would simulate traffic everytime I am stuck in it! It gives me something to think about :eek2: I have simulated a few things over the years. Electrons in magnetic fields, atoms in magnetic traps, billard tables, gravitational systems (3-body problem), stellar burning, evaporative cooling and probably some more :naughty: Quote
Pyrotex Posted June 9, 2009 Report Posted June 9, 2009 Yeah, simming a physical situation is lots of fun, even if only in my mind! Quote
CraigD Posted June 9, 2009 Report Posted June 9, 2009 Welcome to hypography, Aur! :naughty: If you check around hypography, you’ll find code and example of several simulations, more than a few of them by me. One of my favorite is the program in 11819, an example of a less common “event based”, as opposed to “clock tick based”, sim. It’s also unusual because, like most of my hobby sims, it’s written in an unusual style of the MUMPS language. I’ve also a couple of general-purpose gravitational system simulators, 6972 and XGRAVSIM4. My personal pet agent-based simulation – which I’ve been sadly lax in actually implementing – is a simulation of contagious zombies and fighting/fleeing frightened masses. I’m partial to the barely intelligent, clumsy, slow-moving zombies of the Romero movies, but many variants can be taken from an extensive genre of books and movies. I think this affords a great advantage vs. an ordinary crowd agent-based sim, as it has clear metrics - number of zombies & number of “warmies” - and clear game victory conditions – 0 zombies or 0 warmies. A clear disadvantage of a zombie sim vs. most sims is that it’s completely fantastic, so has next to no practical application. As a good, versatile agent-based sim should be able to model many different variations of its main theme, it should still be a good exercise, and applicable to simulating real things. I’m looking forward to seeing your sim code :eek2: Quote
Pyrotex Posted June 9, 2009 Report Posted June 9, 2009 Hmmm, Craig,I would very interested in seeing a zombie sim. Wow. Quote
Jay-qu Posted June 9, 2009 Report Posted June 9, 2009 Hmmm, Craig,I would very interested in seeing a zombie sim. Wow.Yeah I smell a new thread coming on. I can see a visualisation already, little red dots slowly moving around the screen seeking out the frantic blue dots.. There should also be an option to give the 'warmies' weapons :naughty: Quote
arkain101 Posted June 9, 2009 Report Posted June 9, 2009 At the moment my favourite idea is a crowd simulator. But I'd be welcome to hear anyother ideas on simulations. Thanks for any help. Recently, I was searching old topics on this site. One of the ways I filtered the topics was by clicking the "views" link which organized all of the links from most views, decending top down. Here are some examples of a few Physical Sciences (in most views order) Space Space - Science Forums #1 Aliens poll views 16,716 Physics and Mathematics Physics and Mathematics - Science Forums #1 TIME EXPLAINED (v2.1) views 147,624 Alternative Theories Alternative theories - Science Forums How soon will a moneyless society change the way we percieve each other? views 8,343 Biology http://hypography.com/forums/biology/?daysprune=-1&order=desc&sort=views Parasites views 21,478 Maybe you could do something of this nature to simulate a crowds common interests. Questions to ask could be: -What is the most common specific interest or theme amongst a crowd -What are some of the overall interests of a crowd -Why does a crowd favor one kind of topic over another -Is there any patterns that emerge (taking into consideration and categorizing the age of the topics) :shrug: I thought about looking into it more myself.. Have fun. Quote
Boerseun Posted June 9, 2009 Report Posted June 9, 2009 Hi there, Aur, and welcome to Hypo! Hypo is actually is forum with no real members; Tormod devised the whole thing as a Social Website Simulator. He lives in his mother's basement, and all the postings you see here are merely figments of his imagination and manifestations of his multiple personalities. But as a forum simulator, I think he's done a cracking job... Couldn't tell it from the real thing! He even gets to ban himself several times a night! Quote
Archimedes Sture Posted August 7, 2009 Report Posted August 7, 2009 My firm develops software for various printstreams, and we need to give our customers tutorials on how to use our software. Can you please recommend any easy to use tool in which I can develop some simulations and demonstrations on how to use our software for the customers. Quote
alexander Posted August 10, 2009 Report Posted August 10, 2009 Archimedes, please stay on topic, you are not describing nor asking for a "simulation" software... That's why you got an infraction... If you need to record tutorials for your software, you would use any screen video capture software, naturally i'm going to suggest open-source, but if you google around a bit, and you want to pay, you can feel free to do so. Couple of open-source screen image and video capture softwares:CamStudio - Free Screen Recording SoftwareJing | Add visuals to your online conversations Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.