S4-G1 / management

1 stars 0 forks source link

OEE (Overall Equipment Effectiveness) #6

Open Emilo1234 opened 3 years ago

Emilo1234 commented 3 years ago

REQUIREMENT
--

ID Requirement
R05 Overall Equipment Effectiveness

DESIRED OUTCOME --
As an end-user, I want to know just how effective the beer production is at what speeds and with what product, in order to best suit my production needs.

ACCEPTANCE CRITERIA --
A story can cover multiple requirements and aims to describe the desired outcome that meets the expectations of the requirement(s). The acceptance criteria are the agreed measure to prove the story is functionally complete and indirectly proving the requirements are met.

Test Case ID S4G1_TST_xx
Requirement(s) R05
Preconditions The brewing process is currently running and I am viewing the production page
Test Steps View if the OEE Changes over time and test if the values are correct
Expected Output The MES gives out an OEE that matches the correct values.

DEFINITION OF DONE

The Definition of Done describes the different steps to be completed to ensure the product/solution increment is completed.

SOLUTION DESCRIPTION

The solution description describes how we expect to implement a solution that satisfies the desired outcome of the user story.

In order to solve the problem, we have to calculate the OEE every time the MES recieves a data entry point from the opc-ua connection, instead of showing it in history/Batch report. GET /batches/latest will return the following:

{
  "speed": 189,
  "started_dt": "2021-01-17T14:14:48.392470+00:00",
  "amount_to_produce": 100,
  "recipe_id": "Pilsner",
  "finished_dt": "2021-01-17T14:15:20.135025+00:00",
  "oee": 29.295000000000005,
  "identifier": 7
}

These are two examples of the OEE being printed out in the batch report