Elvas Tower: High voltage circuit breaker - Elvas Tower

Jump to content

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

High voltage circuit breaker Rate Topic: -----

#51 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,426
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 20 September 2014 - 08:09 AM

The circuit-breaker logic tests for the Power Authorization from "Train.LeadLocomotive".
But AI trains do not have a LeadLocomotive (the LeadLocomotive for a player train is the first driveable engine in the consist - this has no meaning for AI trains). As a result, the circuit-breaker was never closed for AI trains.
For most of the time this went unnoticed, as the 'acceleration override' which is implemented in AI control (necessary to overcome certain physics problems for AI trains) will get the train moving regardless of whether it has any power or not. Only in 'braking' mode, when the override is not active, did this problem show up as 'creeping' trains.

Another problem with the logic as implemented is that any delay in the closing of the circuit-breaker has no effect at all for AI trains, because of the 'acceleration override' as mentioned above.

In all, the present implementation for circuit-breaker for AI trains has no function and only causes problems.
Therefor, in version X2501, the circuit-breaker logic is bypassed for AI trains, with the circuit-breaker closed by default.

Regards,
Rob Roeterdink

#52 User is offline   Serana 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 489
  • Joined: 21-February 13
  • Gender:Male
  • Location:St Cyr l'Ecole (France)
  • Simulator:Open Rails
  • Country:

Posted 20 September 2014 - 06:12 PM

Thank you Rob.

Indeed, I should have written an override for this function the same way as in the Update function of the TrainControlSystem class.

Regards

#53 User is offline   hroch 

  • Fireman
  • Group: Status: Active Member
  • Posts: 198
  • Joined: 05-June 14
  • Gender:Male
  • Simulator:MSTS OR
  • Country:

Posted 07 December 2015 - 04:15 AM

Hi.

What is a further progress of this function?

Thanks for your answer.

#54 User is offline   Serana 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 489
  • Joined: 21-February 13
  • Gender:Male
  • Location:St Cyr l'Ecole (France)
  • Simulator:Open Rails
  • Country:

Posted 07 December 2015 - 06:19 AM

Hi,

There is no progress of this functionality currently because Peter (gpz) announced a new scripting interface for the whole rolling stock several months ago.
I am still waiting for it.

  • 6 Pages +
  • « First
  • 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