8.7 KiB
8.7 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.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.