Closed Kuchsn closed 7 months ago
Is the ContactInformation SubmodelElementCollection intended to be freshly instantiated and copied in each of the Submodels?
As far as I know, there is at the moment no way to globally reference a SubmodelElementCollection
(as in across multiple Submodels
) within the model itself.
I therefore see multiple options:
Identifiable
Submodel
with nothing else and reference that Conctact InformationSubmodel
in multiple different AASsReferenceElement
that contains the Submodel
Identifier and the idShort-Path to the SubmodelElementCollection
(I know very little about that, so I can't say anything about how that would work, or if this is expected)However, if you want to use and follow a standardized submodel template, I'm afraid instantiating the SubmodelElementCollection
each time anew is the only way to be compliant to the template. Programmatically you may want to have the contact information in one point only (single source of truth), but when you offer the AASs to the outside, you must give a copy each time.
I hope that helps.
Hi! I'd like to ask your input on how to handle a set of repetitive data when creating a series of shells.
We created the submodel element collection "contact information", which will stay the same for all our products. Since we can't add one SMC to multiple AASs we presumably need to add it as reference, which we were unable to do so far.