Testbench for 3/4way intersections

Smart setups of railway stations, intelligent routing, solutions to complex train-routing problems.
Please provide - only if it makes sense of course - a blueprint of your creation.
Post Reply
User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Testbench for 3/4way intersections

Post by hansjoachim »

An updated version of the test bench:
Why use this?
It is a great tool to make and test your intersections and find inefficiencies and if the intersection deadlock
New features compared to 2.0 from Aargha
- Auto tester
- More intuitive controls
- Display displaying results
- You can start/stop and reset from the map view
- Nuclear fuel
Support for:
- 3 way
- Mixing LHD and RHD
- Lane changers

Mods
Essential mod
Automatic train deployment
Useful mods
- Infizoom
- Creative mode
- Screenshot camera


Auto tester
Adjust M and K for quicker tests. Standard M=15 (min) K = 2 (min)
K = Preperation time in min
M = Measuring time in min
Recommend console command since a full test can take one hour game time

Code: Select all

 /c game.speed = 10

To use it you have to place the zip file in your "saves" directory. Which you can find by opening run and type %appdata% then Factorio>saves

Changelog
4.1 Many visual adjustments, added more info on the map and fixed multiple bugs
4.0.0 Major overhaul for UI, added support for 3 way auto tester. Also aligned for making grid aligned intersections
3.3.4 Updated for 1.1, Thanks to Kano96 for updating the mod
3.3.3 Fixed detection for LHD/RHD when not using the inner lanes.
3.3.2. Fixed multiple errors, It didn't work for M = unequal numbers.
3.3.1 Fixed an error, caused by adding the correct rounding feature.
3.3 Changed planned (P=2 and P=3) tests to No Right for RHD and No left for LHD. Added UPS saver. Colored the trains. UPS saver recommended for 2/4/8 with under 100/200/400 trains per min. Off by default
3.2.1 Fixed a rounding error, now it rounds up from 0.5
3.2 Fixed an error that didn't measure LHD correctly. Added support for mixing LHD and RHD. Now it's also slightly easier to adjust trains.
3.1.1 minor errors fixed
3.1 Test breaking bug :S Fixed it
3.0 Major update for the testbench. Auto tester update
Attachments
Throughput tester v4.1.zip
v4.1 Fixed multiple bugs and made many visual changes after feeback from Kano96
(10.33 MiB) Downloaded 4 times
Throughput tester 2.14.zip
Version 2 compatible with 1.1
(10.18 MiB) Downloaded 57 times
Throughput tester v3.3.5 Nuclear.zip
Final version 3
(10.48 MiB) Downloaded 62 times
Last edited by hansjoachim on Sat Sep 25, 2021 9:29 pm, edited 18 times in total.
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Re: Testbench for 3/4way intersections

Post by hansjoachim »

Reserved
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

Interfector
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jan 24, 2021 7:05 am
Contact:

Re: Testbench for 3/4way intersections

Post by Interfector »

Hi,
I dont understand how to use your zip file :x
I tried to put it like a mod but I have a crash because file is not register in library.
What did I miss? (maybe explain that in main post !)

Thx

(I want to test this intersection :
0eNrFXdtu20YQ/Rc+y8HuzOzNX1KgKApfCFeAIxuyHDQI8u+lZFF15KF1DvmQlwRWrJPduS5nzg5/dLePr/3zdr3Zddc/upfNzfPV7unqYbu+3//8b3edbdV93//1c9Xd3L48Pb7u+qv97z2vNw/d9W772q+69d3T5qW7/nNAWD9sbh733919f+6762696792q25z83X/0/Zm/dgNSOvNfT+Ax58r5yvf1tvd6/DJ6Vtvv3Fl774p1Df/ePdNnf1/2s+/Vl2/2a136/5tt4cfvv+9ef1622+H7fz/7d2w04d/dleHDa+656eX4VtPm6NQYzsINf7cr+UMRFAQKdMgioLoJyCGgliaBkmkTNQDyaRMXJByArldP1z1j/3dbru+u3p+euwducgBaG/1g21vht9dH0z8Rxf3f2z7+/cGsPeWWNPePh62fb9x/21YU7fph8XfPr1u9/YzfPqXs85K6s7dbCN154LEQCovuSiR1J6PIqRYfBQl5eKjGCmX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1I1WmlSYg0t7Gch/geoZgXT
)
Last edited by Interfector on Sun Jan 24, 2021 7:20 am, edited 1 time in total.

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1046
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Testbench for 3/4way intersections

Post by NotRexButCaesar »

Interfector wrote:
Sun Jan 24, 2021 7:11 am
[...]
It is possible to not display all that text if you use the format

Code: Select all

[bp]<<the string>>[/bp]
I think you were trying to do an expandable spoiler, rather than hidden text. To do an expandable spoiler, do something like

Code: Select all

[spoiler=<<name>>]<<stuff>>[/spoiler]
Just using "spoiler" doesn't make a dropdown, the spoiler needs a name for that: "spoiler=".
: Alea jacta est. Determine what you intend to accomplish with an action before execution.
Have you ever heard the gospel? Most have not.

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 574
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: Testbench for 3/4way intersections

Post by disentius »

It is a save, not a mod. Put it in your save directory.

Interfector
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jan 24, 2021 7:05 am
Contact:

Re: Testbench for 3/4way intersections

Post by Interfector »

disentius wrote:
Sun Jan 24, 2021 10:04 am
It is a save, not a mod. Put it in your save directory.
Oh, my bad, ok, thx !
AmericanPatriot wrote:
Sun Jan 24, 2021 8:41 am
Interfector wrote:
Sun Jan 24, 2021 7:11 am
[...]
It is possible to not display all that text if you use the format

Code: Select all

[bp]<<the string>>[/bp]
I think you were trying to do an expandable spoiler, rather than hidden text. To do an expandable spoiler, do something like

Code: Select all

[spoiler=<<name>>]<<stuff>>[/spoiler]
Just using "spoiler" doesn't make a dropdown, the spoiler needs a name for that: "spoiler=".
Yeah, I know for spoiler (I use it for hide the ugly bp text ^^), but I didn't know the bp balise before ! thanks for tips.

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1046
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Testbench for 3/4way intersections

Post by NotRexButCaesar »

Interfector wrote:
Sun Jan 24, 2021 10:15 am
Yeah, I know for spoiler
are you sure
: Alea jacta est. Determine what you intend to accomplish with an action before execution.
Have you ever heard the gospel? Most have not.

User avatar
JayS
Inserter
Inserter
Posts: 43
Joined: Tue Dec 30, 2014 1:54 am
Contact:

Re: Testbench for 3/4way intersections

Post by JayS »

I am not sure if the 3 way manual mode works with LHS, I made a very basic three way intersection connecting west, east, and south, and no trains were leaving from the west (east and south could navigate to both west, east, and south). So I then changed it so that only trains leaving from west could make their destination, still didn't work. Then I changed it to RHS drive, and it did work. Attached are screenshots:
Direct Connection LHS
West train cannot reach destination with direct connection
Direct Connection RHS
RHS version of direct connection works
Don't look now, but there is a spider behind you.

User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Re: Testbench for 3/4way intersections

Post by hansjoachim »

So the problem is that if you switch between 4 way and 3 way you sometimes have trains spawned that are missing one direction and therefore nowhere to go.
You can fix it by deleting the train that should be driving that isn't driving and then restarting the testbench.
I had a fix for it but it made it messier.
So the hotfix is just to have a save file with all trains already deleted. Uploaded 3.3.5 with all trains already deleted.
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Re: Testbench for 3/4way intersections

Post by hansjoachim »

Updated version 2 to 1.1 because why not=)
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

User avatar
JayS
Inserter
Inserter
Posts: 43
Joined: Tue Dec 30, 2014 1:54 am
Contact:

Re: Testbench for 3/4way intersections

Post by JayS »

hansjoachim wrote:
Mon Feb 08, 2021 4:25 pm
So the problem is that if you switch between 4 way and 3 way you sometimes have trains spawned that are missing one direction and therefore nowhere to go.
You can fix it by deleting the train that should be driving that isn't driving and then restarting the testbench.
Oh great! Thanks
Don't look now, but there is a spider behind you.

hornetDC
Burner Inserter
Burner Inserter
Posts: 13
Joined: Thu Dec 03, 2020 10:57 am
Contact:

Re: Testbench for 3/4way intersections

Post by hornetDC »

How do I properly configure train length?

User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Re: Testbench for 3/4way intersections

Post by hansjoachim »

hornetDC wrote:
Sun Mar 28, 2021 12:50 am
How do I properly configure train length?
You have to add cars to all trains that are parked sideways.
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

Tallywort
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Mar 25, 2021 11:57 am
Contact:

Re: Testbench for 3/4way intersections

Post by Tallywort »

hansjoachim wrote:
Sun Apr 04, 2021 9:31 am
hornetDC wrote:
Sun Mar 28, 2021 12:50 am
How do I properly configure train length?
You have to add cars to all trains that are parked sideways.
Also if you want to have really long trains, you might need to extend the tracks where those parked no-fuel locos stand. (at the end of the tracks) As trying to spawn trains that are too long can end up overwriting those, borking the system.

User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Re: Testbench for 3/4way intersections

Post by hansjoachim »

Hey all! I made a major update to the UI and added support for 3way auto testing.
I think you should all check it out. You can download it from the top post. Please tell me if you have any problems or any suggestions.
The 3.x.x UI was terrible so 4.0 should be a major improvement.
Attachments
Skjermbilde 2021-09-24 114340.png
Skjermbilde 2021-09-24 114340.png (1.59 MiB) Viewed 246 times
Last edited by hansjoachim on Sat Sep 25, 2021 4:32 am, edited 1 time in total.
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 574
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: Testbench for 3/4way intersections

Post by disentius »

oooooo nice!

I know what i am doing tonight:)

aka13
Filter Inserter
Filter Inserter
Posts: 282
Joined: Sun Sep 29, 2013 1:18 pm
Contact:

Re: Testbench for 3/4way intersections

Post by aka13 »

Amazing work as always!
Pony/Furfag avatar? Opinion discarded.

mrvn
Smart Inserter
Smart Inserter
Posts: 4509
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Testbench for 3/4way intersections

Post by mrvn »

On the topic of 3 way intersections? I'm looking for a compact one for LCCCCCCL trains that allows U turns. Currently I use simple roundabouts.

User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Re: Testbench for 3/4way intersections

Post by hansjoachim »

V4.1 released
Many visual adjustments, it looks much cleaner now. Kano96 made those suggestions.
Added info on the map to explain the display.
Fixed test breaking bugs, just some errors in the circuit logic.
Removed the fake set 3 for 3 way. There were only really 2.
Attachments
Skjermbilde 2021-09-25 085314.png
Skjermbilde 2021-09-25 085314.png (1.41 MiB) Viewed 126 times
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

User avatar
hansjoachim
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Re: Testbench for 3/4way intersections

Post by hansjoachim »

aka13 wrote:
Sat Sep 25, 2021 12:10 am
Amazing work as always!
Thanks:)
Updated version of aaarghas intersection testbench. viewtopic.php?f=194&t=94795&p=533570#p533570
My Highscore intersections: https://pastebin.com/dGsJT71Z
Combinator Adaptable merger https://pastebin.com/aLPQQeei

Post Reply

Return to “Railway Setups”