Table of Contents

Reports

Following kinds of reports:

Reports for single Cell

Reports Input

DescriptionDatabase Field NameRec field name
Locationubicaz.codicecodubi
Year of reference year
Month of reference month

Reports Output Monthly

DescriptionUnit of measureFormulaDb Field ThresholdRec field name
OEE%rv*rf*rqubicaz.thmonoeemonthlyoee
Setup Percentage%setup time / dubicaz.thmonsetupmonthlysetup
Downtime Percentage%f - setup time / dubicaz.thmondowntmonthlydownt
Scrap Percentage%s/npubicaz.tmmonscrapmonthlyscrap

Reports Output Daily

DescriptionUnit of measureFormulaDb Field ThresholdRec field name
OEE%rv*rf*rqubicaz.thdayoeedailyoee
Setup Time%setup timeubicaz.thdaysetupdaysetup
Downtime Time%f - setup timeubicaz.thdaydowntdailydownt
Scrap Percentage%s/npubicaz.tmdayscrapdailyscrap

Threshold

For each location (cell / department) will be required following maximum thresholds:

Following Query for modifying ubicaz table:

ALTER TABLE ubicaz ADD COLUMN thmonoee FLOAT;
ALTER TABLE ubicaz ADD COLUMN thmonsetup FLOAT;
ALTER TABLE ubicaz ADD COLUMN thmondownt FLOAT;
ALTER TABLE ubicaz ADD COLUMN thmonscrap FLOAT;
 
ALTER TABLE ubicaz ADD COLUMN thdayoee FLOAT;
ALTER TABLE ubicaz ADD COLUMN thdaysetup FLOAT;
ALTER TABLE ubicaz ADD COLUMN thdaydownt FLOAT;
ALTER TABLE ubicaz ADD COLUMN thdayscrap FLOAT;

AgentVisualMng Ask

requestcellreports
p1rec(codubi,year,month)year and month are optional

Retval is a Rec containing a field for each Output; each field is a JSon-Object as following:

The Retval Rec will contain also following JSON-Object to define time interval:

Example URL Preview:

http://localhost/isw/webapp/enel/proled/iaf/ask/vismng/cellreports/newrec(jsrec,51,1,codubi,year,month)/NULL/0/400791/2017/4?_cnt=17

Example Javascript Preview:

iaf({p1:{codubi:"400791",year:2017,month:4},ag:"vismng",req:"cellreports",nume:0}).ask(function(rv){})

Oee Overview

AgentVisualManagement manages OEE-Overview.

Def: OEE-Overview is an OEE calculation over the hierarchy of the plants, follows the hierarchy

We define a central DB in which the hierarchy of location is stored; in particular this information is stored into ubicaz table.

Furthermore it's necessary that AgentDataOEE is able to connect specific database where are stored OEE data (fact/dimension). To do that we define into central database following table:

CREATE TABLE dbubi (codubi VARCHAR(51) NOT NULL PRIMARY KEY, agdbname VARCHAR(101) NOT NULL);

Following schema of software solution for Global OEE-Overview



AgentVisManager, AgentDataOEE, AgentCenterUbica for this topic was stored in a specific platform, in which are defined also all tpevodb agents.

Following the current version of this platform:

xnet_agents_oee_ovew.xml

Following an image rapresent current Plant Hierarchy defined by Simon Fretz



For each database we should define the related edge of hierarchy defining Area and Company, both defined as TIPOSET='A'

Additional reports

Maintenance reports

Database

GRANT SELECT ON public.movimag TO wipreadonly;
GRANT SELECT ON public.ubicaz TO wipreadonly;
GRANT SELECT ON public.causafm TO wipreadonly;
GRANT SELECT ON public.caumaga TO wipreadonly;
GRANT SELECT ON public.anags TO wipreadonly;

Actions

WIP-SETTINGS