Preprint
Article

This version is not peer-reviewed.

A Constraint-Aware Large Language Model and Spatiotemporal Knowledge Graph Framework for Urban Digital Twins: Simulating Transport Disruptions and Accessibility in Data-Scarce Cities

Submitted:

03 November 2026

Posted:

04 November 2026

You are already at the latest version

Abstract
Most urban digital twins assume sensor feeds, traffic counts and calibrated flood models that mid-sized South Asian cities lack. Agartala, capital of Tripura in north-east India, is a case in point: its drains are largely unmapped, about 2% of its road segments carry a name in OpenStreetMap, and the Haora River rose above its danger level in August 2026. We couple a large language model (LLM) interface with a spatiotemporal knowledge graph (STKG), built from open data alone, and a six-rule constraint verifier, so that plain-language disruption reports become network states a simulator can use. Inundation was screened with a flow-routed height-above-nearest-drainage surface and converted to speed loss with a published depth–disruption curve. At a 1.5 m stage, demand within 10 min of a hospital fell from 86.4% to 32.6% at peak and 22.7% of demand lost all hospital access; closing the 31 river bridges as well raised that share to 51.2%. In 600 corrupted action proposals the verifier rejected every hallucinated, invalid, implausible and network-unsafe action and repaired every misspelled road name, but it missed all substitutions of one flood-prone road for another. The LLM is best treated as a translator whose output is always checked against the graph.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

A city digital twin is, at its simplest, a computational copy of urban systems that is kept in step with the real thing and used to ask what would happen if something changed [1,2]. The idea has moved quickly from manufacturing into planning, and reviews now count hundreds of city-scale projects [3,4,5]. The best-known examples, Zurich and Herrenberg among them, rest on dense three-dimensional models, sensor streams and long records of observed traffic [6,7]. That foundation is also the main reason the concept travels poorly. Fuller et al. [8] list data availability, interoperability and model trust as the open problems, and each of them is sharper in a city that has never had a traffic counting programme.
Agartala is such a city. It is the capital of Tripura, sits about 2 km from the Bangladesh border, and had 400,004 residents at the 2011 census [9]. The Haora River runs through its centre from east to west, and much of the built-up area lies on low ground between the river and a series of laterite hillocks. On 24 August 2026 the Central Water Commission gauge on the Haora read 10.72 m against a danger level of 10.70 m; more than a thousand residents were affected and six relief camps opened in the city’s low-lying wards [10,11]. Floods of this kind are a familiar story for Indian cities [12], but the data needed to model their effect on movement are thin. Open map data are the obvious starting point, and OpenStreetMap (OSM) road coverage is now close to complete in many countries [13,14]. Attributes are another matter. In Agartala we found that only about 2% of road segments carry a name, that mapped drains and streams total 4.6 km inside an 85 km2 city, and that roughly three in four 250 m cells hold fewer than five mapped buildings. Such gaps are typical of building and attribute completeness in cities of the Global South [15].
Large language models (LLMs) look attractive here because much of the information a city does have about disruptions arrives as text: a radio bulletin, a police message about a closed road, a line in a newspaper. LLM agents can already call GIS tools, write spatial queries and chain analysis steps [16,17], and transport researchers have wrapped them around traffic models [18]. They also carry some geographic knowledge of their own [19]. The difficulty is that their output is fluent whether or not it is right. Hallucinated entities and unsupported claims are well documented [20], and careful tests show that LLMs on their own do not produce reliable plans [21]. Two remedies recur in the literature. One grounds the model in an external store such as a knowledge graph or a retrieved document set [22,23,24]. The other passes the model’s output to a symbolic checker that can say no [25,26]. For a digital twin that will change road states and report accessibility to emergency planners, we think both are needed.
Work on transport disruption offers the second half of the problem. Network vulnerability studies measure how much accessibility falls when links fail [27,28,29], and flood studies have mapped which links close and how far emergency services can reach during an event [30,31,32,33]. Pregnolato et al. [34] gave the field a widely used curve relating water depth to vehicle speed. These models take the disruption as a given input. In a data-scarce city the harder step comes earlier: turning scattered, partly wrong reports into a disruption state that is consistent with the network, the terrain and the clock.
This paper sets out and tests a framework for that step. Its contributions are four. First, we build a spatiotemporal knowledge graph (STKG) of Agartala’s road network, facilities, demand and flood exposure from open data only, with time-stamped road states. Second, we define a constraint verifier with six rules (schema, entity grounding, time, parameter range, physical plausibility and network safety) that sits between an LLM and the simulator. Third, we run seven disruption scenarios hour by hour and report accessibility to hospitals and fire stations, cut-off demand and link criticality, together with GIS, remote sensing and CAD layers of the city. Fourth, we test the verifier against 600 programmatically corrupted proposals so that its strengths and blind spots are measured rather than asserted. Section 2 reviews related work, Section 3 describes data and methods, Section 4 reports results, and Section 5 and Section 6 discuss and conclude.

3. Materials and Methods

3.1. Study Area

The study area is the city boundary supplied as a polygon shapefile in WGS 84 (Figure 1). It covers 85.27 km2 between about 23.77° N and 23.91° N and 91.23° E and 91.34° E. Terrain inside the boundary is gentle but uneven: the smoothed surface rises from about 8 m at the 5th percentile to 31 m at the 95th, with a median of 15 m. Low ground follows the Haora River and the Katakhal channel, which together account for 19.7 km of mapped river line inside the city. The road network is dense, with 1,118.5 km of drivable OSM ways inside the boundary, or 13.1 km per km2. Most of that length is narrow residential lanes; trunk and primary roads make up about 4% of the modelled network length. Agartala Government Medical College with GB Pant Hospital, Tripura Medical College at Hapania and the IGM Civil Hospital are the main public hospitals, and the city’s fire stations stand at Maharajganj Bazar in the centre and in the northern suburbs.

3.2. Data

All inputs are open and listed in Table 1. OSM data were downloaded on 29 October 2026 in 48 tiles of 0.02° through the OSM editing API and merged by way identifier. From them we extracted drivable highways, bridges, rivers and drains, building footprints and points of interest. The Sentinel-2 Level-2A scene with the lowest cloud cover between November 2025 and March 2026 over tile 46QCM was acquired on 28 November 2025, with reported cloud cover close to 0% [48]. ESA WorldCover 2021 v200 provided land cover at 10 m [35], and the Copernicus GLO-30 DEM provided elevation [36]. The DEM is a surface model, so roofs and tree crowns raise it in built-up areas. We reduced this bias with a 3 × 3 minimum filter followed by a 3 × 3 mean filter after reprojecting to UTM zone 46N at 30 m. The filter removes isolated spikes but not whole blocks of buildings, and this remains a source of error.

3.3. Framework Overview

Figure 2 shows the six parts of the framework. Open data are ingested into the STKG (Section 3.4). A report or query in plain text reaches the LLM interface together with context retrieved from the graph, and the LLM returns a structured action proposal (Section 3.5). The constraint verifier accepts, repairs or rejects the proposal (Section 3.6); a rejection goes back to the LLM with the violated rule named. Accepted actions update the network state used by the simulation engine (Section 3.7 and Section 3.8), and the resulting states are written back to the graph as time-stamped triples. The design keeps the LLM away from any step that changes the network directly.

3.4. Spatiotemporal Knowledge Graph

OSM ways were split at every node shared with another way, giving directed segments between junctions. We kept the largest strongly connected component of the drivable network within 1.5 km of the boundary, so that routes leaving and re-entering the city were possible. This left 18,294 segments and 14,836 junctions; 337 segments are one-way. Free-flow speeds were assigned by road class (trunk 40 km/h, primary 35, secondary 30, tertiary 25, unclassified 20, residential 15, service and track 10), since no observed speeds exist for the city. Facilities within 2 km of the boundary were snapped to the nearest junction; for the ten general hospitals the median snapping distance was 46 m.
Demand was represented by 1,709 hexagonal cells, 250 m across flats, clipped to the boundary. Each cell’s weight is its count of OSM building footprints where at least five are mapped. Elsewhere, the weight is the WorldCover built-up share in the cell multiplied by the city-wide ratio of buildings to built-up share, so that unmapped neighbourhoods are not treated as empty. Weights were normalised to sum to one.
The ontology has seven classes (Figure 3): RoadSegment, with Bridge as a subclass; Junction; Facility; DemandCell; River; State; and Report/Action. Static triples record topology, class, length, free-flow speed, the segment’s HAND value, imperviousness within 100 m and, for bridges, the river crossed. Temporal triples have the form (segment, hasStatus, open | slowed | closed) with a validity interval [ts, te) in hours, following the validity-time model of Leblay and Chekol [41]. Table 2 gives the composition of the graph. We stored triples in a columnar table rather than a triple store because the queries needed by the verifier (look-ups by identifier or name, neighbourhoods of a junction, attribute filters) are simple; the schema maps directly to RDF if a SPARQL endpoint is wanted.

3.5. LLM Interface and Action Schema

The LLM is used for one job: translating a report or an operator request into an action that the verifier can check. For each input the interface retrieves three kinds of context from the graph: candidate segments whose names or nearby facility names match words in the text, the one- and two-hop neighbourhood of those segments, and their current states. The model is then asked to return a JSON object with seven fields: action (close, restrict, reopen or divert), target (segment identifiers or a road name), t_start and t_end (hours from scenario start), speed_factor for restrictions, reason (flood, event, works, crash, other) and kind. The last field matters for the rules below. An observation reports something that has happened, such as a waterlogged road. An intervention is something the authority proposes to do, such as a festival closure. The prompt template and schema are given in Appendix A. The interface is model-agnostic, and nothing in the verifier depends on which LLM produced the proposal.

3.6. Constraint Verifier

Let a proposal be a = (type, X, ts, te, φ, r, k), where X is the set of target segments, φ the speed factor, r the reason and k the kind. Let E be the set of segments in the graph, T the scenario horizon (24 h), He the flood-exposure height of segment e defined in Section 3.7 and L(t) the current stage. The verifier applies six rules in order:
  • C1 (schema): type ∈ {close, restrict, reopen, divert};
  • C2 (grounding): every e ∈ X must exist in E. A road name is resolved through a gazetteer of OSM names; if no exact match exists, the closest name with a weighted Levenshtein similarity of at least 88 (on a 0–100 scale) is accepted and the action is flagged as repaired;
  • C3 (time): 0 ≤ ts < te ≤ T;
  • C4 (range): for restrictions, 0 < φ ≤ 1;
  • C5 (physical plausibility): if r = flood and type ∈ {close, restrict}, then mine∈X He ≤ L(t) + δ, with tolerance δ = 0.5 m;
  • C6 (network safety): if k = intervention and type ∈ {close, divert}, every demand cell must still reach at least one hospital once the segments in X are removed.
C1–C4 are cheap syntactic checks. C5 and C6 need the graph and the simulator. C5 asks whether the terrain makes the reported flooding believable at the current stage. It does not apply to observations of non-flood events, because a crash or a fallen tree can close any road. C6 applies only to interventions: an observed closure is a fact to be recorded, however damaging, whereas a planned closure that cuts a neighbourhood off from all hospitals should not be approved without a second look. A proposal that breaks any rule other than a successful C2 repair is rejected, and the list of violated rules is returned to the LLM.

3.7. Hazard and Disruption Model

Flood exposure was screened with HAND computed by D8 flow routing [45,46]. Mapped OSM rivers, streams and drains were burned 3 m into the smoothed DEM, pits and depressions were filled, flats resolved, and channels defined as cells draining more than 300 cells (0.27 km2) or lying on a mapped channel. HAND is the height of each cell above the channel cell into which it drains. Burning was needed because so few drains are mapped; the accumulation threshold supplies the rest of the channel network from terrain.
Every segment was sampled at 15 m spacing. Points within 30 m of a channel were dropped, on the assumption that the road crosses there on a culvert or embankment the DEM cannot see. The segment’s exposure height He is the 20th percentile of the remaining HAND samples, which represents its lower reach without being set by a single noisy pixel. No deck levels are available for bridges, so we assumed He equals the lowest sampled HAND plus 2.0 m for all 154 bridge segments. A flood scenario is described by a stage L(t), the water level above local drainage, with a triangular hydrograph peaking at tp = 8 h and receding by tr = 20 h:
L t = L p   t / t p , 0 ≤ t ≤ t p L p   t r − t / t r − t p , t p < t ≤ t r 0 , t > t r
where Lp is the peak stage. Water depth on segment e in millimetres is
de(t) = 1000 ⋅ max(0, L(t) − He)
and the speed in km/h follows the depth–disruption function of Pregnolato et al. [34], capped by the free-flow speed ve0:
v e t = min v e 0 ,   0.0009   d e 2 − 0.5529   d e + 86.9448 , 0 < d e < 300 0 , d e ≥ 300 v e 0 , d e = 0
A segment with ve = 0 is closed. Travel time is τe(t) = ℓe / ve(t), where ℓe is the segment length.

3.8. Accessibility and Criticality

For each hour the network G(t) was rebuilt with the current travel times, and the time from every junction to the nearest hospital was found with a multi-source Dijkstra search on the reversed graph [49]. For demand cell i with weight wi, access node ni and the set of hospitals H:
T i t = min h ∈ H   dist G t n i , h
Three indicators summarise Ti(t): the mean time over cells that can still reach a hospital, the share of demand reached within a threshold θ, and the share of demand cut off:
A ‾ t = ∑ i ∈ R t w i T i t ∑ i ∈ R t w i
C θ t = 100 ∑ i w i   1 T i t ≤ θ
U t = 100 ∑ i w i   1 T i t = ∞
where R(t) is the set of cells with finite Ti. We used θ = 10 min for hospitals and, with fire stations as destinations, θ = 8 min. The loss over a whole event is expressed as coverage-hours, in percentage-point hours:
Λ = ∑ t = 0 24 max 0 ,   C 10 S 0 − C 10 t
Link criticality was measured on the baseline network by removing, one at a time, each OSM way that is a trunk, primary or secondary road or a river bridge (169 ways), and recording the increase in mean time to the nearest hospital, ΔĀ [27,28]. We note one property of Ā that matters for reading the results: because it is averaged over cells that can still reach a hospital, it can fall when a scenario cuts off the cells that were furthest away. For that reason Ā is always read together with U.

3.9. Scenarios

Seven scenarios were run over a 24 h horizon at hourly steps (Table 3). S1–S3 span local waterlogging to a major flood. S4 isolates the effect of losing the river crossings, for instance through closure for inspection after a high-water event. S5 combines S2 and S4. S6 is a planned, non-hazard disruption: an evening traffic plan during Durga Puja, when the area within 1 km of the Ujjayanta Palace and market is crowded with pedestrians. We modelled it as a speed factor of 0.4 on the 742 segments in that zone between 16:00 and 23:00.

3.10. Verifier Benchmark

Testing the verifier with a live LLM would mix two things: how often a particular model errs, and whether the verifier catches the errors it makes. We isolated the second question. A generator produced valid gold actions from the graph at a stage of 1.5 m: 45% were closures of named, low-lying roads (He < 0.5 m) observed during a flood, 30% were speed restrictions on the same kind of road, and 25% were planned evening closures of a single residential segment. Each gold action was then corrupted in one of nine ways that mirror errors reported for LLM planners and geocoders (Table 6): invented segment identifiers, misspelled road names, invented road names, reversed time windows, out-of-range speed factors, flood closures of roads on high ground, planned closures that isolate a neighbourhood, unknown action types, and substitution of one flood-prone named road for another. Sixty cases were drawn for each error type and for uncorrupted actions, 600 in all, with a fixed random seed.

3.11. Implementation and Map Products

The pipeline was written in Python with GeoPandas, Rasterio, SciPy [50], PySheds, pyosmium and RapidFuzz. On a single core of a standard cloud virtual machine, rebuilding one hourly network state and running both Dijkstra searches took about 5 ms, so all 175 scenario-hours, the 169 criticality runs and the benchmark finished in under 5 s. Three kinds of map product were produced. GIS maps show the network, facilities, exposure and accessibility results. Remote sensing maps show Sentinel-2 composites, the normalised difference vegetation index (NDVI) [51], the modified normalised difference water index (MNDWI) [52] and the normalised difference built-up index (NDBI) [53], and WorldCover classes. CAD drawings were written as DXF files (AutoCAD 2018 format) with one layer per road class, bridge, channel, facility type and flood state, in UTM coordinates, so that municipal engineers can open them in their own drafting software.

4. Results

4.1. Land Cover and Surface Conditions

The November 2025 Sentinel-2 scene shows a compact built core along both banks of the Haora, surrounded by tree-covered homestead land and paddy in the valleys (Figure 4). WorldCover classes half of the city area (43.36 km2, 50.9%) as tree cover and a third (27.86 km2, 32.7%) as built-up, with cropland at 13.8% and permanent water at 0.1% (Figure 6). The tree share is high because the canopy of home gardens hides many houses from a 10 m classifier, so the built-up figure is a lower bound. The spectral indices tell the same story (Figure 5). Mean NDVI inside the boundary is 0.52, and 70.2% of pixels exceed 0.4. MNDWI is positive over only 0.42% of the area in the dry season, essentially the ponds and the river. NDBI is highest in the old core around the palace and the central markets.
Figure 5. Spectral indices from the same scene, masked to the city boundary: (a) NDVI; (b) MNDWI; (c) NDBI.
Figure 5. Spectral indices from the same scene, masked to the city boundary: (a) NDVI; (b) MNDWI; (c) NDBI.
Preprints 242157 g005
Figure 6. ESA WorldCover 2021 land cover within the Agartala boundary, with each class’s share of the city area in brackets.
Figure 6. ESA WorldCover 2021 land cover within the Agartala boundary, with each class’s share of the city area in brackets.
Preprints 242157 g006

4.2. Terrain, Drainage and Exposure of the Network

The flow-routed HAND surface picks out a branching pattern of low ground: the Haora floodplain, the Katakhal, and narrow valleys (lungas) that reach into the higher ground to the north-east and south (Figure 7). Inside the boundary, 17.4% of the area lies less than 0.5 m above its drainage channel, 30.2% less than 1.5 m and 43.1% less than 3 m; the median is 3.8 m. On the network, 13.9% of segments have He below 1 m, 23.5% below 2 m and 32.5% below 3 m. Exposure is therefore widespread but not uniform, and the laterite ridges to the east and south-east stay dry at every stage we tested.
Figure 8 shows the road hierarchy and the facilities used as destinations. Most of the ten general hospitals are in the centre or along the northern arterial towards Kunjaban, with Hapania to the south. The 31 river-bridge segments carry most movement across the Haora and the Katakhal inside the city. The same layers appear in CAD form in Figure 9, where panel (b) adds the closures predicted for the city core at the S2 peak.

4.3. Network State Under Disruption

Table 4 summarises the network at the peak of each scenario. Moderate waterlogging (S1) closes 5.2% of segments, about 96 km of road, yet cuts hospital coverage within 10 min from 86.4% to 55.8% of demand. Most of the closed length is residential lane, but the closures fall where the lanes meet the arterials in the core. At 1.5 m (S2) one segment in six is closed, 22.7% of demand cannot reach any hospital, and coverage within 8 min of a fire station drops from 66.5% to 4.8%. At 3.0 m (S3) the network fragments and nearly three quarters of demand is cut off. Figure 10 maps the segment states at the three flood peaks; very few segments are only slowed, because the 300 mm closure depth is small compared with the stage, so most exposed segments pass from dry to closed within one or two hourly steps as the water rises.
Losing the river bridges alone (S4) closes only 2.2 km of road and cuts off almost nobody (14 cells holding 0.002% of demand), but it lowers hospital coverage within 10 min by 25.5 percentage points (86.4% to 60.9%), because residents on one bank must detour to crossings outside the closure set or use the hospitals on their own side. S5 shows how the two shocks interact. Bridges and flooding together cut off 51.2% of demand at peak, more than twice the 22.7% of S2. Mean time in S5 (10.5 min) is lower than in S2 (12.6 min); this is the averaging effect noted in Section 3.8, since many of the slowest trips in S2 become impossible in S5. The festival plan (S6) cuts no one off but trims hospital coverage within 10 min by about 11 points during the evening, from 86.4% to 75.6%.

4.4. Temporal Evolution

Figure 11 traces the indicators hour by hour. Coverage falls faster than it recovers in every flood scenario, because the lowest segments close at small stages on the rising limb and reopen only at the end of the recession. In S2 some demand is cut off (more than 0.5%) from hour 2 to hour 17, and hospital coverage stays below baseline from hour 1 to hour 18. The loss over the event is 228 percentage-point hours in S1, 653 in S2 and 977 in S3. The bridge outage in S4 is shallow but lasts all day and accumulates 638, almost as much as S2. Combined with the flood (S5), it reaches 1,014, the largest value of all scenarios. The festival plan costs 87.

4.5. Spatial Pattern of Accessibility Loss

At baseline the median demand cell is 8.2 min from a hospital, the 10th percentile 3.4 min and the 90th percentile 16.7 min; the slowest cells are on the north-western fringe near the airport (Figure 12a). At the S2 peak, 395 of the 1,709 cells are cut off. They form two belts, one along the Haora floodplain west and east of the centre and one along the valleys of the south (Figure 12b). Cells that remain connected but lose more than 10 min lie mostly south of the river and in the north-east, where traffic must find a long dry route to the nearest open hospital. Adding the bridge outage (S5) cuts off 1,015 cells, including most of the north-west and the south-east (Figure 12c).
Individual hospitals tell a sharper story. At the S2 peak, the share of demand that could still reach each hospital was 43.2% for Tripura Medical College at Hapania and for Venkateswara Hospital, and 33.9% for Devlok and ILS hospitals. The IGM Civil Hospital and the Agartala Hospital and Research Centre, both on low ground in the core, could be reached from none of the demand cells. The Agartala Government Medical College–GB Pant Hospital complex, the state’s main referral hospital, could be reached from 0.2% of demand, because the model closes the low-lying approaches around its campus. We treat this last result with care: it depends on how a 30 m DEM represents a handful of road embankments, and it is the first thing we would check in the field.

4.6. Link Criticality

Removing single links from the baseline network rarely raises mean time to hospital by more than half a minute, which says the network has plenty of redundancy in normal conditions (Table 5, Figure 13). The most critical link is a 983 m primary section on the eastern arterial near 23.838° N, 91.306° E: without it, mean time rises by 0.41 min and coverage within 10 min falls by 4.1 points. The next two are the primary road linking the centre to that arterial and a secondary road branching south-east from it. Ranks 4–6 are three short pieces of primary road (5–97 m, one of them one-way) that meet at the same central junction near 23.831° N, 91.287° E; any one of them forces the same detour, which shows how much the layout of a single junction can matter. The highest-ranked river bridge, a 113 m secondary crossing of the Haora near 23.822° N, 91.297° E, is ninth; the next bridges rank 25th, 28th, 32nd and 37th. Bridges matter little one at a time but a great deal together, as S4 showed.

4.7. Constraint Verifier

Table 6 gives the benchmark results. The verifier rejected all 60 cases in each of seven error classes: invented identifiers and invented names (C2), reversed windows (C3), out-of-range speed factors (C4), flood closures on high ground (C5), neighbourhood-isolating interventions (C6) and unknown action types (C1). In every one of these cases the rule that fired was the rule the corruption was designed to break. All 60 misspelled names were repaired to the intended road. Of the 60 uncorrupted actions, 59 were accepted. The remaining one was a planned closure of a residential lane that, on inspection, was the only link into one demand cell; C6 was right to stop it, and the case says more about our gold generator than about the verifier.
Table 6. Verifier benchmark: 60 cases per class, stage 1.5 m.
Table 6. Verifier benchmark: 60 cases per class, stage 1.5 m.
Error class Target rule Accepted (%) Repaired (%) Rejected (%) Correct rule fired (%)
None (valid action) – 98.3 0.0 1.7 –
E1 Invented segment ID C2 0.0 0.0 100.0 100.0
E2 Misspelled road name C2 (repair) 0.0 100.0 0.0 100.0 1
E3 Invented road name C2 0.0 0.0 100.0 100.0
E4 Reversed time window C3 0.0 0.0 100.0 100.0
E5 Speed factor out of range C4 0.0 0.0 100.0 100.0
E6 Flood closure on high ground C5 0.0 0.0 100.0 100.0
E7 Intervention isolating a cell C6 0.0 0.0 100.0 100.0
E8 Unknown action type C1 0.0 0.0 100.0 100.0
E9 Plausible road substitution none 100.0 0.0 0.0 –
1 Share of repairs that resolved to the originally intended road name.
The last row is the important one. When a proposal named a different but equally low-lying road, every rule was satisfied and every case was accepted. No rule that looks only at the graph can tell that the report was about Road A and the proposal says Road B. This is the residual risk of the framework, and it is discussed below.

5. Discussion

5.1. What the Twin Says About Agartala

Three findings stand out for planners. First, the city’s access to hospitals is more fragile than its network density suggests. A dense mesh of lanes gives good redundancy on a dry day, as the small single-link criticality values show, but the lanes share low ground with the Haora and the lungas, so a modest rise closes many of them at once. Second, the river crossings act as a group. No single bridge is among the top eight links, yet closing them together costs almost as much coverage over a day as a 1.5 m flood, and in combination with a flood it doubles the cut-off population. Inspection closures after high water should therefore be staggered so that at least one crossing in each part of the city stays open. Third, the model suggests that two central hospitals and the approaches to the main referral complex become unreachable at moderate stages. If field checks confirm this, pre-positioning ambulances on high ground near Hapania and on the eastern ridges during flood warnings would buy more than any single road upgrade. These results agree in direction with flood accessibility studies in York, Leicester and Shanghai, where a small share of closed roads produced a much larger loss of emergency coverage [31,32,33].

5.2. Why the Constraints Matter

The benchmark shows that cheap rules catch the errors that would do most damage to a twin: phantom roads, impossible timings and closures that break the network. These are exactly the failure modes documented for LLMs [20,21], and without a verifier each of them would pass straight into the simulator and from there into a map that looks authoritative. C5 is the rule most specific to this domain. It uses the same terrain index that drives the flood model, so the twin is internally consistent: a report of flooding on a road that the terrain says is dry at the current stage is either a reporting error or a sign that the terrain model is wrong, and either way a person should look at it. In this sense the verifier also produces data for improving the hazard layer.
The E9 result marks the limit of the approach. Kambhampati et al. [26] argue that external critics can verify what is checkable and should leave the rest to people; our results put a number on that boundary. Plausible substitutions can be reduced but not ruled out by checking that the proposal’s road name, or a facility within a short distance of it, appears in the source text; by asking the LLM to quote the span of text that supports each target; or by holding any closure on an arterial or bridge for human confirmation. All three are cheap. None removes the need for a person in the loop when the stakes are an ambulance route.

5.3. Transfer to Other Data-Scarce Cities

Nothing in the pipeline is specific to Agartala except the boundary. OSM, Sentinel-2, WorldCover and the Copernicus DEM cover every city, and the run time is small enough for an ordinary laptop. What does change from city to city is the quality of the weakest layer. In Agartala that was the drain map, which we had to supplement with flow accumulation, and the road names, which limit how often a report can be matched to a segment by name alone. Mapping campaigns aimed at those two attributes would improve both the hazard model and the grounding step, and they are within reach of a university department or a municipal GIS cell. The approach also suits the many Indian Smart Cities Mission cities that hold integrated command centres but no flood-traffic model [54].

5.4. Limitations

Several simplifications limit what the numbers mean. The flood model is a HAND screen, not a hydrodynamic simulation: it ignores rainfall intensity, drain capacity, backwater from Bangladesh and the timing of flows, and the stage L(t) is a scenario variable, not a forecast. The DEM is a 30 m surface model, and our filtering cannot recover embankments, culverts or road crowns; bridge decks were set 2 m above the lowest adjoining ground without survey data. Speeds by road class stand in for observed speeds, and congestion from rerouted traffic is not modelled. Demand weights come from building counts and a land-cover fallback, not from population data. The verifier was tested on synthetic corruptions; we did not measure how often a particular LLM makes each kind of error, and an end-to-end test with real reports is the next step. Finally, the results have not been validated against observed closures. The August 2026 event is an obvious candidate: matching reported waterlogged roads against the S1 and S2 states would test both the hazard layer and rule C5.

6. Conclusions

We built a digital twin of Agartala’s road network from open data, linked it to a spatiotemporal knowledge graph, and placed a six-rule verifier between an LLM interface and the simulator. The twin shows that hospital access in the city depends heavily on a small amount of low-lying road and on the river crossings taken together. A 1.5 m stage leaves one third of demand within 10 min of a hospital, and adding a bridge outage cuts off half the city. The verifier stopped every invalid, implausible or unsafe action in our tests and fixed every misspelt name, but it cannot see a wrong road that looks right. For cities that will not have sensor-rich twins soon, the practical lesson is simple. Let the language model read the reports, let the graph and the rules decide what enters the model, and keep a person on the decisions that close a route to a hospital.

Author Contributions

Conceptualization, S.R. and S.M.; methodology, S.R.; software, S.R.; validation, S.R. and S.M.; formal analysis, S.R.; investigation, S.R.; data curation, S.R.; writing—original draft preparation, S.R.; writing—review and editing, S.R. and S.M.; visualization, S.R.; supervision, S.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

OpenStreetMap data are available under the Open Database License from https://www.openstreetmap.org. Sentinel-2 Level-2A data were accessed through the Earth Search STAC catalogue (https://earth-search.aws.element84.com/v1). ESA WorldCover 2021 and the Copernicus GLO-30 DEM are openly available from their providers. The knowledge-graph triples, scenario outputs, DXF drawings and analysis scripts are available from the corresponding author on reasonable request.

Acknowledgments

The authors thank the OpenStreetMap contributors who mapped Agartala, and the European Space Agency and the Copernicus programme for open satellite and elevation data.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CAD     Computer-aided design
DEM     Digital elevation model
DXF      Drawing exchange format
HAND     Height above nearest drainage
KG      Knowledge graph
LLM      Large language model
MNDWI     Modified normalised difference water index
NDBI     Normalised difference built-up index
NDVI     Normalised difference vegetation index
OSM      OpenStreetMap
RS      Remote sensing
STKG     Spatiotemporal knowledge graph
UTM     Universal Transverse Mercator

References

  1. Batty, M. Digital twins. Environ. Plan. B Urban Anal. City Sci. 2018, 45, 817–820. [Google Scholar] [CrossRef]
  2. Ketzler, B.; Naserentin, V.; Latino, F.; Zangelidis, C.; Thuvander, L.; Logg, A. Digital Twins for Cities: A State of the Art Review. Built Environ. 2020, 46, 547–573. [Google Scholar] [CrossRef]
  3. Shahat, E.; Hyun, C.T.; Yeom, C. City Digital Twin Potentials: A Review and Research Agenda. Sustainability 2021, 13, 3386. [Google Scholar] [CrossRef]
  4. Deng, T.; Zhang, K.; Shen, Z.-J. A systematic review of a digital twin city: A new pattern of urban governance toward smart cities. J. Manag. Sci. Eng. 2021, 6, 125–134. [Google Scholar] [CrossRef]
  5. Lehtola, V.V.; Koeva, M.; Elberink, S.O.; Raposo, P.; Virtanen, J.-P.; Vahdatikhaki, F.; Borsci, S. Digital twin of a city: Review of technology serving city needs. Int. J. Appl. Earth Obs. Geoinf. 2022, 114, 102915. [Google Scholar] [CrossRef]
  6. Schrotter, G.; Hürzeler, C. The Digital Twin of the City of Zurich for Urban Planning. PFG J. Photogramm. Remote Sens. Geoinf. Sci. 2020, 88, 99–112. [Google Scholar] [CrossRef]
  7. Dembski, F.; Wössner, U.; Letzgus, M.; Ruddat, M.; Yamu, C. Urban Digital Twins for Smart Cities and Citizens: The Case Study of Herrenberg, Germany. Sustainability 2020, 12, 2307. [Google Scholar] [CrossRef]
  8. Fuller, A.; Fan, Z.; Day, C.; Barlow, C. Digital Twin: Enabling Technologies, Challenges and Open Research. IEEE Access 2020, 8, 108952–108971. [Google Scholar] [CrossRef]
  9. Census 2011. Agartala City Population Census 2011–2026, Tripura. Available online: https://www.census2011.co.in/census/city/186-agartala.html (accessed on 29 October 2026).
  10. Republic World. Flash Floods Hit Agartala: Pregnant Woman Among 25 Rescued, CM Manik Saha Visits Affected Zones. 24 August 2026. Available online: https://www.republicworld.com/india/tripura-cm-manik-saha-visits-flood-affected-areas-in-agartala-2026-08-24-135428 (accessed on 29 October 2026).
  11. The Sentinel. Tripura: Over 1,000 Affected as Haora River Floods Agartala’s Low-Lying Areas. 24 August 2026. Available online: https://www.sentinelassam.com/breakingnews/tripura-over-1000-affected-as-haora-river-floods-agartalas-low-lying-areas (accessed on 29 October 2026).
  12. Gupta, K. Urban flood resilience planning and management and lessons for the future: a case study of Mumbai, India. Urban Water J. 2007, 4, 183–194. [Google Scholar] [CrossRef]
  13. Haklay, M. How Good is Volunteered Geographical Information? A Comparative Study of OpenStreetMap and Ordnance Survey Datasets. Environ. Plan. B Plan. Des. 2010, 37, 682–703. [Google Scholar] [CrossRef]
  14. Barrington-Leigh, C.; Millard-Ball, A. The world’s user-generated road map is more than 80% complete. PLoS ONE 2017, 12, e0180698. [Google Scholar] [CrossRef]
  15. Herfort, B.; Lautenbach, S.; Porto de Albuquerque, J.; Anderson, J.; Zipf, A. A spatio-temporal analysis investigating completeness and inequalities of global urban building data in OpenStreetMap. Nat. Commun. 2023, 14, 3985. [Google Scholar] [CrossRef]
  16. Li, Z.; Ning, H. Autonomous GIS: the next-generation AI-powered GIS. Int. J. Digit. Earth 2023, 16, 4668–4686. [Google Scholar] [CrossRef]
  17. Mai, G.; Huang, W.; Sun, J.; Song, S.; Mishra, D.; Liu, N.; Gao, S.; Liu, T.; Cong, G.; Hu, Y.; et al. On the Opportunities and Challenges of Foundation Models for GeoAI (Vision Paper). ACM Trans. Spat. Algorithms Syst. 2024, 10, 11. [Google Scholar] [CrossRef]
  18. Zhang, S.; Fu, D.; Liang, W.; Zhang, Z.; Yu, B.; Cai, P.; Yao, B. TrafficGPT: Viewing, processing and interacting with traffic foundation models. Transp. Policy 2024, 150, 95–105. [Google Scholar] [CrossRef]
  19. Manvi, R.; Khanna, S.; Mai, G.; Burke, M.; Lobell, D.B.; Ermon, S. GeoLLM: Extracting Geospatial Knowledge from Large Language Models. In Proceedings of the Twelfth International Conference on Learning Representations (ICLR 2024), Vienna, Austria, 7–11 May 2024. [Google Scholar]
  20. Ji, Z.; Lee, N.; Frieske, R.; Yu, T.; Su, D.; Xu, Y.; Ishii, E.; Bang, Y.J.; Madotto, A.; Fung, P. Survey of Hallucination in Natural Language Generation. ACM Comput. Surv. 2023, 55, 1–38. [Google Scholar] [CrossRef]
  21. Valmeekam, K.; Marquez, M.; Sreedharan, S.; Kambhampati, S. On the Planning Abilities of Large Language Models—A Critical Investigation. In Advances in Neural Information Processing Systems 36 (NeurIPS 2023); Curran Associates: Red Hook, NY, USA, 2023. [Google Scholar]
  22. Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Küttler, H.; Lewis, M.; Yih, W.; Rocktäschel, T.; et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Advances in Neural Information Processing Systems 33 (NeurIPS 2020); Curran Associates: Red Hook, NY, USA, 2020; pp. 9459–9474. [Google Scholar]
  23. Hogan, A.; Blomqvist, E.; Cochez, M.; D’amato, C.; Melo, G.D.; Gutierrez, C.; Kirrane, S.; Gayo, J.E.L.; Navigli, R.; Neumaier, S.; et al. Knowledge Graphs. ACM Comput. Surv. 2021, 54, 1–37. [Google Scholar] [CrossRef]
  24. Pan, S.; Luo, L.; Wang, Y.; Chen, C.; Wang, J.; Wu, X. Unifying Large Language Models and Knowledge Graphs: A Roadmap. IEEE Trans. Knowl. Data Eng. 2024, 36, 3580–3599. [Google Scholar] [CrossRef]
  25. Pan, L.; Albalak, A.; Wang, X.; Wang, W. Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning. In Findings of the Association for Computational Linguistics: EMNLP 2023; Association for Computational Linguistics, 2023; pp. 3806–3824. [Google Scholar] [CrossRef]
  26. Kambhampati, S.; Valmeekam, K.; Guan, L.; Verma, M.; Stechly, K.; Bhambri, S.; Saldyt, L.P.; Murthy, A.B. Position: LLMs Can’t Plan, But Can Help Planning in LLM-Modulo Frameworks. In Proceedings of the 41st International Conference on Machine Learning Proceedings of Machine Learning Research Volume, Vienna, Austria, 21–27 July 2024; Volume 235, pp. 22895–22907. [Google Scholar]
  27. Jenelius, E.; Petersen, T.; Mattsson, L.-G. Importance and exposure in road network vulnerability analysis. Transp. Res. Part A Policy Pract. 2006, 40, 537–560. [Google Scholar] [CrossRef]
  28. Taylor, M.A.P.; Sekhar, S.V.C.; D’Este, G.M. Application of Accessibility Based Methods for Vulnerability Analysis of Strategic Road Networks. Netw. Spat. Econ. 2006, 6, 267–291. [Google Scholar] [CrossRef]
  29. Mattsson, L.-G.; Jenelius, E. Vulnerability and resilience of transport systems – A discussion of recent research. Transp. Res. Part A Policy Pract. 2015, 81, 16–34. [Google Scholar] [CrossRef]
  30. Sohn, J. Evaluating the significance of highway network links under the flood damage: An accessibility approach. Transp. Res. Part A Policy Pract. 2006, 40, 491–506. [Google Scholar] [CrossRef]
  31. Yin, J.; Yu, D.; Yin, Z.; Liu, M.; He, Q. Evaluating the impact and risk of pluvial flash flood on intra-urban road network: A case study in the city center of Shanghai, China. J. Hydrol. 2016, 537, 138–145. [Google Scholar] [CrossRef]
  32. Coles, D.; Yu, D.; Wilby, R.L.; Green, D.; Herring, Z. Beyond ‘flood hotspots’: Modelling emergency service accessibility during flooding in York, UK. J. Hydrol. 2017, 546, 419–436. [Google Scholar] [CrossRef]
  33. Green, D.; Yu, D.; Pattison, I.; Wilby, R.; Bosher, L.; Patel, R.; Thompson, P.; Trowell, K.; Draycon, J.; Halse, M.; et al. City-scale accessibility of emergency responders operating during flood events. Nat. Hazards Earth Syst. Sci. 2017, 17, 1–16. [Google Scholar] [CrossRef]
  34. Pregnolato, M.; Ford, A.; Wilkinson, S.M.; Dawson, R.J. The impact of flooding on road transport: A depth-disruption function. Transp. Res. Part D. Transp. Environ. 2017, 55, 67–81. [Google Scholar] [CrossRef]
  35. Zanaga, D.; Van De Kerchove, R.; Daems, D.; De Keersmaecker, W.; Brockmann, C.; Kirches, G.; Wevers, J.; Cartus, O.; Santoro, M.; Fritz, S.; et al. ESA WorldCover 10 m 2021 v200; Zenodo: Geneva, Switzerland, 2022. [Google Scholar] [CrossRef]
  36. European Space Agency. Copernicus Global Digital Elevation Model (GLO-30); European Space Agency: Paris, France, 2021. [Google Scholar] [CrossRef]
  37. Mitra, S.; Bandyopadhyay, S.; Roy, S.; Dentinho, T.P. (Eds.) Railway Transportation in South Asia: Infrastructure Planning, Regional Development and Economic Impacts. Contemporary South Asian Studies; Springer: Cham, Switzerland, 2021. [Google Scholar] [CrossRef]
  38. Roy, S.; Mitra, S. Negative Externalities of Railway Station on Environmental Sustainability: Evidence from Tripura, India. Acadlore Trans. Geosci. 2022, 1, 53–66. [Google Scholar] [CrossRef]
  39. Roy, S. Infrastructural Attributes and Aspects of Railway Transport System in Tripura. Ph.D. Thesis, Tripura University, Suryamaninagar, India, 2023. [Google Scholar]
  40. Liu, Y.; Ding, J.; Fu, Y.; Li, Y. UrbanKG: An Urban Knowledge Graph System. ACM Trans. Intell. Syst. Technol. 2023, 14, 1–25. [Google Scholar] [CrossRef]
  41. Leblay, J.; Chekol, M.W. Deriving Validity Time in Knowledge Graph. In Companion of the The Web Conference 2018 on The Web Conference 2018 - WWW ‘18; ACM Press, 2018; pp. 1771–1776. [Google Scholar] [CrossRef]
  42. Yao, S.; Zhao, J.; Yu, D.; Du, N.; Shafran, I.; Narasimhan, K.; Cao, Y. ReAct: Synergizing Reasoning and Acting in Language Models. In Proceedings of the Eleventh International Conference on Learning Representations (ICLR 2023), Kigali, Rwanda, 1–5 May 2023. [Google Scholar]
  43. Hansen, W.G. How Accessibility Shapes Land Use. J. Am. Inst. Plan. 1959, 25, 73–76. [Google Scholar] [CrossRef]
  44. Geurs, K.T.; van Wee, B. Accessibility evaluation of land-use and transport strategies: review and research directions. J. Transp. Geogr. 2004, 12, 127–140. [Google Scholar] [CrossRef]
  45. Rennó, C.D.; Nobre, A.D.; Cuartas, L.A.; Soares, J.V.; Hodnett, M.G.; Tomasella, J.; Waterloo, M.J. HAND, a new terrain descriptor using SRTM-DEM: Mapping terra-firme rainforest environments in Amazonia. Remote Sens. Environ. 2008, 112, 3469–3481. [Google Scholar] [CrossRef]
  46. Nobre, A.D.; Cuartas, L.A.; Hodnett, M.; Rennó, C.D.; Rodrigues, G.; Silveira, A.; Waterloo, M.; Saleska, S. Height Above the Nearest Drainage – a hydrologically relevant new terrain model. J. Hydrol. 2011, 404, 13–29. [Google Scholar] [CrossRef]
  47. Zheng, X.; Tarboton, D.G.; Maidment, D.R.; Liu, Y.Y.; Passalacqua, P. River Channel Geometry and Rating Curve Estimation Using Height above the Nearest Drainage. J. Am. Water Resour. Assoc. 2018, 54, 785–806. [Google Scholar] [CrossRef]
  48. Drusch, M.; Del Bello, U.; Carlier, S.; Colin, O.; Fernandez, V.; Gascon, F.; Hoersch, B.; Isola, C.; Laberinti, P.; Martimort, P.; et al. Sentinel-2: ESA’s Optical High-Resolution Mission for GMES Operational Services. Remote Sens. Environ. 2012, 120, 25–36. [Google Scholar] [CrossRef]
  49. Dijkstra, E.W. A note on two problems in connexion with graphs. Numer. Math. 1959, 1, 269–271. [Google Scholar] [CrossRef]
  50. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef]
  51. Tucker, C.J. Red and photographic infrared linear combinations for monitoring vegetation. Remote Sens. Environ. 1979, 8, 127–150. [Google Scholar] [CrossRef]
  52. Xu, H. Modification of normalised difference water index (NDWI) to enhance open water features in remotely sensed imagery. Int. J. Remote Sens. 2006, 27, 3025–3033. [Google Scholar] [CrossRef]
  53. Zha, Y.; Gao, J.; Ni, S. Use of normalized difference built-up index in automatically mapping urban areas from TM imagery. Int. J. Remote Sens. 2003, 24, 583–594. [Google Scholar] [CrossRef]
  54. Ministry of Housing and Urban Affairs; Government of India. Smart Cities Mission. Available online: https://smartcities.gov.in (accessed on 29 October 2026).
Figure 1. Location of the study area: (a) India, with Tripura highlighted; (b) Tripura and the Agartala boundary close to the Bangladesh border; (c) Agartala city boundary over a Sentinel-2 true-colour composite of 28 November 2025. Country boundaries: Natural Earth (India point of view).
Figure 1. Location of the study area: (a) India, with Tripura highlighted; (b) Tripura and the Agartala boundary close to the Bangladesh border; (c) Agartala city boundary over a Sentinel-2 true-colour composite of 28 November 2025. Country boundaries: Natural Earth (India point of view).
Preprints 242157 g001
Figure 2. Architecture of the constraint-aware LLM–STKG digital twin. Solid green arrow: verified actions entering the simulator; dashed red arrow: rejected proposals returned to the LLM with the violated rule; dashed blue arrow: simulated states written back to the knowledge graph.
Figure 2. Architecture of the constraint-aware LLM–STKG digital twin. Solid green arrow: verified actions entering the simulator; dashed red arrow: rejected proposals returned to the LLM with the violated rule; dashed blue arrow: simulated states written back to the knowledge graph.
Preprints 242157 g002
Figure 3. Ontology of the spatiotemporal knowledge graph. Boxes are classes with their main attributes; arrows are predicates. State(t) nodes carry a validity interval, so the graph can answer what a segment’s condition was at any hour of a scenario.
Figure 3. Ontology of the spatiotemporal knowledge graph. Boxes are classes with their main attributes; arrows are predicates. State(t) nodes carry a validity interval, so the graph can answer what a segment’s condition was at any hour of a scenario.
Preprints 242157 g003
Figure 4. Sentinel-2 Level-2A composites of Agartala, 28 November 2025: (a) true colour (B4-B3-B2); (b) false colour (B8-B4-B3), in which vegetation appears red. Yellow line: city boundary.
Figure 4. Sentinel-2 Level-2A composites of Agartala, 28 November 2025: (a) true colour (B4-B3-B2); (b) false colour (B8-B4-B3), in which vegetation appears red. Yellow line: city boundary.
Preprints 242157 g004
Figure 7. Terrain and flood exposure: (a) smoothed Copernicus DEM elevation with OSM rivers and drains; (b) height above nearest drainage (HAND) from D8 routing with channel burning; red lines are the Haora and Katakhal.
Figure 7. Terrain and flood exposure: (a) smoothed Copernicus DEM elevation with OSM rivers and drains; (b) height above nearest drainage (HAND) from D8 routing with channel burning; red lines are the Haora and Katakhal.
Preprints 242157 g007
Figure 8. Road network by OSM class, river bridges and facilities used in the twin. Facility counts in brackets include features within 2 km of the boundary.
Figure 8. Road network by OSM class, river bridges and facilities used in the twin. Facility counts in brackets include features within 2 km of the boundary.
Preprints 242157 g008
Figure 9. CAD drawings exported from the twin (DXF, UTM zone 46N, metres): (a) network layer for the whole city with layer-coded road classes, river bridges, channels, hospitals (squares with crosses), fire stations (triangles) and transit terminals (circles); (b) detail of the city core with segments closed at the S2 peak drawn with a blue casing.
Figure 9. CAD drawings exported from the twin (DXF, UTM zone 46N, metres): (a) network layer for the whole city with layer-coded road classes, river bridges, channels, hospitals (squares with crosses), fire stations (triangles) and transit terminals (circles); (b) detail of the city core with segments closed at the S2 peak drawn with a blue casing.
Preprints 242157 g009
Figure 10. Segment states at the peak (hour 8) of (a) S1, stage 0.5 m; (b) S2, stage 1.5 m; (c) S3, stage 3.0 m. Closed: modelled depth of 300 mm or more; slowed: shallower water.
Figure 10. Segment states at the peak (hour 8) of (a) S1, stage 0.5 m; (b) S2, stage 1.5 m; (c) S3, stage 3.0 m. Closed: modelled depth of 300 mm or more; slowed: shallower water.
Preprints 242157 g010
Figure 11. Hourly indicators for the seven scenarios: mean travel time to the nearest hospital over reachable demand; share of demand within 10 min of a hospital; share within 8 min of a fire station; share of demand cut off from all hospitals.
Figure 11. Hourly indicators for the seven scenarios: mean travel time to the nearest hospital over reachable demand; share of demand within 10 min of a hospital; share within 8 min of a fire station; share of demand cut off from all hospitals.
Preprints 242157 g011
Figure 12. Travel time to the nearest hospital by 250 m demand cell: (a) baseline; (b) change at the S2 peak; (c) change at the S5 peak. Black cells cannot reach any hospital.
Figure 12. Travel time to the nearest hospital by 250 m demand cell: (a) baseline; (b) change at the S2 peak; (c) change at the S5 peak. Black cells cannot reach any hospital.
Preprints 242157 g012
Figure 13. The ten most critical links on the baseline network, ranked by the increase in mean travel time to the nearest hospital when each is removed.
Figure 13. The ten most critical links on the baseline network, ranked by the increase in mean travel time to the nearest hospital when each is removed.
Preprints 242157 g013
Table 1. Open data used to build the Agartala twin.
Table 1. Open data used to build the Agartala twin.
Layer Source Resolution / date Use in the framework
Roads, bridges, one-way tags OpenStreetMap Vector; 29 Oct 2026 Network graph, KG segments
Rivers, drains, streams OpenStreetMap Vector; 29 Oct 2026 Channel burning for HAND
Buildings OpenStreetMap 31,670 footprints in city Demand weights
Facilities OpenStreetMap 59 features within 2 km Destinations (hospitals, fire stations)
Multispectral image Sentinel-2 L2A 10–20 m; 28 Nov 2025 True/false colour, NDVI, MNDWI, NDBI
Land cover ESA WorldCover v200 10 m; 2021 Imperviousness, demand fallback
Elevation Copernicus DEM GLO-30 30 m Smoothed terrain, HAND
City boundary Supplied shapefile Polygon, WGS 84 Study-area extent
Table 2. Composition of the Agartala STKG.
Table 2. Composition of the Agartala STKG.
Element Count Notes
Road segments 18,294 154 tagged as bridges; 31 cross the Haora or Katakhal
Junctions 14,836 Largest strongly connected component
Facilities 59 10 general hospitals, 5 fire stations, 7 clinics, 20 schools/colleges, others
Demand cells 1,709 250 m hexagons; 27% with ≥5 mapped buildings
Static triples 167,397 13 predicates; 439 hasName triples
Temporal triples (S2) 7,895 hasStatus with [ts, te) validity
Total triples 175,292 Static plus one 24 h scenario
Table 3. Disruption scenarios.
Table 3. Disruption scenarios.
ID Name Peak stage Lp (m) Other change Peak hour
S0 Baseline 0 None –
S1 Moderate waterlogging 0.5 None 8
S2 Heavy flood 1.5 None 8
S3 Extreme flood 3.0 None 8
S4 River-bridge outage 0 31 Haora/Katakhal bridge segments closed, 0–24 h all
S5 Heavy flood + bridge outage 1.5 As S4 8
S6 Festival traffic plan 0 Speed × 0.4 on 742 core segments, 16:00–23:00 19
Table 4. Network state and accessibility at the peak hour of each scenario.
Table 4. Network state and accessibility at the peak hour of each scenario.
Scenario Closed segments (%) Closed length (km) Mean time to hospital, Ā (min) Hospital ≤10 min, C10 (%) Fire station ≤8 min (%) Cut off, U (%)
S0 Baseline 0.0 0.0 6.6 86.4 66.5 0.0
S1 Moderate waterlogging 5.2 95.9 9.7 55.8 21.1 4.0
S2 Heavy flood 15.9 305.2 12.6 32.6 4.8 22.7
S3 Extreme flood 30.0 566.1 14.3 12.0 0.0 73.2
S4 River-bridge outage 0.2 2.2 9.6 60.9 47.2 0.0
S5 Heavy flood + bridges 16.1 307.5 10.5 26.5 4.8 51.2
S6 Festival plan (19:00) 0.0 1 0.0 8.0 75.6 58.8 0.0
1 In S6 no segment is closed; 4.1% of segments run at 40% of free-flow speed. Ā is averaged over demand that can still reach a hospital and must be read with U.
Table 5. Ten most critical links on the baseline network (single-way removal).
Table 5. Ten most critical links on the baseline network (single-way removal).
Rank OSM way Class Length (m) ΔĀ (min) ΔC10 (pp) U(%) Location (°N, °E)
1 1054609092 Primary 983 0.41 4.12 0.21 23.838, 91.306
2 114464804 Primary 1,609 0.38 3.84 0.33 23.833, 91.295
3 114464778 Secondary 1,376 0.24 4.02 0.52 23.826, 91.293
4 434319086 Primary 97 0.22 1.82 0.00 23.832, 91.287
5 1058888783 Primary 26 0.22 1.82 0.00 23.831, 91.287
6 1424093393 Primary 5 0.22 1.82 0.00 23.831, 91.287
7 1054609091 Primary 38 0.22 3.08 0.00 23.841, 91.310
8 244710714 Secondary 814 0.20 3.12 0.00 23.820, 91.301
9 244710718 Secondary (Haora bridge) 113 0.20 2.76 0.00 23.822, 91.297
10 1045103195 Primary 62 0.13 1.29 0.00 23.871, 91.285
ΔĀ: increase in mean travel time to the nearest hospital; ΔC10: fall in demand within 10 min of a hospital, in percentage points; U: demand cut off when the way is removed.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.