Tutorial:Applied power math: Difference between revisions
(Added an extra bonus question that I thought was fun) |
mNo edit summary |
||
(13 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{Languages}} | |||
In this tutorial we'll be answering the question: '''how much coal is needed to power a factory?''' | In this tutorial we'll be answering the question: '''how much coal is needed to power a factory?''' | ||
Line 5: | Line 6: | ||
[[File:power-details.png|800px]] | [[File:power-details.png|800px]] | ||
Here we see one radar using | Here we see one radar using 300 kW. Factorio uses real science here. A Watt (W) is a measure of energy transfer. A kilowatt (kW) is 1000 W, a megawatt (MW) is 1000 kW, and if you're lucky enough to ever make a factory big enough, a gigawatt (GW) is 1000 MW. | ||
So that answers the question of how much power our factory uses. To keep our factory running at full speed we need to maintain 300 kW. For ease of comparison, we'll convert that to 0.3 MW. | So that answers the question of how much power our factory uses. To keep our factory running at full speed we need to maintain 300 kW. For ease of comparison, we'll convert that to 0.3 MW. | ||
Next question! How much power is stored in coal? That's also easy, because it tells us when we hover over it: | Next question! How much power is stored in coal? That's also easy, because it tells us when we hover over it: 4 MJ. | ||
[[File:coal-joules.png|300px]] | [[File:coal-joules.png|300px]] | ||
A Joule is another standard measure of stored energy. As with Watts a kilojoule (kJ) is 1000 J, and so on. There is a fixed relationship between Joules and Watts. '''1 Joule can provide 1 Watt of | A Joule is another standard measure of stored energy. As with Watts a kilojoule (kJ) is 1000 J, and so on. There is a fixed relationship between Joules and Watts. '''1 Joule can provide 1 Watt of power for 1 second.''' As a formula: | ||
J = W × s | J = W × s | ||
Line 21: | Line 22: | ||
== Quiz == | == Quiz == | ||
How long could one piece of coal (4 MJ) run | |||
our single radar (0.3 MW)? | our single radar (0.3 MW)? | ||
Line 27: | Line 28: | ||
'''Expand to reveal answer''' | '''Expand to reveal answer''' | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
4 MJ = 0.3 MW × s | |||
s = | s = 4 MJ ÷ 0.3 MW | ||
s = | s = 13.33 | ||
A bit more than 13 seconds. | |||
</div> | </div> | ||
</div> | </div> | ||
What is the maximum size factory (in watts) | |||
a single piece of coal could run for 5 seconds? | a single piece of coal could run for 5 seconds? | ||
Line 41: | Line 42: | ||
'''Expand to reveal answer''' | '''Expand to reveal answer''' | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
4 MJ = MW × 5 | |||
MW = | MW = 4 MJ ÷ 5 | ||
MW = | MW = 0.8 | ||
0.8 megawatts. | |||
</div> | </div> | ||
</div> | </div> | ||
'''BONUS!''' A ton of real world coal [http://hypertextbook.com/facts/2006/LunChen.shtml | '''BONUS!''' A ton of real world coal [http://hypertextbook.com/facts/2006/LunChen.shtml contains about 21 GJ]. How much does a | ||
piece of Factorio coal weigh? | piece of Factorio coal weigh? | ||
Line 57: | Line 58: | ||
The energy ratios will match the weight ratios, so: | The energy ratios will match the weight ratios, so: | ||
4 MJ / 21000 MJ = weight ÷ 1000 kG | |||
weight = ( | weight = (4 MJ ÷ 21000 MJ) × 1000 kG | ||
weight = 0. | weight = 0.19 kG | ||
About | About 190g! Still doesn't explain how our character can carry so much of it... | ||
</div> | </div> | ||
</div> | </div> | ||
Now we have everything we need to answer our initial question: '''how much coal do we need to power our factory?''' Well, the question actually needs to be a bit | Now we have everything we need to answer our initial question: '''how much coal do we need to power our factory?''' Well, the question actually needs to be a bit | ||
Line 100: | Line 84: | ||
'''Expand to reveal answer''' | '''Expand to reveal answer''' | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Since <code>J = W × s</code>, a 20 MW factory will consume 20 MJ/s | Since <code>J = W × s</code>, a 20 MW factory will consume 20 MJ/s. Since coal contains 4 MJ, we'll need '''5 coal per second''' (<code>5 × 4 MJ = 20 MJ</code>). | ||
</div> | </div> | ||
</div> | </div> | ||
Line 109: | Line 93: | ||
'''Expand to reveal answer''' | '''Expand to reveal answer''' | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Per the linked page, an electric mining drill produces | Per the linked page, an electric mining drill produces 0.5/s, so we'll need '''10 electric mining drills''' (<code>10 × 0.5 = 5</code>). | ||
</div> | </div> | ||
</div> | </div> | ||
'''SECOND BONUS!''' The average American household uses [https://www.eia.gov/tools/faqs/faq.php?id=97&t=3 | '''SECOND BONUS!''' The average American household uses [https://www.eia.gov/tools/faqs/faq.php?id=97&t=3 3.2 GJ in a month] (typically expressed as ''888 kilowatt hours''). How much Factorio coal would be needed to power one of these homes for that period, and how many homes could a steam engine support ([[Steam_engine|900 kW]]), assuming the power is used at a constant rate? (Assume 30 days in a month.) | ||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed"> | ||
Line 120: | Line 104: | ||
3.2 GJ = 3,200 MJ | 3.2 GJ = 3,200 MJ | ||
3200 MJ | 3200 MJ ÷ 4 MJ = 800 | ||
3200 MJ | 3200 MJ ÷ 30 days ÷ 24 hours ÷ 60 minutes ÷ 60 seconds = 1234.5679 W | ||
900,000 ÷ 1234.5679 = 729 | |||
800 pieces of coal per household | 800 pieces of coal per household and a single steam engine could power 729 households exactly. | ||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 21:22, 25 January 2020
In this tutorial we'll be answering the question: how much coal is needed to power a factory?
First off, we need to know: how much power does our factory use? That's easy - you can check the electricity tab by clicking on a power pole.
Here we see one radar using 300 kW. Factorio uses real science here. A Watt (W) is a measure of energy transfer. A kilowatt (kW) is 1000 W, a megawatt (MW) is 1000 kW, and if you're lucky enough to ever make a factory big enough, a gigawatt (GW) is 1000 MW.
So that answers the question of how much power our factory uses. To keep our factory running at full speed we need to maintain 300 kW. For ease of comparison, we'll convert that to 0.3 MW.
Next question! How much power is stored in coal? That's also easy, because it tells us when we hover over it: 4 MJ.
A Joule is another standard measure of stored energy. As with Watts a kilojoule (kJ) is 1000 J, and so on. There is a fixed relationship between Joules and Watts. 1 Joule can provide 1 Watt of power for 1 second. As a formula:
J = W × s
So to run our factory at 0.3 MW, we need to consume 0.3 MJ every second.
Quiz
How long could one piece of coal (4 MJ) run our single radar (0.3 MW)?
Expand to reveal answer
4 MJ = 0.3 MW × s s = 4 MJ ÷ 0.3 MW s = 13.33
A bit more than 13 seconds.
What is the maximum size factory (in watts) a single piece of coal could run for 5 seconds?
Expand to reveal answer
4 MJ = MW × 5 MW = 4 MJ ÷ 5 MW = 0.8
0.8 megawatts.
BONUS! A ton of real world coal contains about 21 GJ. How much does a piece of Factorio coal weigh?
Expand to reveal answer
The energy ratios will match the weight ratios, so:
4 MJ / 21000 MJ = weight ÷ 1000 kG weight = (4 MJ ÷ 21000 MJ) × 1000 kG weight = 0.19 kG
About 190g! Still doesn't explain how our character can carry so much of it...
Now we have everything we need to answer our initial question: how much coal do we need to power our factory? Well, the question actually needs to be a bit
more precise: how much coal do we need per second to power our factory?
Aside: why did the radar run for 20s and not 13.5s (50% of 27s)?
Because it doesn't turn on and off instantly. As you can see in the graph, it ramps up then ramps down. Technically, if you measured the area under the curve it would give you the expected 4 MJ.
Quiz
How much coal per second is needed to power a 20 MW factory?
Expand to reveal answer
Since J = W × s
, a 20 MW factory will consume 20 MJ/s. Since coal contains 4 MJ, we'll need 5 coal per second (5 × 4 MJ = 20 MJ
).
BONUS! How many mining drills are needed to produce that much coal?
Expand to reveal answer
Per the linked page, an electric mining drill produces 0.5/s, so we'll need 10 electric mining drills (10 × 0.5 = 5
).
SECOND BONUS! The average American household uses 3.2 GJ in a month (typically expressed as 888 kilowatt hours). How much Factorio coal would be needed to power one of these homes for that period, and how many homes could a steam engine support (900 kW), assuming the power is used at a constant rate? (Assume 30 days in a month.)
Expand to reveal answer
3.2 GJ = 3,200 MJ 3200 MJ ÷ 4 MJ = 800
3200 MJ ÷ 30 days ÷ 24 hours ÷ 60 minutes ÷ 60 seconds = 1234.5679 W 900,000 ÷ 1234.5679 = 729
800 pieces of coal per household and a single steam engine could power 729 households exactly.