windigipet.de

Win-Digipet - english forums => Win-Digipet Forum English => Thema gestartet von: Per Olsen am 22. April 2021, 10:53:03

Titel: Delay in Tour Automatic
Beitrag von: Per Olsen am 22. April 2021, 10:53:03
Hello!

I have a question:  During Tour Automatic operation, there are long delays from the end of one tour to the start of the next.  Could this be because I have a lot of active tours in the tour automatic?  I just wonder..

Best regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 01. Mai 2021, 14:04:55
Anyone, any idea?

Regards,
Per
Titel: Re: Delay in Tour Automatic
Beitrag von: Adrian L am 04. Mai 2021, 02:47:25
I have a small layout and there is a slight pause as each tour ends and then restarts.  When the layout is busy I have noticed that the pause seems slightly longer.  In this case the train will stop at the end of the tour.  So, your theory about having lots of tours in a tour automatic makes sense to me.
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 04. Mai 2021, 07:18:36
Hello Adrian!

Thank you for your reply.  Yes, it would be natural that the delay will increase as the layout grows :) .  But in my case, I think I might be doing something wrong, something to increase the delay too much.

The layout is medium/big size, with many lines in tour automatic, dispatcher etc.  I still think I have too long delays.  Example:  When I have only 1 train on the layout (as I do have now, as I am in process of re-building the layout), after the train has run one tour, and waiting for the next to start, the delay can be 1 minute or more.  I think that is too much, so I believe I have done a mistake somewhere.  But I cannot find it :)

Regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Rupert van Swol am 05. Mai 2021, 10:43:45
Hello Per,
Difficult to answer, because there is no track file present. :(

I see a lot of Dutch WDP users not using the "Tour editor".
They mainly use the "Tour automatic editor", with a lot of rules coming from the " route editour " to make a tour in the " tour automatic editor ".

It is better to create a complex route with fallback possibilities in the "Tour editor" and then place it in the "tour automatic editor".
That way, 1 line is enough.  :)

See if this reduces the perceived delay.

Kind Regards
Rupert
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 05. Mai 2021, 10:59:47
Hello, Rupert!

Thank you for your answer.

Yes, I already have made the routes as complete as possible, but I still need many lines in the Tour automatic, and also in the Dispatcher.

I will still try to simplify even more :)

Best regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. Mai 2021, 08:31:34
Hello again.

I tested today:  I had only 1 train running.  From when it stopped in a station, till it started again, could vary, but up to 80sec.  Is this OK, in my setup?  I think it is frustrating long.  :)   

Is there a good answer to why the delays are so long?  Do I have too many routes, to big dispatcher, or what?  Any idea?

By the way, everything works fine, except for the delays :)

Regards,
Per
Titel: Re: Delay in Tour Automatic
Beitrag von: Rupert van Swol am 09. Mai 2021, 09:38:44
Good morning, Per Olsen

I have download,  and looked at your track plan.
What I do by default is to use the default error check.

I was a bit shocked by the amount of small errors.
The good news is that they can be fixed very quickly by using the film camera symbol.
The errors at the bottom of the red one are very serious, also they need to be fixed.

First start with the errors that contain a blue exclamation mark.
The ZFA route ID 94 and ID 124 apparently no longer exist, remove or re-enter these.

Kind regards,

Rupert
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. Mai 2021, 10:51:27
Hello.

Oh, yes, I do know the error-checking routine very well, I use it extensively :) 

Well, all the infos and warnings are not important.  I have tested this before, and in my special layout I will get these warnings and infos, but they are just infos and warnings, they do not create any problems. 

As for the last 7 errors, they are actually already fixed, (I did a mistake by sending the file created before they were fixed) but they made no difference.

Regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Rupert van Swol am 09. Mai 2021, 12:06:06
Hello Per,

I have been doing some further searching and do come across some things.
As an example I took the route ID 449 and from the track plan the INZF ( train number display ) HYLin1v ( C457 ).
HyLin1V is not configured for two directions, the direction is from North to Souh.

Order of the occupancy detectors in the Train number display. 

The rule is that with a horizontal train number display, the track busy indicators are entered clockwise from Left to Right (West to East) and with a vertical train number display from Top to Bottom (North to South) regardless of the direction of entry of the train.

Here I see that this is not applied. see screen pictures.
In the route ( ID 449 ) the train number display is attached to C8, C9 and C10.
C8 is the start and C10 the end of the train number display.
In the train number dispaly the sequence is , C10>C9>C8
is easy to fix . But this does not come up in error Check .

I have, however, put this statement to a WDP expert " Jan Stienstra " .
The statement is correct,  with a Train number Display it is obliged,  to follow the order of the route OC detector. So you stand as a driver looking forward,  and you must follow the OC detector order.
If they are not right, then WDP will search forever for the missing OC detector, and finally it will jump to the next one. In this case C11.

time to Lunch   :)

regards,
Rupert
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. Mai 2021, 13:54:25
Hello!

OK, thank you.  I did know this (the order of contacts from north to south), but I obviously have made the mistake to put them in the order of travel (which seems more logical).  I will go through all, and fix them now.  This will be the first step :)

Regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Rupert van Swol am 09. Mai 2021, 14:52:42
Hello Per,
Hello Per,
If you are using this train number display for two-way traffic, then you need to tick that.
Occupancy marker rule remains in force from left to right clockwise so also from north to south .

rupert
Titel: Re: Delay in Tour Automatic
Beitrag von: Markus Herzog am 09. Mai 2021, 16:24:20
Hi guys,

the stated rule:
Zitat
The rule is that with a horizontal train number display, the track busy indicators are entered clockwise from Left to Right (West to East) and with a vertical train number display from Top to Bottom (North to South) regardless of the direction of entry of the train.
is only correct for train number display where the two direction check mark is set.

If it is a one way train number display then the registration has to be done in order of traveling. And then this train number display may only be used in this direction/order.

Regards
Markus
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. Mai 2021, 18:34:30
Thank you, Markus!

I just have changed ALL, and got some more trouble!  I also came to the conclusion that the direction is only for 2-way displays.  So in fact, they were all correct before.  Well, I will have to change them back again :) 

I guess it is correct in the manual  ;D

Best regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. Mai 2021, 18:42:06
Rupert:
No, the one you see, HYLin1v, is not used for 2-way traffic
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Rupert van Swol am 09. Mai 2021, 20:06:52
Hello Per,

Marcus is right that the rule applies to two-way traffic.
In this case you write that HYLin1V is one way traffic.
I think you need to look at the roadway again.
In particular the direction of travel, determines in which order the track busy signals are approached.
I refer to Route 449 , where the track busy indicators are in the correct order. see .png
So the train leaves OCD C7[456] and the next one is c8[457]=>c9[458]=c10[102] .

In the train number display" HYLin1V"  I see clear a another sequence of the OCD indicators.

 c10[102] =>c9[458]=>c8[457].

kind regards

Rupert



Titel: Re: Delay in Tour Automatic
Beitrag von: Markus Herzog am 09. Mai 2021, 20:23:07
Hi Per,

I think Rupert is right regarding this iTND.

Regards
Markus
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. Mai 2021, 20:40:49
Sorry, i don't understand..?

Do you mean the switching-conditions, you mean they are not in correct order?

By the way, the HYLin1V is not used as destination in any routes.

Regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Markus Herzog am 09. Mai 2021, 20:52:44
Hi Per,

oh yes you are absolutely right.

I was misleaded by the route Rupert showed here:
https://www.windigipet.de/foren/index.php?topic=83182.msg248648#msg248648

But the signal belonging to 457 is in the north and then your order is right for this TND

Regards
Markus
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. Mai 2021, 21:16:07

Thank you :)

Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 23. Oktober 2021, 09:08:13
Hello!

After a long pause in programming, I am back :)

Could it be that the PC has in-sufficient memory?  I have 4 Gb memory in this PC.  The specs for WDP recommends 2 Gb (with a minimum of 1Gb).

What else may be causing the big delays? 
My layout works very well, all routes and others perform very nicely.  So I do not want to change too much without knowing if there should be an improvement.

Should I reduce the number of routes (I have 673 routes in the editor) ?
Should I reduce the number of tours (I have 47 tours in the editor) ?
Should I reduce the number of profiles (I have 345 profiles in the editor) ?
Should I reduce the number of dispatchers (I have 224 dispatchers in the editor) ?
Should I reduce the number of lines in the Tour-Automatic_Editor (I have 415 lines, including blank lines, in the editor) ?

I have run the "Check for errors for several editors/databases" and there are no errors, just 9 non-important warnings.

I want to keep as much as possible of my setup, but also want to reduce those very long (sometimes several minutes) delays when all trains are stopped. 

Any help/hints are greatly appreciated :)

Best regards,
Per.

Titel: Re: Delay in Tour Automatic
Beitrag von: Adrian L am 24. Oktober 2021, 11:12:37
Since Windows 7, I have always used a minimum of 8Gb of RAM. The performance difference of Windows between 4Gb and 8Gb is very noticeable.  I can't comment on its impact on WinDigiPet as I have always used 8Gb of ram on the WDP PCs (except maybe when I was running version 8 a very very long time ago)
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 24. Oktober 2021, 12:09:03
Thank you, Adrian.

I will see if I can upgrade the PC to 8Gb.  RAM is quite expensive today....

Best regards,
Per.

Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 09. November 2021, 09:38:27
Hello again.

I have ordered more RAM, will upgrade to 8Gb.

Any other suggestions to what I can do to shorten the very long pauses?

Regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 17. November 2021, 20:20:05
Hello.

I installed the new RAM, 8Gb, today.  It made no difference for the long pauses.

So there must be something wrong with my layout.  Too many files?

regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Adrian L am 18. November 2021, 23:25:14
Did you notice any difference outside of WinDigitPet after you installed the extra memory?
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 19. November 2021, 08:11:56
Hi!

No, I use this PC only for WDP :)  So I do not know.  Sorry....

Regards,
Per
Titel: Re: Delay in Tour Automatic
Beitrag von: Rupert van Swol am 20. November 2021, 21:29:10
hello Per,
Still working on getting the speed up.  :)

Try to get the layout as compact as possible.
Each empty cell consumes processing power and uses memory.
 I see a lot of layouts that are an exact reproduction of the layout on the screen, where the number of empty cells is larger than the cells with a rail, signal or other element.
Try a horizontal projection with a jump marker at the end.

regards
Rupert
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 21. November 2021, 07:25:28
Hello Rupert.

Thank you for your advice.  I think my layout on screen can not be compacted much more.  If so, I will probably loose the oversight. 

Thanks anyways!

Regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 25. November 2021, 21:50:11
Hello again.

In my search for speed ( :) ) I have one question:
In Tour Automatic Editor, is there a way to make kind of sub-routines, that will only be executed if one certain condition is true? 
I mean, if this condition is true in, say, line 100, 50 specific lines will be executed.  But if the condition is false, they are all skipped, and not read at all, is this possible?

I have not found this, maybe it is there?

Regards,
Per.
Titel: Re: Delay in Tour Automatic
Beitrag von: Markus Herzog am 25. November 2021, 21:55:51
Hello Per,

no not available.

Regards
Markus
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 25. November 2021, 22:01:16
Hello Markus!

No, I was afraid so :) 

Regards,
Per
Titel: Re: Delay in Tour Automatic
Beitrag von: Per Olsen am 10. Januar 2022, 21:49:13
Hello.

I received the 2021 version today, and installed it.  After a few hours of running, it seems my delay-problem is gone!  Very good!

Regards,
Per.