PI AF Template Library helps Total affiliates get a head start on AF
Bergen, Norway – 16.08.2018
Total has departments and projects in over 130 countries, and is the world’s 4th largest oil & gas company. Total is an experienced user of OSIsoft’s PI System, and many affiliates have developed PI AF templates (including analytics, visualizations, notifications) for projects during the last years. The challenge is that they were far from consistent. People kept reinventing the wheel with the different templates and analyses.
Total’s IP/MEX/EXP/SEM entity wanted to convert a set of the most commonly used templates into a library of templates that can be offered to Total affiliates for direct use or customization to their own requirements.
The key for success for this project would be to create robust templates – tailored to fulfill the requirements for the majority of affiliates in the majority of cases.
If you fail to plan, you plan to fail
“Templates must be easy to use, easy to modify, and must have some sort of revision management possibilities”, was the message from Total’s project manager Philippe Grenier. The project must specify a strict set of standardization rules in order to achieve the consistency needed in such a library.
In project preparations a guideline document was created – specifying in detail the best practices and recommendations for this project. It contains 20 strict points and 15 recommendations the AF implementation must adhere to.
Examples of best practice points:
- Correct PI Point naming convention for output points from AF Analyses
- Simplifying the number of categories in the system
- In-line documentation of all analyses
- Numbering analyses in the correct execution order
- Quality checking of all input attributes in analyses, to avoid “Calc Failed” being output
- All attributes have a description, correct UOM and is assigned a category
With this document in hand, the actual work of rewriting templates took place. A set of 28 templates were converted, these included Equipment Templates, Analytics Templates and Production Accounting Templates – and consisted of appr. 1000 Attribute Templates and 120 Analyses. In addition there are 5 Event Frame Templates for logging certain events, either generic event capturing or safety valve related events.
A standardised set of 10 Attribute Categories was selected, together with 20 Enumeration Sets. For each Element Template you’ll find a corresponding AF Table for specifying meta data and other input values.
To address the requirement for revision management of the templates, Amitec created a tool called Template Revision Management Tool (TRMTool), which keeps track of the different template versions, and also allows you to revert back to older versions if needed.
Amitec team: Katrina Dobrée-Bell (Project Manager), Asle Frantzen (Project Lead)