Guide: KKS power plant identification in the AVEVA PI System

KKS, the Kraftwerk-Kennzeichensystem or identification system for power plants, gives every system, piece of equipment and signal in a power plant a unique code. Plants designed to KKS usually carry these codes into the control system, and from there into the AVEVA PI System as PI tag names. This guide explains how a KKS code is built, how it maps to PI Asset Framework (PI AF) elements, templates and attributes, and what changes with its successor RDS-PP.

KKS is maintained by vgbe energy, and everything in this guide is linked to public sources. New to PI AF? Start with our PI Asset Framework guide. For manufacturing sites, see our ISA-95 and ISA-88 guide.

KKS in brief: one code for every system and component

VGB began developing KKS in the early 1970s. A plant operator first applied it in 1976, and the first VGB guideline followed in 1978 (Wikipedia). The current edition is VGB-S-811-01, the KKS guideline and key part, 8th revised edition 2018. vgbe energy, the technical association of energy plant operators, maintains KKS together with its successor RDS-PP and describes both as available for practically all types of energy plants.

KKS has three identification types:

  • Process-related identification: systems and equipment by their function in the process, across mechanical, civil, electrical and I&C engineering.
  • Point of installation identification: where electrical and I&C equipment is installed, for example in cabinets.
  • Location identification: rooms, floors and other installation sites in buildings.

For the PI System, the process-related code matters most. It is the code control systems use for their signals, and the one this guide follows.

Anatomy of a KKS code

A process-related KKS code has up to four breakdown levels, read from left to right with increasing detail (Hexagon, Wikipedia):

  • Level 0, total plant: one letter or digit, for example the unit number.
  • Level 1, function: an optional prefix digit, three letters from the function key and a two-digit system number, as in 0PAC01, circulating main cooling water pump system 01.
  • Level 2, equipment unit: two letters from the equipment unit key, three digits and an optional extra letter, as in AP001, pump unit 001.
  • Level 3, component: two characters from the component key and two digits, as in -M01, motor 01.

Written out, 1 0PAC01 AP001 -M01 is motor 01 of pump unit 001 in circulating main cooling water pump system 01 of unit 1. Measurements follow the same pattern: in 1 2LAC03 CT002 QT12, CT002 is a temperature measurement in feedwater pump system 2LAC03 and QT12 one of its thermowells.

The letters come from three keys, all part of the VGB key part:

  • Function key, level 1: main groups such as A grid and distribution, B power transmission and auxiliary power supply, H conventional heat generation, L steam, water and gas cycles, M main machine sets and P cooling water systems.
  • Equipment unit key, level 2: A and B mechanical equipment, C direct measuring circuits, D closed-loop control circuits, E signal conditioning, F indirect measuring circuits and G electrical equipment. Common codes are AA for valves, AP for pump units, and CP, CT, CF and CL for pressure, temperature, flow and level measurements.
  • Component key, level 3: a hyphen for electrical components such as -M for motors, K and M for mechanical components, Q for non-electrical I&C components such as QT thermowells, and X, Y and Z for signals.

Signals add a further code. For an actuator, XB01 is the open feedback and XB02 the closed feedback.

The four breakdown levels of a process-related KKS code, with the example 1 0PAC01 AP001 -M01.

The four breakdown levels of a process-related KKS code, with the example 1 0PAC01 AP001 -M01.

KKS codes in PI tag names

In a KKS plant, control system signals usually carry the KKS code, and PI tags are often created with the same names. A PI tag such as 1LAC10CP001 then already names the unit, the system and the type of measurement. That is a real advantage over grown tag names: the code can be parsed, so the PI AF structure can be derived from the tags instead of being typed in by hand.

In practice, every plant writes its codes a little differently. Before you build anything on the tag names, settle these points:

  • Separators: spaces between breakdown levels are usually dropped in tag names, while some systems put dots or underscores before the signal code.
  • Level 0 and prefix digits: whether the unit number and the prefix digit are always written, and how common plant parts are numbered.
  • Signal codes: whether tags carry a signal code such as XB01, so several tags belong to one drive or measuring circuit.
  • Tags without KKS: calculated tags, interface status tags and tags from packaged units that never followed KKS. They need their own place in PI AF.
  • Plain-language names: keep them in the PI tag descriptor, so users who do not read KKS still find the right tag.

With these rules written down, a regular expression parses most tags. For the format above, ^(\d)(\d?)([A-Z][A-Z][A-Z])(\d\d)([A-Z][A-Z])(\d\d\d)([A-Z]?) splits a tag into unit, prefix, system key, system number, equipment unit class, equipment unit number and additional code. Tags that do not match go on a review list.

Parsing KKS tag names: matching tags become elements and attributes, tags that do not follow KKS go on a review list

Parsing KKS tag names: matching tags become elements and attributes, tags that do not follow KKS go on a review list. Names are examples.

Mapping KKS to PI AF

PI AF lets you organize assets in any structure, so the KKS breakdown levels map directly to elements, templates and attributes. A mapping that works in most plants:

  • One AF database per plant: as with ISA-95 models, customers usually run one AF database per site, or per division or department, so access rights can be set at database level. Units are top-level elements, plus one element for common plant parts.
  • Level 1 as the element tree: the function main group, the group and the system each become an element, for example L for steam, water and gas cycles, LA for the feedwater system and 1LAC10 and 1LAC20 for the feedwater pump systems.
  • Level 2 as templated elements: equipment units such as AP pump units, AA valves and AN fans become elements based on one element template per equipment unit class, with element categories for the KKS main groups.
  • Measuring circuits as attributes: CP, CT, CF and CL circuits are numbered within the system, not within the pump. Model them as attributes of the system element, or assign each to the equipment unit it measures, for example the discharge pressure to its pump. Decide once, because analyses and displays will follow that choice.
  • Level 3 where it adds value: components such as the pump motor -M01 become child elements where they carry their own data, for example motor current or winding temperatures.
  • Names: use the KKS code as the element name, because it is unique and stable, and put the plain-language name in the description.

Templates are where KKS pays off. Substitution parameters let a PI point data reference build the tag name from the element name: AVEVA’s own example resolves %Element%_TT to Tank1_TT for an element named Tank1. With KKS element names, a reference such as %Element%CP001 finds 1LAC10CP001 on element 1LAC10, and every new system built from the template gets its references automatically. If the KKS code is not part of the element name, keep it in a static attribute and substitute that attribute’s value instead.

For bulk work, PI Builder, the Excel add-in for PI AF and PI points, creates many similar elements from a worksheet, builds the hierarchy from a Parent column and links attributes to existing PI points. A tag list parsed by KKS level is most of the way to an AF model.

KKS breakdown levels mapped to a PI AF tree, with one template per equipment unit class

KKS breakdown levels mapped to a PI AF tree, with one template per equipment unit class. Names are examples.

KKS and RDS-PP

RDS-PP, the reference designation system for power plants, is the further development of KKS. VGB published it in 2007, based on IEC 81346 (formerly IEC 61346), ISO 16952 and IEC/PAS 62400 (Wikipedia). According to vgbe, about 90 percent of the KKS function key letters carried over into the RDS-PP system key, and RDS-PP has application guidelines for hydropower, wind, photovoltaics, combustion engine plants and power to gas. Siemens Energy and vgbe energy agreed to develop KKS and RDS-PP further in closer cooperation, so both remain in use.

The main conceptual change comes from IEC 81346: a designation states its aspect with a prefix sign, = for function, - for product and + for location. For power supply systems, ISO/IEC 81346-10:2022 is now published as a full international standard.

For the PI System, adopting RDS-PP does not have to start with renaming PI tags. Store the RDS-PP designation as an attribute next to the KKS code, or build an RDS-PP view of the same elements with element references, so both structures point to one set of data. Rename tags only if you decide to, and check first what depends on them.

KKS and RDS-PP side by side, and how both designations can live in one PI AF database.

KKS and RDS-PP side by side, and how both designations can live in one PI AF database.

Changing KKS structures with the Industrial Knowledge Graph

KKS codes change more often than their reputation suggests: a retrofit adds a pump train, a new control system brings new signal codes, or a plant moves to RDS-PP. Every renamed or retired PI tag can break PI Vision displays, AF attributes, analyses and Seeq or TrendMiner workbooks.

The Amitec Industrial Knowledge Graph (IKG) shows these dependencies before anything changes. It scans the PI Data Archive, AF, PI Vision, Seeq, TrendMiner and Amitec reVision and resolves every af:// and pi:// path into one queryable graph. In KKS plants it helps in four ways:

  • Scope by KKS code: scans accept wildcard PI point patterns, so a scan can cover one unit or one system, for example 1LAC*.
  • Impact before renaming: the retirement impact question shows what breaks if a tag is retired, including AF attribute usage and dependent Seeq and TrendMiner analytics.
  • Gaps in the model: orphaned PI points and missing references show which KKS tags are not used anywhere yet, and which references already point to nothing.
  • Document, then verify: the auto-generated landscape documentation exports to CSV as a starting point for the AF build, and the display health ranking confirms afterwards that no display was left with broken references.
An IKG impact check before a KKS tag is retired: the AF attribute, analyses, displays and workbooks that reference it

An IKG impact check before a KKS tag is retired: the AF attribute, analyses, displays and workbooks that reference it. Names are examples.

KKS-based PI AF models, built with you

Amitec builds PI AF models from existing KKS tag structures for power and utility customers as part of AVEVA PI System integration projects. The Industrial Knowledge Graph shows what a change to tags or structure affects before you make it.

Frequently asked questions

What is KKS?

KKS (Kraftwerk-Kennzeichensystem) is the identification system for power plants maintained by vgbe energy. It gives plants, systems, equipment units, components and signals a unique code with up to four breakdown levels. The current edition is VGB-S-811-01 from 2018.

Does the AVEVA PI System support KKS?

PI AF does not include a KKS key, but it lets you organize assets in any structure. KKS levels map to elements, equipment unit classes to element templates and measuring circuits to attributes, and substitution parameters can build PI point references from KKS element names.

Should PI tag names follow KKS?

If the control system uses KKS, keep the KKS code in the PI tag name and put the plain-language name in the descriptor. Settle separators, unit digits and signal codes once, so tags can be parsed reliably.

What is the difference between KKS and RDS-PP?

RDS-PP is the further development of KKS, published by VGB in 2007 and based on IEC 81346. It keeps most KKS function key letters and adds the IEC 81346 aspects, with = for function, - for product and + for location.

Do we have to rename PI tags to move to RDS-PP?

No. You can store RDS-PP designations as AF attributes or add an RDS-PP view with element references. If you do rename tags, check first which displays, AF attributes and analytics reference them, for example with the Industrial Knowledge Graph.

Talk to a PI System expert

Tell us how your plant is coded, and we will help you map it to PI AF.

Industrial Knowledge Graph

See what references a PI tag before you rename or retire it.

Want to know more?

Featured product

Amitec Industrial Knowledge Graph product box

Related posts