Date post: | 13-Jan-2016 |
Category: |
Documents |
Upload: | beatrice-smith |
View: | 222 times |
Download: | 4 times |
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
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
Purpose
Batch IndustryDemands on equipment modeling
Numerous, similar equipment entities
Produce a wide range of products
Moveable, configurable equipment
Purpose
All industries can benefitAdd Structure to the PI Data Archive
Add organization through PI Point grouping
Complete hierarchical model
OSI Brewing
Review of PI Module DatabaseUse model of two Brew Kettles
Enterprise: OSI Brewing, Inc.
Site: Cleveland
Area: Production
Line: Phil’s Pilsner
Line: Mark’s Stout
Unit: Brew Kettle
Unit: Brew Kettle
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
PIUnit
A PIUnit is a specialized PIModule
A PIModule set to be a PIUnit can historize batch objects
PIUnit
Reactor1
F9CCFA79-B356-11d3-BA4B-F0C04F428C95
UnitReactor 1IsPIUnit = TRUE
PIAliases PIProperties
Version 3PIAdmin 23-Jan-199911-Oct-1999
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
PI Batch Database
Model and store batch data
Map batch data to PI Data Archive
Support ISA S88 and beyond
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
PI Batch Database
Server
PIBatchDB
PITransferRecordDB
PISubBatchDefs PISubBatchDef
PITransferRecordList PITransferRecord
PIBatchList PIBatch
PIUnitBatches PIUnitBatch
PIBatchDB PIUnitBatchList PIUnitBatch
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
PIBatch Properties
Batch ID
Product
Recipe
Unique ID
PIUnitBatches
PIProperties
Start Time
End Time
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
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
PIUnitBatch Properties
Batch ID
Product
Procedure Name
PIUnit
Unique ID
PIBatch
PISubBatches
Start Time
End Time
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
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
PISubBatch Properties
Name
Sub-batch definition
Recipe
Unique ID
PIUnitBatch
PIProperties
Start Time
End Time
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
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
PITransferRecord
Material trackingGenealogy
PITransferRecord Properties
Source (PIBatch or PIUnitBatch)
Destination(PIBatch or PIUnitBatch)
Start Time
End Time
Quantity
Engineering Units
Unique ID
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
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
Release Schedule
Beta Second Quarter 2000General beta with beta controls and configuration tools
Release Third Quarter 2000PI 3.3
PI SDK 1.1
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
Empty Title/Bullets
Empty Title/BigGraphic
Empty Title/Small Graphic
Enterprise: OSI Brewing, Inc.
Site: Cleveland
Area: Production
Line: Phil’s Pilsner
Line: Mark’s Stout
Unit: Brew Kettle
Unit: Brew Kettle
Unit: Brew Kettle
Unit: Brew Kettle