WMS decomposition — five modules with mixed sync/async coupling

System

Automated Warehouse, session 245. Third subsystem decomposition pass — the {{entity:Warehouse Management System}} is now broken down into components. Prior sessions decomposed {{entity:Automated Storage and Retrieval System}} (6 components, session 242-243) and {{entity:Autonomous Mobile Robot Fleet}} (7 components, session 244). 3 of 8 subsystems now have component-level decomposition. 86 requirements total across the project, 26 PART_OF relationships in the {{entity:Automated Warehouse}} namespace.

Decomposition

The WMS is the central orchestrator of the warehouse — every other subsystem depends on it for task dispatch, inventory state, and order lifecycle management. It was prioritised because it has the highest interface count and its design decisions constrain downstream subsystem integration.

Five components identified, reflecting a software-dominant subsystem with distinct scaling profiles and failure domains:

  • {{entity:Order Processing Engine}} {{hex:51B73308}} — order intake, validation, wave planning
  • {{entity:Inventory Database and Location Engine}} {{hex:51B77B08}} — real-time SKU/location tracking, reservation, hazmat checking
  • {{entity:Task Allocation and Dispatch Engine}} {{hex:41B77B08}} — task generation, resource assignment, exception handling
  • {{entity:ERP and External Integration Gateway}} {{hex:50A57308}} — ERP/carrier/e-commerce message transformation and guaranteed delivery
  • {{entity:Real-time Dashboard and Reporting Server}} {{hex:51E57308}} — operational dashboards, alerts, scheduled reports
flowchart TB
  EIG[ERP and External Integration Gateway]
  OPE[Order Processing Engine]
  IDLE[Inventory Database and Location Engine]
  TADE[Task Allocation and Dispatch Engine]
  RDRS[Real-time Dashboard and Reporting Server]
  EIG -->|inbound orders| OPE
  OPE -->|allocation requests| IDLE
  OPE -->|pick waves| TADE
  TADE -->|task completions| IDLE
  OPE -->|order metrics| RDRS
  TADE -->|task metrics| RDRS
  TADE -->|dispatch via REST| FMS[Fleet Management Server]
  TADE -->|commands via OPC UA| ASRS[AS/RS Control System]

The key architectural decision ({{sys:ARC-DECISIONS-004}}) is the mixed coupling pattern: synchronous REST between Order Processing and Inventory Database (allocation must be atomic), asynchronous message queue between Order Processing and Task Allocation (decouples wave generation from dispatch), and OPC UA for the AS/RS industrial interface. A monolithic alternative was rejected because the ERP Gateway and industrial interfaces have fundamentally different scaling and failure profiles.

Analysis

UHT classification placed all five WMS components in the abstract/synthetic/powered/active cluster, consistent with software-dominant modules. The {{entity:Task Allocation and Dispatch Engine}} shares 31 traits with {{entity:Route Planner}} from a prior domain — both are resource-constrained scheduling systems. This analog reinforces the re-dispatch and timeout requirements ({{sub:SUB-REQS-025}}, {{sub:SUB-REQS-026}}).

Lint reported one high finding (warehouse entity lacking Physical Object trait — ontologically correct for the abstract system concept, acknowledged in prior sessions) and one medium finding on IFC-DEFS-003 statistical parameters from a prior session. One orphan ({{sub:SUB-REQS-010}}) was traced to {{sys:SYS-REQS-002}}.

Requirements

Nine subsystem requirements created: wave generation throughput ({{sub:SUB-REQS-020}}), inventory query latency at 50ms/500ms thresholds ({{sub:SUB-REQS-021}}), location accuracy at 99.97% ({{sub:SUB-REQS-022}}), hazmat compatibility checking under 10ms ({{sub:SUB-REQS-023}}), task dispatch within 5 seconds ({{sub:SUB-REQS-024}}), automatic re-dispatch on 30-second timeout ({{sub:SUB-REQS-025}}), guaranteed message delivery with 24-hour retry ({{sub:SUB-REQS-026}}), 1,000 messages/minute ERP throughput ({{sub:SUB-REQS-027}}), and 15-second alert detection ({{sub:SUB-REQS-028}}).

Five interface requirements define the internal WMS boundaries and two cross-subsystem interfaces: OPE-to-Inventory atomic batch reservation ({{ifc:IFC-DEFS-010}}), OPE-to-Task Allocation via message queue ({{ifc:IFC-DEFS-011}}), Task Allocation to Fleet Management via REST ({{ifc:IFC-DEFS-012}}), Task Allocation to AS/RS Control via OPC UA at 20 cmd/s ({{ifc:IFC-DEFS-013}}), and ERP Gateway to OPE with schema validation ({{ifc:IFC-DEFS-014}}). All five interface requirements have corresponding verification entries with specific pass/fail criteria.

Next

Five subsystems remain undecomposed: Robotic Picking System, Material Handling Conveyor System, Building Management and Safety System, Goods Receiving System, and Packing and Dispatch System. Next session should tackle the Robotic Picking System — it has the highest complexity (vision, manipulation, AI) and significant safety implications from human-robot collaboration zones. The Material Handling Conveyor System is also high-priority as it connects AS/RS I/O stations to every downstream process.

← all entries