73

Advanced Traffic Simulation

Project Type
Existing open source project
Summary

Advanced Traffic Simulation

Description
Note: We are still PLANNING and need a lot of help now and later. So everyone who wants to join feel free !!! Ever wanted to test what's happening when you create a new bus or train route + schedule by yourself? Or did you want to build a new road? Or not just you but also your friends? Possible with this simulation. Every inhabitant is simulated as an individual. You can play whatever role you want. Start a traffic company and drive around in your world. You also may just walk around. From OpenStreetMap you can create an environment similar to the real one. More details coming soon as I am writing a more detailed text in the next days. Anyways the main problem is that there are many calculations to be done to simulate every movement. (E.g. when you sit in a train or drive it you may see for example a bus line on the next Station and you may want to wait for those people to catch your train) Also accidentd are possible. In this case the following traffic is blocked and delays arise. To get in touch: Visit the SourceForge page and follow the discord link.
Tech Stack
C#, .NET Core, Visual Studio Team Services
Current Team Size
3
URL
Comments
  • 8
    This sounds awesome, have you considered mapping in real world data sources like highways England's ntis service? It might add in some extra realism!
  • 6
    @daarkfall I live in germany where government provides a lot of data about relief, population, schools and stuff like that! Planned is something like an import system with Plug-in support. So you can convert any data from any source to the simulations data structure. Hope you understand what I mean :D
  • 3
    Really great project, i was wondering, standard for public transports?
  • 2
    @Peppuz You mean what unified data structure for public transport Routes and schedules?
  • 2
    @hyvte Yes, i guess your gonna use GTFS, right?
  • 2
    @Peppuz Nope we use an data structure already developed by us. But it can be easily convertef to and from GTFS. GTFS uses static times like 13.45 (24h time). To ensure a game-like usage of the Simulation you can easily drag n drop your stops and Routes around. So they need to be relative and not absolute. We could also use GTFS but that would be a too hard work to code and maintain the editor... Feel free to state your pro arguments for GTFS. As mentioned in the GitHub readme I will upload class diagrams and model classes in the next days :)
  • 2
    Sounds very cool! Way out of my league tho 😔 I just do web.
  • 1
    @Dacexi No C# or C++ Experience?
  • 2
    @hyvte a bit of c# from unity, but my primary knowledge lies in nodejs, sass, js and html
  • 2
    @Dacexi Na Unity would be too slow for such a project. But would you mind if we come back to you later when it comes to Homepage and stuff?
  • 2
    @hyvte absolutely! Would love to help with the web stuff :)
  • 2
    @Dacexi Okay thank you very much ! :)
  • 2
    @hyvte No pro-GTFS comment man ahah instead imma wait for diagrams :P
  • 4
    Can I just say that OpenTTD would be hilarious to model this in.
  • 1
    @Peppuz Okay I am gonna upload them asap and notify you via the comments.
    @paralegalseagul I dont really understand what you mean :/
  • 2
    @hyvte It's like a classic tycoon game. Super fun! When I was in college some friends and I played OpenTTD on our train ride back.

    https://www.openttd.org/en
  • 0
    @paralegalseagul yeah this project is some kind of tycoon. I havent planned or thought about transport of goods. So the main focus lies on passenger transportation... I play a lot of TrainSim, BusSim and Simutrans. The difference are mainly the 3D environment in what you can move freely but also that you can create a realistic world from public data like OpenStreetMap. Other things and properties of this simulation you can find also in the description, the GitHub readme and on this link: http://hexectar.ga/projects/...
  • 0
    @Peppuz Here is the current class Model: Some classes as Track which can Not be found in the Diagram only have a representative meaning for now.
  • 2
    Have you thinked about a C++ simulation engine with C# as interface for the data crushed by the fast C++ (or Cython.... Just my immagination) project component?
    I have got a similar idea in the past, but in small dimension.

    If i and a my friend who is professional C++ programmer whould partecipate?
    Write on GitHub and stop?

    Ps: sorry for my english, it's very bad :/
  • 0
    @eisterman Yeah we thought about it but my C++ skills are not good enough to write a Complete simulation in it. But thats a very good idea.
    What do you mean by Write on GitHub and stop?
    We would be very happy if you join us.
  • 0
  • 3
    This sounds interesting sadly my c++ experience is close to beginner and c# is all revolving around unity :/
  • 2
    @f03n1x We also need experienced people in software engineering while making data diagrams and Concepts of the game
  • 3
    @hyvte sweet well I'm more of the junior level but I have the time to actually work on building up my skills, oh and also I read that you want to implement multiplayer later which is something that should be planned from the start unless you want to a bunch of network overhaul (only from what I've seen though, I haven't exactly experienced this issue
  • 0
    @f03n1x the architecture is based on server and client right now. Even in Singleplayer.
  • 2
    @hyvte oh right well I guess you don't need to worry then lol
  • 1
    @hyvte i'm talking about it with a my friend very good with CPP, we are univ student and in Italy it's exam time, some day and i will write you on GitHub
  • 0
    Watched the github! May I fork it?
  • 1
    @umanium the Project will be open source so do whatever you like :)
  • 2
    Sounds like a good idea. I have experience in Java, golang mostly. In CPP, only "Hello World" and never touched C#. I wish I could contribute. :(
  • 0
    @thatJavaGuy As mentioned there are also things like diagrams, data structures and concepts/methods/algorithms which have to be developed. Of you want to help you might help develop those as there is no deep experience with C# or C++ needed... Feel free to write a message to me over github (see Profile)
  • 1
    This sounds like a very useful interesting project that I'd like to be a part of. I, however, do not nearly have the knowledge required to help with the actual software. I could help with the Web stuff such as a php site or nodeJs site using angular or react. I am also pretty good with AWS so could help with distubution of the site and maybe some faster computations.
  • 0
    @cmarshall10450 It's very nice of you to offer your help which is definitly needed. Do you know about optimizing the processes stated above we have problems with?
  • 0
    Optimising is not my strong point but I would be able to help with developing an api that uses Amazon API Gateway and Lambda to allow faster computations that may make the project cheaper to run if it's released to the public. I may also be able to help with diagrams and documentation.
  • 0
    @cmarshall10450 Anyways when you are an experienced coder we welcome you to help. Anyways to create the data models and basic logic you dont have to be experienced in C++ or C# as you know how the real traffic works...
  • 0
    I wouldn't say that I'm a strong coder. I have just finished a computing degree but don't think of myself as any more than a beginner/intermediate programmer. I can definitely help with data structures and models though.
  • 0
    @cmarshall10450 Okay could you text me via GitHub? :)
  • 0
    @hyvte I'm following you on github.com but I'm not sure how to send you a message.
  • 0
    @cmarshall10450 Okay I will add you as a collaborator as I only needed your GitHub username :)
  • 1
    @cmarshall10450 Please contact me over: http://hexectar.ga/about-me/... so that I can send you the link to the slack team. Also everyone else can contact me there.
    @Peppuz
    @thatJavaGuy
  • 1
    @hyvte I am interested in helping with this project. I'm not sure where I stand skill wise but I am familiar with Java, Python and a little c# (working on it).
  • 0
    @dalastTomCruise We are still planning the project, detail level, architecture and stuff. So you could "rise with the project"... need a lot of help with planning
  • 0
    @hyvte sure thing. I will be taking a look at the project and share any ideas I have from time to time.
  • 0
    @dalastTomCruise We have a Slack group. Just contact me over contact form so that I can send you the link :)
  • 0
    @hyvte just sent my info. Looking forward to creating and growing
  • 3
    I did some work on mathematic models to simulate different drivers behaviours, also have a java cellular automata simulator that I will use on my thesis. http://github.com/gvpm/cats

    I am in class now but will definitely take a look in everything at this colab and see if I can help in any way
  • 1
    This looks like an interesting project, and I'm pretty interested in helping with this.

    I'll contact you with the contact form on your site with further info.
  • 1
    @Wexalian join on slack!
  • 0
    @Wexalian I d suggest the suggestion from @eskizo from as contact form was a work around ^^
  • 1
    @hypervtechnics @eskizo Alright, I'll do that as soon as I can
  • 0
    @hypervtechnics what do you mean "unity would be too slow"? if you know what you're doing, it would not.
  • 0
    @Midnigh-shcode Atm we have no one who is familiar with game engines. So because of unexperienced behaviour
  • 1
    @hypervtechnics
    i have 4 years of experience with unity, and am 3 months into playing around with UE. worked at a startup gamedev company some years ago and currently starting a new job at an already established gamedev company. have worked with or played around with numerous engines through my life, so... hello, you now have at least one person who has some idea about game engines (wouldn't call myself a specialist, but neither useless). i joined on slack (to read what you've already been through) and on discord yesterday, so we can continue there
  • 1
    @hypervtechnics also, been playing around with procedural geometry generation (for terrain, because usually engines can't build their internal terrain objects from heightmaps at runtime, but i've got beginnings of a unity system that should be able to do that), as well as some concepts (not stress-tested yet) for large-scale, dynamic detail&dynamic time-step simulations that automatically adjusts the granularity according to what is needed. was supposed to be able to simulate systems on a scale from components in a machine through factories using these simulated machines, up to cities/regions composed of these factories, auto-adjusting LOD of the simulation to be able to run in realtime on a standard desktop PC. also have concepts about (similar approach) to simulating people/populations. all of this is why your idea interested me and why i joined your slack/discord
Add Comment