Hi AequilibraE team,
I'm currently working on implementing public transit assignment using the AequilibraE library, specifically aiming to replicate the functionality shown in the public example here: Public transport assignment with skimming
However, I am using locally modified TNTP network data — specifically the Sioux Falls dataset — which I have adapted to include additional attributes like travel_time, link_type, and mode. Here are the files I'm working with:
Network: SiouxFalls_net.tntp
Demand: SiouxFalls_od.csv
Nodes/Geometry: SiouxFalls_node.tntp
I've successfully loaded the data and created a project, but I keep running into issues when trying to use create_graph() for the transit assignment. I believe the main challenges are:
Understanding the exact minimum required structure and attributes for nodes, links, and modes in a transit assignment context.
Correctly inserting and registering custom link_types and modes to prevent IntegrityError or caching issues.
Adapting TNTP-format data to match the expectations of AequilibraE's transit assignment framework.
Would you be able to advise on:
The exact structure required for the network to be used in Transit.create_graph()?
Whether TNTP data is viable for public transit modeling, and if so, what the necessary transformations are?
Whether there is a working example with openly accessible data that closely resembles this workflow?
Any insights or guidance would be greatly appreciated. I’ve invested a few weeks into this and would love to get things up and running properly!
Best regards,
Justine Kojo
--You received this message because you are subscribed to the Google Groups "AequilibraE" group.To unsubscribe from this group and stop receiving emails from it, send an email to aequilibrae...@googlegroups.com.To view this discussion visit https://groups.google.com/d/msgid/aequilibrae/d419c087-b919-4846-96aa-13f09e402f92n%40googlegroups.com.
Hi Pedro,
Thanks so much for your quick and insightful response.
You’re absolutely right—my current aim is more on the strategic planning side of things. I’m looking to evaluate different transit integration scenarios (like BRT vs. paratransit) using modified TNTP-style data (e.g., Sioux Falls) that I’ve enriched with attributes relevant for transit modeling (headways, travel times, modes, etc.).
I now understand that AequilibraE’s public transit functionality is geared toward GTFS-based workflows, which makes sense given the importance of temporal dynamics. That said, my current use case is less about modeling individual passenger trips and more about estimating aggregate flows, costs, and service impacts—so even an all-or-nothing assignment with skimming, if structured well, could serve my purposes for now.
If it’s feasible within the framework, I’d love any guidance on:
• How best to adapt a TNTP-style network (with added transit-specific fields) for such a workflow;
• Whether using the project-based interface or working with generic graphs is more robust for these kinds of strategic assignments;
• Any critical fields or schema requirements the system expects (e.g., minimum requirements for link types, modes, connectors, etc.).
I’m happy to make adjustments if it means staying within AequilibraE’s strengths. Thanks again for your time and for the excellent toolset.
Best regards,
Justine
To view this discussion visit https://groups.google.com/d/msgid/aequilibrae/195e595383a.d90f19662086.1334583799636735297%40margo.co.
To view this discussion visit https://groups.google.com/d/msgid/aequilibrae/CAMnW_NWsKyaFJk9jKfkrX%2Buc3Eo3vp%2BMCn1anOjFrWGvp5vFiA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/aequilibrae/CAMnW_NWsKyaFJk9jKfkrX%2Buc3Eo3vp%2BMCn1anOjFrWGvp5vFiA%40mail.gmail.com.
Hi Pedro and team,
Your suggestions and feedback are noted. Thank you for your guidance and support.
Best regards,
Justine Kojo
To view this discussion visit https://groups.google.com/d/msgid/aequilibrae/195e8d71e0f.303e49be64437.91553695359404930%40margo.co.