Sunday, July 17, 2016

The Energy Trap

In this post I will address the issue called the "Energy Trap", which was explained well by Tom Murphy on his excellent blog post and re-iterated by oatleg in the comments to my prior post. Basically, the "energy trap" is a scenario where fossil fuels peak and start to decline, and we must start investing energy in building renewables in order to replace fossil fuels. But there is a problem, as follows: renewables require a large up-front investment of energy, but pay back that energy only gradually over many years. As a result, when fossil fuels start to decline, we must make large up-front investments in renewable power precisely when energy for investment is in short supply, leading to a temporary "energy deficit". For a fuller description of this phenomenon, I highly recommend reading Tom Murphy's blog post entitled The Energy Trap.

I decided to model this phenomenon of the "energy trap" by using a small computer program, which I wrote in python. Any reader can download the python interpreter for free and run the simulation on his computer (the source code is posted in the comments below).

For the simulation, I made the following assumptions:
  1. Civilization gets all of its energy as electricity, generated from burning fossil fuels
  2. All fossil fuels peak on the same day and decline immediately according to the right-hand side of a Gaussian curve
  3. Fossil fuels start declining immediately without warning, and without any kind of production plateau
  4. The Gaussian decline curve has a standard deviation of 30 years which is a very rapid decline. As a result, there is a 50% decline in all fossil fuel production in only 34 years.
  5. There are no "unconventional" fossil fuels which will allow us to delay the decline or extend the decline curve
  6. No preparation has been made. The investment in renewables beforehand was zero.
  7. Investors and decision-makers do not begin investing in renewables until 7 years after the declines in fossil fuel production have begun, because it takes time to realize what is happening and ramp up PV production.
  8. Investors use a very naive formula for determining how much PV to build. Once they realize what is happening, they start investing about 5% of electricity production per year to building renewables, later increasing the investment to 1/ERoEI.
Please note that these assumptions are all incredibly pessimistic. These were by far the most pessimistic assumptions which I could imagine but which were still at least somewhat plausible.

If I run my simulation with those parameters, what results do I get? Here are the results in tabular format:
yeargross_ffgross_pvgross_totalnet_totalinvest_pvinvest_fffraction_original_net
01.00000.00001.00000.90000.00000.10001.0000
20.99780.00000.99780.89780.00000.10000.9975
40.99120.00000.99120.89120.00000.10000.9902
60.98020.00000.98020.88020.00000.10000.9780
80.96510.01670.98170.84490.05000.08690.9388
100.94600.05000.99600.86080.05000.08510.9565
120.92310.08331.00640.87340.05000.08310.9704
140.89680.11671.01350.88280.05000.08070.9809
160.86740.15001.01740.88940.05000.07810.9882
180.83530.18331.01860.89340.05000.07520.9927
200.80070.21671.01740.89530.05000.07210.9948
220.76420.25001.01420.89540.05000.06880.9949
240.72610.28331.00950.89410.05000.06540.9935
260.68690.31671.00360.89180.05000.06180.9908
280.64690.35000.99690.88870.05000.05820.9874
300.60650.40001.00650.85190.10000.05460.9466
320.56620.46671.03280.88190.10000.05100.9799
340.52610.53331.05950.91210.10000.04741.0134
360.48680.60001.08680.94290.10000.04381.0477
380.44830.65001.09830.95800.10000.04031.0644
(Note: All values are fractions of the original gross amount of energy from fossil fuels; so an invest_pv column of 0.05 means that 5% of the original gross amount of energy is invested in PV panels)

As we can see, there is an "energy deficit" starting on year 8, because of the energy trap. At that point, civilization is only consuming 93.88% as much electricity as it used to. The reason is because year 8 is when investors have realized that fossil fuels are on a permanent decline, and start "investing" only 5% of yearly electricity in building solar panels. However, the 5% investment is all up front, with little payout this year, leading to an energy deficit of 5% this year plus a few more percent for the amount that fossil fuels had declined thus far. The energy deficit is brief, and civilization is back up to 97% consumption in 4 years.

Which raises the question: what will we actually do? Will we decide to forgo 5% of our electricity consumption now, as I assume above, in order to avert the gradual collapse of civilization over the next few decades? Or will we take the short-term view, and decide to "eat our seed corn" (so to speak) and cannibalize our energy infrastructure, leading to a small increase in our energy consumption now but the destruction of our civilization later?

Tom Murphy has this to say about it:

"Politically, the Energy Trap is a killer. In my lifetime, I have not witnessed in our political system the adult behavior that would be needed to buckle down for a long-term goal involving short-term sacrifice."

I disagree with that remark. These decisions are not made by our political system, but by investors in energy markets. Those investors routinely make short term sacrifices for larger payouts later. That is what investment means. For example, investors routinely carry out long-term planning and buy capital equipment (such as power plants) which will pay out over 30 years, but which require an up-front investment now. That is why we have power plants. Investors could always eat their seed corn and spend the money now rather than investing in the future. In general, they don't do that.

When fossil fuels start declining, the price of energy will skyrocket. Even a modest decline of a few percent of energy, could lead to a tripling of prices or more. At that point, the financial return of investing in renewables would be enormous and nearly certain. Any investment in renewables would promise vast payouts down the line, far higher than are obtained by any other investments. As a result, investors will transfer money from other investments in to this one. Investors are capable of outbidding consumers for that 5% of yearly electricity which is necessary to invest for the transition.

The energy trap is actually a fairly mild problem. Even using the incredibly pessimistic assumptions I outlined above, we will never face more than a 6.12% deficit of energy. The deficit starts decreasing right away and almost vanishes within 9 years after it begun. The energy trap is easy to overcome, with only modest and temporary sacrifices.

Furthermore, the deficit of 6.12% is almost certainly higher than what we will face in reality. We have begun transitioning to renewables decades before fossil fuels have begun declining. Furthermore, we get a large fraction of our energy now from sources other than fossil fuels (like nuclear and hydro-electric). What's more, the decline in fossil fuel production will be far more gradual than I modeled above. Also, there will be a production plateau lasting decades before fossil fuels start declining. Furthermore, investors will use a more sophisticated algorithm when determining how much PV to build, rather than just suddenly increasing PV investment from 0% to 5% (as I modeled above) which briefly worsens the energy deficit. When I run my model with more realistic assumptions that aren't so incredibly pessimistic, I find an energy deficit of less than 0.4% at its worst point.

In conclusion, the energy trap is easy to overcome with only modest adjustments. It requires modest planning--the kind which investment markets routinely carry out. As a result, the energy trap will be a minor problem which will impose only temporary and insignificant reductions in energy, in my opinion. It is also possible that civilization will transition to renewables before we reach peak fossil fuels, in which case the energy deficit will be zero.

(NOTE: The python source code is posted in the comments below)
(NOTE: I made minor changes to the wording of this article two days after initial publication. The values from the table have not changed.)

8 comments:

  1. Sorry. I don't understand well your tables.
    Are you proposing a fixed percentage investment over GDP?

    One of the problems of the PV expansion is that takes time. The infrastructure (factories) grows exponentialy, but at manageable percentage.

    For example, taking the BP data (see my old discussion in the other post) now renewable is growing at 15%, while PV is growing at 32%.

    Perhaps renewable could grow slightly faster, but it's not realistic to expect over 50% growth at worldwide scale when the numbers are not very small.

    So the PV deployment speed is mainly driven by inteslf, not GDP.
    Perhaps, only, if this energy trap reach the numbers of PV growth, then they could limit the PV expansion.

    More things. Although I think that the Hubbert curve of your assumption is realistic, it would be interesting to try a pessimistic one to check the results in a "very bad, near worst scenario", like a Seneca cliff. The Seneca cliff is becoming popular on peak oil movement (you know... always expecting the worst), but there is reasons to admit as a valid scenario altough not the most probable.

    Last, I didn't find the Phyton code. Do you linked it?

    ReplyDelete
    Replies
    1. Hi Oatleg,

      "One of the problems of the PV expansion is that takes time. The infrastructure (factories) grows exponentialy, but at manageable percentage."

      I include a 7-year delay in the simulation for the amount of time necessary to realize FF production has peaked and to ramp up PV factories. This number is adjustable.

      "it would be interesting to try a pessimistic one to check the results in a "very bad, near worst scenario", like a Seneca cliff. The Seneca cliff is becoming popular on peak oil movement"

      I am already making extremely pessimistic assumptions for rates of decline. Using the assumptions I've made, all fossil fuels decline by half in 34 years. That decline is at least twice as fast as any that would actually occur.

      I just don't see any reason at all why FF production would follow a Seneca cliff. Statistically, it just doesn't make any sense. Presumably, the reason FF production follows a bell curve is because discoveries are normally distributed. As a result, there is just no chance that all fossil fuel production from all wells (gas and oil) in all fields would be synchronized, and all drop off a cliff at the same time. That is like flipping coins and getting heads a million times in a row. The chances of that are so close to being zero that I don't think it's a serious possibility.

      Delete
    2. Hi oatleg,

      "Sorry. I don't understand well your tables. Are you proposing a fixed percentage investment over GDP?"

      No. The numbers are fractions of 1, where 1 is the original gross energy available. So a value of 0.05 for "invest_pv" means that 5% of initial energy is invested in building PV panels that year.

      Delete
  2. Hi Tom,

    I would be interested to see the source code of your program, but a few thoughts spring to mind:

    Your table shows (I think) that a 0.05 energy investment in PV would yield an immediate 0.0167 return in energy each year. That doesn’t seem right to me, given that most of the energy for PV is invested up-front. If we accept an EROEI of 5 for PV (some will think this harsh, some generous), then we can expect that a 0.05 energy investment to pay off as 0.25 units of energy over the lifetime (25 years [1]) of the system. This would imply 0.01 annual energy units per year return on the 0.05 annual energy unit investment. This is also an overestimate of the energy return, because such a huge increase in renewables production would also require a commensurate increase in manufacturing capacity — we would not just be building more PV panels and turbines, but more factories, supply chains, mining equipment, etc — all of which would be an up-front energy cost.

    That’s the most glaring technical problem I can see, the other problems are of a systems nature. You assume that you can change fuel availability in such a significant way, but that nothing else will change — this is an error.

    The first problem I can see, is that the reduction in availability would be mostly borne by the developed world. What might be a 6% global energy deficit, would be more like 15% in the developed world (which uses about 40% of global energy). This is because developing countries derive more value from their (much smaller) energy spending, and hence can out-bid developed countries for the limited supplies that were available (this process is already underway: the energy consumption of the developed world is decreasing).
    Clearly, the developed world would not tolerate a 15% reduction in its liquid fuel supply, so we would likely see a marked increase in conflict. This would lead to a reduction in global trade, and reduced investment, which would negatively affect the roll-out of renewable energy.

    This is a thought-experiment only, not a prediction. I’m just thinking about how global systems might react to a decrease in energy supply of “only” 6%. The point is to illustrate that it is not reasonable to expect no flow-on effects of sharply decreasing energy supplies.

    Cheers, Angus

    [1] I realise that a solar PV system will still work after 25 years, but this is typically the lifetime that is assumed when working out the stats

    ReplyDelete
  3. Hi Angus,

    "That doesn’t seem right to me, given that most of the energy for PV is invested up-front. If we accept an EROEI of 5 for PV ... then we can expect that a 0.05 energy investment to pay off as 0.25 units of energy over the lifetime (25 years [1]) of the system. This would imply 0.01 annual energy units per year return..."

    I assume an ERoEI of 10 and a lifetime of 30 years. The formula (0.05*10)/30 = 0.0167

    I assume that PV has an ERoEI of 10. That is well below what is indicated in the most recent studies published. It is also below the studies cited by the National Renewable Energy Labratory: http://www.nrel.gov/docs/fy04osti/35489.pdf
    Those studies are more than 15 years old and so are almost certainly an underestimate of PV ERoEI, since ERoEI has been improving.

    I do not wish to cherry-pick the few EROI studies produced by what appears to be a doomsday group. There are only two recent studies showing PV with an ERoEI lower than 5, but those are extreme outliers and have serious problems. I'm using a figure which is representative of the results that researchers generally obtain.

    "we would not just be building more PV panels and turbines, but more factories, supply chains, mining equipment, etc — all of which would be an up-front energy cost."

    Most ERoEI studies include energy costs of mining, installation, and so on. Perhaps they don't include the energy cost of building the mining equipment and factories. However, if fossil fuels peaked and we started transitioning to renewables, we could STOP investing so much energy in new gas pipelines, new coal rail lines, new factories for turbines, and so on. These are upfront costs for ALL sources of energy.

    It's not possible to find reliable information on this, because nobody does ERoEI studies which are so detailed that they include the energy cost of building mining equipment or trains. However, with both fossil fuels and PV, things like that are an upfront investment in both cases, and there is no a priori reason to assume that PV requires more transportation or mining equipment than coal (perhaps less, since PV panels are transported only once during their lifetime).

    "You assume that you can change fuel availability in such a significant way, but that nothing else will change — this is an error. "

    I do not assume that. There would be all kinds of changes in the economy right away. The economy would sacrifice the LEAST important uses of energy first. It would suddenly become expensive to blast your air conditioner all day long.

    However, that's just beside the point. It is not relevant to the "energy trap".

    "The first problem I can see, is that the reduction in availability would be mostly borne by the developed world. What might be a 6% global energy deficit, would be more like 15% in the developed world (which uses about 40% of global energy). "

    If you exclude oil, the vast majority of energy worldwide is from domestic sources. The United States gets almost all its coal and gas from its own territory, and so does China, India, and most other places.

    When talking about the energy trap, we are dealing with the energy used to BUILD renewables. That energy is overwhelmingly thermal energy and electricity which would come from coal and gas at the beginning, not from oil.

    ...Obviously, we could envision all kinds of political possibilities here. Perhaps that decline of 6% for one year would cause President Trump to go crazy and nuke somebody. Maybe there would be panic, chaos. I have no way of predicting those things. However, it is a separate issue from the energy trap. The trap itself is overcome easily enough by basic, automatic market mechanisms.

    ReplyDelete
    Replies
    1. > I assume that PV has an ERoEI of 10.

      ...Overbuilt to keep production constant year-round, and with 7 days of battery back-up?

      Delete
    2. "...Overbuilt to keep production constant year-round, and with 7 days of battery back-up?"

      No. In an energy trap, I think we would use fossil fuel plants in a load following manner. Even coal plants can be used in that way, to some extent. I don't think there would be any overbuilding or battery back-up until renewable penetration reached a certain level (perhaps 20%), at which point we'd already be well out of the energy trap.

      Delete
  4. Here is the python source code.

    (NOTE: I replaced tabs with dollar signs, which you can revert by typing "cat yourFileName.py|tr '$' '\t > yourNewFileName.py'" on a Mac command line, or you can do it manually in a text editor. I had to replace tabs with dollar signs because white space is important in python but there is no way to include tabs in a blogger comment. You can run the source code by installing python and typing 'python yourFileName.py' at a command prompt).

    The code is as follows:

    # This is free and unencumbered software released into the public domain.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    # IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
    # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
    # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    # OTHER DEALINGS IN THE SOFTWARE.

    import math

    #
    # You can change these parameters
    #
    eroei_pv = 10.0
    eroei_ff = 15.0
    run_years = 30

    # Number of years before a PV plant expires
    pv_lifetime = 30

    # The standard deviation of the Gaussian decline curve
    std_dev = 30

    # The fraction of FF energy investment which is a recurring cost instead of an
    # upfront cost for building FF power plants. Even fossil fuel plants require
    # SOME upfront cost, which will cease when FF start declining
    fraction_ff_invest_operating = 0.9

    # How many rows to print; one every n years
    print_every_n_year=1

    # How many years before decision-makers discover that FF are on a permanent
    # decline so don't invest in new FF plants and start investing in PV
    figure_out_year=7




    #
    # Do not change these
    #
    orig_net_ff = 1.0 - (1.0/eroei_ff)
    invest_pv = 0.0 # initial PV investment is 0
    gross_ff = 1.0 # initial FF amount extracted is 1
    gross_total = 1.0
    old_pv_investments=[] # This is used to keep track of and remove PV panels which have expired due to age


    def gaussian_curve(num, std_dev):
    $return math.exp(-(math.pow(num, 2))/(2*math.pow(std_dev, 2)))

    # Print table header
    print "year gross_ff gross_pv gross_total net_total invest_pv invest_ff fraction_original_net"

    for year in range(0,run_years):

    $gross_ff = gaussian_curve(float(year), std_dev)

    $# After it's discovered that FF are on a permanent decline, stop investing
    $# so much in new FF plants and extraction
    $if (year < figure_out_year):
    $$invest_ff = 1.0 / eroei_ff
    $else:
    $$invest_ff = (gross_ff / eroei_ff) * fraction_ff_invest_operating


    $# After it's discovered that FF are on a permanent decline, start investing
    $# in PV
    $if (year > figure_out_year):
    $$if (year < std_dev):
    $$$invest_pv = (1.0 / eroei_pv) / 2.0
    $$else:
    $$$invest_pv = (1.0 / eroei_pv)

    $# Old PV panels are expired after pv_lifetime
    $old_pv_investments.insert(0,invest_pv)
    $if (len(old_pv_investments) > pv_lifetime):
    $$old_pv_investments.pop()

    $# Add up all PV contribution from all panels in the last n years which
    $# are still operating
    $gross_pv = 0.0
    $for old_pv_inv in old_pv_investments:
    $$# PV panels generate this much each year
    $$gross_pv += old_pv_inv * eroei_pv / pv_lifetime


    $# Sum totals
    $gross_total = gross_ff + gross_pv
    $net_total = gross_total - invest_ff - invest_pv

    $# Print chart
    $if (year % print_every_n_year == 0):
    $$print "%2d %9.4f %9.4f %9.4f %9.4f %9.4f %9.4f %9.4f" \
    $$$% (year, gross_ff, gross_pv, gross_total, net_total, \
    $$$$invest_pv, invest_ff, (net_total/orig_net_ff))

    ReplyDelete