Logical Indian Railways Network Graph
Inter-hub topology connecting Northern, Western, Central, Eastern and Southern railway networks backed by Core Java 17+, JDBC and SQLite.
RailFlow Operations Console
Full interactive terminal with real-time station queries, train lookups, AI-powered route planning, crowd telemetry, and system diagnostics. Type help for commands.
Logical Indian Railways Network Graph
Click any node to inspect terminal platforms, incoming/outgoing express routes, and inter-hub connectivity in the Station Detail Drawer.
Railway Journey Planner
Direct schedule & express frequency between real Indian railway station codes loaded from master dataset.
NEW DELHI (NDLS) → CHENNAI CENTRAL (MAS)
Calculating optimal schedule...
Direct Express Trains Available (Real Schedule Data)
| Train # | Train Name | Origin | Destination | Type | Departure | Arrival | Distance | Running Days | Timetable |
|---|
Indian Railways Station Network Overview
Structured hierarchy from Indian Railways apex to Zonal Hubs, Stations, and individual Platform tracks with live capacity.
Railway Operational Hierarchy
LIVE ZONES| Code | Station Name | City | Zone | Platforms | Status | Action |
|---|
Indian Railways Train Explorer
Search express trains by number, name, source, or destination, and view complete sequence stop timetable schedules.
| Train # | Name | Type | Route | Source | Destination | Frequency | Expected Platform | Actions |
|---|
Platform Crowd Footprint Monitoring
Multi-platform density comparison, bottleneck detection, and simulated operational concurrency telemetry generated on a 3,000 ms background scheduler.
CrowdSimulationService using a 3,000 ms background scheduler. Station Registry & Timetables are REAL DATA backed by SQLite. Rule Engine: < 70% NORMAL, 70%–89% WARNING, ≥ 90% CRITICAL.
"What-If" Cascade Stress-Test Sandbox
Simulate high-volume passenger influx, delayed express rakes, and vertical infrastructure chokepoints.
FOB & Vertical Chokepoints Real-Time Density Heatmap
Continuous optical crowd density monitoring in persons/m² across multi-level station pathways.
Platform Edge Coach-Wise Density Distribution
LHB/ICF Rake Composition for Arriving Rake: 12638 Pandyan Express (Platform 2)
| Timestamp | Train No / Name | Original Pf | Target Pf | Density Saved | Decision Source | Status |
|---|---|---|---|---|---|---|
| 08:14:22 | 12638 Pandyan Exp | Pf 2 (88%) | Pf 3 (24%) | -64% Density | Python Heuristic | DISPATCHED |
| 07:48:10 | 22625 Double Decker | Pf 4 (82%) | Pf 1 (18%) | -64% Density | Station Master HUD | EXECUTED |
Data Quality & Health Validation
All values dynamically derived from the active SQLite database and master CSV ingestion validator. Never hardcoded.
| Audit Metric | Source Data | Calculated Value | Validation Status |
|---|---|---|---|
| Master CSV Row Count | ALL_RAILWAY_DATA.csv | 13,849 lines | VERIFIED |
| File Size on Disk | File System | 22.1 MB (22,108,138 bytes) | VERIFIED |
| Historical Span | Ministry of Railways Statistics | 1970 – 2013 | VERIFIED |
| Station Code Checksum | Primary Key Index | 0 Malformed Station Codes | VERIFIED |
| Train Number Format | 5-Digit Regex Validation | 0 Invalid Train Numbers | VERIFIED |
System & Core Java Architecture
Complete dataflow from CSV Ingestion to JDBC PreparedStatements, SQLite, Services, and Concurrency Telemetry.
Aknex RailFlow Cyber Dashboard, Leaflet Live Atlas, Instant PNR & Route Lookup, Real-time Platform Capacity Telemetry.
Asynchronous HTTP REST endpoints (`/api/journey/plan`, `/api/stations`, `/api/trains`) and live crowd dispatch telemetry.
Multi-threaded core services: JourneyService (Graph BFS shortest-path & multi-hub routing), NetworkService (17 Zonal Hub corridors), and CrowdSimulationService (3,000ms Concurrency Daemon).
Defensive data access using parameterized PreparedStatement and type-safe mappers (StationRepository, TrainRepository, CrowdTelemetryDao). Zero SQL injection risk.
Low-overhead direct JDBC connection driver with PRAGMA optimizations (journal_mode=WAL, synchronous=NORMAL) for concurrent high-speed reads.
Indexed master tables: stations, trains, train_routes, crowd_telemetry, platforms, search_aliases with composite foreign keys and B-Tree indexes.
RFC 4180 streaming ingestion pipeline parsing ALL_RAILWAY_DATA.csv (22.1 MB, 10,000+ routes, 8,000+ stations) with high-speed memory-buffered batch inserts.
JdbcTemplate, PreparedStatement, batch inserts, transactions, and foreign keys. Zero SQL injection risks.
ScheduledExecutorService driving a daemon thread every 3,000 ms to compute realistic platform footprint telemetry.
DataRegistry<K, V> with ConcurrentHashMap, Stream API filtering, sorting, and mapping.
SQLite Database Explorer & Station Tree
Interactive hierarchical station tree with growing animations, live SQLite query execution monitor, and real database benchmarks.
Admin Mode Authentication Required
Background database query execution processes, SQLite WAL benchmarks, microsecond latency telemetry, and query plans are restricted. Enter admin key to unlock.
| Table Name | Object Type | Rows in SQLite | Status | Action |
|---|
User Reviews & System Feedback
Reviews submitted through this form are persisted directly into the SQLite feedback table via JDBC.
Chennai Central (MAS)
High-contrast real-time station concourse guide, live track allocations, coach crowding metrics & stampede-free egress.
| TRAIN NO / NAME | DESTINATION | EXP ARRIVAL | EXP DEP | PLATFORM | STATUS | BOARDING DENSITY |
|---|---|---|---|---|---|---|
| 12638 • Pandyan Express | Madurai Jn (MDU) | 21:15 | 21:30 | PF 3 | DELAYED 15M (REALLOCATED) | Safe (24% Load) |
| 12622 • Tamil Nadu Exp | New Delhi (NDLS) | 21:55 | 22:15 | PF 1 | ON TIME | Moderate (65% Load) |
| 22625 • Double Decker | KSR Bengaluru (SBC) | 07:10 | 07:25 | PF 4 | ON TIME | Safe (38% Load) |
| 12840 • Howrah Mail | Howrah Jn (HWH) | 23:30 | 23:45 | PF 5 | ON TIME | Heavy Rush (86% Load) |
| 16057 • Sapthagiri Exp | Tirupati (TPTY) | 06:25 | 06:40 | PF 6 | ON TIME | Low (29% Load) |
Live crowd heat distribution across the 24-coach rake. Board at green coaches for guaranteed seating and unblocked vestibules.
Current Density: 1.15 persons/m² (Safe) • Est. Clearance: 2.5 min • Escalator operating smoothly.
Current Density: 2.18 persons/m² (Caution) • Est. Clearance: 9.0 min • Moderate baggage bottleneck.