Borimor Posted July 8, 2019 Share Posted July 8, 2019 (Google Translate) Hello everyone, how are you? . I am happy to show you (if you are interested) the generator automation system. I finally managed to make logical doors understand the capacity of the tanks to allow me to manage 3 different generators. Having 3 priority the system operates in a hierarchical manner. In my screenshot, hydrogen is the first priority, oil second and coal rescued (I can also post a video if you want or go see it https://www.youtube.com/watch?v=LLmFef0pwhQ or https://steamcommunity.com/sharedfiles/filedetails/?id=1793133054). You notice the addition of lamps to let me know who is working or who is being recharged. Hoping that you like it I wish you a good day / evening. Surely there are things to improve, I do not think I created the best system, but for now it is the only one that exists ... If people want to improve I am even willing to share the backup of my game test. Automation Overlay (trying to improve the system (after the video) i made a mistake, sorry.) Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/ Share on other sites More sharing options...
Borimor Posted July 9, 2019 Author Share Posted July 9, 2019 For all those who will try to reproduce the schema I made a mistake, sorry. Here is the error. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222294 Share on other sites More sharing options...
Denisetwin Posted July 9, 2019 Share Posted July 9, 2019 Wow, that's an incredibly complex design, kudos to you for working that all out. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222320 Share on other sites More sharing options...
BruceZhao Posted July 9, 2019 Share Posted July 9, 2019 I don't really understand what it is for. Do you want to make a energy rating, like use H2 first, oil second, wood third? If so, why don't you use transformers? It's much easier than what you just build. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222332 Share on other sites More sharing options...
Yunru Posted July 9, 2019 Share Posted July 9, 2019 What is it accomplishing? Is it turning on different generators based on fuel levels? Are you trying to keep fuel in reserve too? Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222334 Share on other sites More sharing options...
Saturnus Posted July 9, 2019 Share Posted July 9, 2019 I think the main flaw of the build is it has the wrong basic input. The basic input should be the smart battery output. That tells you if you need to generate power or not. Then you can have as many tiered power producers as you like. These all ask the basic questions; is there a need for power? Do I have reserve fuel to use? And is there any other power producer of higher tier already producing power? If you use that logic you can vastly simplify the build. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222337 Share on other sites More sharing options...
KittenIsAGeek Posted July 9, 2019 Share Posted July 9, 2019 @SaturnusI see in his screenshot that he does have smart batteries that are helping to run the logic of the system. It appears that @Borimor is prioritizing power generation based on both a fuel and a reserve priority, which is an interesting idea. In the past, I built a system that prioritized which fuel was used simply by changing the smart battery's sliders for each generator. However, this meant that my high priority fuel was always used until it was gone. If I'm following his schematic right, his design will switch from petrol to NG if the NG tanks fill completely full and will continue to run that way until there's more petrol in reserve than NG. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222376 Share on other sites More sharing options...
Saturnus Posted July 9, 2019 Share Posted July 9, 2019 8 minutes ago, KittenIsAGeek said: @SaturnusI see in his screenshot that he does have smart batteries that are helping to run the logic of the system. Well. Yes and no. The smart batteries' output is conditioned that the battery bank of jumbo batteries is also empty. A battery bank defeats the purpose of having smart batteries. On top of that the logic is very cumbersome and slow which means you need several smart batteries just to have sufficient buffer until any of the generators actually start. It's really a demonstration of redundant logic that could be made much simpler and much more effective. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222381 Share on other sites More sharing options...
Risu Posted July 9, 2019 Share Posted July 9, 2019 Plus you can detect when a tank is full by having a sensor on an overflow branch at the input of tank. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222386 Share on other sites More sharing options...
Yoma_Nosme Posted July 9, 2019 Share Posted July 9, 2019 3 minutes ago, Risu said: Plus you can detect when a tank is full by having a sensor on an overflow branch at the input of tank. Why an overflow branch? Just hydro sensor (set to above 500kg for exaple), at the top tile row of the tank should suffice... Edit. Ooh....you mean an overflow pipe branch, don't you? Haha thought you branch off the tank Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222388 Share on other sites More sharing options...
Risu Posted July 9, 2019 Share Posted July 9, 2019 2 minutes ago, Yoma_Nosme said: Why an overflow branch? Just hydro sensor (set to above 500kg for exaple), at the top tile row of the tank should suffice... Wrong kind of tank. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222392 Share on other sites More sharing options...
Yoma_Nosme Posted July 9, 2019 Share Posted July 9, 2019 1 minute ago, Risu said: Wrong kind of tank. Yes! Sorry I misunderstood! Overflow pipe branch with a tank building. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222394 Share on other sites More sharing options...
Borimor Posted July 10, 2019 Author Share Posted July 10, 2019 23 hours ago, Denisetwin said: Wow, that's an incredibly complex design, kudos to you for working that all out. Thank you :D 23 hours ago, BruceZhao said: I don't really understand what it is for. Do you want to make a energy rating, like use H2 first, oil second, wood third? If so, why don't you use transformers? It's much easier than what you just build. What is this system for? No longer having to worry about which generator to turn on. Do I have enough hyrdogen, oil? What resource can I consume? I do not want to have thousands of tanks of every resource, you have to use them, they are there for that. It must of course be possible to produce them or find them easily. That's why I had to create priorities. And people who want to try this system choose themselves which resource to put in first, second and third priority. In real life if the power distributor has a problem and a district is no longer powered some building have diesel backup group to maintain a safe power supply. That's what I wanted to do too. And I do not know the trick of the transformers, I know how to connect them with the logic but who does it with them ?? 23 hours ago, Yunru said: What is it accomplishing? Is it turning on different generators based on fuel levels? Are you trying to keep fuel in reserve too? Yes, you understood ^^ 22 hours ago, Saturnus said: I think the main flaw of the build is it has the wrong basic input. The basic input should be the smart battery output. That tells you if you need to generate power or not. Then you can have as many tiered power producers as you like. These all ask the basic questions; is there a need for power? Do I have reserve fuel to use? And is there any other power producer of higher tier already producing power? If you use that logic you can vastly simplify the build. But the basic input is the output of the battery ... I also try a charging system different from that known for jumbo batteries ... it's why the AND door is here (the first one after intelligent batteries). And yes, very good reflections that you have there. I based my programming on this people's questions. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222944 Share on other sites More sharing options...
Borimor Posted July 10, 2019 Author Share Posted July 10, 2019 22 hours ago, KittenIsAGeek said: @SaturnusI see in his screenshot that he does have smart batteries that are helping to run the logic of the system. It appears that @Borimor is prioritizing power generation based on both a fuel and a reserve priority, which is an interesting idea. In the past, I built a system that prioritized which fuel was used simply by changing the smart battery's sliders for each generator. However, this meant that my high priority fuel was always used until it was gone. If I'm following his schematic right, his design will switch from petrol to NG if the NG tanks fill completely full and will continue to run that way until there's more petrol in reserve than NG. You understand everything, my dear. THANK YOU There is, however, possible improvement. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222958 Share on other sites More sharing options...
Yunru Posted July 10, 2019 Share Posted July 10, 2019 For reserving fluid, this setup sends a signal only when the first tank has fluid in it, keeping the second (mostly) full: Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222970 Share on other sites More sharing options...
Borimor Posted July 10, 2019 Author Share Posted July 10, 2019 22 hours ago, Saturnus said: Well. Yes and no. The smart batteries' output is conditioned that the battery bank of jumbo batteries is also empty. A battery bank defeats the purpose of having smart batteries. On top of that the logic is very cumbersome and slow which means you need several smart batteries just to have sufficient buffer until any of the generators actually start. It's really a demonstration of redundant logic that could be made much simpler and much more effective. Oh yes, more compact. And with all the electricity it takes to manage this system it takes batteris to be sure it does not fail (that's why I added manual start xD ) And of course it's an example of a logic circuit, I did not calculate anything about electric power. The goal of going against smart batteries is that the jumbo will only be discharged if there is no current demand (no? and suddenly I feel that I made a big mistake ^^' ) unlike the intelligent that discharges over time. Just now, Yunru said: For reserving fluid, this setup sends a signal only when the first tank has fluid in it, keeping the second (mostly) full: Ok, cool. Good to know. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222972 Share on other sites More sharing options...
Yunru Posted July 10, 2019 Share Posted July 10, 2019 8 minutes ago, Borimor said: Ok, cool. Good to know. Actually I messed it up, revised version incoming. What happens here is once a tank is full, it'll send fluid to the bridge, triggering the element sensor. If the sensor is on, the tank is full. So in this setup, once both tanks are full the memory cell turns on. Then once there is space in second tank (meaning the first must be empty), it turns off again. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222973 Share on other sites More sharing options...
Borimor Posted July 10, 2019 Author Share Posted July 10, 2019 22 hours ago, Risu said: Plus you can detect when a tank is full by having a sensor on an overflow branch at the input of tank. I think I did that ... no? :S Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222980 Share on other sites More sharing options...
Yunru Posted July 10, 2019 Share Posted July 10, 2019 All in all I think you can get it down to six gates. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222984 Share on other sites More sharing options...
Borimor Posted July 10, 2019 Author Share Posted July 10, 2019 2 minutes ago, Yunru said: All in all I think you can get it down to six gates. I thought to modify the maximum and minimum levels to begin but your way of doing things can make me remove valves, which also cost resources. What door can I remove? six is good. Do you want a blank screen shot to make marks on it? Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222991 Share on other sites More sharing options...
Yunru Posted July 10, 2019 Share Posted July 10, 2019 It should be easy enough to explain: Each fuel storage has a memory cell like above (the coal one is automated via smart storage compactors), which then feed into an AND gate. The other input to the AND gate comes from a smart battery. You can set generator priority by when the smart battery turns on. Whoever has the highest threshold for turning on has the highest priority. The AND gate of course feeds into it's respective generator. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1222998 Share on other sites More sharing options...
Borimor Posted July 10, 2019 Author Share Posted July 10, 2019 11 minutes ago, Yunru said: It should be easy enough to explain: Each fuel storage has a memory cell like above (the coal one is automated via smart storage compactors), which then feed into an AND gate. The other input to the AND gate comes from a smart battery. You can set generator priority by when the smart battery turns on. Whoever has the highest threshold for turning on has the highest priority. The AND gate of course feeds into it's respective generator. Yes, thank you for opening my eyes. As I thought, a person on a project is good, but many is better. thank you Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1223007 Share on other sites More sharing options...
Yunru Posted July 11, 2019 Share Posted July 11, 2019 On 10/07/2019 at 3:11 PM, Yunru said: Actually I messed it up, revised version incoming. What happens here is once a tank is full, it'll send fluid to the bridge, triggering the element sensor. If the sensor is on, the tank is full. So in this setup, once both tanks are full the memory cell turns on. Then once there is space in second tank (meaning the first must be empty), it turns off again. I'm still dumb. The right sensor needs to connect to a NOT gate first, then the reset port of the memory cell. Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1223837 Share on other sites More sharing options...
Junksteel Posted July 11, 2019 Share Posted July 11, 2019 Beautiful automation hieroglyphs. I have no idea what all that mean but I like looking at it. Well done! Link to comment https://forums.kleientertainment.com/forums/topic/108580-auto-switch-generators-system/#findComment-1223843 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.