Hi there,
I have a question from my team that I hope someone on this brilliant forum can answer.
When a device is modeled in the Utility Network (UN) and has multiple terminals in the underlying graph, it appears to create a self-reference in the trace output. For example:
"connectivity": [
{
"viaNetworkSourceId": 9,
"viaGlobalId": "{6E9B4C19-D497-4E20-964A-57B8B11CBC6F}",
"viaObjectId": 8935,
"viaPositionFrom": 0,
"viaPositionTo": 1,
"fromNetworkSourceId": 9,
"fromGlobalId": "{6E9B4C19-D497-4E20-964A-57B8B11CBC6F}",
"fromObjectId": 8935,
"fromTerminalId": 31,
"toNetworkSourceId": 9,
"toGlobalId": "{6E9B4C19-D497-4E20-964A-57B8B11CBC6F}",
"toObjectId": 8935,
"toTerminalId": 32
}
]
From my observations, this self-reference occurs only when a device has more than one terminal.
When a device functions as a node (e.g., an EnergyConsumer) and has only a single terminal, I have not observed this behavior. Instead, all connected edges point to the same terminal.
It seems as if the internal connectivity of the device is explicitly modeled when multiple terminals exist.
I need confirmation that this behavior is consistent across all devices with only one terminal—specifically, that a self-reference will never occur in such cases. Can you confirm if this is a general rule?
My additional question: Does this 'self-reference' represent the 'internal connectivity' within the device?
Best regards
Jens Dalsgaard