wait until full/empty function for train stations

Suggestions that have been added to the game.

Moderator: ickputzdirwech

reset
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Aug 25, 2013 9:03 pm
Contact:

wait until full/empty function for train stations

Post by reset »

Well, I guess the topic is almost enough explanation.
I would like to tell my trains to wait until they are full at the mines and then wait until they are empty at the factory.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: wait until full/empty function for train stations

Post by kovarex »

This is reasonable addition especially when/if we make the cargo wagon inventory larger.
n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: wait until full/empty function for train stations

Post by n9103 »

That seems to be pretty much what the train/route scheduling was made for.
Most trains IRL don't run based on load amounts, but on timetables.
It's a matter of fine tuning it.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.
MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: wait until full/empty function for train stations

Post by MF- »

I would still favor a circuit network integration.
cargo wagon full/empty is easy to detect.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: wait until full/empty function for train stations

Post by ssilk »

I would like to have also a signal "train in station", because that's the moment, from where everything could be triggered.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: wait until full/empty function for train stations

Post by n9103 »

If you want a "train in station" signal, that's easy enough.
Loading stations:
Set up a Smart inserter to load a chest with only one more item than can be grabbed in one action, which depends on your current research level. (i.e. no research, 2 items, level one, 3, etc.)
This chest must be the first in line for being loaded from belts, and either first or last to start unloading, depending on if you want to know when it enters the station, or when it's reached the far end of the station.
It must have a Fast or better inserter to get the items out as fast as they're put in.
Anytime that smart chest has less than the 'inserter stack limit +1' level that was set before, there is a train in the station being loaded.

Unloading Stations:
Have your smart chest either at the near or far side of the station, depending on when you want to receive a signal.
Anytime the smart chest is not empty, there's a train in the station.
Having a slower inserter taking out of the smart chest than putting in means a steady signal, but will increase the latency from when they've stopped unloading to signal that the train is no longer present.
You'll need to have a 2nd chest (smart not required) if you have any level of inserter stack research, in order to keep a signal with low latency.

These setups can be refined with delay circuits to make the inserting/removing inserter only trigger after a short time so that the signal doesn't pulse in the Loader version, or to refine the latency even more on the Unloader.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: wait until full/empty function for train stations

Post by ssilk »

Well, but its not working in every case. When the wagon is full, when there are no more items coming, when there are too many items in the main station... And it obtains one chest/inserter. I mean ok for the beginning, but to built up a large train/track needs much more reliability than that.

Edge points of a train station:
- the input belts should be splitted into as many belts as wagons to have the same load for all wagons
- symmetrically the output belts should be joined (but joining prefers only left side, so the weighting is very difficult!)
- there should be one big chest (1x5 tiles or 2x5 tiles) for every wagon, not 5, because the chests are uneven filled. The chest should be nearly the same stack-size as the wagons.
- out-signals: train coming/leaving, train standing, one/two/three... wagon full, all wagons full, one/two/three... wagon empty, all wagons empty, timer seconds left...
- in-signals: stop/go, move ahead one wagon position (some kind of filler station, to spare all the stuff to built),

Other non subjects:
- I don't like to guess where to place the signal, so that the wagons stand at the right place.
- I don't like to place the train and wagons and then couple them and then programming. It would be easier, if there is an engine-shed or something, where I can program the next train and insert loks and wagons.
- I don't like to find out, why the train is not moving now. Too many cases, which looks the same.
- if you have a very long track then it would be useful, to make a parallel track and the train can move between the tracks. But you cannot lay he tracks directly parallel, there is no way to connect them, you need some space between the tracks.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Post Reply

Return to “Implemented Suggestions”