OxleyCreek

Using masks to auto generate tags names in AF

Discussion created by OxleyCreek on Jul 14, 2011
Latest reply on Jul 15, 2011 by spilon

I have an AF structure with an element hierarchy like below:

 

 

 

SubStation->Transfomers->Transformer->(attributes MW,KV,MVAR)

 

 

 

 

 

using the following templates I can autogenerate the tag names

 

 

 

\\%Server%\EMS.%..\..\Element%.TF.%Element%.%Element%.KV

 

\\%Server%\EMS.%..\..\Element%.TF.%Element%.%Element%.MW

 

\\%Server%\EMS.%..\..\Element%.TF.%Element%.%Element%.MVAR

 

 

 

with

 

SubStation Element Name = ARDN_W

 

Transformer Name = T_1

 

 

 

gives

 

 

 

EMS.ARDN_W.TF.T_1.T_1.KV

 

EMS.ARDN_W.TF.T_1.T_1.MW

 

EMS.ARDN_W.TF.T_1.T_1.MVAR

 

 

 

 

 

The substation element name above is an abbreviation for the full sub station name. What I really want is to be able to create the tag name using the value of an attribute under the substation element. If the substation element had an attribute "Substn_id" is there a way of modifying my masks above to use the value of the Substn_id to build the tag name rather than the element name?

Outcomes