Solar Power Excel sheet

 Burner Inserter
 Posts: 5
 Joined: Fri Mar 27, 2015 5:37 pm
 Contact:
Solar Power Excel sheet
Please read also through https://forums.factorio.com/wiki/inde ... olar_panel  ssilk
Hi all,
There is a lot of discussions & math going on these forums, about solar power & how many accumulators you need. However just the math isn't going to tell you how many solar panels your factory needs. To help myself (& now others) see how many solar panels I need, I made an Excel sheet with some calculations. If you input your factories power requirement & the number of solar panels/accumulators (edit any of the blue fields) it will show you how many you are short (or over) & which power usage you can support with your given solar panels.
Hope this will make it easier for everyone to plan their power needs!
Cheers,
Hi all,
There is a lot of discussions & math going on these forums, about solar power & how many accumulators you need. However just the math isn't going to tell you how many solar panels your factory needs. To help myself (& now others) see how many solar panels I need, I made an Excel sheet with some calculations. If you input your factories power requirement & the number of solar panels/accumulators (edit any of the blue fields) it will show you how many you are short (or over) & which power usage you can support with your given solar panels.
Hope this will make it easier for everyone to plan their power needs!
Cheers,

 Fast Inserter
 Posts: 154
 Joined: Sun Mar 15, 2015 1:48 pm
 Contact:
Re: Solar Power Excel sheet
I tested this with 300kw, but this is not right. It says that I need 8 Solar and 6 Accus, but this is not the real value. I believe the current power comsumption is not included in your calculations.
My calculations were that you need for 15 solar panels 13 (max 24) accus (for 300kw). Then you have a buffer (for laser turrets) and the accu capacity should never falling down to 0.
My calculations were that you need for 15 solar panels 13 (max 24) accus (for 300kw). Then you have a buffer (for laser turrets) and the accu capacity should never falling down to 0.
calc
Check out our hosting service on http://factorio.icraft.de!
For technical reasons, the rest of the signature is on the back of this post.
For technical reasons, the rest of the signature is on the back of this post.

 Global Moderator
 Posts: 4965
 Joined: Fri May 30, 2014 8:54 am
 Contact:
Re: Solar Power Excel sheet
Your formulas don't take into consideration I might have 0 solar panels
By the way, it's hard to check if your formulas are right, too many things are in 'Math' and 'Constants' hidden sheets, with passwords everywhere. All we can do is put values in cells, make the calculations on a paper, and check if we agree on the result.
I'll just redo an Excel sheet for myself, was just too lazy until now.
By the way, it's hard to check if your formulas are right, too many things are in 'Math' and 'Constants' hidden sheets, with passwords everywhere. All we can do is put values in cells, make the calculations on a paper, and check if we agree on the result.
I'll just redo an Excel sheet for myself, was just too lazy until now.
Koub  Please consider English is not my native language.

 Burner Inserter
 Posts: 5
 Joined: Fri Mar 27, 2015 5:37 pm
 Contact:
Re: Solar Power Excel sheet
You are not taking into account that your with more than 5 solar panels you are still making more power after dusk starts.Natha wrote:I tested this with 300kw, but this is not right. It says that I need 8 Solar and 6 Accus, but this is not the real value. I believe the current power comsumption is not included in your calculations.
My calculations were that you need for 15 solar panels 13 (max 24) accus (for 300kw). Then you have a buffer (for laser turrets) and the accu capacity should never falling down to 0.
calc
For the day, I agree, 5 solar panels. For night (without dusk) you need 12.5 MJ of power (=2.5 accus).
For dusk & dawn the math should take into account that with more than 5 panels you are still charging for some part of the dusk & dawn. In case of 8 solar panels you are still charging your accus for 1875 ticks of the 5000 ticks that a dawn (or dusk) lasts. Only for the 1876th tick and onwards you actually need an accumulator.
more math
Panel math
You are right, I didn't consider the fact that there might be 0 solar panels. Chances are however you have some lying around .Koub wrote:Your formulas don't take into consideration I might have 0 solar panels
By the way, it's hard to check if your formulas are right, too many things are in 'Math' and 'Constants' hidden sheets, with passwords everywhere. All we can do is put values in cells, make the calculations on a paper, and check if we agree on the result.
I'll just redo an Excel sheet for myself, was just too lazy until now.
If you want to unlock anything to verify, I forgot to mention the password:
Factorio!

 Fast Inserter
 Posts: 154
 Joined: Sun Mar 15, 2015 1:48 pm
 Contact:
Re: Solar Power Excel sheet
i think you cant construct the best proportions of solar panels and accus without buffer. Either the solar panels produce at day too much energy or you have too much accu capacity...
and its very difficult to calculate the production that each second the avaiable performance of each solar panel will be used. That comes from the inappropriate values of daynighttime and performances of solar panels and accus. But i think it is not bad if at the end of day and in dusk/dawn some avaiable performance of solar panels or rather at the and of night some remained energy in accus will not be used respectively is lost.
and i think there are differents between our calculations because yoou calculate with the needed energy of completely day (inc. night, dawn and dusk), so there are excess and shortage, and i calculate with the each second needed performance.
and its very difficult to calculate the production that each second the avaiable performance of each solar panel will be used. That comes from the inappropriate values of daynighttime and performances of solar panels and accus. But i think it is not bad if at the end of day and in dusk/dawn some avaiable performance of solar panels or rather at the and of night some remained energy in accus will not be used respectively is lost.
and i think there are differents between our calculations because yoou calculate with the needed energy of completely day (inc. night, dawn and dusk), so there are excess and shortage, and i calculate with the each second needed performance.
Check out our hosting service on http://factorio.icraft.de!
For technical reasons, the rest of the signature is on the back of this post.
For technical reasons, the rest of the signature is on the back of this post.

 Burner Inserter
 Posts: 5
 Joined: Fri Mar 27, 2015 5:37 pm
 Contact:
Re: Solar Power Excel sheet
If you have stable power requirements and meet the mimimum calculated, you will have (near) dry accus after solar panels pick up again and at the start of night, the accus are just full. I've seen this myself ingame.
The biggest problem is that power requirements aren't stable over time and could vary greatly, depending on production. However any model that only calculates mimimums will have this problem, hence it's mimimum. What the model does tell you is that if you have less than the mimimum, you will run out of power at night for sure. I've also seen this ingame (both too little solar panels, or to little accus).
It should be possible to model power consumption, production & accu levels in a graph (per second, or per tick), from the figures in my model.
The biggest problem is that power requirements aren't stable over time and could vary greatly, depending on production. However any model that only calculates mimimums will have this problem, hence it's mimimum. What the model does tell you is that if you have less than the mimimum, you will run out of power at night for sure. I've also seen this ingame (both too little solar panels, or to little accus).
It should be possible to model power consumption, production & accu levels in a graph (per second, or per tick), from the figures in my model.
 Khyron
 Fast Inserter
 Posts: 178
 Joined: Fri May 30, 2014 5:47 pm
 Contact:
Re: Solar Power Excel sheet
For each megawatt of power you need, build 23.8 solar panels and 20 accumulators.
If you're curious on the math, view the thread where we worked it out.
If you're curious on the math, view the thread where we worked it out.

 Fast Inserter
 Posts: 154
 Joined: Sun Mar 15, 2015 1:48 pm
 Contact:
Re: Solar Power Excel sheet
it should be clear that there can be multiple approaches.
my other calculation (the night includes dusk and dawn again, because its too difficult calculate with the linear decrease):
1 solar panel procudes with a performance of 60kW, so 30kW are used for consumption at day and the other 30kW are used to store the energy for night.
I also assume from a needed performance of 300kW.
So if you have 10 solar panels, 300kW are used to provide energy at day and 300kW to store the energy.
1 accu (dis)charges completely in 16,66667s with 300kW. So 10 solar panel can charge at day (208s) 12,48 accus.
You need at night 62,4MJ energy, and exactly this amount provide 12,48 accus.
=> 10 solar panel + 13 accus for each 300kW (each 600kW 12 accus).
my other calculation (the night includes dusk and dawn again, because its too difficult calculate with the linear decrease):
1 solar panel procudes with a performance of 60kW, so 30kW are used for consumption at day and the other 30kW are used to store the energy for night.
I also assume from a needed performance of 300kW.
So if you have 10 solar panels, 300kW are used to provide energy at day and 300kW to store the energy.
1 accu (dis)charges completely in 16,66667s with 300kW. So 10 solar panel can charge at day (208s) 12,48 accus.
You need at night 62,4MJ energy, and exactly this amount provide 12,48 accus.
=> 10 solar panel + 13 accus for each 300kW (each 600kW 12 accus).
Check out our hosting service on http://factorio.icraft.de!
For technical reasons, the rest of the signature is on the back of this post.
For technical reasons, the rest of the signature is on the back of this post.
 MeduSalem
 Smart Inserter
 Posts: 1349
 Joined: Sun Jun 08, 2014 8:13 pm
 Contact:
Re: Solar Power Excel sheet
Hypothetically the 23.8 panels/20 accumulators for 1 MW would be perfect. The ratio is known for a very long time now and the discussion could stop right there as the solution has been found a year ago.
But realistically it never really works out that way. Just never. At least not without peaceful mode.
The problem is that we have to defend our bases. Most commonly that is done by laser turrets... and that's when stuff just gets way too complicated to be pinpointed around a golden ratio.
If you design the solarfarm to match your average consumption you will pretty much end up powerless during heavy attacks no matter if your setup matches the perfect ratio. And if you put more panels/accumulators than you need to cover the attacks then the ratio doesn't really matter anymore since the perfect ratio only kicks in during the consumption spikes when the turrets get ready for a heavy attack. The rest of the time you have either too many solar panels or too many accumulators depending on your perspective and realistically you have too many of both but you need them because otherwise you are doomed when you run out of power before sunrise.
So no matter which way you go about the problem, the perfect ratio is an illusion and not worth to be executed in most games other than in peaceful mode ones when biters never attack.
That's why I stopped bothering with Solar Farms a long time ago, wasting too much space and no amount of math will prevent you from the eventuality of a blackout, especially if you drive them at the edge where the ratio would actually matter.
But realistically it never really works out that way. Just never. At least not without peaceful mode.
The problem is that we have to defend our bases. Most commonly that is done by laser turrets... and that's when stuff just gets way too complicated to be pinpointed around a golden ratio.
If you design the solarfarm to match your average consumption you will pretty much end up powerless during heavy attacks no matter if your setup matches the perfect ratio. And if you put more panels/accumulators than you need to cover the attacks then the ratio doesn't really matter anymore since the perfect ratio only kicks in during the consumption spikes when the turrets get ready for a heavy attack. The rest of the time you have either too many solar panels or too many accumulators depending on your perspective and realistically you have too many of both but you need them because otherwise you are doomed when you run out of power before sunrise.
So no matter which way you go about the problem, the perfect ratio is an illusion and not worth to be executed in most games other than in peaceful mode ones when biters never attack.
That's why I stopped bothering with Solar Farms a long time ago, wasting too much space and no amount of math will prevent you from the eventuality of a blackout, especially if you drive them at the edge where the ratio would actually matter.
Who is online
Users browsing this forum: No registered users