NextgenHeating

Wednesday, March 7, 2012

Smart Phones, Stupid Cars?

I recently found myself coveting a new Smartphone. Unfortunately manufacturers seem to be locked in an endless battle for MHz and the appearance of an after dinner mint. While I know I’ll be disappointed but my inner techno-junkie just keeps driving me to search for a replacement.

The EO440 - I did that
Don’t get me wrong, I get the smart-phone concept. I even helped to design one, the EO440 in 1991!  In 1992 I presented a concept to EO’s board for what I called "the Multimedia EO”, which had an ARM CPU, stereo audio, a [2D] graphics processor driving a [colour] VGA LCD and a Sony minidisk for storage but it was rejected as too radical ;o). EO closed their doors a year later because the market simply wasn’t ready.

My first personally owned mobile phone was a Nokia Communicator, followed by a Sony Ericsson P800 and a couple of Windows mobiles. While they weren’t particularly smart they did have one thing that my current "smartphone"; the Omnia HD doesn’t have – the ability to make calls. Its my fault really; I’m just not good at remembering to charge it and it’s battery life is hopeless. So whenever I actually NEED to make a call (like when I was hit by a truck on the Brussels Ring and needed to call the emergency services) the Samsung simply stares back at me with its one black eye!

I bought the Omnia three years ago after what I thought was considerable research. It had everything – 3g, WiFi, Bluetooth, FM radio, full web browser, 8 Mpixel camera, full HD video playback yada, yada. Two hours in I realised that the WiFi was out to kill my battery and had to go; that pretty much also put paid to web surfing.  About 3 months ago I also turned off Bluetooth as my now aging battery could no longer take the strain. It’s still a fair MP3 player if I’m honest and I take the odd photo. Otherwise its just a paperweight that I try to keep on charge in case anyone wants to call me, which takes me back to where I started this blog.

So I scour all the reviews for the figures on battery life.  Apparently 5 hours of use is now considered pretty good; In what universe did that happen? The Samsung Galaxy Note was my great white hope – surely in a brick that big they could fit a proper battery, but no, its only 2.5aH. So its 9.65 mm thick and 178 g – big deal, its still a £500 paperweight as far as I'm concerned.  I put a 3.9aH battery in my last Windows Phone, a Mio A701 and did not run a 5.3 inch display or a 1.4GHz dual core processor from it.  To be fair a double size battery is available for the Note but then it wont fit in its cradle :o(.



Rant over you might think? Well no, this is an ecoblog after all and I’m also in the market for an electric car :o)

Most people [perhaps those same people who think a 5 hours battery on a smartphone is ok and have them tethered to a wall socket most of the time] say that electric cars aren’t ready for primetime because their battery life is not good enough. However, like Smartphones I think I get the concept. I’m not one of your Top Gear troglodytes that won’t buy one because they have limited range. I know that 90% of my journeys are round trips of less than 50 miles and we have a second car for those longer journeys. Indeed if I did the fuel maths I could probably get rid of that too and just hire a normal car when I really needed to go a long way.

If only it looked as good as this!
So what’s the problem I hear you say? Well most electric cars are just stupidly expensive and I just don’t need one that badly. Then Renault came up with a Clio sized car that seemed to be perfect on paper and not badly priced. The catch? They rent you the battery. Ok, so people are concerned about battery longevity and this is one way of taking away the worry, but the rental cost is simply unreal. Its £60 per month, which is way more than the fuel cost of our current second car. We simply cannot do enough mileage to make it financially worthwhile.

So that’s two bits of tech-kit that my engineering brain is dying to have but my wallet is screaming no to. Is it me or are the business models of both Smartphones and Electric cars just out of touch with reality?

Tuesday, January 31, 2012

Game On!

I'm sorry to say that my blog has been somewhat neglected of late. You see, since April last year I have been embroiled in buying and moving into our first house in Belgium

Home Sweet Tervuren Home
The good news is that we are now installed in what started out as a 1960s 2 bedroomed bungalow with garage underneath but which was extended in the mid 1980s to almost double its floor area.  The house is a real mash up  from the 1963 open cavity wall and uninsulated floors of the original bungalow to the cavity wall and insulated block work of the extension and the circa 1985 gas fired heating system which replaced the original oil fired central heating boiler.  The house was double glazed about 7 years ago and so is reasonably thermally efficient. The loft was also converted into living space and seems to have been well insulated in the process. I estimate that the current heatloss is around 10kW @ 0oC.  The current oversized boiler is probably around 75% efficient.  This makes it an ideal candidate to be a test bed for the first Nextgen low carbon heating system installation.

When we moved in I immediately noticed that the the hot water system almost completely innefectual.  The 220 litre storage tank was heated to around 70oC twice a day by the adjacent gas boiler but lost almost all of its heat in two or three hours due to convection currents around a 20 metre long loop of unlagged pipe. A quick calculation shows the daily heat loss to be of the order 20kWh or ~ €2 per day - ouch!  Ironically the loop was designed to save water water by using a circulation pump to circulate hot water around the loop allowing hot water to be instantly available at a sink at the opposite end of the house.   This and the mass of unlagged pipes around the boiler led to the bizarre situation where the otherwise unheated garage was the warmest room in the house! 

Some loss from a hot water system based on a hot water tank is inevitable.  As a comparison Steven Harris of the Energy Savings Trust recently reported in his blog loosing around 7kWh per day from his solar powered hot water system.  In my case three hours of my time with adhesive tape, scissors, a knife and €25 of pipe insulation reduced the hot water heat loss by at least a factor of two with the happy side effect that we now normally have enough hot water for a shower at almost any time of the day!

Boiler post Insulation
Notwithstanding the “emergency” pipe insulation above my intention is to run the system "as is" for the first year to get a benchmark energy consumption for the dwelling.  This will then serve as a cross check against the Nextgen  energy usage simulation computer model which will be used to predict the payback period of the system.  It will also serve as a reference from which future energy reduction steps are measured.  My ambition is to reduce the carbon footprint of our house by at least 50% and perhaps as much as 70% compared to when we moved in.  This radical reduction cannot be achieved without a plan. Now that we are settled in I will have to get busy with simulations and costings.

Let the game begin! 

Saturday, January 7, 2012

Stuff and Nonsense?

Looks nice in the brochure :o)

[Written in April 2011 - more on that later] We recently took delivery of a beautiful new solid oak bedroom suite.  It filled us both with joy and a little guilt.  Joy because we have been looking for new bedroom furniture for over five years and this is the first complete set that we have both liked;  Guilt because it was made in Vietnam and bought and shipped via the UK.

Let me say I’m not against Vietnam.  I’m very pleased to be able to put money into this relatively poor country and given the obvious quality of the workmanship they deserve every penny.  No, it’s the carbon cost of sourcing from the other side of the world that worries me.  Oak is a very heavy wood so surely the carbon cost of its transportation is very high?  Of course it was not shipped to us by air; it came by container by sea. The carbon cost of shipping a container is actually relatively low and our furniture no doubt shared a container with several other commisions by the same company.
 
Unfortunately that container ship went to Liverpool and our furniture went into temporary storage before being shipped to us by road on a regular removals van.  This removals van had a stop in Boulogne before coming to us but was going on to Italy before returning back to the UK.  The last part of the journey had, no doubt, a much higher carbon footprint than the journey from Vietnam to the UK.

This may be a good point to bring in two other [not so] topical news items, namely the earthquake in Japan and the trade deficit in the UK.  There are warnings that there may be goods shortages due the Japan earthquake and resulting lack of Japanese widgets being produced for all kinds of goods and equipment.  Japan is a very strong exporter and has cornered the market for several commodities, clearly to such an extent that they dominate in those markets.  Taking these suppliers out of the supply chain is obviously having a detrimental effect on the manufacture of many types of goods.  Is this good for the world economy? No.  At the same time the UK, which seems to be struggling to be effective in producing goods for export is instead importing (like me) goods from around the globe. Our appetite for Sony PlayStations and TVs, Samsung mobile phones etc, etc is never ending and we have very few competitive products that the Japanese and Koreans want in return.

I’m not calling for protectionism, that is a bad thing, or blind patriotism – I never bought a British Leyland car because I never considered them to be competitive in quality versus the Japanese or even the French offerings.  What we need to do is find our competitive spirit and (re)start to produce goods that people both locally and globally will want to buy.

Talking of “stuff”, I’m writing this blog on the train to Frankfurt.  Sitting opposite me is a mother and daughter with three huge cases of luggage.  I have to wonder why they need to travel with over 60kg of stuff in tow.  In my lifetime there has been an explosion of “stuff”.  At the same time we are all (current recession included) much better off than we were a generation ago and our appetite for stuff just keeps growing.

My wife, Kate, and I are starting to wonder just how much stuff we really need.  Perhaps it is time that we simplify our lives and live more sustainably, going back to sourcing things locally where possible. That means taking a long look at what it is that people actually need and making it here in Europe.  Buying fewer, more expensive but higher quality, longer lasting items might actually be good for us and also good for the planet

Sunday, February 20, 2011

10:10 and Microsoft

My 10:10 article earlier today got me thinking about another topic.  Last year I noticed that Microsoft had signed up for 10:10.  I admit to having had a little intellectual snigger at this as Microsoft must preside over one of the biggest carbon footprints on the planet in the form of its Windows operating system.
  
It's easy to knock Windows and I am certainly not the first person to do it.  I also understand that Windows is one of the biggest, if not the biggest software project ever undertaken.  As such that it works at all is a minor miracle . After all many such projects have simply collapsed under their own weight.  Neither am I a Linux bigot; I still use Windows for the simple reason that it is the closest thing there is to a standard in the PC space.   No, the problem with Windows is not that Microsoft is incompetent, far from it. The problem is that it's simply too old.


Windows was written when computer hardware was much less capable than it is today.  For example, It had to make use of virtual memory to support all of its features.  Now the [SDRAM] memory on my PC, at 8Gbyte is 20x as big as the hard disk of the first computer I ran windows on but I still cannot turn off the virtual memory feature.  As a result it sits there "strumming" the hard disk even when I do nothing.  Worse by far is the automatic update system.  Think of all the servers, the network infrastructure and the sheer number of PCs involved to keep the OS alive today.  And all, it seems, for nought.  My Windows 7 installation, though less than 6 months old, is fatally flawed and requires (according to my web research) a rebuild but I don't have the time or indeed the heart to do it. This is all a waste of energy, both figuratively and literally.


The Intel turn-around over the NetBurst (Pentium 4) architecture is now very well documented.  Pentium 4 CPUs, in their push for more and more MHz were not just wasteful of power, but were to such an extent that they were starting to push the thermal dissipation problem to its limits. At the time I would only consider AMD CPUs as I valued MIPs/watt over raw MIPs.  I applaud Intel's courage in making the turn around to achieve a 4 fold reduction in power consumption while achieving a similar increase in CPU power.   Indeed their 2011 "Sandy Bridge" architecture with its dedicated hardware acceleration is yet another step in the right direction.


So could Intel's success be replicated by Microsoft?  Could they make a Windows compatible operating system from the ground up?  In theory, Yes, though many of us still remember Longhorn!  However all incumbents have a disadvantage and Microsoft shows no signs of having the will to fix Windows.  Only now, for instance, are they talking of porting Windows to run on the ARM.  I suspect this is merely a reaction to the disruptive force of the I-pad and its derivatives.All this reminds me of a recent PC-Pro article in which Hermann Hauser "Believes that Intel's days are numbered" and that ARM will inevitably kill Intel.  I have a huge respect for Dr Hauser.  I have had the privilege to work with him three times, the first of which, coincidently, was at Acorn at the time the ARM CPU was designed.    One of Hermann's favourite stories was of a visit from Bill Gates, who was then trying to peddle MSDOS.  Hermann sent him away saying he had superior technology which, of course, he did.  However you have to ask yourself why is Bill Gates now a billionaire when Hermann is only a millionaire?  Indeed Acorn had local area networking in 1984, long before Ethernet was brought to market yet it failed to capitalise on its technical superiority. Hermann, then, is a clever man but is not a perfect Industry barometer.  As per my previous article today,  I do agree with Dr Hauser that we are entering a new wave of devices with "good enough" technology.  That these devices are battery powered is great news for our global carbon footprints as any OS that runs on them must have power consumption high on its priority list.  As a new medium there is no need to be compatible with legacy programs so there is no need for Microsoft's OS.  To my mind that makes porting Windows to tablets both futile and irrelevant.  I think the jury is out as to whether ARM will beat Intel.  It is, however, becoming increasingly clear that one way or another Microsoft's carbon footprint is about to get a lot smaller.

The 10:10 challenge?

10:10 is a movement started, it appears, by the team that made "The Age of Stupid".  It seemed like a great way of getting like minded people together to create momentum for change.  I joined immediately.  One year on I admit to being a little disillusioned by their lack-lustre success driven mostly it seems by their inability to make concrete recommendations as to how their members might lower their carbon footprint.  10% would seem to be a relatively easy goal but it does require more than just changing perfectly good light bulbs for low energy ones.

I was recently accused by one of the VCs I'm talking to of proposing what might be a "boil the ocean story" in respect of NextGen heating.  He clarified this by saying "it needs widespread shifts in people's behaviour and major capital outlays to see real adoption".  I hope I've shown through this blog that by simple changes - moving closer to where you work and cycling to work, sensible use of traffic control, insulation etc I have saved much more than 10% of my carbon footprint and, apart from being a little fitter and a more comfortable, did not make any particular sacrifices.  It did however take conscious effort and conscious action (and some failures) to achieve it.

One strong hint at a solution was neatly eluded to by Peter Hinssen,  one of the Vlerick Management School professors and an IT futurist, in a Keynote called "digital, the new normal".   There is a slide about 25% of the way through showing a survey into "The necessities of life" where 49% of respondents mentioned  cell phones and electronic gadgets, most of which did not exist 15 years ago, populated 50% of the top 10.  Surely if electronic "toys" can achieve this penetration in half a generation then there is hope for green-tech too?  His  ideas  on "Good enough Technology" really resonated with me. e.g. why people use Skype over land lines, MP3 over DVD audio and why Blue-Ray has not achieved mass market penetration.   

I don't believe we should be content with scratching the surface of green-tech. I don't believe we need boil ocean's to get where we need to be either. We just need to find good enough technologies that we can deploy and enjoy.

Monday, February 14, 2011

Latency Versus Bandwidth – what Jeremy Clarkson and David Mackay need to understand

I was given a Jeremy Clarkson book, “Driven to Distraction” for Christmas.  In the opening article he casts doubt over the wisdom of the variable speed limits around the M25,  calling it “a new state control system to quash individualism on the motorway”.  Much as I hate to criticize a fellow Doncasterian I can only conclude that he doesn’t understand the maths.

Back in 1987 I worked for a consultancy.  One of my co-workers was a software engineer engaged in writing fluid modelling programs.  He told me that up to a certain point  the flow in a water pipe is linear and it travels with very little resistance.   Above a critical velocity the flow becomes turbulent and the water molecules bump into each other such that the flow is no longer a linear function of the pressure exerted.  My co-worker also told me that the flow of traffic on a motorway could be modelled in a very similar way to water in a pipe.  So much for individualism!

Let us apply the latency versus bandwidth analysis I used in the last blog to this new mathematical problem; how to get around the M25 as quickly as possible. The latency is what Mr Clarkson perceives, it’s the journey time.  To measure the bandwidth of a motorway you need to draw a virtual line across the road and count how many cars per second, per minute or per hour that cross that line.  For instance if we all obeyed the 2 second rule there would be 3/2 cars per second (3 lanes * 2 seconds), which is 90 cars per minute, 5400 cars per hour, or 130,000 cars a day.  Actually that’s not a lot considering how many cars use the M25 every day but then they don’t all use the same bit of motorway.  Of course many of us don’t obey the 2 second rule so the bandwidth is actually higher than that.  The point is that the bandwidth is most definitely finite. Whats more, in a traffic jam the bandwidth of the motorway decreases dramatically!

So how do variable speed limits help? Well, it appears that the M25 traffic planners understand the difference between latency and bandwidth and a bit about fluid dynamics.  From my analysis above the peak bandwidth of the motorway is largely independent of traffic speed and by reducing the speed of the traffic they are more likely to achieve a non-turbulant flow which keeps the traffic moving.  In other words the traffic planners are optimising bandwidth, not latency.   However the more vehicles they can get past a given point, the more they reduce the average latency too.  Left to their own devices individual motorists might indeed achieve a lower latency, but because they reduce the bandwidth of the motorway the average latency actually increases.

From a fuel consumption point of view traffic jams are a worst case scenario.  Its simple mathematics that for a journey of X miles and consuming Y gallons the average MPG is X/Y.  Of course the fashion is to talk about litres per 100km which is just the other way around.  However standing still with the engine running is time at 0MPG or infinite l/100km.  In order words, time spent stationary or even in a gear below the top is fuel wasted.  Coming back to the linear versus turbulent flow analogy, if every vehicle travels 56mph a linear flow would be achieved and the overall fuel consumption would be minimised.  

However, I for one would not like to drive everywhere at 56mph.  There is also a carbon cost to me being on the planet so time wasted is also carbon spent.   The good news is that providing that a linear flow can be maintained the actual carbon cost of the higher speed is secondary.  That is, if everyone went exactly 70mph then that would still be lower entropy than some people doing 85mph and others doing 50mph.

This brings me neatly on to the second part of my article – road trains.  One way to increase the bandwidth of a motorway is to simply make more lanes.  This is both very expensive and very environmentally unfriendly.  The second and probably more fruitful way is to reduce the time distance between cars.  Imagine if there was a way to make a road train such that each car travels safely just 30cm behind each other, or, say, 5m apart.  For the simplicity of the mathematics lets say they are travelling at 120km/h (75mph) or 2km/minute, 33.3m/second.  The bandwidth of this motorway would be 20 cars/second or 13x the current safe bandwidth. Actually you don’t have to imagine road trains as they are a practical reality right now:

In David Mackay’s otherwise excellent book “Sustainability without the hot Air” he makes mention of several promising low carbon technologies but road trains are not mentioned.  That Dr Mackay is anti-car is quite evident.  However public transport, as alluded to in my earlier blogs is not a panacea and I doubt if people will be willing to give up on personal transport anytime soon.  Road trains represent a pragmatic solution that can reduce car journey times and keep traffic flowing, thus reducing the carbon footprint.   

Further, by getting the cars so close together one of the major contributions to fuel consumption, wind resistance, is dramatically reduced.  Anyone who watches motor racing understands slipstreaming.  Dr Mackay uses this precise argument to postulate why trains are more efficient than cars.

There will always be some people who want to go faster than others.  So let me put out a straw man for people – keep the motorways 3 lanes, make the inside line 60mph, the middle lane 70mph and the outside lane 80mph, and make road trains of 10-20 cars followed by a gap.   To change lane the driver indicates his or her intention and the on-board computers negotiate to find a gap and fit in the car.  As the relative speeds between lanes are slow this can be done quite easily.  Indeed with all that bandwidth there will be gaps in the trains. After all each lane has more bandwidth than the current motorway has.  Now Mr Clarkson and Dr Mackay, at opposite ends of the carbon-political spectrum are both happy :o). 

Wednesday, February 2, 2011

Bandwidth versus Latency, a common misconception

As an electronics engineer I came to understand the difference between bandwidth and latency.  Bandwidth is the amount of objects that can travel across a medium per unit time e.g. Megabytes per second from a hard disk (HDD).  Latency is the amount of time each object takes to get to its destination.  Taking again the example of a HDD this is usually governed by the seek time.  For those that don't know, the seek time is the time the hard disk takes to physically move the head across the platter of the magnetic disk to find the right track and then the time for the right part of the disk to spin under the head.  For a 7200RPM hard disk the data comes around every 60/7200 seconds or 8.3ms.

Consider a computer program trying to access a single byte of data from a disk.  Imagine we have a modern computer with a processor running at 3GHz.  This means (as an order of magnitude) it can process 3,000,000,000 instructions per second.  It issues a command to request the byte from the hard disk.  The processor in the hard disk electronics calculates where to move the disk head to, moves it and waits for the data to come under the head.  12 ms later the byte is handed over to the processor.  In this time the processor could have executed 3.6 million instructions but instead did nothing because it was waiting for the hard disk.  If programmers were foolish enough to write programs that randomly accessed many small pieces of data, you can imagine that this program would run extremely slowly no matter how fast the processor was.
 
Once the data is under the disk read head, it streams off the disk extremely quickly; at circa 100 Mbytes per second.  Imagine the computer program wanted to read 1 Mbyte instead of 1 Byte. Now we still wait 12ms for the first bit of data but then we get 1Mbyte of data in only 10ms.  The throughput of the program is increased hugely to 45Mbytes per second.  We see that the thing that we care about i.e. the work done, the throughput, is a function of both bandwidth and latency.

All very interesting I hear you say, but why publish all this on an eco-musing blog?  Well, there is another parameter that comes into play, and that is the effort expended per amount of work done.  The CPU in the above example did not do nothing for 12ms, it sat there "spinning its wheels", generating heat.  The rest of the computer is also alive; The hard disk itself spins its platters and moves its heads, the display lights its backlight etc.  Even in the second example the computer spends half of its time doing nothing but warm the planet.  This is why over the last year I have been steadily replacing the main hard disks of my computers with solid state HDDs (SSDs) aka flash disks.
 
SSDs have no moving parts which makes their seek times around 0.1ms; 2 orders of magnitudes quicker than traditional HDDs.  As they have no motors or moving parts they also use less power.  The only drawback is that they are expensive, or are they?  The machine I am typing on has 120Mbyte SSD and a 1Tbyte HDD.  The OS, Windows 7 and programs are on the SSD and all my data is on the HDD.  It turns out that Windows, being nearly 20 years old, was designed when computer memories were small and so is made up of lots of small files, 69,534 small files in my case, which is why it takes forever to boot. The boot time of this machine before I installed the SSD used to be about 2.5 minutes; now it is about 35 seconds. Given I use it daily that soon adds up to a lot of time; 700 minutes per year.  As a consultant I charge of the order of €1 per minute for my time, so that's a €2000 saving over the SSD's three year lifespan versus an initial outlay of €200.

It is not only my time during the latency of boot-up that is saved.  Toms Hardware found that computers with SSDs were on average 15% faster than their HDD counterparts.  As I work with computers about 9 hours a day, that's a potential saving of 1.35 hours daily.  Of course the bottleneck is not always the computer - after all, I can only type at a certain speed, but let's say it saves 2% of my time and 5% of the electricity used by the computer overall.  Over 3 years that equates to ~150kWh of electricity or €22 worth plus another €1200 in terms of my time. Another way to look at it is that the SSD pays for itself in about 3 months and saves carbon too!
 
Of course to do a full analysis of the carbon footprint I would have to calculate the embodied carbon in the manufacture of the SSD + HDD versus the just the HDD.  That might not look so good. But then what is the carbon cost of my time - heating, lighting, food, clothing etc?  That is, perhaps, going a little too far for this humble little blog.

Bandwidth and latency are interesting parameters to analyse.  They can also be applied to roads that allow objects i.e. you and me to travel from A to B. But that is for another blog  ...