Diagnostic codes#
Every run writes diagnostics.parquet: what it met and resolved by a documented rule, one row per category, code, severity and element, with a count. A run never stops for these; a high count is worth a look. openmobisim.Run.diagnostics() reads them. These are the codes this version can write, by where they arise.
Where |
Code |
What happened |
|---|---|---|
the run |
|
Per-element diagnostic detail was capped, at 4 096 elements per code; the count stays exact. |
the run |
|
Vehicles stood in a closed loop of links waiting on one another when the loading ended (gridlock): one per loop, about the loop’s first link. |
the run |
|
The trip’s mode cannot be simulated by this run: what it needs is not there (a bike or walk layer, a timetable for transit and its combinations, parkings for park-and-ride and bike-and-ride). |
the run |
|
No feasible path existed for a trip; the documented fallback was used. |
the run |
|
A trip that states a mode needing a vehicle (a car or a bike) found its traveller’s vehicle not at its origin, or the traveller owns none. A trip that chooses its mode is offered only the modes its traveller can use. |
the run |
|
A trip did not complete within the simulation window. |
the network |
|
A link had zero or negative length; it was given a minimum length. |
the network |
|
A link’s capacity implied a backward wave above its bound, or no triangle at all; jam density was raised so the triangle closes with the capacity given. |
the network |
|
A link referenced a node that was never declared; the link was dropped. |
the network |
|
An OSM |
the network |
|
A link’s derived backward wave speed was clamped to its bound. |
the network |
|
The study area spans far enough in longitude that projection distortion is material at its edges. |
the demand |
|
Two |
the demand |
|
Two rows for the same traveller stated different |
the demand |
|
A traveller’s trip rows disagreed on |
the demand |
|
A traveller’s trip rows disagreed on |
the demand |
|
|
the demand |
|
A |
the demand |
|
Trip n+1’s stated origin disagreed with trip n’s destination; the chain wins. Counted per traveller. |
reading OpenStreetMap |
|
A way was excluded by |
reading OpenStreetMap |
|
A closed way with no junction but its own end could not become a link (it would start and end at one node) and was dropped. |
reading OpenStreetMap |
|
A way was tagged |
reading OpenStreetMap |
|
A |
reading OpenStreetMap |
|
A |
reading OpenStreetMap |
|
A way referenced a node the extract does not contain — normal at the edge of a bounding-box extract, where ways are cut. |
reading OpenStreetMap |
|
A |
reading OpenStreetMap |
|
A way had fewer than two nodes. |
reading OpenStreetMap |
|
A way carried a |
reading OpenStreetMap |
|
A way with missing nodes in its middle was imported as separate pieces rather than bridged across the gap. |
reading OpenStreetMap |
|
A way was dropped because too few of its nodes survived. |