Building Reusable Equipment Models with PI Asset Framework

AVEVA PI System is an industrial data infrastructure used to collect, time-stamp, store, contextualize, and retrieve operational data over time. Its PI Data Archive is the time-series historian; PI Asset Framework (AF) adds a reusable hierarchy, attributes, templates, units, and relationships; commonly deployed companion products include PI Vision for visualization and PI Analytics for calculations. This solves the problem of turning high-volume, time-stamped plant signals into a durable operational record that can be searched by equipment and process context rather than by an obscure controller tag.

PI System is not a replacement for SCADA, a message broker, or a general-purpose analytics lake. SCADA supervises control operations and presents current status, while a historian preserves time-series history for analysis and troubleshooting; a broker transports messages, whereas PI interfaces or connectors acquire and write process data; a data lake or analytics platform is optimized for broader transformation, machine learning, and cross-domain analysis. Boundaries vary by deployment, so confirm the installed product names and release behavior in the applicable AVEVA documentation before treating a design choice as a supported feature.

A labeled architecture for reusable equipment models

The proposed architecture is deliberately conservative. Source PLCs, RTUs, DCSs, and existing SCADA servers remain control authorities; a collection tier reads approved signals across an OT DMZ or equivalent boundary; PI Data Archive stores event data; AF maps those values to equipment; and consumers use PI Vision, PI Web API where licensed and supported, SQL interfaces, or approved downstream data services. This is a design pattern, not a claim that every named component is mandatory in every AVEVA release.

Architecture label: Level 0/1 instruments and controllers → Level 2 SCADA/DCS and OPC source → Level 3 collection and PI interface/connector tier → OT DMZ or brokered transfer boundary → PI Data Archive → PI AF database and templates → PI Analytics and PI Vision → governed reporting, maintenance, and data-platform consumers. Use firewalls, one-way transfer where required by the site risk assessment, service accounts, and explicit allowed flows. The architecture should make it impossible for a dashboard account to write to a controller and difficult for an analytics account to modify AF structure.

Model first: one template, many assets

Start with an equipment dictionary rather than copying tags into site-specific folders. A pump template might contain RunStatus, Speed, Flow, DischargePressure, SuctionPressure, MotorCurrent, VibrationRMS, Runtime, and DataQuality; a compressor template might add suction temperature, discharge temperature, stage pressure, and loading state. A tank template commonly includes level, volume, temperature, inlet flow, outlet flow, and high-high alarm state. Keep the common semantic name stable even when the source tag name differs.

A practical AF element hierarchy is Enterprise / Site / Area / Unit / Equipment, with an optional System level for a cooling-water or compressed-air network. Do not encode every engineering detail in the element name: store manufacturer, model, asset number, service, design capacity, criticality, and source system as attributes. An element template is the reusable definition; an element is the real pump or tank; an attribute maps to a PI point, another AF attribute, a static value, or a calculation. AF supports templates and attributes, but whether a particular calculation, connector, or unit-conversion behavior is available depends on the installed AF, PI Analytics, and connector versions.

Use explicit engineering units and avoid ambiguous labels such as “pressure.” For example, Flow may be in m3/h, DischargePressure in bar(g), Temperature in degC, Speed in rpm, and VibrationRMS in mm/s. Define whether values are gauge or absolute pressure, whether tank volume is gross or usable, and whether a totalizer is cumulative or interval-based. Use AF unit-of-measure configuration and documented conversion rules where supported, but do not silently convert a source value whose engineering basis is unknown.

A representative source-to-asset schema can look like this:

Element: Enterprise/Plant_A/Utilities/P-101
Template: Pump
Attribute             Source tag              Unit       Type
RunStatus             PlantA.P101.Run        boolean    digital
Speed                 PlantA.P101.Speed      rpm        float
Flow                  PlantA.P101.Flow       m3/h       float
DischargePressure     PlantA.P101.PD          bar(g)     float
MotorCurrent          PlantA.P101.Amp         A          float
VibrationRMS          PlantA.P101.VibRms      mm/s       float
DataQuality           PlantA.P101.Quality     status     digital/text

Example event:
2025-02-14T10:15:30.000Z, Flow=183.4 m3/h, Status=Good
2025-02-14T10:15:30.000Z, DischargePressure=6.21 bar(g), Status=Good

The timestamp must represent the measurement event, not merely the time a collector forwarded it. Preserve source quality and distinguish Good, Bad, Uncertain, and Substituted/Estimated states according to the source and historian conventions. A calculated value should carry a clear name such as Flow_7dMedian and a documented rule; it should never masquerade as a directly measured flow. If a device supplies no quality bit, mark that limitation in the data contract instead of inventing “Good.”

Numbered implementation and evaluation sequence

  1. Freeze scope and assumptions. Select one site, one pump template, one compressor template, and one tank template for the pilot. Define the operational question, retention requirement, expected update interval, acceptable outage, and safety boundary. Record the installed AVEVA PI Server, AF, interface or connector, PI Analytics, and client versions, then check their release notes and administration guides at AVEVA Customer Support before using version-sensitive functions.
  2. Inventory and classify source signals. For every candidate point, capture source tag, data type, scan or exception behavior, unit, timestamp origin, quality semantics, compression settings, and owner. Reject duplicate meanings such as two “flow” tags with different locations. A source-to-AF mapping register becomes the controlled evidence for later testing.
  3. Build the minimum viable template. Create common attributes, units, naming rules, and hierarchy before adding clever calculations. Use a naming convention such as Measured.Flow, Calculated.FlowDeviation, and Metadata.Service if the team can enforce it consistently. Keep source mappings outside the PLC and prefer read-only acquisition.
  4. Document exceptions without fracturing the model. If Pump P-204 has no vibration transmitter, retain the template attribute and set its mapping state to “Not installed,” with an owner and review date. If one compressor reports temperature in Fahrenheit, map it through an approved conversion and record the raw unit, conversion, and uncertainty. If a tank has two level instruments, model both as named measurements and define which one is primary; do not rename the template for a single site.
  5. Instantiate three real assets. Select three pumps with different source naming, age, and operating patterns. Bind each to the same template, then compare attribute presence, units, source mappings, quality behavior, and calculations. The purpose is to test reuse against reality, not to demonstrate a perfect laboratory asset.
  6. Run reproducible validation. Export a controlled time window, such as 24 hours at one-minute expected resolution, from source and historian views. For 1,440 expected intervals per attribute, require at least 99.5% timestamp-aligned records for normally available signals, zero unit mismatches, at least 99% correct quality propagation, and no event timestamp drift above 2 seconds unless the source contract permits it. Treat these as illustrative acceptance thresholds to be adjusted by process criticality, not as AVEVA guarantees.
  7. Measure service behavior. Test a representative one-hour trend, a 24-hour interpolated or recorded-value query, and a three-asset comparison. Set a pilot target of 95% of ordinary queries returning within two seconds and 99% within five seconds from the approved client path, while recording server load, network latency, query shape, and cache state. A slow query should lead to a design change or indexed/query-pattern investigation, not an unsupported performance promise.
  8. Exercise failure and recovery. Disconnect the collector from one source for 15 minutes, restore it, and verify that backfill covers the outage without duplicate or future-dated events. Test PI Data Archive and AF backup procedures in an isolated restore environment, document recovery time and recovery point results, and confirm retention and archive availability. Never call a backup strategy successful until a restore has been observed.

Governance, security, and operational truth

Assign an AF owner, source-system owner, OT security approver, and data-quality steward. Changes to templates should require a change record, impact assessment, test evidence, and a versioned release note; element-level exceptions need an owner, reason, effective date, and review date. Apply least privilege: collectors need only the source permissions required to read, historian services need controlled write rights to approved archives, and consumers should be read-only. Separate administration from visualization, use managed service identities where the site standard supports them, and log configuration changes.

Segmentation is part of the model design, not a later firewall task. Permit only documented protocols and destinations between the source, collection, archive, AF, and consumer zones; prohibit direct dashboard-to-PLC paths. Use read-only collection and an outage queue or supported buffering mechanism where appropriate, but verify exact buffering and backfill behavior for the deployed interface or connector. Size storage from event rate, retention, compression, archive strategy, replicas, backups, and growth—not from the number of AF elements alone.

An operator should see freshness, quality, and provenance next to a value. Show the last good timestamp, age in seconds, source status, and a clear badge for Bad, Uncertain, or Estimated; stale data should not be drawn as if it were live. A useful calculated indicator is conceptually expressed as:

IF CurrentTime - LastGoodTimestamp > 2 * ExpectedUpdatePeriod
THEN FreshnessState = "STALE"
ELSE IF Quality != "Good"
THEN FreshnessState = "QUALITY_EXCEPTION"
ELSE FreshnessState = "FRESH"

This pseudocode is a proposed design rule, not a vendor API call. Configure the equivalent using the supported AF or PI Analytics features in the installed release, and retain the raw signal beside the indicator. For estimated values, show the estimation method, interval, and reason; for missing values, show “No data” rather than zero. That distinction prevents an operator from interpreting an acquisition failure as a quiet process.

Failure symptoms, causes, and fixes

Symptom: an asset is present but values are blank. Likely causes include an incorrect source mapping, disabled interface, permissions, wrong archive, or a tag that never produced an event. Check the mapping register, source quality, collector logs, archive point identity, and a raw time-range query before changing the template. Fix the mapping or permission through change control, and preserve the failed test as evidence.

Symptom: trends jump, drift, or show implausible units. Investigate engineering-unit metadata, gauge-versus-absolute pressure, duplicate points, timestamp origin, daylight-saving handling, and conversion calculations. Compare raw source events with archived events at identical timestamps and inspect quality flags. Correct the source contract or conversion rule; do not “smooth” a safety-relevant measurement to hide a bad instrument.

Symptom: values are stale after a network outage. Check segmentation rules, collector connectivity, service status, buffer capacity, archive availability, and whether backfill is supported and enabled for that exact acquisition path. Look for gaps, duplicates, and events with collection time substituted for event time. Restore the approved path, replay only from the supported buffer or source, and label unrecoverable intervals as missing.

Symptom: one instance needs many special attributes. First determine whether the equipment really represents a different class or whether the template is missing a legitimate optional capability. Use documented optional attributes or a derived template only when the semantic difference is stable across more than one asset. Avoid a local fork for a single exception; it raises support cost and makes cross-site comparison unreliable.

Commissioning checklist and rollback

  • Confirm installed versions, supported components, license scope, and official documentation references.
  • Approve the source inventory, units, timestamp and quality contract, retention, and expected update periods.
  • Verify network flows, certificates or credentials, service identities, least privilege, and read-only collection.
  • Test one template across three real instances, including at least one missing optional signal and one unit conversion.
  • Record completeness, fidelity, quality propagation, query latency, outage backfill, backup restore, and storage results against agreed thresholds.
  • Train operators to interpret fresh, stale, missing, bad, uncertain, and estimated states.
  • Obtain operations, engineering, OT security, and data-owner sign-off before expanding to another site.

The rollback plan is intentionally simple: stop creating new instances, disable the consumer’s new model view, preserve the configuration export and test evidence, and return operators to the previously approved tags or displays. Do not delete source history or overwrite the old model during rollback; quarantine the new AF release, correct it in a test environment, and replay validation before reactivation. Schedule the next steps as a short sequence: baseline the pilot, complete the three-instance comparison, run the restore and outage tests, publish the mapping and exception registers, then expand by site only after the acceptance record is signed.

Authoritative starting points include AVEVA PI System documentation and the AVEVA industrial data management overview. Use the documentation portal’s product and release selector for the exact AF, Data Archive, PI Analytics, PI Vision, interface, and API behavior installed at the site. That final version check is what separates a reusable model from an attractive diagram that fails during commissioning.

AVEVA PI

Similar Posts