feat(phase-5): implement battery model, charging queues, production deadlines, and safe reassignment
This commit is contained in:
@@ -5,6 +5,34 @@ All notable changes to the Warehouse Robot Fleet Digital Twin will be documented
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.6.0] - 2026-10-21
|
||||
|
||||
### Added - Phase 5: Charging and Operational Constraints
|
||||
- **Physics-Informed Battery Model** (`warehouse_twin.fleet.battery_model`):
|
||||
- `BatteryModel` implementing 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 a $20\%$ minimum post-mission safety headroom.
|
||||
- Rejection of infeasible missions with descriptive `InfeasibleEnergyMissionError`.
|
||||
- **Capacity-Constrained Charging Management** (`warehouse_twin.fleet.charging_manager`):
|
||||
- `ChargingBay` with SimPy `Resource` backing single-vehicle occupancy constraints ($\text{capacity} = 1$).
|
||||
- `ChargingManager` coordinating 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_MISSED` telemetry events upon SLA violations.
|
||||
- Dispatch queue urgency re-ordering prioritizing tasks nearest to deadline expiration.
|
||||
- **Inventory Stock-Out Monitoring**:
|
||||
- Verification of stock availability prior to task dispatch, triggering `STOCKOUT_OCCURRED` telemetry events.
|
||||
- Automated generation of high-priority stock replenishment missions.
|
||||
- **Safe Task Reassignment & Preemption** (`warehouse_twin.fleet.task_reassigner`):
|
||||
- `TaskReassigner` safely detaching tasks from low-battery robots, clearing spatial reservations, and reverting tasks to `PENDING`.
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user