Initial note - this is not the Esri electric data model yet the white paper data model as released and documented by Elvia and Volue.
Gain access to this white paper on how to implement utility network for balanced three phase distribution grid.
Working with Norwegian DSO, Elvia, and Danish DSO, N1, substations and their interior are documented with great detail. Below is an example of a medium to low voltage substation. In the middle you see two MV/LV transformers. Everything above is medium voltage, and everything below is low voltage.

Focusing in this context on the medium voltage part, what you see are two medium voltage bus-bars - one with two (three, one idle) line-bays (connected to cables) and a bay connecting to the other, right-hand side bus-bar.
The other, right-hand side bus-bar holds two transformer-bays (connecting to the two transformers respectively.
Within these bays you see switches, fault indicators, current transformers, etc. - individual features each representing a function in the grid
Whereas in the map each switch, fault indicator, etc. is documented as individual point features, in real world what is here many features may come a one preconfigured unit - we call it a compact-equipment.
Imagine the below subset of the shown substation being one compact equipment that is craned in as one gas-insulated unit.

To facilitate this we are aiming to document the Compact Equipment unit as a structure junction object in utility network.
This structure junction object asset type is registered as a structure (role type) and corresponding structural attachment rules support relating a compact equipment to all the device features. This all works very fine.
Now, we need to also establish a relationship from the compact equipment to the bus-bar. Yet, according to this Esri documentation structural attachments are not supported against line asset types:
Feature restrictions—ArcGIS Pro | Documentation
Not stopping for anything, we got a new idea.
- We keep the structural attachment relations to all the devices (point features) as described above
- And then we add to this containment associations from the compact equipment to the line feature (the bus-bar)
We cannot use containment associations for all relationships to the compact equipment, since point features / devices may only have one containment parent, and the devices are already contained in another container (a substation hierarchy) containment.
But, that's OK - we can live with using structural attachments to the devices and then handle the bus-bar through a containment association (because line feature do support several containment parents).
SO, we register the compact equipment asset type as container (as well) and add corresponding rules allowing it to contain bus-bar asset types:


Yet, when applying the asset package, we get this error message:

Is it because:
- We apply the asset package using an oooold ArcGIS Pro (v3.1.4)?
Will using a newer version of ArcGIS Pro fix this?
- An asset type (the compact equipment) cannot be both a structure or a container?

- we are not smart enough?
We cannot find answers in available documentation.