14 KiB
14 KiB
Changelog
All notable changes to the Warehouse Robot Fleet Digital Twin will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.6.0] - 2026-10-21
Added - Phase 5: Charging and Operational Constraints
- Physics-Informed Battery Model (
warehouse_twin.fleet.battery_model):BatteryModelimplementing operational electrical power draw across states (idle,moving_empty,moving_loaded,handling).- Load-dependent consumption model scaling linear electrical power based on carried payload weight.
- Comprehensive mission feasibility validator (
validate_mission_feasibility) enforcing a20\%minimum post-mission safety headroom. - Rejection of infeasible missions with descriptive
InfeasibleEnergyMissionError.
- Capacity-Constrained Charging Management (
warehouse_twin.fleet.charging_manager):ChargingBaywith SimPyResourcebacking single-vehicle occupancy constraints (\text{capacity} = 1).ChargingManagercoordinating multi-bay queues, wait time tracking, and charger rating selection (50\,\text{kW}for heavy AMRs,25\,\text{kW}for light AMRs).- Automated opportunity charging when idle with SoC
\le 60\%, and mandatory return-to-base charging when SoC\le 25\%.
- Production Line Deadlines & SLA Tracking (
warehouse_twin.domain.task&warehouse_twin.simulation.sim_engine):- Strict
300\,\text{s}delivery lead time SLA deadlines for Zone C scheduled batch feeds. - Lateness and overdue tracking emitting
DEADLINE_MISSEDtelemetry events upon SLA violations. - Dispatch queue urgency re-ordering prioritizing tasks nearest to deadline expiration.
- Strict
- Inventory Stock-Out Monitoring:
- Verification of stock availability prior to task dispatch, triggering
STOCKOUT_OCCURREDtelemetry events. - Automated generation of high-priority stock replenishment missions.
- Verification of stock availability prior to task dispatch, triggering
- Safe Task Reassignment & Preemption (
warehouse_twin.fleet.task_reassigner):TaskReassignersafely detaching tasks from low-battery robots, clearing spatial reservations, and reverting tasks toPENDING.- Graceful preemption of unstarted low-priority missions for critical production feeds.
- Test Suite Expansion:
- Added 15 new unit tests across battery models, charging queues, production deadlines, stockouts, and task reassignment.
- Test suite expanded to 110 unit tests (100% pass rate in 0.68s).
- OpenUSD Phase 5 scene generated at
omniverse/scenes/warehouse_phase5.usda. - Implementation documentation in
docs/phases/phase_5_charging_and_operational_constraints.md.
[0.5.0] - 2026-10-21
Added - Phase 4: Routing, Fleet Assignment, and Traffic Management
- NetworkX Shortest-Path Planning Engine (
warehouse_twin.routing.path_planner):PathPlannersupporting Dijkstra and A* path planning over directed warehouse navigation graphs.- Strict enforcement of robot capabilities (e.g. Light AMRs restricted from Zone B wide aisles).
- Dynamic edge cost calculation incorporating congestion penalties from active reservation density.
- Auto-resolution of entity identifiers (racks, charging bays, docks) to graph node coordinates.
- Unreachable destination detection with descriptive
NoPathFoundErrordiagnostics.
- Time-Space Reservation Grid (
warehouse_twin.routing.reservations):TimeSpaceReservationGridmanaging temporal reservations across navigation nodes and edges.- Head-on collision avoidance on bidirectional corridors, eliminating opposite-direction entry conflicts.
- Trailing vehicle headway safety buffers (
1.0\,\text{s}) preventing rear-end collisions. - Intersection exclusive single-occupancy zones with temporal clearance buffers.
- Dynamic
find_earliest_free_departuresolver for safe scheduling. - Memory-efficient expired reservation purging.
- Traffic Manager & Cooperative Yielding (
warehouse_twin.routing.traffic_manager):TrafficManagercoordinating multi-AMR flow according toconfig/dispatch_policies.json.- Right-of-way arbitration: Priority 1 production feed > Priority 2 replenishment > Priority 4 picking; loaded AMRs maintain precedence over empty AMRs.
- Cooperative waypoint waiting: yielding AMRs hold at preceding nodes until bottlenecks clear.
- Deadlock detection with automatic dynamic bypass rerouting upon exceeding
deadlock_timeout_seconds. - Comprehensive traffic metrics: conflicts detected, yield waits executed, wait durations, and replans.
- Physical Waypoint Simulation & Trajectory Export (
warehouse_twin.simulation.sim_engine):- Step-by-step physical waypoint transit in SimPy discrete-event simulation.
- Real-time time-indexed motion trajectory export to
results/trajectories/trajectory_sim.jsonconforming to project data contracts.
- OpenUSD Navigation Corridor Overlays (
warehouse_twin.interfaces.usd_generator):- Generated
omniverse/scenes/warehouse_phase4.usdafeaturing visual highway corridors (cyan/blue) and Zone B wide aisles (industrial amber).
- Generated
- Test Suite Expansion:
- Added 23 new unit tests across path planning, time-space reservations, traffic coordination, and trajectory recording.
- Test suite expanded to 95 unit tests (100% pass rate in 0.65s).
- Implementation documentation in
docs/phases/phase_4_routing_and_fleet_assignment.md.
[0.4.0] - 2026-10-19
Added - Phase 3: Discrete-Event Simulation Engine
- Wider Aisles in Zone B:
- Configured
config/warehouse.jsonwithaisle_width: 4.0for Zone B (slow-moving & heavy specialized items). - Updated
WarehouseGraphBuilderto construct wide4.0\text{m}aisle columns across Zone B (x \in [32, 36, 40, 44]), double the2.0\text{m}spacing of Zone A, facilitating heavy AMR navigation with wide pallets and heavy loads. - Added unit test
test_slow_moving_zone_b_has_wider_aisles.
- Configured
- Order Generation Engine (
warehouse_twin.simulation.order_generator):OrderGeneratorandWorkloadConfigimplementing multi-zone workload processes:- Zone A Poisson arrivals for fast-moving items (
expovariate). - Zone B Gaussian arrivals for heavy components navigating wider aisles (
gauss). - Zone C scheduled batch feeds for production-line delivery.
- Automated stock replenishment order generation when inventory dips below minimum threshold.
- Peak demand traffic scaling (
1.5\timesmultiplier from 1200s to 2400s).
- Zone A Poisson arrivals for fast-moving items (
- Fleet Dispatcher (
warehouse_twin.simulation.dispatcher):FleetDispatcherwith priority queueing, sorting tasks by priority, deadline, and release time.- Compatibility validation enforcing payload capacity ratings, battery headroom filtering (
20\%), and Zone B restrictions. - Nearest-idle robot selection based on graph network routing distances.
- SimPy Discrete-Event Simulation Core (
warehouse_twin.simulation.sim_engine):SimulationEnvironmentmanaging master clock, discrete order arrival processes, and dispatcher daemon.- Robot mission lifecycle execution: empty transit, picking, stock reservation/consumption, loaded transit, dropoff, and automatic opportunity/mandatory recharging.
- Real-time event streaming to JSONL (
logs/simulation_events.jsonl). SimulationMetricscomputing throughput, turnaround, wait times, on-time delivery rate, fleet utilization, and energy consumption.
- CLI Subcommand:
warehouse-twin run-sim: supports--duration,--seed,--config-dir, and--output-events.
- Expanded test suite to 72 unit tests (16 new Phase 3 tests, 100% pass rate in 0.37s).
- Comprehensive Phase 3 implementation report in
docs/phases/phase_3_simulation_engine.md.
[0.3.0] - 2026-10-19
Added - Phase 2: Robot and Task Models
- Domain entity models for Autonomous Mobile Robots (
warehouse_twin.domain.robot):RobotStateenum representing operational lifecycle states (IDLE,DISPATCHED,PICKING,LOADED_TRANSIT,DROPPING,TRANSIT_TO_CHARGE,CHARGING,MAINTENANCE).- Strict transition lookup table
LEGAL_ROBOT_TRANSITIONSpreventing illegal state transitions withInvalidStateTransitionError. RobotTypeSpecparsingconfig/robots.jsonspecifications for light and heavy AMRs.Robotmodel managing kinematics, battery capacity, linear energy consumption (idle, moving, loaded), fast-charging, active tasks, routes, and allowed zones.- Pre-assignment validation
Robot.validate_task_compatibility(task)enforcing payload capacity and zone restrictions (IncompatibleRobotTaskError).
- Domain models for warehouse tasks (
warehouse_twin.domain.task):TaskTypeenum (INBOUND_TRANSPORT,OUTBOUND_PICKING,PRODUCTION_FEED,REPLENISHMENT,CHARGING).TaskStatusenum (PENDING,ASSIGNED,IN_PROGRESS,COMPLETED,CANCELLED,FAILED) enforced byLEGAL_TASK_TRANSITIONS.Taskdataclass tracking creation time, assignment time, start/completion times, turnaround time, queue wait time, execution duration, and SLA deadline overdue checks.
- Inventory item and catalog models (
warehouse_twin.domain.inventory):InventoryItemwith available/reserved quantities, unit weight, reorder threshold, and restocking amounts.InventoryCatalogloading 13 SKUs fromconfig/inventory.jsonwith stock reservation, consumption, and replenishment trigger checks.
- Event telemetry models (
warehouse_twin.domain.events):SimulationEventTypeandSimulationEventdataclass with ISO8601 formatting and JSONL serialization.
- OpenUSD generator enhancements (
warehouse_twin.interfaces.usd_generator):WarehouseUSDGenerator.from_config_bundlenow renders the active AMR fleet with realistic geometry (pearl white for light AMRs, industrial amber for heavy AMRs, with illuminated status domes).- Exported OpenUSD 3D stage
omniverse/scenes/warehouse_phase2.usda.
- 30 new unit tests covering robot states, task lifecycles, inventory dynamics, telemetry events, and USD robot generation (56 total unit tests passing in 0.24s).
- Implementation report in
docs/phases/phase_2_robot_and_task_models.md.
[0.2.0] - 2026-10-19
Added - Phase 1: Warehouse Model
- Complete warehouse domain entities in
warehouse_twin.domain.warehouse:Position3D,WarehouseDimensions,ZoneArea,ZoneDefinition,Station,ChargingStation,StorageLocation,WarehouseNode,WarehouseEdge, andWarehouseModel. - Topological navigation graph builder (
WarehouseGraphBuilderinwarehouse_twin.routing.graph_builder):- Unified coordinate hashing producing deterministic 540-node, 1,730-edge directed graph.
- Multi-lane perimeter highway network (West, South, North, East) and inter-zone transfer corridors at
x=26\text{m}andx=46\text{m}. - Detailed internal grid networks across Zone A (fast-moving), Zone B (slow-moving/heavy), and Zone C (production supply).
- Explicit bindings for 6 stations (2 inbound docks, 1 outbound pack dock, 2 picking stations, 1 production line feed).
- Explicit bindings for 4 fast/heavy charging bays.
- Explicit bindings for 13 storage rack locations mapped to inventory catalog items.
- Operational zone restrictions: Zone B aisles restricted exclusively to
heavy_amrAMR classes. - Connectivity and topology verification engine (
validate_connectivity):- Strong connectivity verification (
1strongly connected component). - Complete station, charger, and rack reachability verification.
- Sub-graph robot class access verification.
- Custom exceptions
DisconnectedGraphErrorandUnreachableStationError.
- Strong connectivity verification (
- JSON graph topology serialization (
export_topology_dict,export_jsonexporting toresults/reports/warehouse_graph.json). - CLI subcommands:
warehouse-twin validate-graphandwarehouse-twin export-graph. - Unit test suite expanded to 26 tests (9 new graph unit tests, 100% pass rate in 0.21s).
- Comprehensive Phase 1 implementation report in
docs/phases/phase_1_warehouse_model.md.
[0.1.0] - 2026-10-19
Added - Phase 0: Environment and Project Foundation
- Initial project directory layout adhering strictly to master prompt specifications.
- Host environment inspection identifying Ubuntu 24.04.3 LTS, Python 3.12.3, NVIDIA RTX 5090 GPU (Driver 580.178.04), and 8.9 GB disk availability.
- Omniverse Kit inspection discovering installed Kit 110.4.0 and base app
warehouse_twin.kitunder/home/dmhai/nvidia-omniverse/kit-app-template. - Python packaging configuration (
pyproject.toml) with dependencies onsimpy4.1.2,networkx3.7, andpytest9.1.1. .gitignoreand.env.examplewith secondary drive relocation parameters.- Base configurations in
config/:warehouse.json: 60m x 40m facility with Zones A, B, C, inbound docks, picking stations, production drop-offs, and charging bays.robots.json: Light AMR and Heavy AMR definitions with speed, payload, and energy models.inventory.json: Fast-moving, slow-moving, and production raw material item catalogs.simulation.json: Discrete-event parameters, arrival rates, and random seed.dispatch_policies.json: Dispatch policy definitions and traffic reservation settings.
- Structured rotating logging module (
warehouse_twin.logging_config) managingapplication.log,simulation.log, anderrors.log. - Robust configuration loader (
warehouse_twin.config.loader) with schema validation. - Command-line interface (
warehouse_twin.cli) supportingvalidate-envandvalidate-config. - Automated shell verification scripts:
scripts/check_environment.shandscripts/run_tests.sh. - Comprehensive unit test suite in
tests/unit/(17 tests passing in 0.09s). - Full documentation suite:
README.md,IMPLEMENTATION_DETAILS.md,PROJECT_STATUS.md,docs/ARCHITECTURE.md,docs/INSTALLATION.md,docs/USER_GUIDE.md,docs/API_AND_DATA_CONTRACTS.md,docs/TESTING.md,docs/DECISIONS.md,docs/phases/phase_0_foundation.md, andomniverse/README.md.