admin-shell-io / questions-and-answers

This repository aims for providing answers to often asked questions in the context of the Asset Administration Shell.
https://admin-shell-io.github.io/questions-and-answers/
Creative Commons Attribution 4.0 International
24 stars 6 forks source link

Example of using ValueIDs #77

Closed StenGruener closed 2 years ago

StenGruener commented 2 years ago

Q: How should ValueIDs be using within Submodels to model to model ENUMS from IEC 61360-based semantic dictionaries like CDD and ECLASS. A: In scope of AAS modeling, the concept of ValueIDs should be used to map those ENUMS. Typically enum values have a string representation and an IRDI for unique identification. AAS specs state the following usage guide: image Which can be seen in the example of "IP65"( IEC 61360 english preffered name) as value. Preferred name should be English only - translation can be done by a look-up of the IRDI if needed. image We encourage using both the string value and the equivalent ValueID to provide best human and machine-readability.

The IRDI of the value list itself should be used in submodel template definitions to restrict the allowed sting values.