Game Design, Programming and running a one-man games business…

Solar farm development costs so far

So… for those who missed earlier blogs, My new company (positech energy) is trying to build a 1.2mwp solar farm in the UK. I thought it might be worth reminding myself how much has been done, and how much further we have to go. Currently, we are awaiting a planning decision, which has been delayed twice already, but should now happen in less than a month. I suspect this date may actually be final this time…

Here is what has cost me money so far:

Feasibility Study£5,000
Planning Application submission fee£9,730
Topographical survey (is the land flat etc…)£1,150
Solar farm scheme design (inverters/panels/substation reqs etc)£3,465
Habitat survey (are there any endangered bats on the site?)£914
Archaeological Survey (are there any buried roman settlements on the site?)£990
Visual Impact Assessment (will anybody see it, and how badly will this affect them?)£1,485
Flood Risk Assessment (will the site flood? will building it make anywhere else flood?)£495
Construction Management Plan (tell people what building works will happen)£495
Planning Statement (honestly…not sure of this one…)£247.50
Transport Statement (how many trucks, what size, when, where, what route…)£247.50
Statement of Community Involvement£495
Consultant Co-ordination (so I dont have to speak to all these people myself)£495
Planning form (actually entering all of this stuff into planning system)£495
Sundry Expenses (site visit mileage)£250
Historic Impact Assessment (Will building this impact the local history, or views of anything historically interesting)£3,285
DNO (Distribution Network Operator) submission for a grid quote for electrical connection£3,600
Project fee for buying the existing project from previous developer (long story)£5,000
50% of landowners legal fees£464.50

Amazingly, I have already paid all of this, and yet do not have planning permission yet. In theory, I could be denied planning permission completely with no way to recover, and that would mean all of this money was wasted. Scary hug? But wait…there is more:

10% deposit on over 3,000 solar panels£44,524.80
First payment towards electrical grid connection£50,000

Yikes. Those are the big ones. And scary too, because the panels will show up in the UK soon(ish). If you think I can store them in my garage until we get a new site, think again. Its 70 tons of solar panels. In theory, if it all goes wrong, we can cancel and only lose 5%, but more likely, we can re-sell them to someone else, or even have the farm construction company buy them from us. We also have another site currently being evaluated, so we could use them there.

The grid connection deposit can mostly be refunded if we cancel, depending how much work they have done so far, but given the stupidly long timescales they quote, I doubt they have done much yet. Its precisely BECAUSE the grid connection timeline and solar panel ordering timelines are SO long, that I took the risk to order both before getting planning permission.

So what other costs are coming up?

Landowner fee on signing (one-off bonus)£10,000
Legal Fees on signing£1,000
The rest of the solar panel cost~£400,000
The site construction cost~£200,000
The solar battery cost~£240,000
The rest of the grid connection costs£101,007.17

You got to love that grid connection cost right? Especially the way they do it down to the penny to support the fiction that its super competitive, when in fact your choices is of accepting the quote…or not accepting it and not being able to build a farm… In theory its highly regulated cost wise, and in theory you can do some of the work ‘the contestable work’ yourself using a 3rd party, but in practice the amount of the work that is contestable is a pittance, so it just introduces confusion and complexity for almost no gain…

There is really nothing more I can do until we finally get a decision from the planners, which I REALLY hope is ‘granted’, but would not be flabbergasted to discover there are conditions or other requirements. Honestly you would think I was bulldozing st pauls cathedral and making solar panels out of the corpses of rare badgers I crushed under a steam roller, given the way these things get treated in planning terms… Needless to say I have a LOT of VERY strong opinions on how fundamentally broken our planning system is (and it gest seemingly worse over time, not better).

I’ll state it again here: The biggest enemy of the UK meeting its net zero goals is not UKIP, or the daily mail, or the conservative party, or apathy, or cost, or technology.

Its bureaucracy.

For starters, the timescales need halving, AT LEAST. Secondly, we really need to collapse a lot of this paperwork into one. There is no need for separate planning, transport, construction and community engagement documents for crying out loud. Also we need a lot of clauses to allow smaller developments to bypass some of this crap. If your total site area is small, you shouldn’t need to do the full archaeology/habitat/flood/historical nonsense. By all means, if you are covering 100 acres with solar panels, then lets make sure all bases are covered, but for a relatively tiny site? This is ridiculous.

I actually anticipate fairly smooth sailing if we get planning. My plan is ON THE VERY SAME FUCKING DAY that we get planning approval, I want to order the battery, the mounting kits, the inverters, EVERYTHING, so that we are 100% ready to hit the ground digging ground screws in as soon as possible.

This is why I took the risk of grid & panel ordering early. Its also why I’m about to sign a lease with the farmer, and start paying rent (likely next month). I don’t want anything to stop us building the farm once we have permission. In an ideal world, the panels would get unloaded from the ship the day planning is granted. In practice, things are bound to go wrong.

I am nervous about, and very focused upon…getting planning permission for this thing. Its DEFINTELY the most risky and bureaucratic and infuriating thing I have attempted so far. Expect lots of drunken tweeting from me on the day we get it (if we do…).

Doing the maths on a home solar-panel upgrade

My data suggests that the output from my solar array is roughly 1.6MWH per year. This is a 2.1kwp install from over ten years ago, that was recently retrofitted with solar edge optimizers to increase its output during times where some of the panels, or part of a panel was shaded.

I am currently using the octopus go tariff (designed for electric cars for my home electricity consumption. This has 2 different rates, depending on the time of day, and at the time of writing they are:

12.30am to 4.30am: £0.075 / kwh.

4.30am to 12.30am: £0.3061 / kwh.

To add to the complexity, I am on an old ‘feed-in-tariff’ which subsidized my solar install (long since discontinued, but I still luckily get it). This pays me an inflation-linked rate of £0.65/kwh for generation (regardless of what I use) and a ‘deemed export’ additional payment of £0.0185/kwh. Another way to phrase this, is currently I earn £0.67 per unit produced.

Of course, I earn that as a payment from the feed-in-tariff provider, but also this reduces my own consumption. If we assume that roughly a third of the power I produce offsets energy I would have used (as some will be peak daytime summer when I’m outside or not using much power anyway), then I can add a third of the price of a unit bought to each unit produced to reflect this saving.

So that gives me roughly £0.77 per unit produced, or given my production of 1,600 kwh per year, an income from the current solar setup of £1,244 per year. Not bad. Can I do better?

I cannot (due to shading issues) realistically add more solar panels, and I would need planning permission for that anyway, but could swapping out the 10 panels I have make sense? The output from solar panels is now a lot better than when I got mine about 11 years ago. My panels are MPE215 PS05 schuco panels. The ‘module efficiency’ is 14%. AT 12 years, the output guarantee is 90%, so they are already 10% down on the output I would expect. On the plus side, I have solar-edge inverter and optimisers, so I am squeezing the best possible output from each panel right now:

If I upgraded the panels then I would still keep using solar edge, so this benefit is not significant in deciding to upgrade. However, if I *did* upgrade it would finally be time to do the obvious, and get a solar storage battery (lithium-ion). This is something I would love, as it would reduce my electricity bills to almost zero throughout the summer (at least the peak usage…I would still use scheduled charging on the car to fill up its 85kwh battery during off peak hours. Trickle-charging the car during the day manually is just too much messing around…).

So what would the economics look like if I had battery storage and new panels?

Firstly, I would 100% lose the feed-in-tariff, as you cannot change an existing install. On the other hand I would qualify for a smart-export payment, but its trivial, and would require me to export power! whereas with battery storage I’d simply use that power to top up the car and likely export almost nothing. On a peak day, I generate a maximum of about 12kwh (perhaps 18kwh with new panels), and the car battery is 85kwh. its unlikely I would have an option to earn anything at all from exporting energy.

So it comes down to how much extra power I would generate (and thus avoid paying £0.30/kwh on), plus how much I would save by being able to time-shift the power. Actually the economics are not good…

When I generate a unit of power now, I ALWAYS earn £0.77. If it displaces peak power usage, its earning me £1.07. If it only displaces off-peak (car charging) usage, it earns me £0.84. The real problem is that with new panels, all I can ever do is get credit for the energy I would not use, so £0.30. Unless new panels were FREE and also generated 200% more than the current ones, I cannot make the economics work, even assuming that the battery is FREE, and the time-shifting and scheduling of stuff works perfectly.

The real elephant in the room here is the old feed in tariff. It did a fantastic job encouraging demand, in that I was the first person in this village to install solar, and helped encourage others to do so, and enabled the industry to scale up. However, people like me are now effectively trapped in a valley of economics, where we are basically paid too much to generate power on old panels to bother upgrading.

In an ideal world, I would be able to keep the tariff even with new panels, although I understand that might seem cheeky. I do find it pretty frustrating that I am incentivized to keep producing 2.1kwp of power instead of the 3.15kwp I could generate with new panels.

What if you don’t already have solar panels though?

Assume your usage pattern is the same as me, so your consumption of power is roughly 474kwh per month, or 5,688 kwh per year.

If you do no time-shifting of demand, that would cost you £1,706 per year. lets assume you have a suitable roof for a 4mwp installation, and can thus produce double what I do, plus 50% for increased panel efficiency. That means you produce 4,848 kwh per year, but spread in a bell curve. Leta also assume your consumption is constant, and a battery allows you to perfectly demand-shift during a given day, so no generated power is wasted. lets assume an export ‘smart export guarantee’ of £0.05 and a power purchase cost of £0.30. (I’ve assumed a similar curve of solar generation to my own setup):

So in this setup, normally your annual bill would be £1,706 but reduced down to £583.50 by having solar panels. Thats an effective saving of £1,122.90. Is it worth doing?

The energy saving trust assumes an install of this size costs £5,400. The big kicker would be the battery. I think to make best usage of it, you need to be able to store 66% of a peak days generation in the battery for usage later. So thats a 12kwh battery, which costs about £4-5000 extra. This leads to a break even point after 10 years.

However, if you assume no battery, and that you cannot load shift 50% of your usage we get this:

So now we are buying power even in summer, because we use some in the evenings, so our total energy bill is £1,025.40 instead of just £583. We saved £681 a year. Payoff time assuming £5,400 install? 8 years. This assumes unshaded south facing like my example, although your output may be higher, as I have some shading from trees outside of peak months…

So should you install solar panels? *it depends*. There are so many factors at play right now. The energy price cap in the UK is likely to go up another 50% in October. Running that through my spreadsheet means payoff time is in 4 years. WAY better. If energy prices rise even further, its super compelling.

Conclusion: if you live in the UK, Solar panels are a no-brainer investment assuming energy prices DO rise in October (hint:yes) and do not fall. Domestic battery storage remains a hard sell, although if prices of battery units themselves come down, they may become a lot better.

YMMV. Things to take into account:

  • If you have a big roof and can go bigger than 4.2kwp, then do so. A big part of the cost is install & inverter. Panels are cheap
  • The extent to which you can shift demand, using an EV charger, or timed dishwasher/washing machine will depend on if you have a smart meter and a suitable tariff. (get one)

Yet more refinement and complexity regarding party politics in Democracy 4

I am currently working on some voting systems DLC for Democracy 4. In doing so, I have carried out a lot of testing, and balancing, and evaluating, and have just encountered something that I think is lacking in the game. Or more precisely…wrong…or at least imperfectly modelled.

Take as exhibit A this chart (on the rhs) from the game showing the distribution of happiness (0 at bottom, 100% at top) of all of the simulated voters. Because this is in debug mode it draws 2 exciting lines, which are showing the voting thresholds in the game, drawn across the chart in red and blue

image

These (hidden from the player) thresholds are used to decide what party voters vote for, have sympathy for, and may even become members or activists for. In a very simple 2 party system, there is just 1 line at 50% (to start with..) in a 3 party system, they are at 40 and 60%. Below 40% = opposition party, 40-60% means centrist party, above 60% means the player party.

Canny maths experts have already spotted that this is not an even split. TRUE! but thats ok, because it represents the fickleness of a first-past-the-post electoral system. If you change it to PR, the game swaps to a 33/66% split, with each party representing one third of the available ‘approval space’ in the game. This is how we represent the fact that voters are more likely to find a party they can support at the ballot box if a more proportional system is used, with fewer wasted votes…

…also I need to point out that the system is not that simple! Over time, the position of the opposition parties moves towards that of the center-of-gravity of the electorate. So if, for example, all the voters are very unhappy, those thresholds will move down, as the opposition parties position themselves so they can win more votes. If you can imagine a new ‘gravitational center’ line in the middle of all the voters, both that red and blue line are getting sprung (to an extent) towards it.

So far so good. Thats how the game works right now.

BUT. Two things are amiss here, and I am now working on improvements. For one thing… in the real world, parties change their positions in order to WIN VOTES not to improve the ‘average approval’ of themselves. In previous blog posts I have labored the point that average approval and voting intention are different things entirely! I have edited the games code for 3 party PR-systems to take this into account. Now… in a 3 party PR system, the opposition parties move towards the gravitational center of voting intention (not approval) only for opposition voters. Let me explain with examples:

The UK has 3 parties of size: Conservative, Labour and Lib Dems. In the old system, the labour and lib dem voters would be essentially moving to a policy position that kept everyone in the UK as happy with them as possible, while still remaining vaguely rooted in their principles. However, in this new system, the Labour/Lib Dem parties will still gravitate towards this position…but the dividing line between those parties will now only be affected by the firm voting intentions of non conservative voters.

Under the old system, a policy change by the non-centrist opposition party (labour), that seriously upset conservatives, but made lib-dem voters happy… would maybe not be adopted, because the average approval of ALL voters (including conservatives) was being measured. Under the new system, labour policy totally ignores the hardcore conservative voters, and is only concerned with winning votes from the lib dems, and more importantly…winning VOTES…not just a change in opinion. So for example, a policy position that has no impact on right-wing lib-dems, but may well win over voters floating between lib-dem and labour…will get adopted.

(Of course the game abstracts this, and you don’t get to see oppositions literal policy positions, but its all represented in the way these thresholds move.)

Why does this matter? Because by making this change, a more sensible position is chosen for that red line. What that means is, under the new algorithm, with a PR system those red and blue parties are more likely to be equal sized, and we are more likely to get coalition outcomes. This is EXACTLY what you would expect under a system of proportional representation.

So thats one change… and something I am definitely still testing, and will be specific to PR, and thus the new DLC. However, when working on this I realised a fundamental misconception about party membership that is unbalancing the game.. <drumroll>

If you look at that chart again (in fact I’ll repeat it with some arrows..) you will see that the 3 parties also have a center point, which is used to determine how much someone believes in the party:

These locations determine how big the membership of your party gets. Someone close to the blue arrow is likely to join the bluie party, someone close to the green arrow is likely to…etc. See the problem?

Yup, the system is total bullshit. The centrist party has its membership center slap bang in the middle of its political sphere, but I placed the other 2 parties at the extremes. At the time, this made sense to me, but now… Ha. no. This makes no sense. Think about political parties on the edge of a mainstream political spectrum. Where are the members and activists? They are likely to be in the same position as the members in the centrist party: At the location CLOSEST to the center of policy position for that party. The voters shown at the red and green arrows are not diehard loyalists! they are the extreme libertarians or fascists or communists who consider the party they vote for to be a reluctant watered down compromise! They are actually the voters on the verge of ‘wasting’ their vote on a fringe party. No! The correct positions should be:

In other words, we should have some red party members here, and ok… maybe not a green party one yet, but certainly more likely than under the old system.

This is a fundamental coding screw up and design miscalculation. Its not exactly critical, but I strive for accuracy of my political modelling. This change will affect non-DLC vanilla games too. If you have been playing Democracy 4 and bemoaning the fact that only the middle party in 3 party countries ever gets any members, you are not wrong to do so. I’ll fix this for the next update.

Solar farm: The rough economic model

As you may know, I’m hoping to build a solar farm. In fact we are pretty far down the road of doing it. The current status of the farm is:

  • Grid connection quote accepted and £50k deposit paid
  • Lease agreed and waiting on final signature by landowner
  • Planning application applied for, currently being edited, waiting for final approval
  • Panels ordered and 10% deposit paid

To recap: This is hopefully a 1.2MWP solar far, (about 3,000 panels) in England, with a small element of battery storage (likely 256kwh or maybe 512kwh of battery). It will be grid-tied, and will sell electricity to the grid using a power purchase agreement (PPA).

So how do the economics of all this work? Well basically you spend a huge amount of money up front (maybe £1.2million) and then recoup that investment, with hopefully some profit, over the farms lifetime, which is often calculated at 25 years but is likely to be 40+. Thus the spreadsheet for the whole project looks like a catastrophic loss, easing gradually over time into a decent profit as the years tick by. Here are some rough numbers (but not *that* rough, as I actually have paid some of this now…

Up front Costs:

  • All the various bureaucratic nonsense involved in a big planning application: ~£30,000
  • A quote for a grid connection: £3,600
  • Initial fee to landowner (one-off) £10,000
  • Solar panels, inverters and installation: ~£680,000
  • Grid connection: ~£150,000
  • Battery: ~£240,000
  • Total up-front cost: ~£1,200,000

Yikes.

Now lets look at the ongoing costs:

Ongoing Costs (per year)

  • Rent to landowner: £5,000
  • Insurance: £2,000
  • Maintenance: £4,000

There are also some other costs that its easy to forget such as…

  • Accountancy for the company £660
  • Energy trading software subscription: £420
  • Cost to replace all the inverters once: £1,200

The Economics

So is this profitable? Well… it depends. Hopefully! Basically its a bet on the long term wholesale price of energy. In the UK we have an ‘energy price cap’ which a rather economically illiterate government introduced as a popular measure to prevent people’s fuel bills going too high for their political comfort. Of course, we could invest in more infrastructure and better insulation but…nah. Anyway, this is thankfully not a concern in the world of energy generation because the wholesale price is uncapped, and has been skyrocketing.

In normal years, the fact that the price of solar panels has shot up and labor costs have shot up too…would be devastating to the economic case for solar farms, but luckily wholesale energy prices have been crazy high too. This was BEFORE the Russia-Ukraine war, which has pushed them up even further.

The bad news is… the figures I have may all have to go up because of rampant inflation. However, assuming they do not, the break even point is now:

  • 13 years at a wholesale cost of £60/MWH
  • 9 years at £100
  • 6 years at £140

Right now, PPA (purchase power agreements) are super-high at around £200, but this is unlikely to last, especially with so many big new energy generation facilities coming online. The situation is very complex because supply side we have these factors:

  • Closure of old nuclear plants
  • Opening of new nuclear at Hinkley point
  • Potential new small nuclear power
  • New wind farms coming online
  • New large-scale solar coming online

Meanwhile on the demand side we have:

  • Rollout of electric cars in the UK
  • Phase-out of gas boilers in favor of air source heat pumps
  • Phase out of gas-for-power as we strategically move away from foreign gas reserves to home-generated power.
  • The push for Net Zero / Climate change concerns.

So when it comes down to it, this is a BIG BET, that the demand side outweighs the supply side. I think this is a good bet, but its still a risk. if it pays off well, it might be a very profitable investment, but if that happens, I’m not going to feel guilty about it. It could easily go wrong, and actually LOSE money, so there has to be a risk-premium attached to locking up this money for 25-40 years (effectively the rest of my life).

I’ll do an updated post once I have more information, especially if we actually get planning permission, and a signed lease and then firm battery quotes (because that means the rent is definitely fixed, and I have a real battery quote, not a guess).

Thoughts on potential Democracy 4 expansions / DLC

Democracy 4 has been released from early access over a month ago, and has had 2 big updates since then, and further updates to the game, especially regarding balance tweaks, are definitely coming. However, I am a big fan of the ‘expansion pack’ model of the business, because I think it has a number of positives:

  • It allows players who are only casually into the game to play an approachable and simple base version
  • It gives scope for players to choose which expansions to get, based on their level of interest
  • It means that I can learn from peoples’ feedback on the base game and produce the sort of extra content people might want

Of course, the big question is exactly what part of the game to expand upon or add to. There are a bunch of ideas floating around in my head, and I thought it only sensible to get those ideas out there in the wider world to canvas feedback from real players of the game, so in no order at all, here are some idea.

DLC idea #1 Voting Systems

We already did an electioneering expansion pack for Democracy 3, but all of that content is already included for free in the base game for Democracy 4. However, I think there is a lot of scope here. For example, right now the player has no influence in direct terms, on the voter turnout. We could add policies to encourage voter turnout, like information campaigns (which may or may not benefit you, depending on your electorate). Perhaps polling data could show what the result would be like when polling only likely voters! Also we could model voting reform, so whether or not to lower (or even raise) the voting age, whether party donations are capped, or can be anonymous, can come from corporations or foreign nationals…

There could also be some modeling of campaigning tactics. I like the idea of the player having to choose from a list of different metrics (GDP, Unemployment etc) on which to focus a year before the election, so the player has to be wary of what they drew attention to in their campaign literature. We could also allow attack ads, at a possible risk of backfiring.

Also, some countries like the UK ban political TV ads. We could have this policy, and also maybe a ban on robocalls. We could also have limits on who can stand in elections (US president must be US born etc), and if the state funds political parties at all.

Electoral reform: the fine print matters : Democratic Audit

DLC idea #2 Situation Room

This one would expand on the terrorist threat element already in the game. I’ve spent a fair bit of time on this idea. Basically it would introduce time-limited decisions to the game, where a serious threat or event takes place and the president (you) has to make a decision on what to do RIGHT NOW, in a ‘the clock is ticking’ style. This would mean no time to consult a lot of data, and a gut decision.

An example dilemma is shown below. I think it would be interesting if the advice and intelligence given in these sudden events would be dependent on how involved your intelligence/security network was, so it would be harder for liberal democracies, and easier for more authoritarian states, to add some tension between liberal principles and security:

dlc1mockup

I think of this idea as a sort of ‘west-wing situation room meets 24’ style political thriller expansion, where the player has to deal with lost of situations that with any luck, the general voting population never even hear about. We could have dirty bomb threats, suicide bombers, espionage from other countries, and the possibility of using illegal measures covertly to protect the security of the country.

In game-mechanic terms, I keep coming back to the idea of this involving what are in effect spruced-up dilemmas, but with a timer, and no opportunity to gather extra dat and come back to them.

DLC idea #3 Dirty Tricks

This would basically be a corruption, scandals and dirty tricks expansion, where the game effectively tempts you to be corrupt, with potentially bad consequences later. We can all sadly come up with tons of ways in which we could model this. I know one game (might be tropico) actually used to let you put money in your own private account, and we could do a similar thing here, literally taking money in exchange for policies :D

I think there is a lot of scope here. You could order the secret service to look for embarrassing or compromising information on opposition leaders or campaigners. You could literally bribe the press to give you better media coverage. There would be an option to just flat out lie about some government statistics, to prosecute whistleblowers, to threaten journalists and so on.

We have a very slight element of this in the game already whereby general media censorship means that political media spin events are more likely to be perceived as positive. However, I can imagine it being an option where an event clearly backfires but you can then choose to flat out threaten any journalists that reported on it.

Intimidation at polling stations by violent gangs ordered indirectly by you would also be included here.

Perhaps we could track both your own morals (on a good -> corrupt axis) along with your private bank account, as things that a player could choose to focus on for their own satisfaction :D. I can imagine an interesting situation where players who decide to play a game completely fairly and with principles would be tempted before a difficult election to bribe some journalists “just this once” etc.

Justin Trudeau anointed by Richard Nixon - at four months old | Canada |  The Guardian

DLC idea #4 Country Pack

Pretty self explanatory. I think there are a bunch of interesting countries that could be added to the game. Switzerland strikes me as interesting, as does Poland, maybe also Turkey and perhaps a country like Honduras. I think the goal would be to pick interesting countries, not just ones with the most players, and take the time to represent them as well as possible, so doing a lot of research into the economics and political environment for each one. That probably involves a bunch of new policies and situations and dilemmas for each country to represent their specific challenges.

West Bay Beach - Roatan Island, Honduras - West Bay Beach, West Bay  Traveller Reviews - Tripadvisor

Anyway… I have not decided yet, and am not currently working on DLC, but I was interested to get anybody’s first reaction to which direction to head in. I’ll check comments here, and post a twitter poll at https://twitter.com/cliffski/status/1504400682836758541