explore the future pi application framework
DESCRIPTION
Explore The Future PI Application Framework. Richard Beeson Software Engineering Group Leader San Leandro, CA. Presentation Topics. Introduction Key Concepts Conceptions and Misconceptions Developer Roadmap Digging In Programming the PI Application Framework. - PowerPoint PPT PresentationTRANSCRIPT
DevNet Unplugged 2002 “Express Your Innovations”
Explore The Future
PI Application Framework
Richard Beeson
Software Engineering Group Leader
San Leandro, CA
DevNet Unplugged 2002 “Express Your Innovations”
Presentation Topics
• Introduction
• Key Concepts
• Conceptions and Misconceptions
• Developer Roadmap
• Digging In– Programming the PI Application
Framework
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Introduction
• What is it?– Extenstion to the PI System
• Topology and Models• Data Aggregation and Organization• Business Logic Infrastructure
– Time Rules, Data References, Analysis• Rich Set of Supporting Functions
– Fully Programmable• New Software Development Kit (AF-SDK)
– Client Integration• Data and Modeling for Process Book• Data Add In for Excel• ICE Integration
DevNet Unplugged 2002 “Express Your Innovations”
Topology / Model
DevNet Unplugged 2002 “Express Your Innovations”
Data Aggregation
PI Application Framework Element
Historian Maintainance
Calculation Financial
LevelVolume,
MassProduct,Material
InventoryValue
ServiceHistory
Data References
Elements
Attributes
DevNet Unplugged 2002 “Express Your Innovations”
Business Logic Plug-Ins
• Data References– Aggregation– Data Source and Store– Calculation
• Analysis Rules– Operations on Topology/Models
• Time Rules– Logic for Time Context
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework SDK
DevNet Unplugged 2002 “Express Your Innovations”
Client Integration
• ProcessBook– AF Modeler/Data Set Add-In
• DataLink– AF Add-Ins to Excel (Admin, Analysis)
• Utilities– AF Explorer– TRU
• ICE Integration
DevNet Unplugged 2002 “Express Your Innovations”
Client Integration (ProcessBook)
DevNet Unplugged 2002 “Express Your Innovations”
Client Integration (Excel)
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Runtime
AF CommonControls
AF SDK
PI Data Access
PI SDK
Client Applications andPresentation Layer
PI Application FrameworkServer
PI System
PI ProcessBook
PI DataLink
PI ICE
OEM/CustomApplications
Utilities
Plug Ins
AF DatabaseManagement
Module Database
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Introduction
• What does PIAF Do For Us?– Provides Infrastructure
• Implements Infrastructure Common to Most Applications• Shares Aggregation• Shares Business Logic• Promotes Reuse (across facilities and industries)
through n-tier architecture
– Separates Development from Configuration • PI Point Paradigm
– Implement / Manages Features Needed by All Applications in this Problem Space
DevNet Unplugged 2002 “Express Your Innovations”
Key Concepts
• Next, we look at many of the key concepts behind the PI Application Framework
DevNet Unplugged 2002 “Express Your Innovations”
PI AF Server
DevNet Unplugged 2002 “Express Your Innovations”
PI AF Database
DevNet Unplugged 2002 “Express Your Innovations”
Source Control Paradigm
DevNet Unplugged 2002 “Express Your Innovations”
Element Templates
DevNet Unplugged 2002 “Express Your Innovations”
Element Types
DevNet Unplugged 2002 “Express Your Innovations”
Ports
DevNet Unplugged 2002 “Express Your Innovations”
Catagories
DevNet Unplugged 2002 “Express Your Innovations”
Catagories
DevNet Unplugged 2002 “Express Your Innovations”
Elements
DevNet Unplugged 2002 “Express Your Innovations”
Element Attributes (Values)
DevNet Unplugged 2002 “Express Your Innovations”
Transfers
DevNet Unplugged 2002 “Express Your Innovations”
Units of Measure
DevNet Unplugged 2002 “Express Your Innovations”
Tables
DevNet Unplugged 2002 “Express Your Innovations”
Models
DevNet Unplugged 2002 “Express Your Innovations”
Layers
DevNet Unplugged 2002 “Express Your Innovations”
Connections
DevNet Unplugged 2002 “Express Your Innovations”
Cases
DevNet Unplugged 2002 “Express Your Innovations”
Managed Code (.NET)
• AFSDK and Server Code base developed in C#– Remoting– Robustness– Development Efficiency– COM Interoperability
• Used by Common Controls, ProcessBook, etc.
DevNet Unplugged 2002 “Express Your Innovations”
Plug-Ins
DevNet Unplugged 2002 “Express Your Innovations”
Data References
• Demo
DevNet Unplugged 2002 “Express Your Innovations”
Time Rules
• Demo
DevNet Unplugged 2002 “Express Your Innovations”
Analysis Rules
• Demo
DevNet Unplugged 2002 “Express Your Innovations”
Context
• Time Context– Batch*– Case– Time Range– Time– None
• Model Context• Analysis Context• Presentation Context (UOMs)
DevNet Unplugged 2002 “Express Your Innovations”
Common Conceptions and Misconceptions
• The PI Application Framework Replaces Prior Development Toolkits– Misconception: The PI Application
Framework complements the PI SDK (and PI Server) adding new functionality and behavior in the realms of information organization (aggregation), topology and shared business logic
DevNet Unplugged 2002 “Express Your Innovations”
Common Conceptions and Misconceptions
• The PI Application Framework is Built on .NET Technology– Conception: The PI Application Framework
is built from the ground up as a managed class library.
DevNet Unplugged 2002 “Express Your Innovations”
Common Conceptions and Misconceptions
• The PI Application Framework Replaces the Module Database– Misconception: The PI Application
Framework uses the Module Database just as any other application might use the Module Database.
DevNet Unplugged 2002 “Express Your Innovations”
Common Conceptions and Misconceptions
• The PI Application Framework is THE PI Development Environment– Misconception: The PI Application
Framework provides services and an SDK for solving specific problems in specific problem domains.
DevNet Unplugged 2002 “Express Your Innovations”
Common Conceptions and Misconceptions
• The PI Application Framework is Sigmafine 4.0– Misconception: The next major release of
Sigmafine, 4.0, is a solution built on the PI Application Framework, implementing solution specific schema (templates), business logic in the form of many plug ins,
DevNet Unplugged 2002 “Express Your Innovations”
Developer Roadmap
• Methodology for Developing with the PI Application Framework
• Developing Sigmafine 4.0
• Resources for Developing with the PI Application Framework
DevNet Unplugged 2002 “Express Your Innovations”
Developing with the PI Application Framework
• Define Aggregation Schema– Create Element Templates
• Define Logic– Time Rules, Data References, Analysis Rules
• Define Presentation– Process Book, Data Link, ICE Integration– Custom Reports– Custom Applications
DevNet Unplugged 2002 “Express Your Innovations”
AF Plug-InsSchema
(Templates)
PI ApplicationFramework Clients
Displays
AF SDK
Building an Application Framework Solution
PI ApplicationFramework Server
Reports
Analysis RulesData ReferencesTime Rules
DevNet Unplugged 2002 “Express Your Innovations”
Using the PI Application Framework
• Configure Elements• Configure Models
– Configure Element Connectivity/Topology– Configure Analysis
• Run Cases– Run Analyses
• Configure Presentations– Build Reports, Displays, etc.
DevNet Unplugged 2002 “Express Your Innovations”
AF Plug-InsSchema
(Templates)
PI ApplicationFramework Clients
Displays
AF SDK
Using an Application Framework Solution
PI ApplicationFramework Server
ReportsConfigure Elements and ModelsConfigure AnalysisCustomize/Build
ReportsCustomize/Build Displays
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Developers Roadmap
• The following section outlines the requirements and resources for PI Application Framework Development Early Adopters and Beta Users
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Development Dependencies
• Development PI Server 3.3 SR1
• PI SDK (minimum or exact version dependent on PIAF)
• PI Application Framework Beta– Open beta begins in December 2002
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Development Dependencies
• PI Client Application Integration– Process Book 3.0 Beta (availability TBD)– PI AF Data/Modeler Add In for PB– PI AF Add In for Excel
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Development Resources
• What’s Installed in the Developer Version?– AF Server– AF SDK
• Interoperation DLL’s and Public Assemblies• AF Common Controls
– Online Help– Reference for PI Application Framework
Object Model
DevNet Unplugged 2002 “Express Your Innovations”
PI Application Framework Development Resources
• What’s Installed in the Developer Version? (Continued)– Utilities– Wizards– Tutorial
• Chocolate Milk Factory
– Samples• Time Rules• Data References• Analysis Rules
DevNet Unplugged 2002 “Express Your Innovations”
Digging In
• Developing Plug-Ins– Plug-In Wizards– Installing Plug-Ins– Sample Plug-Ins
• CMF Tutorial– See Code?
• Graphical Model Building– PI ProcessBook 3.0 Demo
DevNet Unplugged 2002 “Express Your Innovations”
PIAF Plug In Wizards
• The PI Application Plug In Wizards for Visual Studio.NET jump start the development of Time Rules, Data References and Analysis Rules.
• Wizards are available for both C# and VB.NET.
DevNet Unplugged 2002 “Express Your Innovations”
PI AF Plug In Wizards (Demo)
DevNet Unplugged 2002 “Express Your Innovations”
Installing a Plug In (Demo)
• The PI Application Framework Server “listens” for changes to the Plug-Ins directory and dynamically adds conforming Plug Ins to the list of known plug ins.
DevNet Unplugged 2002 “Express Your Innovations”
Time Rule Sample
• The Time Rule Sample covers the basic steps required to implement a custom Time Rule Plug In for PI Application Framework.
• Covered in Chapter 4 of the PI Application Framework Users Guide
DevNet Unplugged 2002 “Express Your Innovations”
Data Reference Sample
• The Data Reference Sample covers the basic steps required to implement a custom Data Reference Plug In for PI Application Framework.
• Covered in Chapter 4 of the PI Application Framework Users Guide
DevNet Unplugged 2002 “Express Your Innovations”
Analysis Rule Sample
• The Analysis Rule Sample covers the basic steps required to implement a custom Analysis Rule Plug In for PI Application Framework.
• Covered in Chapter 4 of the PI Application Framework Users Guide
DevNet Unplugged 2002 “Express Your Innovations”
CMF Tutorial
• The Chocolate Milk Factory Tutorial covers most of the basic aspects of programming the PI Application Framework.– Covered in Chapter 3 of the PI Application
Framework Users Guide (included in the handout.)
– Separate CMF Simulator Available*
DevNet Unplugged 2002 “Express Your Innovations”
CMF Tutorial
DevNet Unplugged 2002 “Express Your Innovations”
CMF Tutorial
• DEMO– Create PI AF Database– Create CMF– Run the CMF– Look at CMF via ProcessBook and
AFExplorer– Review Code Behind CMF
DevNet Unplugged 2002 “Express Your Innovations”
CMF Tutorial
• Create– Create Units of Measures– Create Categories– Create Templates (Schema)– Create Derived Elements– Create Model– Add Elements to Model– Add Element Connectivity– Create Model Analysis
DevNet Unplugged 2002 “Express Your Innovations”
CMF Tutorial
• Run– Create Case– Run Case
DevNet Unplugged 2002 “Express Your Innovations”
CMF Tutorial
• Remove– Remove Model– Remove Transfers– Remove Element Templates
• Removes Derived Elements
– Remove Categories
DevNet Unplugged 2002 “Express Your Innovations”
Configuration Utilities
• What About Configuration Utilities?– Much of what is demonstrated in CMF will typically
be accomplished using bulk and/or interactive configuration utilities.
– Bulk configuration will be through XLM documents– Interactive configuration will be through Excel (ala
Tag Configurator) or ProcessBook (Element Configuration and Model Building)
DevNet Unplugged 2002 “Express Your Innovations”
Building a Model Graphically
• ProcessBook 3.0 with the PI Application Framework Add-in (DEMO)
DevNet Unplugged 2002 “Express Your Innovations”
Call to Action• Application Developers
– Sign up for beta program– Begin porting or developing applications
on the PI Application Framework
• Corporate Developers– Sign up for beta program– Begin design process for integrating PI Application
Framework
• IT / Administrators– Plan resources - white papers to be provided on
beta website
DevNet Unplugged 2002 “Express Your Innovations”
Call to Action• All Users
– Start to think about and identify • Organizational / Structural Abstractions
– Equipment– Units– Physical/logical Models
• Data References– Business/Process/Manufacturing rules or logic– Integration with existing (non temporal) data
• Analyses– Time domain operations on organizational or structure
information
• Time Rules– Identify time scope relevant to your business
DevNet Unplugged 2002 “Express Your Innovations”
Questions / Discussion?