| [railML3] New semantic constraint to ensure unambiguous infrastructure states [message #3486] |
Thu, 27 February 2025 16:18  |
Larissa Zhuchyi
Messages: 80 Registered: November 2022
|
Member |
|
|
Dear all
During certification we have encountered a case of ambiguous infrastructure states when there are more than one of those defined. See invalid excerpt below. The problem of excerpt is that reader cannot identify what is the state of the <infrastructure> in the file: "operational" or "conceptual" because it applies for the whole infrastructure unlimited time.
<infrastructureState id="state1" value="operational">
<elementState id="xxx" refersToElement="zzz" value="closed" />
</infrastructureState>
<infrastructureState id="state2" value="conceptual">
<elementState id="yyy" refersToElement="jjj" value="disabled" />
</infrastructureState>
We suggest the following semantic constraint IS:019:
When calculating which <infrastructureState> of an <infrastructure> is valid at a particular time always a maximum of one active <infrastructureState> shall be the result.
See an example below.
<infrastructureState id="state1" value="operational">
<validityTime>
<period from="2002-09-24-06:00" to="2002-09-30-06:00" />
</validityTime>
<elementState id="xxx" refersToElement="zzz" value="closed" />
</infrastructureState>
<infrastructureState id="state2" value="conceptual">
<validityTime>
<period from="2022-09-24-06:00" to="2022-09-30-06:00" />
</validityTime>
<elementState id="yyy" refersToElement="jjj" value="disabled" />
</infrastructureState>
Validities of "state1" and "state2" do not intersect therefore in reader can identify when each of them applies.
This example provides the following information:
- the whole infrastructure except element "xxx" from "2002-09-24-06:00" to "2002-09-30-06:00" was is state "operational".
- element "xxx" from "2002-09-24-06:00" to "2002-09-30-06:00" was is state "closed".
- the whole infrastructure except element "xxx" from "2022-09-24-06:00" to "2022-09-30-06:00" was is state "conceptual".
- element "xxx" from "2022-09-24-06:00" to "2022-09-30-06:00" was is state "disabled".
- the state from "2002-09-30-06:00" to "2022-09-24-06:00" is undefined.
Please let us know if you do not agree with IS:022, IS:023 till 2025-04-30. How could the wording be improved to avoid misunderstandings especially for people new to railML?
Thanks in advance!
Sincerely,
Larissa Zhuchyi – Ontology Researcher
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|
|
| Re: [railML3] New semantic constraint to ensure unambiguous infrastructure states [message #3494 is a reply to message #3486] |
Mon, 03 March 2025 15:04   |
christian.rahmig
Messages: 529 Registered: January 2016
|
Senior Member |
|
|
Dear all,
I want to add the remark, that this issue is only relevant up to railML version 3.2. In railML 3.3, the state of the infrastructure is modeled in the common schema with element <state>. However, the semantic constraint remains the same: at a certain point in time, an (infrastructure) element can be only in one and only one state.
Please share your comments and ideas on that topic with us!
Best regards
Christian
Christian Rahmig – Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|
|
|
|
|
|
|
|
|
|