Jump to content

Auto Switch generators System


Recommended Posts

(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.

20190708130526_1.jpg

Automation Overlay (trying to improve the system (after the video) i made a mistake, sorry.)

5d25e41715038_ExplicationsPorteslogiques.thumb.jpg.61adf53b1b17c64c292d9e5ec2fd89f8.jpg

Explications Portes logiques.jpg

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.

@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.

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.

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

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.
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.
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:

image.thumb.png.8711e3a6f8886e8f0c4d3f5b4bac5c33.png

image.thumb.png.a6a5b97c13664d40470e68c19170f7a8.png

image.thumb.png.fc6af3a24233a8f703bb072801bf75ca.png

Ok, cool. Good to know.

8 minutes ago, Borimor said:

Ok, cool. Good to know.

Actually I messed it up, revised version incoming.

image.thumb.png.7e2e6bc932abed57e663c79b3d26e269.png

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.

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?

 


 

 

 
 
 
 

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.

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

On 10/07/2019 at 3:11 PM, Yunru said:

Actually I messed it up, revised version incoming.

image.thumb.png.7e2e6bc932abed57e663c79b3d26e269.png

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.

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.

×
  • Create New...