The default UoM found in the manual is gal/kwh...a more user friendly approach would be the option of using gal/h and l/h - the user having to specify them.
Here's what I submitted:
Quote
I have tried other UoM, gal/h for instance -- the OR log shows the following warnings:
"Warning: Found a suffix 'gal/h' which could not be parsed as a Any unit in F:\2TSF\ShermanHill\trains\trainset\SLI_UNION_PACIFIC\openrails\UP_SD70ACE_8367.eng:line 25
Warning: Found a suffix 'gal/h' which could not be parsed as a Any unit in F:\2TSF\ShermanHill\trains\trainset\DWupSD70M\openrails\UP5013.eng:line 28" ***see attached log
All the engine files I've run across (NorthAmerican) list fuel consumption in gal/h, the metric equivalent being l/h.
To make OR more user friendly (specifically the ORTSDieselEngine block) the DieselConsumptionTab should accept gal/h and l/h as optional UoM.
Any conversion to gal/kwh should be done by OR, not the user.
My hope is that this presents no undue problems to change in the code.
Thank You, Gerry Storey