|
|
Line 43: |
Line 43: |
|
| |
|
| The element {{RS:Tag|valueTable|{{{parent|FIXME}}}}} is optional as alternative to [[RS:mathml|mml:math]] in order to describe any curve. {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }} | | The element {{RS:Tag|valueTable|{{{parent|FIXME}}}}} is optional as alternative to [[RS:mathml|mml:math]] in order to describe any curve. {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }} |
| |example=This is an example of two curves (force vs. speed) which are differentiated by a constant power limitation. | | |example= |
| {|
| |
| |[[File:Force-diagram.jpg|400px]]
| |
| |
| |
| {|
| |
| !Speed
| |
| !Force100
| |
| !Force66.7
| |
| |-
| |
| |0
| |
| |64.800,9
| |
| |51.840,0
| |
| |-
| |
| |25
| |
| |64.800,9
| |
| |51.840,0
| |
| |-
| |
| |30
| |
| |64.800,9
| |
| |43.200,0
| |
| |-
| |
| |35
| |
| |55.542,9
| |
| |37.028,6
| |
| |-
| |
| |40
| |
| |48.600,0
| |
| |32.400,0
| |
| |-
| |
| |45
| |
| |43.200,0
| |
| |28.800,0
| |
| |-
| |
| |50
| |
| |38.880,0
| |
| |25.920,0
| |
| |-
| |
| |55
| |
| |35.345,5
| |
| |23.563,6
| |
| |-
| |
| |60
| |
| |32.400,0
| |
| |21.600,0
| |
| |}
| |
| |-
| |
| |Graphical representation of the curves.
| |
| |The value table in a spreadsheet.
| |
| |}
| |
| ;railML-Code:
| |
| <syntaxhighlight lang=xml>
| |
| <valueTable yValueUnit="N" xValueName="speed" yValueName="tractive effort"
| |
| xValueUnit="km/h" zValueName="Percentage power limitation" zValueUnit="%">
| |
| <columnHeader zValue="100" /><columnHeader zValue="66.7" />
| |
| <valueLine xValue="0.0">
| |
| <values yValue="64800" /><values yValue="51840" />
| |
| </valueLine>
| |
| <valueLine xValue="25.0">
| |
| <values yValue="64800" /><values yValue="51840" />
| |
| </valueLine>
| |
| <valueLine xValue="30.0">
| |
| <values yValue="64800" /><values yValue="43200" />
| |
| </valueLine>
| |
| <valueLine xValue="35.0">
| |
| <values yValue="55542.9" /><values yValue="37028.6" />
| |
| </valueLine>
| |
| <valueLine xValue="40.0">
| |
| <values yValue="48600" /><values yValue="32400" />
| |
| </valueLine>
| |
| <valueLine xValue="45.0">
| |
| <values yValue="43200" /><values yValue="28800" />
| |
| </valueLine>
| |
| <valueLine xValue="50.0">
| |
| <values yValue="38880" /><values yValue="25920" />
| |
| </valueLine>
| |
| <valueLine xValue="55.0">
| |
| <values yValue="35345.5" /><values yValue="23563.6" />
| |
| </valueLine>
| |
| <valueLine xValue="60.0">
| |
| <values yValue="32400" /><values yValue="21600" />
| |
| </valueLine>
| |
| </valueTable>
| |
| </syntaxhighlight>
| |
| | |
| When using the '''valueTable''' as representation of a series of curves (three-dimensional function) it shall be written in railML similar as in a spreadsheet. It means first the header has to be defined with the value descriptions. Second the particular z-values valid for each curve out of the series are to be listed as child element {{RS:Tag|columnHeader}}. Finally the respective {{RS:Tag|valueLine}} for each x-value of the curves is included. Per each x-value there must be as much y-values as the number of curves (number of z-values). However, the x-values may be not equidistant. In case the original series of curves have different x-values then interpolation must be used to get the missing y-values per each x-value occurring in the series.
| |
| }} | | }} |
| </includeonly><noinclude>{{TemplateDocu}}</noinclude> | | </includeonly><noinclude>{{TemplateDocu}}</noinclude> |
Usage
This is an Element Template. Element templates are intended to avoid routine work in railML® element documentation. These templates are very specific and are therefore documented uniformely by Template:TemplateDocu. They are collected in Category:Element Template and are based on Template:ElementDocu. They represent Template:ElementDoku with specific values and hand all other parameters through to Template:ElementDoku. If you want to use or handle an Element Template, you have to examine the code to find out, which arguments are set, and you have to be careful, because occationally arguments will be renamed, so that the use of argument names of Template ElementDoku may cause errors.
Arguments
As this is a bulk documentation, we do not explain the specific arguments of element templates.
Dependencies
As this is a bulk documentation, we do not explain the specific dependencies of element templates. You can find out, which other templates the current template supports by following this link. You can find out easily, which other templates the current template employs, as templates are included via {{doubble braces}}.
Example
As this is a bulk documentation, we do not offer specific examples of element templates. You can find in the field examples by following this link.