New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"connectsTo" Relationship instead of "startsAt"/"endsAt" ones #15
Comments
We need to know what direction a link (pipe/valve/pump) runs in, so it is important to be able to distinguish between the start and end nodes (they cannot be swapped around). We would lose the ability to do this if we just had a 'connectsTo' relationship. |
Is this direction really to be part of the model or is it overall deduced by the simulation and physical law : differences in height or pressure should define the orientation. |
It is really a part of the model.
|
For pipes, which node is called the start and which is the end is selected arbitarily - it does not (necessarily) correspond to the direction of flow, which could in fact be variable. However, it must match with the order in which the vertices are listed. |
Hi All, I totally agree with @csweetapple. Also, in one of the data models there was a thought to place sensors with a property of distance from the start of the pipe so it is important to know which side is the start and which is the end. |
So what is the agreement? |
I'm for keeping "startsAt"/"endsAt". |
Anyone else opposing to accept Elad suggestion? |
So, from Chris explanations, this issue can be solved. It is clear that: Another completely different approach would have been to model network elements as relationships which then would have been directed. From a conceptual point of view, such an approach would completely make sense but would have complexify the foreseen interactions between EPANET and the NGSI-LD graph through the current NGSI-LD api which is more entity centric for the queries. |
"connectsTo" is a an NGSI-LD relationship defined in the NGSI-LD cross domain ontology recommended by the ETSI CIM group. Since that we have defined the relationships "hasInlet" and "hasOutlet" that help in defining the inlet and the outlet points of Nodes and in order to simplify more the model and to align it with the NGSI-LD cross domain ontology: is-it possible to replace "startsAt"/"endsAt" relationships by "connectsTo"?
@franckLG @csweetapple @albertoabellagarcia
The text was updated successfully, but these errors were encountered: