Announcement

Collapse
No announcement yet.

AI Train speed issue

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AI Train speed issue

    Yes, my trainsim addiction is back with a vengeance.

    One problem I am facing with my AI traffic deals with 2 trains sharing the same path.
    Train 1: Operates at normal speed (for LGE 4.0 this is 320kmph) and follows speeds properly (this train starts at 15:00)
    Train 2: Starts on same path but at 15:20 (20mins ahead of the first train) but has its speed fixed at 266km/ph despite passing by a clear signal+ a 320kmph speed limit marker
    Also both trains stop at the same stations ( two of which are at the very beggining and very end)

    Tried and tested
    Both eng files maxvelocity is 320kmph. So they can operate at that speed when allowed
    Increasing the time gap between both trains did not make a difference (second train was still at 266kmph in a 320kmph zone)
    Created a new path 5 signals before Train 1 then overlapping the original path for Train 1 to run on. (train 2 still maxed at 266)
    Started Train 2 on a different track then merged with Train 1 path(this train still started 20 minutes later than Train 1 despite being on a different track) And yes the path taken after train 2 departed overlapped train 1's path once it left the station.
    Problem persists in both openrails and msts.

    I always thought giving trains at least a 15+min time gap despite running on the same path would be enough to allow the train to operate normally. But for some reason the train behind always gets a weird handicap.

    EDIT: (tested this with 2 extra traffic pieces and got the same result). For some reason the first piece of traffic does fine but after that they get a speed handicap.

    EDIT: Will be remaking activity in Open Rails.
    Last edited by gusthegator; 12-17-2017, 03:04 PM.

    #2
    You don't say MSTS or Open Rails so I will chat a bit about activities in MSTS and OR.
    Yes, getting AI to perform as wanted was a terrible task in MSTS. Getting it 'right' sometimes drives you nuts.
    This is one of the reasons I went to Open Rails. . . . And never looked back.

    In Open Rails the Dispatcher HUD screen shows all trains that are running on a route and if stopped, the reason for the stop be it signal, station or whatever reason. Coding a huge activity with over 80 AI traffic trains took me about 3 hours and none of the baloney where you have to start "3 signal blocks back", double reverse points and the like. A breath of fresh air for activity coding.
    So if this activity you're running is under MSTS, good luck. I took the plunge and now enjoy writing activities that actually perform as they should.

    regards,
    ............Vince ..............
    ...... Author NECv4 .......
    .... LIRR BUILD PHOTOS ....
    ...... Eschew Obsfucation ......

    On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
    "Give me your tired, your poor, your huddled masses yearning to breathe free,
    the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
    I lift my lamp beside the golden door!"

    Comment


      #3
      Whoops. I was making the activity in MSTS AE, but running it on open rails. I'll take you up on that note and use Open Rails to create my activities from now on. Let the rage and excitement of learning something new begin. Thanks for the advice Vince.

      Best,

      gusthegator

      Comment


        #4
        Forgive me if I have missed something, but is there an activity editor now available in Open Rails?
        sigpic
        Rich K
        See my pix at RailPictures.net
        Visit my web site The Railfan Gallery

        Comment


          #5
          yes, this one is also an activity editor

          Comment


            #6
            I've been hearing good things about TSRE. Might aswell try both

            Comment


              #7
              Originally posted by gusthegator View Post
              Whoops. I was making the activity in MSTS AE, but running it on open rails. I'll take you up on that note and use Open Rails to create my activities from now on. Let the rage and excitement of learning something new begin. Thanks for the advice Vince.Best gusthegator
              Let me clarify if I may.
              I created the big activity with the MSTS Activity Editor and run the activity checking on Open Rails. Why? OR has an Autopilot Mode allowing easy activity checking.

              There is nothing wrong with the MSTS Activity Editor although some folks have a hard time with it.
              Not I as it's always performed well for me . . . It was the MSTS Sim that royally screwed up activity running with all the knots you had to jump through to get it to run correctly.
              Not so Open Rails . . .During the run from NY Penn Station to Washington I pass or meet about 40 AI trains both passenger and freight and every meet/pass occurs at exactly the same time and location!
              The MSTS Sim was NEVER able to achieve this level of accuracy . . .never!

              So yes, there is a new activity editor being developed by Goku (also the new Route Editor) but I have not used it . . . yet. I'm pretty busy editing the PRR route and can't take the time to start writing activities until finish the PRR edit at Philadelphia.

              Regards,
              ............Vince ..............
              ...... Author NECv4 .......
              .... LIRR BUILD PHOTOS ....
              ...... Eschew Obsfucation ......

              On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
              "Give me your tired, your poor, your huddled masses yearning to breathe free,
              the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
              I lift my lamp beside the golden door!"

              Comment


                #8
                Originally posted by Vince View Post
                ...There is nothing wrong with the MSTS Activity Editor although some folks have a hard time with it...
                So yes, there is a new activity editor being developed by Goku (also the new Route Editor) but I have not used it . . . yet. I'm pretty busy editing the PRR route and can't take the time to start writing activities until finish the PRR edit at Philadelphia.
                Regards,
                Apologies for barging in, sort of off topic..
                I'm still using the MSTS AE, cannot get used to the 3D route type display of Goku's TSRE-AE.
                I much prefer to schematic representation used by the MSTS-AE.
                I would love a schematic representation choice in Goku's, added to the functions the program already has.
                Plus, added to the schematic would be any roads or other crossings over the tracks. Where buildings, silos, warehouses, etc are for the sidings.
                I wish he would add a choice to decouple the AE from the RE.
                I'm fully aware this is an outlier opinion.
                Cheers, Gerry
                "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
                It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
                Forever, ridin' drag in railroad knowledge.
                Audi, Vide, Tace, Si Vis Vivere In Pace

                Comment


                  #9
                  I am looking forward to your prrfix07

                  Comment


                    #10
                    prrfix07
                    As soon as this tdb / yellow lines and crashing tile gets resolved I'll get back to work.
                    Goku asked for the route files and I uploaded then to him.

                    regards,
                    ............Vince ..............
                    ...... Author NECv4 .......
                    .... LIRR BUILD PHOTOS ....
                    ...... Eschew Obsfucation ......

                    On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
                    "Give me your tired, your poor, your huddled masses yearning to breathe free,
                    the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
                    I lift my lamp beside the golden door!"

                    Comment


                      #11
                      Originally posted by R. Steele View Post
                      Apologies for barging in, sort of off topic..
                      I'm still using the MSTS AE, cannot get used to the 3D route type display of Goku's TSRE-AE.
                      I much prefer to schematic representation used by the MSTS-AE.
                      I would love a schematic representation choice in Goku's, added to the functions the program already has.
                      Plus, added to the schematic would be any roads or other crossings over the tracks. Where buildings, silos, warehouses, etc are for the sidings.
                      I wish he would add a choice to decouple the AE from the RE.
                      I'm fully aware this is an outlier opinion.
                      I agree with Gerry. Speaking for myself I am having a hard time with the whole AE and would definitely like to see a schematic layout and to have the AE being separate from the RE altogether. The RE remains a great mystery to me as did most of the MSTS RE.
                      My opinion for what its worth.

                      Thanks
                      Don

                      Comment


                        #12
                        Why the 2D view is so important? For Patch editing I agree - it is very important, but TSRE doesn't support it anyway.
                        Placing loose consists - better in 3D mode. Finally you can place them in perfect location.
                        Creating events, traffic etc - you do it outside route view, so no difference at all.

                        Comment


                          #13
                          But Goku, you are missing the point, the AE should be fully decoupled from the RE, separate interface and bat file**, just like the CE.
                          I don't need to see all the RE interactives or whatever they are whenever I select AE from the dropdown.
                          Also, and this I have trouble documenting, I have been using the AE and somehow slip into the RE and move something.
                          For us non Route Creators, this is troublesome.
                          Also lack of a complete manual or beginniners how to for the AE is a limiting factor, at least for me.

                          However, I am fully aware that this is a one-person operation, and everything little item or idea cannot be implemented. Given time, perhaps I'll change. On the other hand, you also should be flexible to others perceptions of the AE.

                          Here's one thing that happened the other day, placing a thirty car loose consist that went over a yard crossover, the consist followed the crossover to the other track. In the MSTS AE it ignored the crossover and followed the track it was placed on. I could not figure out how to get the loose consist to ignore the yard crossover. Granted, given time, I could probably figure it out, but now I just don't have the time to spare.

                          Like I said, my opinion is obviously a minority view, however, most of the praise for the AE I've read has come from experienced MSTS RE users, it appears that some experience with the RE end of things benefits understanding the AE.

                          **using bat files seems very retro, why not have separate GUI and exe for all three items, RE, AE and CE. Couldn't they all use some of the same programing, have different GUI's & be coupled "behind the scenes" so to speak. Not being a coder (like you are, and a good one!!) I really don't know if this is possible at this stage of development.
                          Seasons Greetings, best to you and yours.
                          Last edited by R. Steele; 12-21-2017, 01:47 PM.
                          Cheers, Gerry
                          "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
                          It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
                          Forever, ridin' drag in railroad knowledge.
                          Audi, Vide, Tace, Si Vis Vivere In Pace

                          Comment


                            #14
                            Also, and this I have trouble documenting, I have been using the AE and somehow slip into the RE and move something. For us non Route Creators, this is troublesome.
                            This issue will be resolved soon, by alternative option to save only activity data.

                            Here's one thing that happened the other day, placing a thirty car loose consist that went over a yard crossover, the consist followed the crossover to the other track. In the MSTS AE it ignored the crossover and followed the track it was placed on. I could not figure out how to get the loose consist to ignore the yard crossover. Granted, given time, I could probably figure it out, but now I just don't have the time to spare.
                            Just leave it this way. It will be shown the right way in OR. TSRE doesn't use default juncition exits.

                            **using bat files seems very retro, why not have separate GUI and exe for all three items, RE, AE and CE
                            Separate exe is stupid idea - 3x more work with building app, 3x more downloading and disk space. You don't need to use .bat file, you can create modern windows shortcuts for TSRE. I can't include the shortcuts because the files are not portable - you can't share them between windows installations if app path is different. Bat file is portable.

                            Comment


                              #15
                              Originally posted by GokuMK View Post
                              Separate exe is stupid idea - 3x more work with building app, 3x more downloading and disk space. You don't need to use .bat file, you can create modern windows shortcuts for TSRE.
                              I already have shortcuts and icons, see top right hand corner in screenshot. While you may think separate exe is stupid, using separate GUI's are not. You did that for the CE, why not the AE??
                              Click image for larger version

Name:	bandicam 2017-12-21 11-44-09-895.jpg
Views:	1
Size:	157.3 KB
ID:	2196227
                              Cheers, Gerry
                              "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
                              It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
                              Forever, ridin' drag in railroad knowledge.
                              Audi, Vide, Tace, Si Vis Vivere In Pace

                              Comment

                              Working...
                              X