Home » railML newsgroups » railml.rollingstock » power attribute in vehicle/engine/propulsion
power attribute in vehicle/engine/propulsion [message #1225] Fri, 10 January 2014 14:19 Go to next message
Susanne Wunsch is currently offline  Susanne Wunsch
Messages: 180
Registered: March 2008
Senior Member
Hi all,

The 'power' attribute inside the 'vehicle/engine/propulsion' element is
required by the XML schema.

How about a very rough definition, where only electric versus diesel
propulsion may be specified? A power="0" seems to be very misleading for
this case. But it fulfills the XSD-requirements and validates fine. :-(

I would opt for an optional "power" attribute for the next major release.

Kind regards...
Susanne

--
Susanne Wunsch
Schema Coordinator: railML.common
Re: power attribute in vehicle/engine/propulsion [message #1226 is a reply to message #1225] Sat, 29 March 2014 06:32 Go to previous message
Joerg von Lingen is currently offline  Joerg von Lingen
Messages: 59
Registered: May 2011
Member
On 10.01.2014 14:19, Susanne Wunsch wrote:
> Hi all,
>
> The 'power' attribute inside the 'vehicle/engine/propulsion' element is
> required by the XML schema.
>
> How about a very rough definition, where only electric versus diesel
> propulsion may be specified? A power="0" seems to be very misleading for
> this case. But it fulfills the XSD-requirements and validates fine. :-(
>
> I would opt for an optional "power" attribute for the next major release.
>
> Kind regards...
> Susanne
>
Hi Susanne,

it is correct that "power" may be "0". However, it is the number of propulsion
power in Watt. The type of propulsion power is in attribute "powerType", which
is an enumeration. In addition I would keep both as mandatory. Once you have
defined any kind of propulsion system one shall know its type and its (rough)
capacity.

Thus I would not change it.

--
Best regards,
Joerg v. Lingen

Rollingstock Coordinator
Previous Topic: Re: new attribute on the vehicle element
Next Topic: May I use z parameter for notch as engine tractiveEffort?
Goto Forum:
  


Current Time: Sat Jul 22 14:56:20 CEST 2017