Theoretical train design
With all these train layout designs and ideas (Omnistop and the such). Has anyone attempted to build a train system based off of Ethernet? I mean the over head at each stop might be over the top to make it super viable. But 802.3 is a solid protocol that works with 2 data wires. Logical circuits have 2 wires... and in theory the space for wayyyyyyy more spacial streams.
Just thought I would get that idea out there and get an idea of the feels from the community.
Posted Oct 15, 2019, 10:57 PM UTC
How exactly do you mean to implement 802.3 in terms of factorio? Perhaps it's because it's morning but I can't seem to get my heard around it.
Nothing complicated but personally I use the ip addressing system to simply name my train stops.
Eg.
Iron.1.4.0
Uranium.2.1.0
Iron.1.4.1
Iron.1.4.2
The first "byte" is resource type, second num of locomotives, and third num of non locomotives wagons. The fourth type is for type of station i.e. 0 for unloading and 1 for loading. >1 additionally for different designs and trains that may be incompatible with the first two or if I simply want to create a type c subnet for splitting my trains. This system easily allows identifying and assigning different train designs to my train network.
I mean you implement the MAC protocol over 1 of the lines. So you use a broadcast signal to request a train containing iron then someone sends a acknowledge stating they are sending the train. Since everything on the logic network line is instant you can see if there are collisions and such at the mac layer, thus you should be able to run a simple csma/cd implementation.
Hmm I don't think you have to worry about collisions and I think you can do this over one data wire since it's full duplex. You could send different requests with the different ores and acks with different colored signals or the letters. I think csma would reduce throughout especially with megabases with multiple stations constantly needing to send requests. Or maybe I'm failing to just imagine a way to handle multiple requests with csma
Right but if 2 requests got sent out at the same time they would overlap on the wire and potentially mess up the underlying requests thus I figured collisions would occur.