Agents moves off the road network and starts moving unconstrained.

10 views
Skip to first unread message

Michael Belfrage

unread,
Feb 4, 2026, 8:57:43 AM (7 days ago) Feb 4
to GAMA

I have a problem and would be very appreciative of any ideas as to what it could be related to.

I have three fairly large graphs representing a city network. Prior to loading the networks into GAMA, I had to pre-process them to connect some disconnected edges to ensure that the entire graph is connected, allowing agents to move everywhere. Later, I performed some data reduction to reduce computational cost at runtime, as the network is quite large, and I want to compare two reduced versions with the original graph. The networks were then converted into GDFs, meaning that the geometries should be valid.

However, when I load the three different networks, the two heavier networks i.e., the original network after connecting all components, and the less restrictive reduction tend to produce agents that move off the network and cannot get back on, preventing them from reaching their destination. The most reduced network works as expected which is also why this is somewhat confusing.

Thankful for any thoughts or ideas on this!

Best
Michael

Arnaud Grignard

unread,
Feb 5, 2026, 2:19:52 AM (7 days ago) Feb 5
to gama-p...@googlegroups.com
Dear Michael,

Welcome to the gama-platform mailing list.

It might be difficult for us to debug your issue without having access to the graph per say.

Have you try to use the model located in the model library/Data/Data Cleaning/Clean Line Network.gaml to clean your network, this might help to preprocess your graph

Best regards,

Arnaud

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gama-platform/6b7d9bf7-7e00-469b-b4e5-fd45414506e7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages