Using insertIED:
- We import an IED A with DataType
y
- We import another IED B with DataType
z in it's datamodel which has the same id but it is different from the previous DataType y (different objects defined).
- When we use the extension we get a separate datatype created for B.
- If we import another IED which is from the same ICD file as B then we get another set of DataTypeTemplates created.
This behaviour is currently by design but requires icd files to have their DataTypeTemplate ids to be "pre-segregated" to get a good outcome.
The describe function in scl-diff could be used along with cataloguing the existing datatypes to resolve this, but at the cost of CPU cycles and it might become a little slow in large files when insertIED is used on multiple IEDs (as I currently do in oscd-import-templates)
(from danyill/oscd-import-templates#3)
Using
insertIED:yzin it's datamodel which has the same id but it is different from the previous DataTypey(different objects defined).This behaviour is currently by design but requires icd files to have their DataTypeTemplate ids to be "pre-segregated" to get a good outcome.
The
describefunction inscl-diffcould be used along with cataloguing the existing datatypes to resolve this, but at the cost of CPU cycles and it might become a little slow in large files wheninsertIEDis used on multiple IEDs (as I currently do inoscd-import-templates)(from danyill/oscd-import-templates#3)