Accumulator charge graph

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

RobertTerwilliger
Fast Inserter
Fast Inserter
Posts: 196
Joined: Wed Nov 18, 2015 10:12 am
Contact:

Accumulator charge graph

Post by RobertTerwilliger »

Intending additional power storage graph can help a lot in balancing solar-oriented power system. Especially it'll help to say how more consumption can afford your current power supply.

This was suggested by someone else two years ago, but it isn't in game yet. Would be great to have this.
Last edited by RobertTerwilliger on Sat Jan 23, 2016 8:16 pm, edited 1 time in total.
Holding formation further and further,
Millions of lamb stay in embrace of Judas.
They just need some bread and faith in themselves,
BUT
THE TSAR IS GIVEN TO THEM IN EXCHANGE!
Original: 5diez - "Ищу, теряя" (rus, 2013)

User avatar
TuckJohn
Filter Inserter
Filter Inserter
Posts: 335
Joined: Sat Jul 04, 2015 4:11 pm
Contact:

Re: Accumulator capacity graph

Post by TuckJohn »

I would like this, although I dont know how it would be implemented. If you graphed the current capacity next to the production of like, say, your solar panels, the accumulator graph will be so high that it would turn the steam engine line into a squiggle at the bottom.
~1200+ hours clocked in factorio. Avid KSP and Factorio player

ratchetfreak
Filter Inserter
Filter Inserter
Posts: 952
Joined: Sat May 23, 2015 12:10 pm
Contact:

Re: Accumulator capacity graph

Post by ratchetfreak »

TuckJohn wrote:I would like this, although I dont know how it would be implemented. If you graphed the current capacity next to the production of like, say, your solar panels, the accumulator graph will be so high that it would turn the steam engine line into a squiggle at the bottom.
That already happens, if the production of something is insignificant compared to the number of copper wires it's just a squiggle at the bottom of the graph.

That's why we need to be able to filter what gets shown on the graph.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Accumulator capacity graph

Post by ssilk »

Well, in my opinion it should be easy to have a mod (let's implement it first as mod), that shows you, how long (in minutes:secs) your current accumulator capacity will last (for your "nearest" electric network of course). And when this is implemented, also more info about the current electric state.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
TuckJohn
Filter Inserter
Filter Inserter
Posts: 335
Joined: Sat Jul 04, 2015 4:11 pm
Contact:

Re: Accumulator capacity graph

Post by TuckJohn »

ssilk wrote:Well, in my opinion it should be easy to have a mod (let's implement it first as mod), that shows you, how long (in minutes:secs) your current accumulator capacity will last (for your "nearest" electric network of course). And when this is implemented, also more info about the current electric state.
Agreed. here is a formula that the mod could use:

Code: Select all

x=Current Accumulator Capacity
y=Accumulator capacity five seconds ago    //This is not one second because it would cause the time remaining to fluctuate massively as the power needs fluctuates...the five seconds helps to smooth out the fluctuations.

( y - x ) / 5 = Drain per second     //dividing by 5 changes it from drain per 5 seconds to drain per second.

x / ( ( y - x ) / 5 ) = Remaining accumulator time, in seconds.
PS: Something to note is that if the charge of the accumulators hits 0, then the equation will return an error as it will attempt to divide by 0, which is never good. This means that this will have to be inside an if structure that checks to make sure that x and y != 0
~1200+ hours clocked in factorio. Avid KSP and Factorio player

bobucles
Smart Inserter
Smart Inserter
Posts: 1708
Joined: Wed Jun 10, 2015 10:37 pm
Contact:

Re: Accumulator capacity graph

Post by bobucles »

I think it would be most effective to have some type of visual indicator on the accumulator itself. Just like how liquid pipes and tanks show their storage, accumulators should show their energy in a similar manner.

User avatar
TuckJohn
Filter Inserter
Filter Inserter
Posts: 335
Joined: Sat Jul 04, 2015 4:11 pm
Contact:

Re: Accumulator capacity graph

Post by TuckJohn »

bobucles wrote:I think it would be most effective to have some type of visual indicator on the accumulator itself. Just like how liquid pipes and tanks show their storage, accumulators should show their energy in a similar manner.
Like, perhaps a battery graphic on the side of the accumulator? You woul dhave to be careful so that it does not look too redundant in accumulator fields.
~1200+ hours clocked in factorio. Avid KSP and Factorio player

RobertTerwilliger
Fast Inserter
Fast Inserter
Posts: 196
Joined: Wed Nov 18, 2015 10:12 am
Contact:

Re: Accumulator charge graph

Post by RobertTerwilliger »

bobucles wrote:I think it would be most effective to have some type of visual indicator on the accumulator itself. Just like how liquid pipes and tanks show their storage, accumulators should show their energy in a similar manner.
No, I meant monitoring history dynamics. You can tap any powerpole and see accumulator charge even if you're on the other side of your base.
TuckJohn wrote:If you graphed the current capacity next to the production of like, say, your solar panels, the accumulator graph will be so high that it would turn the steam engine line into a squiggle at the bottom.
This issue is already exists in game called "Planetbase" - when you turn on accumulator graph - all other values drop to a line at the very bottom : )
I believe the best way to intend it is to simply overlay it on power producing graph with independent scale, using some other line type - bold or dashed etc. - thus it's dymanics easily compared to power production doesn't make graph too complex (now it's only 3 lines at p.producing graph - steam, solar and acc.discharge - will be 4) and for sure it does NOT need another graph window for a single line.
ssilk wrote:it should be easy to have a mod ... that shows you, how long (in minutes:secs) your current accumulator capacity will last
Nay, it won't say much - then it have to have another timer nearby - how long in minutes for the dawn, or else it is quite useless - I think, I shouldn't explain why : )

Also the main idea of having the power storage graph is monitoring power capacity during past nights, which you have missed because being buisy (in Factorio you should ALWAYS be buisy)
Say your current night is okay, there's 20% charge left - you feel safe, and add new refinery, while missing the fact the night before massive biter wave came and lasers drained charge down to 5%, so next night biters will come and suddenly your lasers and whole factory will shut down.
And my idea is prediction possibility to avoid such situations.

Also it will help a lot new players who will see clearly when they have to add new accumulators.
And, if honestly, experienced players also will feel more comfortable with power ballancing : )
Holding formation further and further,
Millions of lamb stay in embrace of Judas.
They just need some bread and faith in themselves,
BUT
THE TSAR IS GIVEN TO THEM IN EXCHANGE!
Original: 5diez - "Ищу, теряя" (rus, 2013)

nljr
Fast Inserter
Fast Inserter
Posts: 100
Joined: Tue May 30, 2017 2:32 am
Contact:

Re: Accumulator charge graph

Post by nljr »

Has anyone ever tried implementing this using combinators and lamps?

I should say, I'm trying and I can't seem to get my shift register to work. :-(

Post Reply

Return to “Ideas and Suggestions”