Elvas Tower: Advanced Adhesion - Poach - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 6 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • You cannot start a new topic
  • You cannot reply to this topic

Advanced Adhesion - Poach Rate Topic: -----

#41 User is offline   cesarbl 

  • Conductor
  • Group: Status: Active Member
  • Posts: 396
  • Joined: 30-March 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 25 October 2023 - 10:05 PM

Quote

Still seeing some unusual indications from the simulated wheel adhesion though, it will still get stuck at unreasonably high values (for example, the MSTS Dash 9 reading 33% ahdesion while at a complete standstill). That can't be doing anything good for the stability of the model and there has to be a simpler way to avoid that than just throwing more substeps at the system. Surely it would be obvious without substepping that a force of 0 should require and ahdesion of 0?

At zero speed, adhesion is treated as a static adhesion coefficient, such that all force is transmitted to rails without any creep. This is what Polach formula says, because optimal wheel creep tends to zero as speed goes to zero.

Quote

Maybe some simplifying assumptions can be made, or the old model could be user-selected (though it could use some modifications to give more reasonable wheel creep)

Unfortunately not, the computational cost of the model comes from the bigger number of substeps required, and not from the formula itself. Any model which gives low wheel creep will suffer from that problem

#42 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,890
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 27 October 2023 - 10:56 PM

View Postpschlik, on 25 October 2023 - 04:36 PM, said:

Had another moment to test today. Numbers of substeps are more tame now, and in combination with more gradual change frame time pacing is definitely more consistent now. Also remained fairly stable even at 300% sim speed so the algorithm seems to be running fast enough at the moment. Still seeing some unusual indications from the simulated wheel adhesion though, it will still get stuck at unreasonably high values (for example, the MSTS Dash 9 reading 33% ahdesion while at a complete standstill). That can't be doing anything good for the stability of the model and there has to be a simpler way to avoid that than just throwing more substeps at the system. Surely it would be obvious without substepping that a force of 0 should require and ahdesion of 0?
Thanks for the feedback.

I am taking from this that you think that the Polach adhesion substep rate is "about right" now, is this correct?

Can you expand in more detail on how to duplicate the " it will still get stuck at unreasonably high values (for example, the MSTS Dash 9 reading 33% ahdesion while at a complete standstill)" scenario? The old model always had the maximum adhesion (given by locomotive adhesion) occurring at zero speed.

View Postpschlik, on 25 October 2023 - 04:36 PM, said:

And this might be related but whenever I apply power ammeters are reading NaN! (Dynamic braking is fine though?)
Ok I can duplicate this, and I now roughly when this started to ok, but I can't see any obvious issues. I will investigate further (I am off on holidays for a week on Monday my time) so I am not sure whether I can fix it before then.


View Postpschlik, on 25 October 2023 - 04:36 PM, said:

At this point, I'm not convinced that this model is a fool's errand but even after working through the weird stuff, it will clearly need more computing power than the previous model. Maybe some simplifying assumptions can be made, or the old model could be user-selected (though it could use some modifications to give more reasonable wheel creep), but I don't know the details and it's not the right time to worry about that anyway.
I would prefer not to have multiple user selected models, we should strive for the most efficient and realistic performance (this may still need to be determined, and it could be either the new model working at an acceptable level, or reverting to the old model)..

#43 User is offline   Traindude 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 664
  • Joined: 17-November 13
  • Gender:Male
  • Location:Seattle, WA
  • Simulator:Open Rails
  • Country:

Posted 28 October 2023 - 01:19 PM

Just passing this word along--I've discovered a bug that may be associated with the new adhesion model.

#44 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,890
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 28 October 2023 - 02:07 PM

View PostTraindude, on 28 October 2023 - 01:19 PM, said:

Just passing this word along--I've discovered a bug that may be associated with the new adhesion model.

I can't open the post, can you please check it, or post some of the details in this thread. Also can you please recheck it with the latest Unstable version.

#45 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,890
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 28 October 2023 - 02:10 PM

View Postpschlik, on 25 October 2023 - 04:36 PM, said:

And this might be related but whenever I apply power ammeters are reading NaN! (Dynamic braking is fine though?)
I think that I have identified the issue, and corrected it in the latest Unstable version.

Can you please check and confirm.

#46 User is offline   Traindude 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 664
  • Joined: 17-November 13
  • Gender:Male
  • Location:Seattle, WA
  • Simulator:Open Rails
  • Country:

Posted 28 October 2023 - 07:50 PM

View Poststeamer_ctn, on 28 October 2023 - 02:07 PM, said:

I can't open the post, can you please check it, or post some of the details in this thread. Also can you please recheck it with the latest Unstable version.


Try this one. Yes, these were both using U2023.10.26-1752.

#47 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,890
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 04 November 2023 - 12:05 AM

Given that there has been no further feedback in this thread for the past week, I am assuming that any outstanding bugs have now been corrected for this addition. Therefore it is proposed to release it in the next few days.

It is also suggested that users consider the adhesion settings for their diesel locomotives.

#48 User is offline   pschlik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 352
  • Joined: 04-March 15
  • Gender:Male
  • Simulator:OpenRails - Unstable
  • Country:

Posted 07 November 2023 - 04:18 PM

Sorry I didn't keep up with this change much, Cities Skylines 2 came out, I got a new quite draining project at work, then spent a whole weekend sick. OR got put on my backburner.

With the new adhesion model, I'm not noticing anything too weird at the macro scale. Of course, if I stare at the F5 debug things look weird with numbers jumping around and I'm still wondering how we'll be able to use this output to drive more realistic wheel slip protection when that time comes. Sometimes the data just looks a bit too erratic to reliably determine when the locomotive is close to slipping. Granted it's not like I've started thinking about building new WSP code so it's probably too early to act on that suspicion.

#49 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,011
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 07 November 2023 - 06:14 PM

With last (2023.10.20) testing version, some locomotives have become too sleepy and stuck in long curves with even 11 cars passenger trains.
I'll look for *.eng-files to attach. Switching to simple adhesion model helps, making me sad.

#50 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,890
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 07 November 2023 - 07:14 PM

View Postpschlik, on 07 November 2023 - 04:18 PM, said:

With the new adhesion model, I'm not noticing anything too weird at the macro scale.
Thanks for the feedback.


View Postpschlik, on 07 November 2023 - 04:18 PM, said:

Of course, if I stare at the F5 debug things look weird with numbers jumping around and I'm still wondering how we'll be able to use this output to drive more realistic wheel slip protection when that time comes. Sometimes the data just looks a bit too erratic to reliably determine when the locomotive is close to slipping. Granted it's not like I've started thinking about building new WSP code so it's probably too early to act on that suspicion.
The parameter is recalculated many times per second, so it will tend to vary quite a bit. The HUD value is meant as debug value, and not as a "stable" value as such. If you want to use this parameter for another feature, you may need to put a smoothing function in to reduce the variation.


View PostWeter, on 07 November 2023 - 06:14 PM, said:

With last (2023.10.20) testing version, some locomotives have become too sleepy and stuck in long curves with even 11 cars passenger trains.
I'll look for *.eng-files to attach. Switching to simple adhesion model helps, making me sad.
The Polach adhesion changes will not have moved into the Testing version yet, so it shouldn't be creating the issues that you are describing.

  • 6 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users