π Edit this file: docs/overview.md
kairos-zen: OverviewΒΆ
kairos-zen is an agent-based simulation model developed as part of the ZENFreight project. Built using the Kairos modelling architecture developed by the Transport Systems & Logistics Laboratory.
kairos-zen will simulate freight operations during the transition to zero-emission vehicles. It will model multiple freight operators, each managing their own mixed fleet of Battery Electric, Hydrogen Fuel Cell, and Diesel vehicles. The system will optimize multi-delivery routes and vehicle assignments while respecting real-world constraints and operator interactions.
The simulation will provide insights into:
- Optimal fleet composition strategies across multiple operators
- Multi-delivery route efficiency and consolidation opportunities
- Infrastructure investment requirements and shared resource utilization
- Operational cost comparisons between different fleet compositions
System ArchitectureΒΆ
Core Design PrinciplesΒΆ
-
Multi-Operator Architecture: Will simulate multiple competing or collaborating freight operators, each with independent fleet management and customer bases.
-
Multi-Delivery Route Optimization: Vehicles will serve multiple customers per trip, optimizing consolidation and efficiency opportunities.
-
Vectorized Operations: All entities will use AgentGroup architecture with PropertyArrays for efficient NumPy-based operations across large-scale scenarios.
-
Pre-Execution Optimization: Multi-stop route planning and vehicle assignment will occur before simulation execution, with real-time adjustments for disruptions.
-
Mixed Fleet Management: Will provide unified handling of different propulsion types through sparse property arrays within each operator's fleet.
-
Regulatory Compliance: Will include built-in validation of driver hours regulations, weight limits, and operational constraints across all operators.
System ComponentsΒΆ
World (Simulation Container)
β
βββ Operator 1
β βββ OperatorController
β βββ FleetController
β β βββ Will manage operator's vehicle fleet
β β βββ Will handle multi-delivery route assignments
β β βββ Will monitor vehicle states and performance
β βββ Operator Configuration
β β βββ Fleet composition and specifications
β β βββ Service areas and operational parameters
β β βββ Business rules and constraints
β βββ Features:
β βββ BEVPropulsionFeature
β βββ HFCEVPropulsionFeature
β βββ DieselPropulsionFeature
β βββ EnergyManagementFeature
β βββ MaintenanceFeature
β
βββ Operator 2...N (Additional Operators)
β βββ OperatorController (Independent operator management)
β
βββ DemandController
β βββ Will manage all customer demands across operators
β βββ Will track demand allocation and lifecycle
β βββ Will monitor service levels by operator
β
βββ InfrastructureController (Shared Resources)
β βββ ChargingNetwork (BEV) - shared or operator-specific
β βββ HydrogenStations (HFCEV) - shared infrastructure
β βββ DepotFacilities - operator-owned facilities
β
βββ NetworkController
βββ Road network model (shared)
βββ Distance calculations
βββ Travel time estimation
Operational FlowΒΆ
Pre-Simulation Phase:
- Load customer demands across all operators (pre-allocated to operators)
- Process operator-specific demands within each fleet controller
- Optimize multi-delivery vehicle routes for each operator
- Validate feasibility against constraints and operator capabilities
- Load final plans into simulation
Simulation Execution Phase:
- Vehicles execute multi-stop delivery routes
- Handle dynamic events and inter-operator interactions
- Manage charging/refueling operations (shared infrastructure)
- Track performance metrics by operator and system-wide
- Generate comparative operational reports