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.
User avatar
hansjoachim
Filter Inserter
Filter Inserter
Posts: 252
Joined: Wed Apr 26, 2017 7:03 pm
Contact:

Testbench for 3/4way intersections

Post by hansjoachim »

Intersection test bench: What is it and why use it? It is a handy tool to create and evaluate your intersections, identify problems, and check for deadlocks.

Now everything is controlled by the mod testbenchcontrols.
There is a scenario in the mod for you to use. The newest version doesn't work with any savefile
https://mods.factorio.com/mod/Testbenchcontrols

Legacy :
To use the map file, you have to put the zip file in your “saves” folder. Which you can find by opening run and typing %appdata% then Factorio>saves


-- Changelog --
Attachments
Throughput tester vMOD.zip
Outdated. Doesn't work if you update the mod. Use the scenario in the mod instead.
(563.59 KiB) Downloaded 160 times
Throughput tester v6.0.0.zip
Outdated.
(2.37 MiB) Downloaded 121 times
Throughput tester v5.3.3.zip
v5.3.3 Outdated
(2.74 MiB) Downloaded 164 times
Throughput tester v4.6.1.zip
4.6.1 Outdated
(7.69 MiB) Downloaded 120 times
Throughput tester 2.14.zip
V2. Outdated
(10.18 MiB) Downloaded 225 times
Throughput tester v3.3.5 Nuclear.zip
V3. Outdated
(10.48 MiB) Downloaded 258 times
Last edited by hansjoachim on Fri Dec 15, 2023 1:53 pm, edited 99 times in total.


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/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Ro+fkB336PDes/Eri3OIjyCu+ZeqnIie6eAPE2rsZfMkiJrZqsWGGriUV0cdi4ItjqWpYShssMWMVR2LgiEmmh/glAjj+riCPkMiq1OZ12GTQk6wybaj/xIl9K8uAyukn1R5NQqC/tS0OLjsGPrp3Aauy8fJ7Pj26Zw2LcAJ/+0l9kXAU/h6IxLvzn8hpuNmtl3E01tObGqnMBhibJ54nV77MFtCoctf0/hsG8HnsAp7EzR7Af9wr7YbgqHvR04hcMSWfc4gwsc3nV+/e6V6qvu8ea2fxw+s39t+Olbv315y1I1WmlSYg0t7Gch/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: 1133
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=".
—Crevez, chiens, si vous n'étes pas contents!

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
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: 1133
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
—Crevez, chiens, si vous n'étes pas contents!

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
Filter Inserter
Filter Inserter
Posts: 252
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.

User avatar
hansjoachim
Filter Inserter
Filter Inserter
Posts: 252
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=)

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
Filter Inserter
Filter Inserter
Posts: 252
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.

Tallywort
Inserter
Inserter
Posts: 22
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
Filter Inserter
Filter Inserter
Posts: 252
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 21997 times
Last edited by hansjoachim on Sat Sep 25, 2021 4:32 am, edited 1 time in total.

User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
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: 793
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: 5789
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
Filter Inserter
Filter Inserter
Posts: 252
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 21877 times

User avatar
hansjoachim
Filter Inserter
Filter Inserter
Posts: 252
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:)

Post Reply

Return to “Railway Setups”