PI Module Database Ken Coates, Jon Peterson OSI Software, Inc.
-
Upload
kory-perry -
Category
Documents
-
view
224 -
download
0
Transcript of PI Module Database Ken Coates, Jon Peterson OSI Software, Inc.
PI Module Database Ken Coates, 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 Module DatabaseAdd structure to the PI Data Archive
“Display Time” data source resolution
PI Batch DatabaseModel and store batch data
Map batch data to PI Data Archive
Support ISA S88 and beyond
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
Controllers
Arrays. For example profile points
Complete hierarchical model
OSI Brewing
Demonstrate the Module DatabasePre-beta PI 3.3
Top-down design approachStart with the big picture
Drill down into the details
Enterprise: OSI Brewing, Inc.
Site: Cleveland
Area: Production
Line: Phil’s Pilsner
Line: Mark’s Stout
PI SDK Object Model
Server
PIModuleDB
PIHeadings
PIModulePIModules
PIHeading
PIProperties
PIAliases
PIProperty
PIAlias
PIHeading
PIHeadings
Used to implement consistent naming convention
Does not enforce a particular hierarchy
Does enforce order
PIModules
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
PIModule
FCML101
F9CCFA79-B356-11d3-BA4B-F0C04F428C95
ControllerFlow controller, ML-101
PIAliases PIProperties
Version 24PIAdmin 22-Sep-19993-Oct-1999
PIAliases
PIAlias maps a common name to a PI Point
Used to associate data with modules or equipment
All PIModules have a collection of PIAliases
PIAliasesFCML101
PIAliases
Alias Data Source
Value LCMS101.pv
Setpoint LCMS101.sp
Output LCMS101.out
PIProperties
Set of Name-Value pairsStored in a VARIANT; therefore can hold nearly anything
User or application definable propertiesNon-time series data associated with module
PIPropertiesFCML101
PIProperties
Name Value
Instrument Engineer John Doe
Last Tuned 22-Nov-1996
Type PID
Demonstration
Configuration ToolMicrosoft Management Console Based
Consistent configuration interface
MMC Snap-inMMC
Programming Interface
PIModuleDbSQL Server
WMI
Snap-In Toolkit
PI-SDK basedControls
IIS
PIModuleDb Snap-in
Active DirectoryActive Directory
WMI
Snap-in
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
Table View of Brew Kettle
Brew Kettle PIAliases
Alias Data Source Feed Valve Position LCMS101.fvp Feed Flow LCMS101.flow Level Control Valve Position LCMS101.lvp Level LCMS101.level Steam Outlet Valve Position TCMS101.ovp Steam Flow TCMS101.flow Steam Inlet Valve Position TCMS101.ivp Thermocouple 1 TCMS101.tc1 Thermocouple 2 TCMS101.tc2
Brew Kettle “Sub-Modules”
The PIModules used to add collections of modules.
PIModule: “Controllers”Temperature Controller
Level Controller
Brew Kettle Demonstration
Add the brew kettle to hierarchy
Add the controllers to the brew kettle
Unit: Brew Kettle
Brew Kettle, Phil’s Stout Line
Nearly identical to Brew Kettle on Mark’s Stout Line
References different data sources
Demonstration: Display time resolution of data sources
Historize Equipment Changes
Just like Process DataTime stamp and Value
Keep track of modificationsNew Instruments and New Units
Changing Product InformationUpdated Specifications
New Products / Raw Materials
Database Driven Applications
Adding a New Instrument
Brew KettleEffectiveDate:
01-Jan-00
Brew KettleEffectiveDate:01-Mar-00
Time (values)
Aliases
Thermocouple 1
Thermocouple 2
Aliases
Thermocouple 1
Thermocouple 2
Thermocouple 3
Thermocouple 4
Enhanced Brew Kettle
Demonstration
Excel spreadsheet report Correctly resolving equipment in place for report period
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
Features For Release 2
Module TemplatesRe-use of common module configurations
Also hierarchical
InheritanceChanges to Module template propagated through derived modules
PI Alias DefinitionsTemplate of alias definition with default point attributes
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 Unit
PIUnitBatchList
PIUnitBatchRules
PIHeading
PIBatch
PIUnitBatches
PIProperties PIProperty
PIProperties
PIUnitBatch
PISubBatch
PIUnitBatch
PISubBatches
PISubBatches
PISubBatchDefinition
SubBatchLinkage
Hierarchy
Hierarchy
Hierarchy
PI Module Database
PIModuleTemplates
PIProductTemplates
PIPeopleTemplates
Hierarchy
Empty Title/Bullets
Empty Title/BigGraphic
Empty Title/Small Graphic