Eddi wrote:
mb wrote:
Is that OTTD-only? I don´t remember seeing this formula in TTDPatch.
I don't know, the "realistic acceleration" code is rather old, but i don't think it was ported over from TTDPatch in a 1:1 fashion.
So, how about getting better rid of it?
Technically, something like this makes indeed sense, because for total air drag, we have
- hull resistance (pressure and suction)
- frictional resistance (side walls, roof, passages, undercarriage)
- flow resistance (ventilation and cooling; to a much smaller degree than those other two)
But to model it in a proper way for TTD´s trains might be tricky, since
- hull resistance mainly depends on the cross section area, slightly modified by an empirical value depending on the shape/design of the vehicle (ranging from 0.8 for a straight cross section like a coach, to 0.22 for a Shinkansen type). Intentionally, this is done by TTDPatch´s prop20, leaving it to the newGRF coder.
- frictional resistance is totally empirical, depending not only on passages, but also on the way doors and windows are inserted into the vehicle´s hull, on pantographs and other roof equipment, and most importantly, on bogeys and other undercarriage equipment. I remember data from ICE development, where frictional resistance from the undercarriage contributed 75% of the total air drag, which could be halved by a better cladding of bogeys alone.
I.e., for some of its components, there´s indeed a dependency with number of vehicles, but finding correct values for these components would strongly depend on the particular design. So, IMO, it would be better to only have one parameter defined by the newGRF at all, rather than introducing another one?
regards
Michael