Tuesday 16 January 2024

Philosophy of Psychedelics - how psychedelic therapy might work

I'm reading a super interesting book by Chris Letheby, "Philosophy of Psychedelics" [1.], part of the International perspectives in philosophy and psychiatry series.

In my last post I was critical of the author for seemingly overlooking a major weakness of the Comforting Delusion Objection to the use of psychedelic therapy for a range of mental illnesses. The Objection is that if psychedelic therapy works by patients have experiences and forming beliefs about the world that aren't true, then this is in some way undesirable. I argued that since our everyday experience of the world isn't "true" either, it should not be considered philosophically privileged over psychedelic experiences and hence the main concerns should be the purely practical ones of safety and effectiveness.

Although Letheby doesn't engage on this philosophical point, it's actually much less interesting than the later discussion of how our experiences of the world arise, what psychedelic drugs likely do and why they are effective in treating illnesses like depression, OCD and PTSD. I'd like to give a sketch of this here, mainly as my own notes on this but if the reader also finds it useful, then fine :-)

The predictive processing brain

"[Predictive processing] depicts the brain as an interference engine that builds hierarchical models of the world in order to predict its future inputs."  [1.]

As someone who's trained in using and thinking about models this makes a lot of sense, but probably not so accessible for many. Let's unpack that and see how it works.

Have you ever seen a snake, only to realise that it's actually just a piece of hose? Or read a word, then gone back, re-read it and realised that it doesn't say what you read the first time? It feels as if reality changed underneath you - a "glitch in the matrix". 

In a very real sense, it did.

The predictive processing theory of brain function is that the world of our conscious everyday experience is entirely constructed by the brain - a "controlled hallucination", as Letheby puts it. It does this as a way of processing the surprisingly limited flow of sensory information from the environment into a coherent representation of the world, including ourselves at the centre of it.

Close one of your eyes. Can you see the blind spot in your visual field? There is a blank spot there where your optic nerve joins your retina, but you can't normally see it because your brain hallucinates the details to fill in the gap. Actually much of what you "see" isn't really there, it's your brain's model of what's there. That's how we can sometimes see a snake instead of a piece of hose, it's also how stage magic works.

Your brain continually updates this simulated world, comparing the sensory input with the expected input based on the model and updating the model as required to minimise the error between expectations and data. This is what's meant by "interference engine" - discrepancies between the model and the incoming sensory data create something like an interference pattern that the brain continually works to minimise by adapting the models or acting in the world. 

Optical illusions are fun and slightly uncomfortable because your brain's continually trying to interpret the stimulus one way (which makes an error) and then another (which minimises that error but makes a different one). It's two faces, or it's a vase, then it's two faces again as your hallucinated world interpretation continually tries to minimise the error and match the sensory data. Is the dress black and blue? Or white and gold?

The world models are also hierarchical - basic elements like colours and objects at the bottom, up to more abstract situations and events comprised of the lower level features, right up to highly complex notions at the top of the hierarchy including a sense of self, narrative history, meaning, space and time. One of the main ideas in the predictive processing view of the brain is that perception starts at the high level models, ie our understanding of ourselves and our situation in the world. The high level models make predictions about what's likely to happen in the next layer down, and this propagates all the way down to the basic sensory data level. Any errors (discrepancies between predicted and actual sensory input) get propagated back up the hierarchy only as far as they need to go to update the model. In this way we save brain power and only become conscious of the unexpected.

This continuous modelling and error-checking is pretty much completely unconscious and "transparent" - meaning that we don't experience the modelling at all, but the results of the modelling. This is the brain-generated "controlled hallucination" that appears to us as if it's the real world. As Letheby puts it,

"All the furniture of our waking experience - the people, animals, plants, tables, chairs, and our own bodies and selves - is as thoroughly virtual, internally constructed, and simulatory as the fantastic creations of nocturnal dreams and psychotic hallucinations."  [1.]

Wow. We really do live in The Matrix. The real world out there might as well be comprised of green computer code. 

Here's where it gets really interesting. Your brain doesn't just compare the model with the sensory input, and update the model when there's a disagreement. It also rejects sensory input when it disagrees with the model. This actually makes sense - if there's an error, it could be a modelling error or it could be a measurement (sensing) error. Your brain has its own internal sense of the reliability of the different parts of the reality model based on having its own prior experience confirmed over and over again. For example, your experience has given a very high weight to the idea that two different objects can't occupy the same space at the same time, so if your sensory input says otherwise you'll probably assume it's something like a stray reflection or at worst a hallucination. These basic assumptions about what kind of things populate the world and how, are essential to be able to perceive and make sense of anything at all, to recognise the familiar, notice the unusual and to be alert to danger.

What psychedelics do (probably)

Different parts of the brain do different things, lots of different regions are wired together to perform different types of functions. There are two brain networks that seem to be important in this context, the Default Mode Network, and the Salience Network. I find the neurobiology a bit hard to follow, but these networks in the brain seem to be important at the very highest levels of the hierarchical modelling that results in our experience and perception of the world as noted above. These fundamental assumptions that the brain makes about "time, space, and causality, the laws of logic, and the existence of the self", rigorously tested and retested by a lifetime of experience, cascade from the Default Mode and Salience Networks, down through the lower levels of the model and quite literally determine how we can perceive the world. These most basic core beliefs are considered very trustworthy by the brain, and given a very high "weight" that suppresses perception of sensory or other inputs that are inconsistent with them.

Now, these brain networks happen to be particularly rich in serotonin-2A receptors. When you take a psychedelic drug, that binds on to the serotonin-2A receptors and has the effect of degrading the regular signalling that goes on those networks. The brain experiences this as a decrease in the reliability of the most fundamental beliefs and assumptions that operate at the very top of the modelling cascade. The modelling cascade that results in our experienced world. Our perception becomes less constrained and we experience all kinds of things that we cannot normally experience. The "hallucinated world" that we always inhabit, becomes a bit less error-corrected by our most basic unconscious beliefs.

A likely reason why psychedelics look so promising for conditions like anxiety, OCD, PTSD and depression is that all of these conditions involve some very foundational pathological beliefs about the self. These are very hard to shift because they are so strongly believed, that the predictive processing brain literally cannot perceive any evidence to the contrary. The psychedelic is probably therapeutic by decreasing the strength of those beliefs (by adding a whole lot of noise into the default mode network and the salience network), which allows some perception of the normally excluded reality - that the world isn't threatening, you're not a bad or inadequate person - in fact you, the world, and people in it are wonderful (and, actually, quite miraculous).

Once perceived, the experience is remembered, and it's that memory which then down-weights the pathological belief, even after the psychedelic has gone from the system. One this evidence has been perceived the beliefs soften and further perception can happen where previously it couldn't. And the condition improves.


1. Letheby, "Philosophy of Psychedelics", Oxford University Press, 2021

Sunday 7 January 2024

Philosophy of Psychedelics and the Comforting Delusion Objection

I'm reading an interesting book by Chris Letheby, "Philosophy of Psychedelics", International perspectives in philosophy and psychiatry.

It's a review of much of the recent and very exciting mental health research going on in the use of psychedelic drugs as part of treatment for some otherwise very difficult to treat conditions. It seems that the classic psychedelic drugs psilocybin (found in magic mushrooms), LSD, DMT (the active ingredient in ayahuasca) and mescaline (found in peyote cactus) are very effective in treating a number of conditions like obsessive-compulsive disorder (OCD), post-traumatic stress disorder (PTSD), addiction, and treatment-resistant depression when used as the basis of a therapeutic intervention. They also appear to be extremely safe when used under supervision and in a controlled and safe environment. There is considerable uncertainty about how these drugs work, but one leading theory is that they all induce an experience that allows for a changed sense of the self in relation to others, past events, or the world. Unhelpful concepts of self are common to many of these mental disorders.

The so-called psychedelic drugs are currently illegal in most of the world except with special authorisation for research, although this is starting to change. For example, as of 1 July 2023 psilocybin can be prescribed in Australia as therapy for treatment-resistant depression. One of the modern psychedelic-type drugs, MDMA (ecstasy) is very close to authorisation in the US, Canada and Australia for the treatment of PTSD.

Letheby's book is an exploration of the philosophical implications of the use psychedelics. It suffers a  bit from unnecessarily academic language which makes it harder to read than it needs to be, so I'm going to summarise what I see as the main ideas over a few posts, and my own responses to those ideas. Mainly as my own notes on this but if the reader also finds it useful, then fine :-)

The Comforting Delusion Objection

This is one of the main philosophical objections to using or allowing the use of psychedelics. There's a philosophical idea called naturalism (which I don't see as different from physicalism) that is basically this: there is nothing existing outside of, or separate from, the physical world - no spirit world, no other dimension, no god(s), ghosts, afterlife, heaven or hell. Just the everyday world around us. Although not scientific, in the sense that the idea not scientifically testable, this is one of the working assumptions that science makes when it goes about its daily work. Religions generally make the opposite assumption.

Now psychedelic use, including in therapy, fairly commonly gives users a sense of contact and communication with precisely such a non-physical reality: god, a spirit world, or the sense that there is indeed something more than the everyday, that underlies or stands behind or within the physical world. This can create a profound sense of awe, greatly enhanced emotion and meaningfulness - a mystical experience.

The Comforting Delusion Objection argues that this is a problem because:

  1. Naturalism is true.
  2. If the mystical psychedelic experiences cause people to believe things that aren't true then we shouldn't use them as therapy.
  3. If naturalism is true then the beliefs caused by psychedelic mystical experiences are false.
  4. Therefore we shouldn't use psychedelic therapy.

Letheby argues that point 3 of the Comforting Delusion Objection doesn't matter because:

  • it doesn't seem to be the beliefs per se that cause the therapeutic benefit (they are more of a side-effect in some patients),
  • even if it causes patients to believe things which are false, it does also help them realise things which are true (and we don't have any other way of achieving that), 
  • the experience is also compatible with a purely naturalistic spirituality that doesn't require supernatural belief.
Others have argued (and Letheby acknowledges) that the assumption about naturalism could be wrong. I agree. But I think Letheby overlooks a far more important argument.

I think the Comforting Delusion Objection is overly concerned with the question of truth or falsity, ie, I disagree with assertion 2. Whether beliefs are helpful is much more important than whether they are "true".

If there is a "real" or "true" reality (and my working assumption is that there is one and therefore it's possible for beliefs to be wrong), then to the extent that beliefs are inconsistent, people believe all kinds of crazy shit. Many of the beliefs of world's religions are incompatible with each other, and almost all of them are incompatible with naturalism. (Which is not a claim that naturalism is true, though it is believed by many).

Should we counsel people against their religious beliefs because they are probably false? The Comforting Delusion Objection suggests that that would be appropriate, because truth is more important than helpfulness.

Even more seriously, the Comforting Delusion Objection supposes the everyday world we experience without psychedelic drugs is somehow "true" or "real" in a way that the drug-induced mystical experience is not. This is particularly amusing because it's the very naturalist disciplines of science that have shown us that the world we experience bears very little resemblance to the "real world" revealed by careful experimentation. 

Our experience of time isn't "real": we know from Einstein's general relativity (which is "true" as far as we can tell) that time flows at different rates depending on velocity and gravitational field strength. Quantum mechanics (the physics of very small subatomic particles) is generally acknowledged to be weird AF, describing behaviours that are nothing like our subjective experience of reality. Physicists still can't agree on what the mathematics of quantum physics means, as a representation of the truth.

My favourite is the mundane example of colour vision. Colour is an hallucination. Light in the real world only has different wavelengths - a difference of quantity, not quality. The "truth" is that there is no qualitative difference between red light and blue. Our experience of those things isn't "real". Does it matter?

From an evolutionary perspective, the way we experience the world has been selected to:
  1. Maximise our survival, and
  2. Maximise our reproductive success
That's all.

It doesn't have to be "true". 

It also doesn't have to make us happy, or serve our mental health needs. 

So, in terms of the Comforting Delusion Objection, I argue that the normal, non-psychedelic human state is also characterised by beliefs that we either can't defend or know to be false (not an accurate representation of reality). The normal state of mind is not philosophically privileged, and is no "truer" than the psychedelic one. The only difference is a practical one, in terms of survival (safety).

I think the main concerns here are practical, not philosophical. 

Wednesday 19 April 2023

Sold my bus motorhome

A studio apartment on wheels

Bus motorhome for sale, $40K. This was a project I took on in 2016, but the kids are grown up now, my circumstances have changed, and I need something smaller.

This is a very comfortable tiny house. Rent a driveway or part of a backyard and be fully self contained in your own place! Or hit the road for an extended camping trip.

Length 11.7 m
Weight 11990 kg (MR license required)
Seats 6, sleeps 3 (full queen sized bed, plus sofa / single bed)
Reverse cycle 2kW Daikin air conditioner
5kW diesel heater 
Double glazed windows
200L water tank
250L grey water
7 kWh lithium iron phosphate (LFP) house battery (24V, 272Ah)
550W solar panels, victron MPPT solar charge controller
3000W tortech pure sine wave inverter
250W victron pure sine wave inverter (for the fridge)
LG fridge
Alcohol fuelled cooktop
Nature's Head composting toilet
New wheels and tyres (as of about 2 years / few '000 kilometers ago)












Nerdy details

When I bought the vehicle in 2016 it had been converted to a motorhome already but was more or less an empty shell. The design philosophy I followed in fitting it out was simplicity and frugality - allowing for extended periods "off grid" away from power, water and waste facilities.

The electrical system

The electrical system is standalone / solar only - it doesn't connect to the electrical grid. Power comes from three 24V, 185W solar panels mounted on the roof. These are wired in parallel to minimise power loss from partial shading and stay within the voltage limit for the solar charge controller.

The panels are hinged and have gas struts so that they can be angled towards the sun in winter (if you're facing east!)

The charge controller is a Victron 100/30 MPPT unit with bluetooth dongle so you can check what it's doing from your smart phone.

The charge controller charges the house battery, which is a custom built 7 kWh lithium ion battery using LiFePO4 cells (the safe type) and a 150A Daly smart BMS. This has a bluetooth connection too, so you can check all the cell voltages / battery temperature etc. from your phone. The battery has a 200A fuse and is mounted in an insulated box with a ventilation fan controlled by a temperature controller. If the enclosure temperature goes over setpoint, the fan starts and draws cool air from under the bus. This all keeps the battery pack pretty close to an optimal temperature range at all times of the year.

The house battery and all vehicle DC systems are 24V.

The house battery is connected to a fuse box / DC distribution wiring which powers lights, water pump, ventilation fans and the smaller inverter (which powers the fridge). There is also a double fused (one at each end) interconnector between the house battery and the vehicle battery with a switch and a diode. When the switch is off, the two batteries are isolated. When the switch is on, the house battery keeps the vehicle battery fully charged but the diode means that power can't come back the other way. This stops the house systems from flattening the vehicle battery. The charge controller and BMS are tuned so that everything works properly, with "fully charged" on the lithium house battery being pretty much the ideal float voltage for the lead-acid vehicle batteries. The house battery is programmed to stop charging at 3.45 V per cell (a bit below the recommended maximum of 3.65 V in order to maximise battery lifetime).

The house battery is also directly connected to the larger tortech 3000W inverter (internally fused) which powers the 240V system for the house. The 240V from the inverter goes to an earth leakage safety switch and then to the 240V wiring which has a pair of outlets under the table, another pair by the kitchen bench, and a third pair at the rear of the vehicle. I only ever switch on the inverter if I want run the vacuum cleaner or the toaster, the air conditioner or electric blankets  :-)

The solar system can harvest 3 kWh per day on a good sunny day and for perspective the fridge uses about 0.5 kWh per day. 

The water system

A 200L fresh water tank, mounted underneath. Fill from a garden hose via the filler cap. The water pump is a 24V pump that operates off a pressure switch. It has its own isolation switch and fuse.
When the pump switch is on, the pump starts if you open the tap.

The pump feeds water to a standard domestic under sink water filter, to the single tap at the kitchen sink. This is the only water outlet on board, to discourage profligate water use. You can have a hot shower, but you'll need to heat water in a kettle, pour it into the camp shower bag, and hang that in the bathroom. Short showers! Saves water!

The kitchen sink and the shower pan both drain to the 250L grey water tank, mounted underneath. 

Toilet

One of the best features is the composting toilet - no messy black water tank! No need to find a dump point! 

Urine is diverted at a tank at the front of the toilet, which you carry out and can empty into any caravan park or public toilet. Everything else goes to a soil box at the rear, where it's mixed with coconut coir or sawdust. You only need to change this out after a few weeks of full time use, at which time you can just bag it and drop it in a rubbish bin, or you can age it and use it as a soil ammendment. I had some of this stuff in a closed bucket for a year and it had literally turned into soil. Even the toilet paper was completely broken down.

The toilet has a tiny 12V fan that keeps it under negative pressure, exhausting the very slight odour to the underneath of the bus. You can only smell it if you go underneath and go right up to the exhaust. It has a slight musty smell, like soil or wet leaves. It's completely odourless on the inside of the bus.

Cooking

LPG is not fitted. There's an Origo 2000 alcohol burning stove top, mainly for compliance. I usually use a portable butane cooktop, plus an electric toaster. I have used an electric slow cooker without issue, and a microwave oven would work (not installed).

The fridge is an LG 194L one-door fridge (internal freezer compartment). I picked this one because it fits in the custom made kitchen cabinet and has one of the lowest energy consumptions.

Ventilation

A small 12V fan runs all the time, sucking air from the bathroom and exhausting it under the bus. This actually turned out to be a genius idea because you can hang wet towels or clothes in the bathroom and they won't make the bus interior humid. Dry air from the living space goes into the bathroom where it dries things out and then goes out of the bus.

A FanTastic vent fan (also 12V) is mounted in the roof where the rear roof hatch of the bus used to be. This is used to suck hot air out of the bus. It has a rain detector that closes the lid and keeps the rain out if it gets wet (dew will also do this).

Apart from the sliding bus windows, the front bus roof hatch is hinged and opens with a gas strut to provide extra ventilation and access to the roof for cleaning solar panels or tipping them up or down to catch the sun.

Heating and cooling

2kW Daikin reverse cycle air conditioner in the rear bedroom area helps keep things cool, works most  effectively if you hang a blanket to cool just the bedroom.

5kW diesel heater keeps things toasty in winter. This sips diesel from the fuel tank at a tiny rate, heating the air inside the bus. No smell - all the combustion gases stay outside.

The windows are double glazed with transparent polycarbonate sheet, which helps keep things cool / warm and also stops condensation forming inside the windows. The windows are coated on the outside with perforated film (like many commercial buses) so you can see out but can't see in during the day. It also helps minimise solar load coming in through the windows.

Lighting

LED strip lights throughout, LED downlights for the front door. Separately switchable lighting for the dining area, kitchen, bathroom and rear bedroom.

On the road

This is not a fast vehicle. 0-100 km/h in a couple of minutes :-)
It's very comfortable to drive on the open road, like driving an armchair at about 90-95 km/h. It'll wind out to 120 on a flat straight road if you really want to push things, but I don't recommend that - it uses about 50% more fuel than it does at 90. No turbocharger, so it is slow up hills.

Speaking of fuel (diesel), about 25L / 100km on the highway, a bit lower than that if you keep the speed down to 80.

It's a naturally aspirated PE6 engine - 12L, 6 cylinders. Rear mounted. It was resleeved before I bought it, have had no trouble. 5 speed manual transmission, with synchromesh. Just the same as driving a car - only bigger and slower.

It has an exhaust brake, like a truck and unlike most buses.

That's it!

I think that's all? If you have any questions please ask them by leaving a comment and I'll reply or edit the text to make it clear.

Thursday 9 June 2022

So, what should we do? Some suggestions for adaptation to a changing world

Since I am not in charge, and no-one who is in charge is seeking my opinion, I actually don't need an answer to this question  :-)  

It might be interesting to think this through though. Its too easy to criticise without having something to suggest.

The problems we currently face are fundamentally driven by resource limits

Most people would agree that growth can't continue forever on a finite planet, at least in an abstract way. The Limits to Growth study in 1972 [1] was the first to look at what might happen in concrete terms, and it painted quite a shocking picture of the future. The study brought together everything we knew at the time about resource limits, environmental and social systems, population and the economy and studied the whole thing all at once as a self-consistent system of interacting parts. The conclusion at that time was that we had somewhere between 50 and 100 years before growth didn't continue on this finite planet.

There hasn't been any work in the intervening time that invalidates those basic conclusions, indeed the work that has been done is supportive of the original work. In case you've read otherwise, no, The Limits to Growth never claimed that we would "run out" of resources by the year 2000. The base case or "best guess" scenario in the original publication was that industrial output would be constrained by resource limits by about 2015, with uncertainty plus or minus a decade or two.

The most critical of those limits is the resource we rely upon, exclusively, to power our transport: crude oil. Transport isn't a luxury. It's the circulatory system that keeps our society alive, moving goods from where they're produced to where they're needed, and waste from where it's produced to somewhere (hopefully) out of harm's way. More generally, transport includes mechanized agriculture - producing those most basic and indispensable goods that keep us all alive. 

To a very good approximation, all of our transport system relies on this single resource, as a power source. The only real exception to this is electrified rail (which in Australia is a fraction of commuter journeys, and an irrelevance for freight). Electric cars make up a tiny fraction of private vehicles, many of which are anyway non-essential for broader social function.  There are no electric trucks deployed, beyond a few demonstration projects.

Given our existing transport infrastructure and systems, it is a fact that we are, and will remain, critically dependent on crude oil for at least the next decade or two. It takes that long to make a meaningful adjustment to infrastructure, even with a plan and concerted effort to do so [2]. Neither plan, nor concerted effort, are apparent to me just yet though.

We have grown up against these growth limits to the point where they are now constraining industrial output. We have left it much later to act than we might have done, and will now we have to decide what to do about it.

The structural demographic wheel turns

What may happen next has plenty of historical precedent, after all we aren't the first complex human society that's grown up against its resource limits.  Structural demographic theory as championed by Peter Turchin [3] describes the effect of decreasing resource availability per person. Competition creates what he calls popular immiseration - decreasing real wages and a falling standard of living for the "commoners". Commoners have been given lots of labels (working class, proletariat, "the 99%"). A useful definition is, that part of society that earns a living predominantly from their labour. The elite class, on the other hand (captalists, bourgeoisie, "the 1%"), earn a living predominanly from their investments.

The result of this popular immiseration is an increasing standard of living for the elite class as their costs (the wages of the commoners) fall in relative terms. Economic inequality rises, as does the population of elites. The rich get richer, and the poor get poorer.

Eventually the elites also suffer declining resources (elite opportunities), which increases inter-elite competition. Conflict results. Popular immiseration and economic decline weakens the tax base and hence the state monopoly on violence. Civil war between different elite factions can be the result [3].

Environmental changes add to the pressure

Neither of these matters minimise the effects of climatic and other changes to the environment. We are starting to notice the effects of these (fires, droughts, floods, coastal erosion) now, but they are not having a material effect on most of us just yet. Given the slow response of earth systems relative to human timescales, however, the changes that have begun are unlikely to stop or even slow down any time soon. To take one example, the circulation time of the ocean is of the order of 1000 years. That gives you an idea of how long it will take for the ocean to finish warming in response to a warmer atmosphere, or alternatively, how long we can expect sea levels to keep rising, even if we were to somehow manage to stop increasing the carbon concentration in the atmosphere by next Tuesday afternoon.

As climate systems move, we are going to have to move things too.

Farming systems will have to move in response to changing climate. As regions become wetter or drier, warmer or cooler, the agricultural systems best suited to that environment will change. As a society we will need to be prepared with systems in place to help agricultural communities either adapt or move, and be prepared to build supporting infrastructure as required

Infrastructure will have to move too. Sea level rise will continue, and is only going to speed up from here. The next 100 years is "baked in" already, more or less independently of what we do or don't achieve with emissions reduction. Losing beachfront homes is just the beginning. Have you ever wondered what fraction of the world's sea ports are at sea level? (answer: all of them) What's involved in moving sea port infrastructure as it starts to flood? (and associated infrastructure, like the road and rail networks that service them?) 

How would Australia then export its wheat to a hungry world? How would the rest of the world import it? How would we import diesel fuel? Most of our transport fuel is dependent on the continued operation of international supply chains, including shipping. We have a small and shrinking domestic refining capacity, and can produce a minor fraction of our transport energy needs through domestic crude oil production (which declines year by year). We produced 334,000 barrels of oil per day in 2021, and consumed over a million.

When complexity is the problem, more complexity is not a solution

Joseph Tainter is widely credited with the idea that complex societies collapse when the marginal return on increased complexity becomes negative [4].

You can think of society as a machine that solves problems through complexity. In response to pressures like environmental stresses, society will develop ways to do more with less, hopefully ensuring that everyone's needs will continue to be met. We develop more efficient ways of extracting and distributing progressively more marginal resources. The cost of this is added complexity. Improved extraction methods for more marginal ores are technologically and energetically more challenging, rules governing resource distribution (the laws governing economies, taxation and social welfare) become more complex and nuanced. Tainter gives lots of examples in his book, backed by real world data. Things get more complex over time, as societies grow.

The increased complexity has a cost. Energy inputs are higher to extract more marginal ores. Direct energy costs but also indirect ones like the higher education and training system required to train workers skilled in the advanced technologies. More tax dollars are spent to operate increasingly complex systems of distribution. Just managing the information flows in the more complex system requires more workers pushing pens (or keys) instead of directly providing goods or services to others.

The whole enterprise starts to come apart when the cost of becoming marginally more complex, exceeds the benefit of becoming marginally more complex. You might wonder why a society would ever do this when there is negative net benefit, but it's easy to see when the accounting is fragmented rather than holistic. A company, sector of society, government department, can think that things are improving when they account for costs imcompletely - externalising costs on to third parties is one way this can happen. The introduction of the GST in Australia is probably a good example - when you look at it from the government's point of view it looks like a simplification, but when you count the net cost over every business that now also has to become a tax collector, probably not. Solar power is arguably an even better example. How many times have you heard it said that solar power is cheaper than coal? It's true, but only when you consider the cost of setting up the solar power plant and the income that you earn from it. What doesn't get counted is the additional costs this imposes on the rest of the electricity generation system as it tries to offset the glut of power that's generated in the middle of the day, and the corresponding deficit at night. Nor are the costs of climate change accounted for. If you really want to compare the cost of solar power and coal power you have to compare the system costs of both: the cost of constructing and operating the plant, the negative externalities of greenhouse gas emissions and other pollutants; and the cost of storing sufficient electricity so that it can be delivered on demand. 

Collapse - which is the process by which societies "go backwards" on many measures - occurs because the costs increase faster than the benefits, and pretty soon the average welfare of individuals starts getting worse. This starts at the bottom of the social pyramid, but it works its way up to the top.

If you know you're going to fall, go early and do it with some control

The likely conclusion of the above is that a lower standard of living is unavoidable, and that serious social conflict is likely unless we are prepared to share the pain around in a way that looks after everyone. People will be willing to do this if they understand the need and if everyone is taking their share.

Here are some suggestions for a managed retreat from complexity and a reversal of increasing wealth inequality.

  1. Radically overhaul the tax system to encourage the behaviour that's required. Eliminate income tax, raise all revenue through a progressive consumption tax (a GST or VAT) whose rate can vary for different classes of goods, and is higher for luxury goods. Pay everyone the same basic allowance, raised through tax (universal basic income). This discourages consumption and incentivises people to find ways to consume less. It preferentially taxes those who consume more - the "rich". On the flip side, get rid of most (all?) social security payments, and their associated systems and bureaucracy. Greatly simplifies the tax system, removing unproductive "complexity management" jobs. Use a system like Tradable Energy Quotas to ration consumption of scarce goods when needed. The rich can still earn a living through investment, but not through investment in unproductive asset bubbles (see number 9).
  2. Decline-aware spending on transport infrastructure. Stop building new infrastructure close to sea level, and stop defending existing infrastructure at sea level (I'm looking at you, Collaroy). Stop building new roads. Forget high speed rail - too expensive and complex - build normal speed, dual track, electrified rail linking cities and major food growing areas. Plan for staged retreat of port infrastructure. Invest in LNG conversion or natural gas to synthetic diesel for long haul goods transport (both rail and road) in the short term, electric goods rail and electric short-haul trucks in the medium term.
  3. Decline-aware spending on energy infrastructure. Public education about energy - this is so poorly understood by the public, the media, and most politicians. Coordinated research program to develop an integrated plan for increased intermittency in supply and reduction in demand. Electrified goods transport by rail that stops during periods of low supply (e.g. evening peaks), or relies on diesel / LNG backup or hybrid operation. Investment program in grid energy storage - off river hydro / gravitational energy storage / underwater compressed air energy storage (and batteries for short duration). New technology  is possibly helpful but we can't afford to wait. We need to go ahead now with technology that is already mature enough.
  4. Decline-aware spending on manufacturing infrastructure. Decline is likely to lead to increased conflict within and between nations, and indeed at the time of writing we are already seeing this. On-shore enough domestic manufacturing capability to be able to maintain our own critical infrastructure.
  5. Rationalise spending on health. Cost benefit analysis on healthcare provision and public health programs. Tax bads, not goods: levies on processed food based on sugar content. Science-based public education programs on nutrition (including vitamin D) and exercise. Progressively de-fund high cost / low benefit medical treatments as the resource base shrinks. On-shore manufacturing capacity for basic medical supplies including the most important medicines. Make sure we fund the basics properly.
  6. Rationalise spending on education. (my colleagues will kill me for saying this but) we probably have more universities than we need. Reduce the university count and fund the remainder properly. Fully publicly fund (a substantially reduced number of) undergraduate places. Fund secondary education properly, including making teaching an attractive career choice. Make sure we fund the basics properly.
  7. Defense and security. I don't know much about this, but it seems unwise to continue to rely on powerful friends. I suggested in a previous post that we adopt a porcupine strategy to make ourselves an unattractive target for larger powers. As a medium sized nation, soft power is very important. We should be the charming porcupine with lots of friends.
  8. Help people who need help. People in Lismore got flooded recently. This is tremendously destructive for the communities involved and for all of us in one way or another. We need to spend the money to move people out of harm's way. Not just floods, but fires and coastal erosion. Not to reward people for arguably making bad choices, but neither should we be hanging people out to dry. It doesn't help them and the resulting dysfunction and conflict doesn't help the rest of us either.
  9. Deflate speculative asset bubbles, especially housing. It's a waste of productive capital, we need to be investing in things that contribute social value, like all of the above. Steve Keen has the only sane proposal I've seen on how we might do this equitably for housing. He has some other great ideas like giving shares a limited lifetime of 25 years when traded on the secondary market (they live forever when issued initially as part of business raising capital). The rich can still live off their investments, but their investments will need to be doing something useful for society.
This can all be done, it needs to buy us some time to figure out what to do next. It needs to be fair, with a preference toward helping those at the bottom. And it needs to be planned, because these different parts interact. We need to work on this problem all together, not one piece at a time.

References used

  1. Meadows, D.H, Meadows, D.L., Randers, J. and Behrens, W.W. "The Limits to Gowth", Universe Books, 1972
  2. Hirsch, Robert L.; Bezdek, Roger; Wendling, Robert, "Peaking Of World Oil Production: Impacts, Mitigation, & Risk Management" (PDF). Science Applications International Corporation, U.S. Department of Energy, National Energy Technology Laboratory, 2005
  3. Turchin, P., and Nefedov, S., "Secular Cycles", Princeton University Press, 2009
  4. Tainter, J., "The Collapse of Complex Societies", Cambridge University Press, 1988





Thursday 12 May 2022

Electricity supply part 4 - Costs

In Part 1 of this series, we saw how electricity demand changes on an hourly basis, and that if we want to power the electricity grid using renewable energy sources, we are going to need energy storage.

Part 2 showed a way of estimating how much storage we would need, if we just  nicely meet our average energy demand using renewables without wasting any. (It was a lot).

In Part 3 we started working with the idea that if we're prepared to build more renewable energy generation than is strictly necessary, we could get by with a less storage - a lot less.

Let's have a go at costing this up.

Assumptions

In 2021, the electricity price paid by consumers is about 2/3 network, environmental and retailing costs; and about 1/3 generation costs [1].  What we spend through our electricity bill has to cover not only the construction costs for solar and wind farms, the cost of coal and gas; but also all of the office costs,  advertising, insurance,  network maintenance and management. And a gazillion other things you've probably never thought of.

I'm going to assume that the non-generation components of residential electricity price remain constant at about 20c / kWh ($200 / MWh). This is unlikely, because wiring a whole lot more renewable generation and storage into the grid will almost certainly require network  upgrades. So this assumption will result in an underestimate of the costs. I'm also assuming that this residential value applies to every user over the network.

I'm going to assume that the currently installed generation capacity in NSW is, on average, neither insanely profitable, nor loss making. Electricity generation companies don't pay fantastic dividends. They make a small profit. It's a competitive industry. 

If assumption this is true, the income earned by the different generation types in NSW is what's required to make those generators acceptably profitable. 

Making this assumption, in 2021 in NSW, black coal earned $80 per MWh produced, gas earned $185, wind earned $64 and solar $45 per MWh produced. Note that at any given  moment in the grid, all generators earn the same price for the electricity they're producing. The reason why the average price earned is different between the different fuel types is because price varies during the day, and the generators produce at different times of the day. Solar generates power in the middle of the day when the price is low (when the electricity is least useful). Gas generators operate during the evening peak when the price is high. So the price is not only a measure of the cost of generating the electricity, it's also a measure of the economic value of the electricity which is produced by that technology.

The lifetime cost of renewable energy projects don't depend on how much electricity they produce. ie, the "wear and tear" factor isn't significant. I'm assuming that a wind farm that sits idle for its 25 year service life costs about the same to build and maintain, compared to one that generates power whenever the wind blows. That allows me to use the 2021 generation costs to estimate future costs with different levels of excess generation. Suppose that the capacity factor for wind in  2021 was about 20%, and that had resulted in the reasonably profitable generation cost of $64 per MWh. If we build so much wind power that it has an average capacity factor of 10%, it would need an average selling price of $128 per MWh produced to stay profitable. At 5%, it would be $256, and so on. The more we over build renewable generation infrastructure, the more expensive the renewable electricity becomes.

Storage needs are fulfilled by lithium batteries. I know this is not realistic, but "batteries!" is one of the stock responses you get whenever the variability of renewable energy is mentioned so I thought it would be interesting as a case study. Also, batteries are the most popular storage technology that is going into the grid right now and cost data is becoming more reliable.

Mongird et al. (2019) [2] put the cost of lithium battery grid energy storage at US$469/kWh, falling by 25% by 2025. We'll just use their 2025 estimates, converted to Australian dollars at 1.0AUD = 0.70USD. This gives us AUD$517 per kWh of installed capacity including power conversion system, buildings and engineering, with a battery life of 10 years [2., table ES.1].

Costing up some systems

In previous posts in this series, we just scaled "renewables", keeping the same ratio of solar to wind that's currently installed in NSW, in order to work out how much storage is needed to just barely prevent a blackout.

In 2021, utility scale solar was about 40% of (solar plus wind) generation, so let's call the cost of generation 0.4 x $45 /MWh + 0.6 x $64 /MWh = $56.4 /MWh. We'll assume that this is constant up until the point we start spilling renewable generation, because having storage allows us to soak up generation whenever the resource is available, more or less giving us the same cost structure as now. We can scale up  the price by the spill fraction we calculated in previous posts. For example, if we spill 50% of potential renewable generation, the price per MWh will have to be twice as high because the remaining 50% of actual generation has to cover all of the costs and generate that same acceptable profit.

The quoted cost of battery storage needs to be expended every 10 years because of the limited lifetime of lithium cells. Dividing the total storage cost by the total electricity generated over 10 years gives us a storage cost spread over each MWh used in the state. Both figures presented in Figure 1 below.


Figure 1 - estimated costs for storage and generation, corresponding to the Figure 4 of Part 3.

A couple of things to notice here. I've had to use a log axis to be able to sensibly show both costs on the same graph. The optimum point is not, as I had supposed, somewhere around the 30-40% spill point. It's far to the right of that because even at 60% spill (corresponding to more than twice the generation capacity that we nominally need), the storage costs per MWh used are still nearly 10 times as high as the generation costs.

What does this mean?

Taking the best case scenario I've got so far, at the right hand side of Figure 1, this means:
  • Building 20 times the solar and wind generation that we currently have installed in NSW. The wasted generation opportunity (because of the times when the energy has nowhere to go) means that the renewables cost $160 per MWh (similar to current gas fired power costs, more expensive than coal)
  • Building and replacing every 10 years, about 162,000 MWh of batteries at an ongoing cost of about $8.5 billion per year (just in NSW). For context that's about 1.5% of NSW GDP, ballpark the same as we spend on the military. Just for batteries.
  • Retail energy costs ($160 /MWh generation, $1363 storage, $200 network + other) = $1723 /MWh or about 172 c /kW. Expect your electricity bill to rise by a factor of at least six
Bear in mind the limitations I outlined with the assumptions made, plus we're ignoring anything like limits on resources or manufacturing (or international supply chains or inflation, for that matter). You can see it's not as simple as just installing batteries. Using some gas for peaking power generation on a few occasions through the year would greatly reduce the costs involved.

For a future post, perhaps.

References cited

1. AEMC, Residential Electricity Price Trends 2021, Final report, 25 November 2021

2. Mongird, K., Viswanathan, V., Balducci, P., Alam, J., Fotedar, V., and Hadjerioua, B., Energy Storage Technology and Cost Characterization Report, PNNL28866, US Department of Energy, July 2019

Monday 2 May 2022

An integrated energy and security plan for Australia

Where to start? The lack of systems thinking from from our leaders is mind-boggling. 

Ok, let's start with the submarines.  Nuclear submarines, I mean - really?

The whole point of nuclear submarines is that they carry nuclear weapons, can travel anywhere in the world without refuelling, and can stay submerged for months at a time. So your enemy never  knows where they are, and hence isn't willing to risk a direct confrontation. Our brand new AUKUS (awkwas?) nuclear subs won't have a nuclear weapon deterrent, and as a medium sized regional power I don't see the strategic usefulness of the long range capability. Also, nuclear subs are not particularly stealthy - pumps need to run at all times to keep the reactor core cool, and they leave a waste heat signature in their wake. Then there's the fact that we don't have a nuclear industry - we have neither the expertise nor the systems in place to be able to operate, maintain or refuel these things. 

A much better option would be to develop smaller and more numerous home-grown subs to take out enemy shipping and submarines. Powered by hydrogen fuel cells. Those things have no moving parts and are completely silent. Hydrogen and oxygen would be carried onboard, possibly as liquids, allowing extended operation underwater. A very effective deterrent in our region.

As a medium sized regional power, we are not the lion on the Serengeti. Our strategy should be that of the porcupine - not trying to throw our weight around, but make ourselves a really unattractive prospect  for larger powers. 

The core of a hydrogen industry

This constitutes a way to jump start large scale hydrogen production in Australia.

The need to decarbonise the energy sector is urgent, but global warming is by no means the whole story. At least as serious, and certainly more urgent, is fossil fuel depletion. Especially crude oil which when refined fuels effectively all of our transport and military (including our current submarines).

We are horribly exposed on this. Australia  imports about 2/3 of its transport fuel and now has only two domestic refineries remaining. Our "strategic" petroleum reserve is only 21 days worth of consumption, far less than the minimum of 90 days recommended by the International Energy Agency. Not only that, but a large part of our reserve is held on our behalf in the US where it won't be of much use in the event of something like a disruption to shipping. It's no exaggeration to say that if anything were to happen to international trade in crude oil, Australia would be in serious trouble (martial law, rationing) within a few weeks.

Not that a hydrogen industry is going to fix this, it's needed for other reasons:

  • to power the submarine fleet
  • liquefied (or possibly stored as ammonia) as a large scale energy storage for the grid. See for example this post on the need for storage in the grid. 
  • as an export (liquid or as ammonia)
Electrolysis of water and storage of the hydrogen and oxygen as liquids is a good way to soak up the vast quantities of excess renewable energy that we'll have during summer months. And a good way of keeping submarine fuel on hand.

What about transport then?

This is an urgent problem, and should be a pressing national security concern. The critical thing in the short term is to be able to continue to power the transport fleet to ship goods (especially food) around the country.

Short term - start building up the rail network. Dual rail lines all the way between the capital cities and regional centres. Not high speed rail, just normal speed, with dual lines (and maybe even passing bays!) would be nice. Build infrastructure to ship liquefied natural gas from the west to the east. Convert diesel locos to run on LNG, and some of the long distance trucking fleet to run on either LNG or CNG (compressed natural gas). There's no down side to this - it'll be cheaper than diesel, cleaner both in greenhouse emissions and in sulfur, and reduces risk from international supply chains.

Medium term - electrify the whole rail network and start converting locomotives to run as hybrids with liquid hydrogen (or ammonia). It might make sense to build synthetic fuel plants to convert gas to methanol and then dimethyl ether as a diesel substitute for smaller trucks and cars, or to synthetic gasoline for cars (most importantly for emergency service vehicles).

Longer term - battery electric trucking for short distances to and from the rail head to warehouses and retailing.

A few words about nuclear power

In my view this is unwise, for the following reasons:
  • We don't have a nuclear industry and we would have to build one almost from scratch, including developing expertise and setting up the training capabilities in universities. The same is true for hydrogen liquefaction and storage, although it's less technically challenging and we already have some of the skills needed. Investing in developing a nuclear industry represents a big opportunity cost to develop a more durable alternative though.
  • We have other choices. Australia has shedloads of every energy source except crude oil. We might be much better placed exporting our uranium to other countries that have already made the decision to go down the nuclear path. As a source of export income and also a source of soft political power.
  • Despite the required investment, it's not really a long term prospect. There's actually not that much uranium available globally. If everyone in the world were to try to generate their electricity using current nuclear technology, the global supply of U235 would last about 10 years. Yes, breeder reactors and yes, molten salt thorium reactors, but the former hasn't yet been made commercially viable and the latter is not much more than a research prospect. Decades away, at best. We can't wait that long, for something that might not work out.
  • Spent nuclear fuel disposal. We (humans) have been generating power from uranium for 70 years, and we still haven't implemented permanent storage for the spent nuclear fuel.  The Onkalo repository is the  first in the world. They applied for a license to start storing waste from 2024. All of the spent nuclear fuel ever produced is sitting around on the surface and requires active systems (laws, management regimes, fences, surveillance, men with guns) to keep it secure. Now ask yourself this: what happens to all of that spent fuel that isn't safely disposed of, when those active management systems go away? It doesn't even have to be as dramatic as social collapse: war would be enough. 
  • Inability to adequately model risk. Chernobyl was caused by a combination of bad design and human stupidity. Fukushima was a combination of poor design choices and failure to anticipate an earthquake and tsunami of that magnitude. The point is, that neither of those scenarios were part of the risk analysis that was done in setting those plants up. Far from being one-in-a-million events, we have a lived history of two catastrophic failures in seventy years of nuclear power. We really don't have a good way of modelling these very low probability but very high consequence events. The clean-up at Chernobyl and Fukushima is ongoing, with no end in sight and at  probably unknowable cost. 

Not impossible, but doesn't seem like the best option to me. Solar and wind are much more known and knowable quantities, and have the potential to be truly long term solutions. The difficulty there is the need for large amounts of storage to offset their inherent variability. 

Unfortunately, we are now out of good options.


Electricity supply part 3 - balancing storage capacity with generation capacity

This is part 3 of a short series of posts thinking about energy storage needs for a renewable electricity grid in NSW Australia.

In part 1, we saw that electricity demand and renewable electricity generation both fluctuate over time. To generate enough renewable power on average for the first week of April 2022, we need about 4.7 times the currently installed renewable generation. There's a big problem though, because the electricity grid must be balanced at all times, not just on average. At 5:30am on 5th April 2022 the sun hadn't yet risen and there was almost no wind blowing in the state. We would have needed more than 120 times the currently installed wind farms to avoid a blackout!

Clearly, there is a need for energy storage to avoid over-building renewable generation equipment to the point where most of it is doing nothing, most of the time. We had a look at this in part 2, where we worked out the minimum amount of storage required for that first week in April - assuming that we had just exactly enough renewables to meet the average demand. We needed a minimium 96,000 MWh, or about 14 hours at average state power consumption. 

There's still an obvious problem here though - we don't necessarily need so much storage if we're happy to waste  (not generate) some of the renewable electricity. So far we've only considered two extreme cases - no storage and massive over generation (in part 1) and maximal storage with no over generation (in part 2). Both of these extremes will be very expensive. Likely a cheaper solution will be to have some level of over generation - which would require less storage to avoid a blackout. The right balance would be the combination with the lowest overall cost.

Working out storage needs with some over-generation

We're going to need a slightly different approach than what we used previously. As in part 2, we'll start the storage number at zero, at the start of the week. When we withdraw energy from storage it goes down, and when we store electricity it goes up. However, when the storage reaches the full state, any additional generation has nowhere to go and gets wasted ("spilled" - which in  practice means not generated in the first place, although it could have been if there was somewhere for it to go).

Then, we once again adjust the generation high enough such that the energy storage ends the week at about the same place it started - "zero". We end up with a pair of numbers - a required energy storage value in MWh, and an energy generation value - some of which is used and some of which is spilled. 

Let's further suppose that "zero" on the energy storage graph corresponds to half full (this isn't quite right but probably minimises the error in guessing how much energy we might have remaining on any given midnight in April).

Figure 1 below shows what happens with the storage level. Storage fills from sunrise on day 1, reaching the maximum level shown as 30,000 MWh on the chart. The storage minimum of -45,912 MWh occurs in that early morning of the 5th of April.


Figure 1 - Electricity storage level for NSW in the first week of April 2021, with 7 times currently installed renewable power generation (solar and wind). Renewable generation is curtailed when the storage is full, which happens in the middle of each day. Total storage required to avoid a blackout is the  maximum storage level minus the minimum (30,000MWh - -45,912MWh = 75,912MWh)


This has resulted in 31% of renewable generation being curtailed, mainly solar power in the middle of the day that has nowhere to go because the storage is full and generation exceeds demand. 

As we generate more renewable energy, we expect a smaller required storage. Although we see that here, the effect is not very strong because of that night of 4th - 5th of April when there was not much wind generation. The size of the storage, just looking at this week, is that required to get the state through that particular night.

Widen the lens to a whole year of data

One week looks nice on a graph. Although we've captured an interesting event on the 5th of April, we don't know much about those other types of variability. Let's consider how this looks for the whole year of 2021, applying exactly the same ideas but probably without the graphs now because they'll look like cat fur.

I've had trouble locating the data for rooftop PV, so I'll leave that out for now (that actually helps a bit because it  means we have  proportionally less solar and more wind, which helps us get through the nights). I'll repeat the analysis at the end if I can  find the data again.

Figure 2, below, shows how this looks for the whole of 2021, now showing "End of Month" on the abscissa, instead of "End of Day". I've scaled up the generation up enough to just meet demand over the year (7.05 times the currently installed wind and utility solar plant). There's no energy spill, but we need at least 4.88 million MWh of energy storage (equivalent to meeting the state's entire energy demand for a 29 days running with no generation). We'll get to costing that out in a future post.


Figure 2 - 100% renewable power, no excess generation over the year (no spill) - requiring 4.88 million MWh of energy storage. That's 4,880 GWh, or 29 days of storage at state average power consumption.

You can see the problem here. Most of the draw down happens in winter from the end of April to the end of July. Most of the storage capacity is only used once per year, for that big winter dip. Figure 3 shows how the situation looks if we go to 20 times currently installed solar and wind. Now we waste 65% of the renewable energy we could potentially generate, but we only need 162,000 MWh of storage (equating to about 1 day of energy storage, instead of about a month).


Figure 3 - 20x current renewable generation. Only 162,000 MWh of storage are needed, and the storage is charged and discharged more frequently (that's good). However, we waste about 65% of the renewable energy that we could potentially have generated because there isn't anywhere to use it.

Figure 4 shows how the required storage varies as a function of overgeneration. The left hand side corresponds to just barely enough generation (no wastage) but large amounts of storage required, with just over 7 times currently installed renewable generation. The right hand side corresponds to 20 times currently installed renewables, 65% of which is wasted (curtailed, or spilled), but much less storage is needed.


Figure 4 - Storage requirement vs overgeneration (presented as % of generation which is wasted). High levels of overgeneration are wasteful in terms of renewable generation infrastructure, but efficient in terms of storage infrastructure, and vice-versa.

A trade-off is required

Hopefully this makes it clear that a trade-off is required. Efficient use of renewable generation infrastructure requires excessive and inefficient storage. Minimising the amount of required storage requires over-building of renewable infrastructure and wasting of the potential to generate energy, particularly during the summer.

The best trade-off is the one that minimises overall system cost - probably at between 20 and 40% energy wastage,  going from the shape of the curve in Figure 4, but we'll try to put some dollar figures on that next time.