+ All Categories
Home > Documents > PI Batch Database Jon Peterson OSI Software, Inc..

PI Batch Database Jon Peterson OSI Software, Inc..

Date post: 13-Jan-2016
Category:
Upload: beatrice-smith
View: 222 times
Download: 4 times
Share this document with a friend
36
PI Batch Database Jon Peterson OSI Software, Inc.
Transcript
Page 1: PI Batch Database Jon Peterson OSI Software, Inc..

PI Batch Database Jon Peterson

OSI Software, Inc.

Page 2: PI Batch Database Jon Peterson OSI Software, Inc..

Introduction

PI Server Databases

Programmatic InterfacesActiveX.

OSI and ActiveX based interfaces.

Tools for applicationsOSI Products. Controls, applications

ISV and system integrators

User’s applications

Page 3: PI Batch Database Jon Peterson OSI Software, Inc..

Introduction, continued

PI Batch DatabaseModel and store batch data

Map batch data to PI Data Archive

Support ISA S88 and beyond

PI Module DatabaseAdd structure to the PI Data Archive

“Display Time” data source resolution

Page 4: PI Batch Database Jon Peterson OSI Software, Inc..

Purpose

Batch IndustryDemands on equipment modeling

Numerous, similar equipment entities

Produce a wide range of products

Moveable, configurable equipment

Page 5: PI Batch Database Jon Peterson OSI Software, Inc..

Purpose

All industries can benefitAdd Structure to the PI Data Archive

Add organization through PI Point grouping

Complete hierarchical model

Page 6: PI Batch Database Jon Peterson OSI Software, Inc..

OSI Brewing

Review of PI Module DatabaseUse model of two Brew Kettles

Page 7: PI Batch Database Jon Peterson OSI Software, Inc..

Enterprise: OSI Brewing, Inc.

Site: Cleveland

Area: Production

Line: Phil’s Pilsner

Line: Mark’s Stout

Unit: Brew Kettle

Unit: Brew Kettle

Page 8: PI Batch Database Jon Peterson OSI Software, Inc..

PIModule

PIModule is the fundamental equipment element

Comprised of:Name

PIHeading: Module's hierarchy

PIAliases: Collection of Data sources

PIProperties: User/Application specific configuration data

PIModules: More equipment collections

Page 9: PI Batch Database Jon Peterson OSI Software, Inc..

PIUnit

A PIUnit is a specialized PIModule

A PIModule set to be a PIUnit can historize batch objects

Page 10: PI Batch Database Jon Peterson OSI Software, Inc..

PIUnit

Reactor1

F9CCFA79-B356-11d3-BA4B-F0C04F428C95

UnitReactor 1IsPIUnit = TRUE

PIAliases PIProperties

Version 3PIAdmin 23-Jan-199911-Oct-1999

Page 11: PI Batch Database Jon Peterson OSI Software, Inc..

PIModuleDB Summary

Easier access to PI Data Archive

Model to fit users requirementsFor example, production requirements vs. maintenance requirements

Model supports changes through time

Module definable attributesPIProperties collection

Page 12: PI Batch Database Jon Peterson OSI Software, Inc..

PI Batch Database

Model and store batch data

Map batch data to PI Data Archive

Support ISA S88 and beyond

Page 13: PI Batch Database Jon Peterson OSI Software, Inc..

PI Batch Database

Design based on previous experienceISA S88:1. The material that is being produced or that has been produced by a single execution of a batch process.

2. An Entity that represents the production of a materiel at any point in the process.

Requires two unique data objectsPIBatchPIUnitBatch

Page 14: PI Batch Database Jon Peterson OSI Software, Inc..

PI Batch Database

Server

PIBatchDB

PITransferRecordDB

PISubBatchDefs PISubBatchDef

PITransferRecordList PITransferRecord

PIBatchList PIBatch

PIUnitBatches PIUnitBatch

PIBatchDB PIUnitBatchList PIUnitBatch

Page 15: PI Batch Database Jon Peterson OSI Software, Inc..

PIBatch

Encapsulates first definition: “the product being produced”

“Batch” of beer

Has a start and end time; but not all times significant

Associated data may be difficult to store in PI Data Archive

Page 16: PI Batch Database Jon Peterson OSI Software, Inc..

PIBatch Properties

Batch ID

Product

Recipe

Unique ID

PIUnitBatches

PIProperties

Start Time

End Time

Page 17: PI Batch Database Jon Peterson OSI Software, Inc..

PIBatch Properties

ProductString or reference to the PIProducts collection in the PI Module Database

PIUnitBatchesCollection of PIUnitBatch objects; references to physical batch processing

PIPropertiesName-Value pairs; used to store application/user specific data

Page 18: PI Batch Database Jon Peterson OSI Software, Inc..

PIUnitBatch

Encapsulates 2nd definition: “production of material at any point in the process”

Definite time of activityAssociated data stored in the PI Data Archive

Created via interface on a PIModule set to be a PIUnit

Page 19: PI Batch Database Jon Peterson OSI Software, Inc..

PIUnitBatch Properties

Batch ID

Product

Procedure Name

PIUnit

Unique ID

PIBatch

PISubBatches

Start Time

End Time

Page 20: PI Batch Database Jon Peterson OSI Software, Inc..

Creating a PIUnitBatch

A PIModule, with its IsPIUnit property set to TRUE supports following method:Function AddPIUnitBatch(bstrBatchID As String, varProduct, pStartTime As PITime, [pEndTime As PITime]) As PIUnitBatch

Demonstrate creating a PIUnitBatch

Page 21: PI Batch Database Jon Peterson OSI Software, Inc..

PISubBatch

Encapsulates identifiable portions of a PIUnitBatch

Operations, phases, steps…

Sub-batch hierarchy is preserved

Sub-batch definitions are site configurable

Not restricted to Operation,phase and step of S88

Page 22: PI Batch Database Jon Peterson OSI Software, Inc..

PISubBatch Properties

Name

Sub-batch definition

Recipe

Unique ID

PIUnitBatch

PIProperties

Start Time

End Time

Page 23: PI Batch Database Jon Peterson OSI Software, Inc..

PISubBatchDefinitions

Defines available sub-batch definitions or types.

For example, Operation, Phase

Defines hierarchy of sub-batches For example, A phase must be part of an operation

Does not define specific instance of a sub-batch

Page 24: PI Batch Database Jon Peterson OSI Software, Inc..

Creating Sub-batches

Always part of a PIUnitBatchPISubBatches property of PIUnitBatch

Function Add(Name As String, pDef As PISubBatchDefinition, pStartTime As PITime, [pEndTime As PITime]) As PISubBatch

Demonstrate creating sub-batches

Page 25: PI Batch Database Jon Peterson OSI Software, Inc..

PITransferRecord

Material trackingGenealogy

Page 26: PI Batch Database Jon Peterson OSI Software, Inc..

PITransferRecord Properties

Source (PIBatch or PIUnitBatch)

Destination(PIBatch or PIUnitBatch)

Start Time

End Time

Quantity

Engineering Units

Unique ID

Page 27: PI Batch Database Jon Peterson OSI Software, Inc..

Creating Transfer Records

Method of the PITransferRecordDb

Function Add(pSource As Unknown, pDestination As Unknown, pStartTime As PITime, [pEndTime As PITime], [Quantity], [EngineeringUnits]) As PITransferRecord

Page 28: PI Batch Database Jon Peterson OSI Software, Inc..

Release Schedule

Leveraging foundation of PI SDK 1Harry SmithBill Vaughan

Leveraging foundation of PI 3.xRichard BeesonRulik Perla

Four Developers (4 fold increase!)Configuration tools and controls

Richard MayPrabal Acharyya

ActiveX and Server ComponentsKen CoatesJon Peterson

Page 29: PI Batch Database Jon Peterson OSI Software, Inc..

Release Schedule

Beta Second Quarter 2000General beta with beta controls and configuration tools

Release Third Quarter 2000PI 3.3

PI SDK 1.1

Page 30: PI Batch Database Jon Peterson OSI Software, Inc..

Unit

Server

PIModuleDB PIBatchDB

PIHeadings

PISubBatchDefs

PITransferRecordDB

PIBatchList

PIModules

PIProducts

PIPeople

PITransferRecordList PITransferRecord

PISubBatchDefinition

PIHeading

PIModule

PIModules

PIAliases PIAlias

PIProperties PIProperty

PIProperties

PIProduct

PIPerson

Same as PIModule except for

PIHeading and Unit

PIUnitBatchList

PIUnitBatchRules

PIHeading

PIBatch

PIUnitBatches

PIProperties PIProperty

PIProperties

PIUnitBatch

PISubBatch

PIUnitBatch

PISubBatches

PISubBatches

PISubBatchDefinition

SubBatchLinkage

Hierarchy

Hierarchy

Hierarchy

PI Module Database

Page 31: PI Batch Database Jon Peterson OSI Software, Inc..

Empty Title/Bullets

Page 32: PI Batch Database Jon Peterson OSI Software, Inc..

Empty Title/BigGraphic

Page 33: PI Batch Database Jon Peterson OSI Software, Inc..

Empty Title/Small Graphic

Page 34: PI Batch Database Jon Peterson OSI Software, Inc..

Enterprise: OSI Brewing, Inc.

Site: Cleveland

Area: Production

Line: Phil’s Pilsner

Line: Mark’s Stout

Unit: Brew Kettle

Unit: Brew Kettle

Page 35: PI Batch Database Jon Peterson OSI Software, Inc..

Unit: Brew Kettle

Page 36: PI Batch Database Jon Peterson OSI Software, Inc..

Unit: Brew Kettle


Recommended