<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.simulace.info/index.php?action=history&amp;feed=atom&amp;title=Urban_Traffic_Flow_Optimization</id>
	<title>Urban Traffic Flow Optimization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.simulace.info/index.php?action=history&amp;feed=atom&amp;title=Urban_Traffic_Flow_Optimization"/>
	<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Urban_Traffic_Flow_Optimization&amp;action=history"/>
	<updated>2026-07-28T11:16:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://www.simulace.info/index.php?title=Urban_Traffic_Flow_Optimization&amp;diff=26377&amp;oldid=prev</id>
		<title>Stej34: /* Urban Traffic Flow Optimization Simulation Report */</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Urban_Traffic_Flow_Optimization&amp;diff=26377&amp;oldid=prev"/>
		<updated>2025-01-10T20:05:10Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Urban Traffic Flow Optimization Simulation Report&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:05, 10 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Urban Traffic Flow Optimization Simulation Report =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Urban Traffic Flow Optimization Simulation Report &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;by stej34&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1. Definition of the Problem ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1. Definition of the Problem ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key simulaceinfo_www:diff::1.12:old-26371:rev-26377 --&gt;
&lt;/table&gt;</summary>
		<author><name>Stej34</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Urban_Traffic_Flow_Optimization&amp;diff=26371&amp;oldid=prev</id>
		<title>Stej34: mistake spotted</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Urban_Traffic_Flow_Optimization&amp;diff=26371&amp;oldid=prev"/>
		<updated>2025-01-10T19:50:41Z</updated>

		<summary type="html">&lt;p&gt;mistake spotted&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:50, 10 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 2. Method ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 2. Method ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In exploring solutions, multiple methods exist—analytical models (e.g., queueing theory), microscopic traffic simulations, or agent-based approaches. I chose a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;**&lt;/del&gt;multi-agent simulation&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;** &lt;/del&gt;in NetLogo because:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In exploring solutions, multiple methods exist—analytical models (e.g., queueing theory), microscopic traffic simulations, or agent-based approaches. I chose a multi-agent simulation in NetLogo because:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* It allows straightforward implementation of varying driver and pedestrian behaviors.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* It allows straightforward implementation of varying driver and pedestrian behaviors.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* It supports fine-grained control over traffic-light timing and road capacity.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* It supports fine-grained control over traffic-light timing and road capacity.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key simulaceinfo_www:diff::1.12:old-26370:rev-26371 --&gt;
&lt;/table&gt;</summary>
		<author><name>Stej34</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Urban_Traffic_Flow_Optimization&amp;diff=26370&amp;oldid=prev</id>
		<title>Stej34: added simulation report documentation</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Urban_Traffic_Flow_Optimization&amp;diff=26370&amp;oldid=prev"/>
		<updated>2025-01-10T19:49:32Z</updated>

		<summary type="html">&lt;p&gt;added simulation report documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Urban Traffic Flow Optimization Simulation Report =&lt;br /&gt;
&lt;br /&gt;
== 1. Definition of the Problem ==&lt;br /&gt;
Urban traffic congestion remains a persistent challenge for city planners and transportation engineers. Increasing numbers of vehicles, coupled with pedestrian traffic, can lead to bottlenecks at intersections, elevated emissions, and diminished quality of life. This simulation project tackles the problem of optimizing traffic flow in a simplified but representative urban setting, focusing on traffic-light coordination, vehicle flow, and pedestrian impact.&lt;br /&gt;
&lt;br /&gt;
== 2. Method ==&lt;br /&gt;
In exploring solutions, multiple methods exist—analytical models (e.g., queueing theory), microscopic traffic simulations, or agent-based approaches. I chose a **multi-agent simulation** in NetLogo because:&lt;br /&gt;
* It allows straightforward implementation of varying driver and pedestrian behaviors.&lt;br /&gt;
* It supports fine-grained control over traffic-light timing and road capacity.&lt;br /&gt;
* It provides user-friendly plotting and monitoring features.&lt;br /&gt;
&lt;br /&gt;
Other alternatives, such as mathematical queueing models, could be more abstract but offer less visual feedback on individual agents. Commercial traffic simulators (e.g., VISSIM) are powerful but may be less accessible for quick prototyping. Therefore, NetLogo strikes a good balance between detail, accessibility, and extensibility.&lt;br /&gt;
&lt;br /&gt;
== 3. Detailed Model Description ==&lt;br /&gt;
[[File:Stej34_UI.png]]&lt;br /&gt;
=== Parameters (Sliders) ===&lt;br /&gt;
* '''vehicle-entry-rate:''' Determines how frequently cars enter the simulation (vehicles per 100 ticks).&lt;br /&gt;
* '''pedestrian-arrival-rate:''' Controls how many pedestrians spawn, mimicking real-life crosswalk usage.&lt;br /&gt;
* '''green-time, yellow-time, red-time:''' Define the durations of each traffic-light phase, allowing users to simulate different strategies (long green phases vs. more frequent switching).&lt;br /&gt;
* '''road-capacity:''' Sets how many cars can occupy a road patch before exceeding capacity and forcing waiting or slower speeds.&lt;br /&gt;
&lt;br /&gt;
=== Model Logic ===&lt;br /&gt;
* Traffic Lights: Two lights at a central intersection cycle through green, yellow, and red. Cars must stop on red (and sometimes choose to stop on yellow).&lt;br /&gt;
* Vehicles: Cars spawn at the edges and move toward the intersection, potentially slowing or stopping for red lights, pedestrians, or capacity constraints. Once they exit the simulation boundary, they are removed.&lt;br /&gt;
* Pedestrians: Pedestrians spawn near the center, walk randomly (or across roads), and slow vehicles if they are on the road. They exit when leaving the boundary.&lt;br /&gt;
* Data Collection: &lt;br /&gt;
Monitors record total cars in the system and average waiting time.  &lt;br /&gt;
Plots illustrate changes in car count and waiting time over each tick.&lt;br /&gt;
&lt;br /&gt;
=== Assumptions and Simplifications ===&lt;br /&gt;
* The environment is a 2D grid with a single intersection.&lt;br /&gt;
* Pedestrians can slow down cars just by proximity; real-world behaviors are more complex.&lt;br /&gt;
* We assume cars exit immediately after crossing the outer boundary (no surrounding network).&lt;br /&gt;
&lt;br /&gt;
== 4. Results ==&lt;br /&gt;
=== Key Observations ===&lt;br /&gt;
* Traffic Light Timing: Matching green and red durations to traffic volume significantly reduces average waiting time. In scenarios with longer green phases, total delays decreased—up to a point. Overly long phases, however, can cause buildup in the perpendicular direction.&lt;br /&gt;
* Pedestrian Impact: Higher pedestrian-arrival rates raised average waiting times for vehicles, especially when they were forced to slow to near-stop speeds on the roadway. &lt;br /&gt;
* Road Capacity: When too many cars occupy the road, waiting times grow rapidly. Optimally distributing cars (e.g., with balanced traffic flow) prevents dramatic queue buildups.&lt;br /&gt;
&lt;br /&gt;
=== Real-World Applicability in the Czech Republic ===&lt;br /&gt;
This simulation, while simplified, can offer practical insights for specific locations:&lt;br /&gt;
* Brno (near Masaryk University): Streets like Veveří or Kounicova often combine vehicle and pedestrian flows. Adjusting traffic-light intervals while allowing frequent pedestrian crossings could streamline peak-hour traffic.&lt;br /&gt;
* Ostrava (Sady 28. října): High tram and pedestrian usage requires carefully timed lights to mitigate congestion. Scenario testing in the simulation can guide how short or extended green phases might help balance foot and vehicle traffic.&lt;br /&gt;
* Prague (Anděl intersection in Smíchov): A bustling area with shoppers and commuters—tight synchronization of lights, shorter pedestrian phases, and regulated vehicle entry rates can improve throughput while maintaining walkability.&lt;br /&gt;
&lt;br /&gt;
== 5. Conclusion ==&lt;br /&gt;
By defining the problem of urban congestion and employing an agent-based method, the simulation successfully demonstrates how coordinated traffic-light timing, road capacity considerations, and pedestrian frequency all interrelate. The results highlight key strategies for reducing waiting times and improving overall flow. Adjusting parameters in this model can inform actual municipal decisions, helping planners test scenarios before committing to costly real-world interventions.&lt;br /&gt;
&lt;br /&gt;
== 6. References ==&lt;br /&gt;
* Traffic Congestion and Urban Planning  &lt;br /&gt;
* Effects of Traffic Signal Timing on Urban Traffic Flow  &lt;br /&gt;
* Pedestrian Impact on Traffic Flow Dynamics  &lt;br /&gt;
* NetLogo official documentation: https://ccl.northwestern.edu/netlogo/docs/&lt;br /&gt;
* Agent-Based and Individual-Based Modeling: A Practical Introduction (2nd ed.). Princeton University Press: https://press.princeton.edu/books/paperback/9780691190839/agent-based-and-individual-based-modeling&lt;br /&gt;
* Introduction to Agent-Based Modeling: Modeling Natural, Social, and Engineered Complex Systems with NetLogo. MIT Press: https://mitpress.mit.edu/9780262731898/introduction-to-agent-based-modeling/&lt;br /&gt;
&lt;br /&gt;
== 7. Model Code ==&lt;br /&gt;
[[Media:Traffic_stej34.nlogo]]&lt;/div&gt;</summary>
		<author><name>Stej34</name></author>
		
	</entry>
</feed>