Functional analysis and scaffold completion for pharmaceutical manufacturing line

System

{{entity:Pharmaceutical Manufacturing Line}} scaffold session, building on concept phase data (5 scenarios, 7 stakeholders, 7 hazards, 6 operating modes). The concept session created 235 requirements across all 6 documents with 225 trace links — an unusually complete concept output. This session’s focus: functional analysis to justify the physical decomposition, complete the spec tree, close hazard coverage gaps, and document architecture decisions for the 4 subsystems that lacked them.

Stakeholder Requirements

All 7 stakeholders have STK coverage (13 requirements): {{entity:Production Supervisor}} (OEE, degraded mode), {{entity:QC Analyst}} (PAT monitoring, cleaning validation), {{entity:EHS Officer}} (containment, E-stop), {{entity:Regulatory Inspector}} (21 CFR Part 11, GMP, serialisation), {{entity:Patient}} (pharmacopoeial compliance), {{entity:Maintenance Technician}} (LOTO), and {{entity:Material Handler}} (traceability). Each stakeholder requirement traces to specific ConOps scenarios from the concept phase.

System Requirements

27 SYS requirements existed from concept; this session added {{sys:SYS-REQ-029}} — a dust explosion prevention requirement addressing hazard H-003 (ATEX Directive 2014/34/EU compliance, LEL monitoring at 25% trigger, nitrogen inerting, explosion venting). This was the only unaddressed hazard — H-001, H-002, H-004, H-005, H-006, and H-007 all had SYS-level coverage but several lacked explicit hazard tags. Tags added to {{sys:SYS-REQ-004}} and {{sys:SYS-REQ-013}} (H-001), {{sys:SYS-REQ-006}} (H-005), and {{sys:SYS-REQ-016}} (H-007).

Functional Analysis

Eight top-level system functions identified from SYS requirements and classified:

FunctionHexKey SYS Drivers
{{entity:Process Material}}{{hex:44A53258}}SYS-REQ-001, -007, -010
{{entity:Granulate and Blend}}{{hex:54F53218}}SYS-REQ-001
{{entity:Compress Tablets}}{{hex:56B73258}}SYS-REQ-001, -012
{{entity:Coat Tablets}}{{hex:54D53218}}SYS-REQ-001
{{entity:Package and Serialise}}{{hex:44E77A59}}SYS-REQ-010, -015
{{entity:Monitor Process Quality}}{{hex:45F77A18}}SYS-REQ-003, -009, -018
{{entity:Manage Manufacturing Records}}{{hex:40E53B58}}SYS-REQ-002, -007, -011, -017, -019, -020, -021
{{entity:Control Environment and Containment}}{{hex:51F73858}}SYS-REQ-004, -005, -006, -013, -016, -022, -026

The four process functions (Process Material, Granulate, Compress, Coat) share {{trait:Physical Object}}, {{trait:Synthetic}}, {{trait:Powered}}, and {{trait:State-Transforming}} traits — they are physical material transformation steps in a linear process train. The two monitoring/control functions (Monitor Process Quality, Control Environment) share {{trait:Observable}}, {{trait:System-integrated}}, and {{trait:Active}} — cross-cutting functions that observe and intervene across all process steps. Manage Manufacturing Records is the only function with {{trait:Digital/Virtual}} dominant — a pure information management function.

Decomposition

Function grouping justifies the 8-subsystem decomposition established in the concept phase. Each function maps 1:1 to a subsystem, with grouping rationale documented via FUNCTION_GROUPS_TO facts and architecture decisions (4 new ARC entries for the previously undocumented subsystems).

flowchart TB
  MH["Material Handling - and Dispensing"]
  GB["Granulation - and Blending"]
  TC["Tablet - Compression"]
  FC["Film - Coating"]
  PS["Packaging and - Serialisation"]
  PAT["Process Analytical - Technology"]
  MES["Manufacturing - Execution System"]
  CEC["Containment and - Environmental Control"]
  ERP["ERP System"]
  LIMS["LIMS"]
  UTIL["Building Utilities"]
  SER["Serialisation Registry"]

  MH -->|granule charge| GB
  GB -->|blended granule| TC
  TC -->|tablet cores| FC
  FC -->|coated tablets| PS
  PAT -->|CQA data| MES
  PAT -.->|diversion cmd| TC
  PAT -.->|blend endpoint| GB
  MES -.->|recipe control| GB
  MES -.->|recipe control| TC
  MES -.->|recipe control| FC
  CEC -.->|HVAC, containment| MH
  CEC -.->|HVAC, containment| GB
  CEC -.->|HVAC, containment| TC
  ERP -->|production orders| MES
  MES -->|batch records| ERP
  LIMS -->|test results| MES
  UTIL -->|air, water, N2| CEC
  PS -->|EPCIS events| SER

Spec tree completed for all 8 subsystems. The 4 previously documented (PAT, MES, Granulation, Compression) retain their existing diagram IDs; the 4 new subsystems (Material Handling, Film Coating, Packaging, Containment/Environmental) have diagram placeholders and section IDs locked.

Cross-domain comparison: {{entity:Containment and Environmental Control Subsystem}} scores 0.944 Jaccard similarity with {{entity:Active Ventilation and Containment System}} from the radiochemistry laboratory decomposition — both share 17 traits with only 1 difference ({{trait:Ethically Significant}}). This confirms the containment architecture pattern is consistent across pharmaceutical and nuclear domains.

Next

The project has 240 requirements, 227 trace links, and 16 diagrams across all 8 subsystems. The 4 new ARC decisions are orphans (no trace links) — acceptable for architecture decisions. Priority for the next session: deep decomposition of the {{entity:Containment and Environmental Control Subsystem}} (SIL 2, highest-risk subsystem with the most cross-cutting interfaces — it touches all 5 process subsystems via HVAC and containment). The Film Coating and Material Handling subsystems are lower-complexity and can follow.

← all entries