Difference between revisions of "User:Ferri Leberl/Spielwiese"

From railML 2 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
'''Ein fettes {{sic}} zum Probieren'''
+
{{change
 
+
|fact=The element {{IS:Tag|speedProfiles}} plus its children have been introduced. {{IS:Tag|speedProfiles}} serves as a container for an indefinite number of {{IS:Tag|speedProfile}} elements. A {{IS:Tag|speedProfile}} defines a speed profile dependent on a number of factors like maximum load, and train features like the installed protection and braking system. Some features are modelled as attributes, others as children. A {{IS:Tag|speedProfile}} may be labeled either increasing or decreasing with {{attr|@influence}}. Notice, that {{IS:Tag|speedProfile}} does not contain speed information in detail, but instead declares a set of features that can be used in order to state, whether a certain {{IS:Tag|speedChange}} shall be valid for a train or not. Therefore, a {{IS:Tag|speedProfile}} is referenced from a {{IS:Tag|speedChange}} element.
<b>Ein fettes {{sic}} zum Probieren</b>
+
|reason=Not every {{IS:Tag|speedChange}} along a track is valid for every train, but refers to special circumstances. The {{IS:Tag|speedProfile}} element allows it to define these circumstances that are related to the train and track conditions. Thus, the {{IS:Tag|speedProfile}} is also a concept for categorizing trains regarding their speed abilities.
 
+
|trac={{ticket|41}}
{{loop|5|0}}
+
|svn={{SVN|437}}, {{SVN|445}}, {{SVN|450}}, {{SVN|456}}, {{SVN|462}}, {{SVN|463}}, {{SVN|464}}, {{SVN|472}}, {{SVN|527}}, {{SVN|584}}
 
+
|example=The following example speed profiles may be defined:
{{PAGENAME}}
+
<syntaxhighlight lang=xml>
 
+
<speedProfile id="sp1" name="Basis" influence="increasing" description="speed profile as general basis for other overlaying profiles"/>
{{muli}}
+
<speedProfile id="sp2" name="HeavyLoad" influence="decreasing" axleLoad="40" description="speed profile for heavy freight trains"/>
 
+
<speedProfile id="sp3" name="Bridge" influence="increasing" meterLoad="8" description="speed profile for typical bridges"/>
* For {{rml|2}}:&nbsp;{{site|https://svn.railml.org/railML2/trunk/codelists|domain=svn}}.
+
<speedProfile id="sp4" name="Temporary" influence="decreasing" operatingPeriodRef="op_1" description="temporary speed profile due to maintenance work"/>
 
+
<speedProfile id="sp5" name="LZB" influence="increasing" description="speed profile for trains with activated LZB train protection system"/>
<hr>
+
<speedProfile id="sp6" name="Verbal" influence="decreasing" verbalConstraint="Desiro" description="speed profile for trains fulfilling a certain verbal constraint"/>
<tt><{{taDoc|is|route||attr={{#if:|{{{@}}}|}}|ex=|semcon=|wiki=}}>{{#if:|@{{{@}}}}}</tt>
+
<speedProfile id="sp7" name="Tilting" influence="increasing" description="speed profile for tilting trains">
<hr>
+
  <tilting maxTiltingAngle="8" actuation="active" tiltingSpeed="1"/>
 
+
</speedProfile>
<span style="color:#FFFFFF; background:#228B22">(introduced with version 2.5)</span>[[Category:Intro]]
+
<speedProfile id="sp8" name="Braking" influence="decreasing" description="speed profile for trains with certain brake capabilities">
 
+
  <braking mimiumBrakePercentage="123"/>
{{depVers|deprecated with version 2.5}}{{#switch:2.5
+
</speedProfile>
|2.4=[[Category:Depr/2.4]]
+
<speedProfile id="sp9" name="Path" incfluence="decreasing" description="speed profile for trains on a certain path">
|2.3=[[Category:Depr/2.3]]
+
  <path>
|2.2=[[Category:Depr/2.2]]
+
    <ocpRef ref="ocp01"/>
|2.1=[[Category:Depr/2.1]]
+
    <ocpRef ref="ocp01"/>
|2.0=[[Category:Depr/2.0]]
+
  </path>
|#default=[[Category:Depr]]
+
</speedProfile>
 +
</syntaxhighlight>
 
}}
 
}}

Revision as of 12:54, 13 December 2021

Fact: The element <speedProfiles> plus its children have been introduced. <speedProfiles> serves as a container for an indefinite number of <speedProfile> elements. A <speedProfile> defines a speed profile dependent on a number of factors like maximum load, and train features like the installed protection and braking system. Some features are modelled as attributes, others as children. A <speedProfile> may be labeled either increasing or decreasing with @influence. Notice, that <speedProfile> does not contain speed information in detail, but instead declares a set of features that can be used in order to state, whether a certain <speedChange> shall be valid for a train or not. Therefore, a <speedProfile> is referenced from a <speedChange> element.
Reason: Not every <speedChange> along a track is valid for every train, but refers to special circumstances. The <speedProfile> element allows it to define these circumstances that are related to the train and track conditions. Thus, the <speedProfile> is also a concept for categorizing trains regarding their speed abilities.
Related Development Tickets: #41
Related Commits: [437] (Note on legacy SVN commits), [445] (Note on legacy SVN commits), [450] (Note on legacy SVN commits), [456] (Note on legacy SVN commits), [462] (Note on legacy SVN commits), [463] (Note on legacy SVN commits), [464] (Note on legacy SVN commits), [472] (Note on legacy SVN commits), [527] (Note on legacy SVN commits), [584] (Note on legacy SVN commits)
Example: The following example speed profiles may be defined:
<speedProfile id="sp1" name="Basis" influence="increasing" description="speed profile as general basis for other overlaying profiles"/>
<speedProfile id="sp2" name="HeavyLoad" influence="decreasing" axleLoad="40" description="speed profile for heavy freight trains"/>
<speedProfile id="sp3" name="Bridge" influence="increasing" meterLoad="8" description="speed profile for typical bridges"/>
<speedProfile id="sp4" name="Temporary" influence="decreasing" operatingPeriodRef="op_1" description="temporary speed profile due to maintenance work"/>
<speedProfile id="sp5" name="LZB" influence="increasing" description="speed profile for trains with activated LZB train protection system"/>
<speedProfile id="sp6" name="Verbal" influence="decreasing" verbalConstraint="Desiro" description="speed profile for trains fulfilling a certain verbal constraint"/>
<speedProfile id="sp7" name="Tilting" influence="increasing" description="speed profile for tilting trains">
  <tilting maxTiltingAngle="8" actuation="active" tiltingSpeed="1"/>
</speedProfile>
<speedProfile id="sp8" name="Braking" influence="decreasing" description="speed profile for trains with certain brake capabilities">
  <braking mimiumBrakePercentage="123"/>
</speedProfile>
<speedProfile id="sp9" name="Path" incfluence="decreasing" description="speed profile for trains on a certain path">
  <path>
    <ocpRef ref="ocp01"/>
    <ocpRef ref="ocp01"/>
  </path>
</speedProfile>