A comprehensive reference architecture specification for the AgriRetail Alliance platform, coordinating agricultural supply and demand through automated logistics and information systems. Developed as part of the Architecture and Modeling of Systems (AMS) course at IST.
The AgriRetail Alliance is a collaboration between agricultural producers and retailers seeking a new platform to coordinate the supply and demand of agricultural products. This project develops an Open Domain Reference Architecture Specification through a competitive exploration process, modeling:
- AgriCore - Logical information system
- Transport Unit - Physical system (semi-trailer trucks)
- Collection & Delivery Processes - End-to-end logistics workflows
- Reliable Coordination - Effectively align supply and demand between producers and retailers
- Transparent Forecasting & Planning - Anticipate needs and production in a timely manner
- Order Efficiency - Ensure orders are matched and delivered quickly and reliably
- Automated Logistics - Minimize human intervention in transport and storage
- National Coverage - Enable participation of producers and retailers across the country
- Fair Information Usage - Balance business privacy with traceability and equitable access
Focus: Understanding the domain and key processes
- Assumptions - Explicit and implicit assumptions list
- Open Questions - Identified ambiguities and omissions
- High-Level Vision - ArchiMate layered diagram
- Collection Process - BPMN collaboration diagram
Focus: Complete architectural specification
All Phase 1 items (revised) plus:
- AgriCore Use Cases - UML use case diagram
- AgriCore Domain Model - UML class diagram
- Register Order UC - Detailed textual description
- Register Order Sequence - UML sequence diagram with external interactions
- Semi-Trailer State Machine - Complete lifecycle STM
- Transport Unit Use Cases - SysML use case diagram
- Transport Unit Structure - SysML block definition diagram
- Transport Unit Internal Structure - SysML internal block diagram
- Manages all event data (orders, batches, containers, producers, retailers, warehouses, transport units)
- Receives real-time updates from Ministry of Agriculture (product types, certifications)
- Daily planning cycle (20:00) with Planner service
- Coordinates with GesPark (park management) and GesStore (warehouse management)
- Tracks all collection and delivery events
- Composition: Semi-trailer truck (tractor) + trailer
- Electric tractor with TruckMng application
- Real-time sensor monitoring
- Autonomous navigation using Galileo + Google Maps
- Automated rescue protocol for battery depletion
- Lifecycle states: operational, inoperational, in use, deactivated
- Planner - Route planning and order fulfillment optimization
- Ministry of Agriculture - Product types and certification registry
- Google Maps - Route assistance
- Galileo - GPS navigation system
- GesPark - Automated park management
- GesStore - Automated warehouse management
- AgriCore receives collection plan from Planner
- Transport Unit assembly at park
- Container loading onto trailer
- Multi-producer collection route
- Warehouse delivery and container unloading
- Return to designated park
- Unit disassembly
- AgriCore receives delivery plan from Planner
- Transport Unit assembly at park
- Warehouse pickup of designated containers
- Multi-retailer delivery route
- Empty container return to park
- Unit disassembly
- ArchiMate - Enterprise architecture modeling (Archi tool → EA)
- BPMN 2.0 - Business process modeling (Camunda → EA)
- UML 2.5 - Use cases, domain models, sequences, state machines (EA)
- SysML - Physical system modeling (EA)
- Enterprise Architect (EA) - Final modeling tool for Phase 2
- ArchiMate 3.x - Layered architecture representation
- BPMN 2.0 - Collaboration and process flows
- UML 2.5 - Object-oriented modeling
- SysML 1.6 - Systems engineering
- Retailers - Submit orders and demand forecasts; single delivery location
- Producers - Declare production batches and forecasts; multiple production/collection sites
- AgriRetail Alliance - Platform operator
- Ministry of Agriculture - Regulatory authority
- Orders cannot target specific producers but can require certifications
- Producers cannot choose retailers or influence order decisions
- Forecasts, orders, and productions cannot be modified after creation
- Orders confirmed only when all products are in warehouses
- Products never transferred between warehouses
- Each container carries only one batch type
- Batches can be split into sub-batches for transport/fulfillment
- Orders: Registered → Pre-confirmed → Confirmed → Fulfilled/Unfulfilled/Cancelled
- Batches: Declared → Collected → In warehouse → Delivered
- Transport Units: Assembled → In movement → Stopped (loading/unloading/parked) → Disassembled
This project goes beyond modeling a single system - it aims to define a reusable reference architecture applicable to similar coordination platforms across different sectors (industrial logistics, circular economy, healthcare, transportation).
- Stable vs. Variable Elements - Clear separation between invariant core and configurable aspects
- Technology Independence - Logical structure maintained across different implementations
- Viewpoint Articulation - Multiple perspectives (business, information, technology, governance)
- Sector Adaptability - Generic patterns applicable to various domains
Similar reference architectures exist in:
- Industrial IoT (IIRA, RAMI 4.0)
- Enterprise integration (ISA-95)
- Smart cities (FIWARE, OASC/MIMs)
- Telecommunications (TM Forum ODA)
- Automotive (AUTOSAR)
- Healthcare (HL7, openEHR)
- Government (EIF/EIRA, GOV.UK)
- Enterprise Architect (EA) - Primary modeling tool
- Archi - For initial ArchiMate diagrams (Phase 1)
- Camunda Modeler - For initial BPMN diagrams (Phase 1)
- All diagrams must include appropriate legends
- Annotations clarifying view objectives and scope
- Revision notes for updated diagrams in Phase 2
- Explicit confirmation when diagrams are re-examined without changes
The following aspects are explicitly excluded:
- Payment and billing systems
- Security and cybersecurity
- Long-term strategic planning
- Member lifecycle management
- Equipment failure scenarios
- Expired batch handling
- Internal design of external services (Planner, TruckMng)
- Producer loading failures or retailer delivery rejections
Students will develop competencies in:
- Enterprise architecture modeling (ArchiMate)
- Business process modeling (BPMN)
- Object-oriented analysis and design (UML)
- Systems engineering (SysML)
- Requirements analysis and critical thinking
- Stakeholder communication
- Reference architecture design principles
A solution of excellence demonstrates:
- Vision beyond explicit requirements
- Critical analysis and generalization capacity
- Clear distinction between stable and variable elements
- Explicit viewpoint awareness and articulation
- Evidence of reusability principles
- Technical rigor with communicational clarity
"An architecture is only as good as its ability to be understood, reused, and evolved by its community."