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 --
5.3.3 Found an issue causing set 5 to not work at all
5.3.2 Custom tpm per lane, every lane gets measured, custom set with different trains/schedules per lane
5.3.1 Allowed higher tpm than 33. Added rails signals to allow you to push to higher tpm if you want to
5.3 Overhaul to TPM and fixed colour inconsistency
5.2.3 multiple errors with decimals, had to redo much of the logic.
5.2.2 Added Decimals
5.1.2 Another schedule for 3 way set 2 was wrong. Looked over all of them and now that set should be correct.
5.1.1 New map, new mod for map editor and 3 way can be anyway
5.0.7 A schedule for 3-way set 2 RHT was wrong. Fixed
5.0.6 schedules got messed up with 5.0.5. Fixed
5.0.5 the last version made the 3/4-way detector not work. Fixed. Also added lights to see which set is active and made it easier to see which trains are spawning.
5.0.4 Fixed multiple major issues with manual and auto mode scores
5.0.3 Switched back to the old set 1 since it retains comparability for U-turn and Lanechanger intersections.
5.0 Major update, now any intersection can be tested.
4.6.1 New RHT/LHT detector. Makes sets 2 and 3 work better for alternative intersections.
4.6 Adjustable input TPM, Adjusted input area to allow alternative intersections. Supports up to 40 cars without changing anything.
4.5.2 Fixed rounding. Instead of rounding down it now rounds correctly
4.5.1 Reduced train input to what should be the practical maximum in any train network, 28/29 TPM. I Changed set 2 slightly.
4.4.1 minor bug, resets after 2 min in auto as well. fixed
4.4 New sets for set 3 4-way and set 2 3-way.
4.3.1 Feature update: Custom train sets, an optional addon for auto testing multiple times
4.2.1 made the intersection slightly less dependent on creative mode, it was always an optional mod
4.2 Added the new Throughput score to the test. Also added an optional mod that makes the display more visible,
4.1.2 Missing signal south for LHD 4 lanes output. Fixed, also aligned the sides
4.1.1 Wrong signal placements, LHD intersections won't let trains go south. Fixed
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
Re: Testbench for 3/4way intersections
Posted: Fri Jan 22, 2021 8:03 pm
by hansjoachim
Reserved
Re: Testbench for 3/4way intersections
Posted: Sun Jan 24, 2021 7:11 am
by Interfector
Hi,
I dont understand how to use your zip file
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 !)
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.
Re: Testbench for 3/4way intersections
Posted: Sun Jan 24, 2021 7:29 pm
by NotRexButCaesar
Interfector wrote: Sun Jan 24, 2021 10:15 am
Yeah, I know for spoiler
are you sure
there
are
two
types
Re: Testbench for 3/4way intersections
Posted: Sun Feb 07, 2021 8:30 pm
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
Screenshot from 2021-02-07 15-28-52.png (2.47 MiB) Viewed 25547 times
West train cannot reach destination with direct connection
Screenshot from 2021-02-07 15-17-13.png (1.08 MiB) Viewed 25547 times
Direct Connection RHS
Screenshot from 2021-02-07 15-29-22.png (2.52 MiB) Viewed 25547 times
RHS version of direct connection works
Screenshot from 2021-02-07 15-19-08.png (154.92 KiB) Viewed 25547 times
Re: Testbench for 3/4way intersections
Posted: Mon Feb 08, 2021 4:25 pm
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.
Re: Testbench for 3/4way intersections
Posted: Mon Feb 08, 2021 4:51 pm
by hansjoachim
Updated version 2 to 1.1 because why not=)
Re: Testbench for 3/4way intersections
Posted: Tue Feb 09, 2021 5:17 am
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
Re: Testbench for 3/4way intersections
Posted: Sun Mar 28, 2021 12:50 am
by hornetDC
How do I properly configure train length?
Re: Testbench for 3/4way intersections
Posted: Sun Apr 04, 2021 9:31 am
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.
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.
Re: Testbench for 3/4way intersections
Posted: Fri Sep 24, 2021 9:44 am
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.
Re: Testbench for 3/4way intersections
Posted: Fri Sep 24, 2021 6:10 pm
by disentius
oooooo nice!
I know what i am doing tonight:)
Re: Testbench for 3/4way intersections
Posted: Sat Sep 25, 2021 12:10 am
by aka13
Amazing work as always!
Re: Testbench for 3/4way intersections
Posted: Sat Sep 25, 2021 4:41 am
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.
Re: Testbench for 3/4way intersections
Posted: Sat Sep 25, 2021 6:51 am
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.
Re: Testbench for 3/4way intersections
Posted: Sat Sep 25, 2021 10:31 am
by hansjoachim
aka13 wrote: Sat Sep 25, 2021 12:10 am
Amazing work as always!