Skip to content
All projects

Near real-time production line data: an OEE platform

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
OEE is calculated differently in every plant, and with a delay.
Approach
We collect machine data through edge gateways (OPC UA, Modbus) without touching the controllers, normalize it into a common model, and calculate OEE under a single definition.
Goal
Availability of line data in the analytics system: ≥ 99% of line operating time; Share of records meeting data quality rules: ≥ 98% in critical tables.

Client context

Industry in Poland is moving from manual shift reports to near real-time machine data, but integrating older installations with new systems remains the main barrier. The client is a components manufacturer with several plants in Poland, lines of different generations, and efficiency reporting based on manual shift reports.

Challenge

OEE is calculated differently in every plant, and with a delay. Downtime causes are entered by hand and are often vague, so improvement efforts miss the real problems.

Requirements and constraints

  • IEC 62443 (security of industrial automation systems) divides an installation into zones and conduits, defines security levels (SL), and sets requirements for component suppliers. Every IT–OT connection must pass through a controlled conduit. (source)
  • NIS2, i.e. Directive (EU) 2022/2555, and the amendment to the Polish National Cybersecurity System Act (KSC) require essential and important entities to implement cybersecurity risk management measures, supply chain security, and incident reporting within short deadlines (an early warning within 24 hours). The management board is personally accountable, so documenting decisions is part of the product. (source)
  • CSRD and ESRS: the sustainability reporting obligation requires emissions and energy consumption data of a quality comparable to financial data, with a traceable source and the possibility of assurance. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every element delivered with documentation that the client's team can take over.

Approach and architecture

We start with a few key indicators that are disputed today, and design the data model backward from them. We run the migration from the existing warehouse in parallel: for a transition period both systems calculate the same figures, and automatic reconciliation comparisons show discrepancies before the board sees them.

We collect machine data through edge gateways (OPC UA, Modbus) without touching the controllers, normalize it into a common model, and calculate OEE under a single definition. Operators confirm downtime causes from a list on a terminal at the line. The IT–OT connection passes through a DMZ zone in line with IEC 62443.

Key elements of the solution:

  • Edge gateways that read data without writing to controllers
  • A DMZ zone and a one-way OT → IT flow
  • A common model of machine events
  • OEE dashboards for the shift, the plant, and the group

Team and roles

RoleCountResponsibility
Solution architect1target architecture, ADR decisions, technical reviews
Data engineer2pipelines, data model, data quality tests
Python developer1services, integrations, processing scripts
BI analyst1dashboards, indicator definitions, user training
Security architect1threat model, security requirements, design reviews
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Inventory of sources and indicators1–4indicator dictionary, source map
2. Architecture and data model5–10layered model, standards
3. Building pipelines and quality tests11–20pipelines, tests, catalog
4. Reconciliation and parallel running21–26reconciliation reports
5. Rollout and training27–28dashboards, training, handover

Technology stack

OPC UA, Node-RED or Kepware, MQTT, Kafka, TimescaleDB, Grafana, Power BI.

Risks and how we mitigate them

RiskHow we mitigate it
Impact of IT changes on production continuity (OT)tests on a rig that replicates the line, changes only in downtime windows, zones and conduits per IEC 62443
Undocumented behavior of the legacy systemcharacterization tests (golden master) before the change, old vs. new result comparisons
Low adoption by usersambassadors in departments, training on their own cases, measuring usage from day one

Measurable goals and KPIs

The values below are targets that we set with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Availability of line data in the analytics system≥ 99% of line operating timepipeline monitoring
Share of records meeting data quality rules≥ 98% in critical tablesdata quality tests
Data freshness in reports≤ D+1 (or ≤ 15 min for operational data)pipeline metadata

Lessons learned and good practices

A single OEE definition matters more than reading precision, because without it the plants compare different things. Read-only access to controllers is a condition for the maintenance team to accept the project. Data quality tests must block publication, otherwise nobody reads them.

Why B2B.net

We combine two models: we provide individual specialists and whole teams (time and materials, team leasing), and when a client prefers to hand over responsibility for the result, we work at a fixed price for a defined scope. We have access to a large network of engineers in six cities, SAP Center of Expertise competencies, and experience with ISO 27001, DORA, and NIS2 requirements. If someone leaves the team, a replacement is in place within 5 business days.

Acceptance criteria

Every phase ends with a formal acceptance against criteria agreed at the start. In this deployment, acceptance covers: indicator dictionary, source map; layered model, standards; pipelines, tests, catalog; reconciliation reports; dashboards, training, handover. Final acceptance requires a KPI measurement report against the starting point, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with an estimate of the cost and risk of each.

Next step

If you recognize these problems in your organization, let's start with a short diagnosis: one workshop with your team and written recommendations. Write to: office@b2bnetwork.pl.

What would this look like for you?

Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.

Let's talk

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Manufacturing