-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
here is my project. is my Urban Traffic Simulation with GIS Data #132
Conversation
Thanks for opening a PR. I would like to see the network and road data actually being used, instead of cars just moving randomly. Als try to show which problems or cases your model could actually solve. Agent-based models are meant to give some insight in behavior or system dynamics. PS: I know there’s a lot of generative AI behind this PR. That’s okay, but you’re still responsible for the final product, so check it well. |
sure sir definitely |
I know what ABM is, that was not the question :). Sorry, but I’m going to stop replying if you don’t carefully read, comprehend and consider the feedback I’m giving. |
sorry sir actually I was attending my academic classes that's why I gave that message my apologize For example:- Overall, this project can help cities plan better for traffic, make roads safer, and reduce congestion for everyone. I know I am taking help of Generative ai for report writing but I am the responsible for my algorithm before that I did two research projects in dental field in that one of that software visualization by using pydicom with mesh mode and one more is by using CNN +vgg16 pre train model to find bone loss prediction. |
Good. For this example to be useful, it need to actually simulate agents interacting with each other (so with other cars) and/or the network (roads). Could you try to integrate these two points in the notebook of this PR?
Make sure the notebook is logically structured and reads tutorial-like. |
Yes sir |
@EwoutH sir
All set for merging! Thank you 🙏 for believing in me and understanding my idea, and for assigning this project to me. I've learned a lot about this organization and its work. |
This is moving into the right direction. But I would recommend you to do one step back:
These are not goals, these are just things that you do, on a bit higher level. A goal would be:
or something like that. Then, you have to simplify the problem to the bare essentials. Then, you have to select a right tools. That can be Mesa or not. So start there, and really think deeply about it. What exactly is my problem? How can I make this problem as simple as possible? And what can ABM add to that to provide insights. Take at least a day to really think this though. Iterate a bit on it. See if there are some components in Mesa that are useful for it. Then write up your goal and a high-level approach, without any code. If you're interested in picking up this effort, I will hear back from you tomorrow :) |
@EwoutH sure sir |
GOALSVisualize Traffic Flow: We can represent how traffic flows through different parts of a city by simulating vehicle movements on a road network. Analyze Traffic Management Strategies: The simulation helps in testing and evaluating various traffic management strategies, such as signal timing adjustments or changes in road layouts, to improve overall traffic efficiency. Evaluate Emergency Vehicle Navigation: Planning routes that minimize delays is facilitated by this code since it simulates the navigation of emergency vehicles through dense traffic. Study Pedestrian-Vehicle Interactions: Potential safety issues can be identified by simulating interactions between pedestrians and vehicles at busy intersections and planning improvements. Assess Autonomous Vehicles: This simulation allows us to evaluate the impact of autonomous vehicles on traffic flow and safety thus facilitating future transportation scenarios’ planning. Optimize Parking Spaces: Simulate parking space usage and help in optimizing allocation and use of parking spaces in urban areas. Understand Construction Impacts: By modeling road construction scenarios, we can predict their impact on traffic patterns and plan mitigation strategies. In summary, our code provides a powerful tool for urban planners, researchers, and policymakers to simulate, visualize, and analyze various traffic-related scenarios, leading to better decision-making and improved traffic management. Example: India🇮🇳 road codition |
@EwoutH sir ?? |
That looks like my ideas recycled though AI. Stop letting AI take the wheel. AI can be a tool, but you need to make the decisions for now. Pick one single topic, that really excites you, and then try to see if you can use Mesa in an interesting way to simulate that. In the mean time, read a bit up about ABM and what it's strengths and weaknesses are (and thus for which problems its suitable). |
Thank you sir @EwoutH for guiding me and enlightening me on my linguistic deficiencies fortunately, I am very lucky to have you at my top end sir I am poor in expression while gaining the skills kindly forgive me and keep guiding as ever . here are the new expression Goal1)To resolve traffic congestion and making smooth flow of traffic at critical congested Urban areas(points). |
No worries. For one example, start with one simple goal (so not four). |
@EwoutH ok sir shall I start coding |
@EwoutH sir I am working on the 1st Goal till yet I got these results |
@EwoutH sir this is a map view representation |
Looks interesting! Feel free to open another PR. |
@EwoutH Sir if your permission can I update this same pr and add that thing because sir I did in same note book . |
@PRIYANSHU2026 I have reproduced the problem and I confirm it's a bug on the latest Git main. I'm not sure why it is not caught by the CI. cc: @tpike3 @wang-boyu |
Fixed in projectmesa/mesa-geo#214. @PRIYANSHU2026 providing the proof & context on how you did x is necessary to capture the nuances in a problem. Otherwise I would still have interpreted it as your mistake in installing the Git Mesa-Geo. Also, text copy paste is sufficient instead of a screenshot. |
@rht yes sir I have pasted the whole code but I got feedback as I am week I debbuging but I have saw the issue which faced since from 4 day I was struggling to importing mesa_geo but is issue is in git version ok I will wait and sir Please give some code Reference for importing and merging with osmx in new version of mesa_geo and mesa ok I wait for few days to resolve this issue |
@rht @EwoutH @wang-boyu sir don't feel bad but I have find the bug I have get some reward like Certificate or appreciation letter for finding bug because it is my first time to find bug in open source please 🙏 |
Sounds good to me. If you open the issue in the Mesa-Geo repo it should be considered a valid bug report. So far we have only explicitly acknowledged merged pull requests. I haven't seen certificates for bug reports, but at least it would show up as your GitHub public footprint. |
@rht ok sir but it is first time I have reported the bug issue please atleast in this orgnization it is first achievement in Reputed Gsoc orgnization please sir humble request to Provide appreciation letter from orgnization because it build my confidence for Future to Join this orgnization in Gsoc25 |
@rht sir if possible pleases send me in this mail [email protected] that any E-certificate or appreciation letter |
As I said, there is no certificate or receipt. If you want a proof for when applying for GSoC next year or applying for an internship or job, you can link to the GitHub issue URL. That's already enough. |
@rht ohh ok sir got it thank you |
@rht one more request in mesa_geo I have raised issue can u add labels and comment I want to show my Professors and posted in profile please it humble Request 🙏 |
With all due respect, you made a vague, unstructured and incoherent report. rht did the work to decode that, reproduce it, find the actual underlying bug, and finally fix it.
This is really not how open source works, unfortunately. Sorry. We do appreciate bug reports. But we also request some form of effort before we put our own free time in. Please structure it well and always include a Minimal, Reproducible Example |
@EwoutH yes sir that's why I am stick with this from since one month and learning Many thing About Mesa.
sorry sir for writing these thing because in our Country India many companies taking Selection as per skill , grade and Certification that's why I requested letter of appreciation its ok I will give my best contribution to this orgnization for to selecting into Gsoc 25 in this and making meaningfull projects. after this project [Traffic Simulation with GIS Data] if I got success with your support of all mentors guidance @wang-boyu @rht I have prepared many ideas in which I can work after this project I am very close to compleate it only Visualization part only I got struck hop so I will complete soon. Thank you 🙏 |
@EwoutH sir can we do interactive session because I want to learn many thing regarding Mesa_geo please 🙏 |
@EwoutH , sir, if I did anything wrong or misbehaved, I am sorry. Please reply to my chat. I need help regarding your new visualization and how to use it. That's why I want to talk in an interactive session. |
Hi, I’m on vacation for the next two weeks. I will get back to you in the second week of August. |
@EwoutH sure sir |
Thanks for your patience. Quick update: I won't have time for an in-depth call this week, but if you have any specific questions or suggestions please let me know! |
sir?? |
Checkout these examples:
If you want to natively display networks, I don't think that's currently supported. In this PR Vítor modified the visualisation to allow Vonoroi maps, you could approach it in a similar way. |
The most relevant example for Mesa-Geo using Solara viz is the tutorial link I have already linked from 2 weeks ago: #132 (comment). The bug has been fixed so the tutorial should work again. |
@rht sir it is show not found |
@tpike3 ^ something is wrong with the tutorial. |
@rht thank you sir and also mention how to merge open street map and Vonoroi maps for networks |
because my model is already completed but I stuck in visualization In same time please help to resolve |
The ones who maintain the new Mesa-Geo are @tpike3 and @wang-boyu , and you have to wait for their response. |
@rht sure sir |
@wang-boyu @tpike3 Sir, this is a gentle reminder that I've been waiting since last week. Please look into this matter and guide me in completing this project. |
@PRIYANSHU2026 this is likely an interopability issue between Mesa-Geo and Mesa itself. If you're using a recent alpha version of Mesa 3.0, that doesn't yet work with Mesa-Geo. I think I resolved that issue with projectmesa/mesa-geo#220. Can you try installing the latest mesa-geo git version, using:
That command should also automatically install a compatible Mesa version, currently v2.3.2. |
@wang-boyu @EwoutH this my prototype .
GIS-Based Traffic Simulation Using Mesa-Geo
Project Title:
GIS-Based Traffic Simulation Using Mesa-Geo
Abstract:
The proposed project aims to develop a GIS-based traffic simulation platform utilizing the Mesa-Geo library. The platform will model and visualize vehicle movements on a road network, providing insights into traffic patterns and enabling the analysis of traffic management strategies. This simulation tool will be valuable for urban planners, researchers, and policymakers in understanding and optimizing traffic flow in cities.
Motivation:
Traffic congestion is a significant issue in urban areas, leading to increased travel time, fuel consumption, and pollution. Understanding and managing traffic flow is crucial for improving urban mobility and reducing the environmental impact. By leveraging agent-based modeling and GIS, this project will create a realistic traffic simulation environment that can help in analyzing various traffic scenarios and strategies.
Goals:
Develop a GIS-based traffic simulation model:
Implement vehicle behavior models:
Visualization and analysis:
User interface:
Methodology:
Road Network Integration:
Vehicle Agent Modeling:
Simulation Execution:
Visualization and Analysis:
User Interface:
Expected Outcomes:
About Me:
I am Priyanshu Tiwari, a second-year BTech student in Artificial Intelligence and Machine Learning at SIR MVIT, India. My interest in traffic simulation and GIS stems from my passion for urban mobility and smart city solutions. With experience in Python, machine learning, and agent-based modeling, I am well-prepared to tackle this project and contribute to the GSOC community.