As other posters have mentioned, the total cost of ownership of electric buses is already on par or lower than diesel buses. The problem is the upfront capital costs which are prohibitive. To put it in context, 1000kWh of battery storage is around £1000. Bloomberg New Energy Finance estimates that if battery costs will continue to fall at their current rate then battery electric buses (BEBs) will reach upfront cost parity with diesel buses between 2025-30 (I've attached a couple of reports on electric buses to this post). By this point there will be no valid business reason to buy anything other than a BEB.
Further up the thread someone mentioned double deckers and right hand drive being obstacles. Stagecoach in Manchester has just placed an order for 56 double deck BEBs from ADL/BYD:
https://www.thebusinessdesk.com/northwest/news/2027427-manchester-get-new-56m-fleet-electric-buses
However there are some practical issues with BEBs that need to be overcome:
1. Range. The largest (real life range available is currently about 250-300km) but this is contingent on many factors (hills, weather, ambient temperature etc). In order to have enough batteries to cover this range, passenger capacity is reduced.
2. Productivity (often as a result of range, or of overstated performance), in Moscow the BEBs there have around 80% availability, meaning you need to order 20% more buses to operate the same service, thus nullifying the savings made from e.g. energy efficiency.
In order to overcome this there are two technical solutions that are gaining traction (pun intended) in Europe and America.
1. Opportunity charging - The BEB is equipped with smaller capacity (crucially lighter) batteries - usually for 100km range - and there are flash chargers installed at the termini, allowing 10-15min rapid recharges. There is a fleet operating around Schippol in Amsterdam that covers 500km per day on this basis. However, the charging equipment is expensive, about £500k, and new power supplies are needed to provide the 400kW (ABBs TOSA is one example of this). Experience from operation in Cologne has shown that during the peak hours 75% of buses were delayed on arrival at the termini and were unable to charge. The only way to allow charging then was to draft in diesel buses.
Here's a couple of good videos demonstrating opportunity charging:
2. BEB Trolleybuses. It may sound odd, but there is genuine movement towards this option. The bus companies call this 'In Motion Charging' (IMC), or dynamic charging. Basically the trolleybus is fitted with a battery that can cover about 40km which is continuously charged while the bus is 'in motion'. The trolleybus catenery is discontinuous, it only needs to cover 50% of the route, and thus can be erected where it is cheapest and easiest to do so. Hills, and outer suburbs are preferred because this is where there are the longest, most energy intensive sections of route. Prague has recently installed 1km of trolleybus overhead for route 58 and more is planned. Berlin and Stockholm are seriously considering installing significant amounts of trolley overhead in order to facilitate this system. It is unlikely that this version of charging will be embraced in Britain, in my view anyway.
Here are a couple of videos demonstrating IMC trolleybuses
3. Electricity requirements. According to Kiepe, overnight depot charging has the greatest draw on the grid followed by flash charging and IMC last.
I've attached some information to this post, if anyone is interested. In reference to Lothian buses, if the Low Emission Zone goes ahead then their fleet will need to be 100% Euro VI by 2023. That means a lot of buses will need replaced or retrofitted and the Euro VI retrofit increases operating costs significantly (c£200k higher fuel costs over lifetime). It would make sense, in my view, for the Scottish government to pay for the installation of opportunity charging equipment (they'll give you an interest free loan to buy a plug in car) and loan bus companies the capital to go straight to electric, bypassing Euro VI. And as an aside, Euro VI doesn't necessarily reduce emissions.
So in answer to the question, how long will it take for lothian to go fully electric? I guess by 2025 diesel buses will be the minority and the manufacturers will probably have stopped making them, or they'll be the minority of orders.