Friday, 2 December 2011

CurrentCost meter updates

Recently, I’ve been leaving my main PC on 24 hours a day to collect the readings streamed out of my CurrentCost meter.

This obviously wastes 100 watts, which is about 25p/day.  Clearly that’s a waste.

So, I’ve decided to take the plunge and build my first ever hardware project, based on an ARM mbed processor that my son who’s doing electronics had sitting around gathering dust.  I’m a software guy, and I hate hardware.

I’m powering the circuit from a DC adapter I had in the loft, generating 6V DC, 600mA, so it shouldn’t cost me more than about 3.6w when I’m finished.

P1020820

Here’s a bad picture of the breadboard and the device.

The idea is simple, keep the output format of my device similar to the original, but add buffering.

The mbed code captures data from the serial port (Pin 8 on the RJ45 from the current cost meter, and pin 4 ground if I remember correctly) which I crimped together into an RJ45.

I then spool the data into an SD card (writing raw blocks).  The current SD card is 16MB (I had it from an old Canon Camera), but I’m planning to put in a 256 MB card which will give me about 2 weeks of buffering with my existing setup that includes 4 sensors in addition to the main sensor, though there’s no reason a 1GB or larger card couldn’t be inserted instead.

The PC will then poll for data in the mbed by sending a carriage return, and in response the mbed will send out the next LF delimited xml message it has stored, which will be transmitted back to the PC at 921600 baud, and processed by my software.

One pitfall with the current cost data is that there isn’t any way of finding out what date the data was logged on.  To deal with that, I’ve reserved the first 4 bytes of each block in the 512 byte SD card sectors to store the real time clock of the mbed, and the PC can then query what date/time the message was actually collected on.

Friday, 14 October 2011

Electric Cars? I’ll stick with my bike.

My son may soon need a car for commuting to work, and the question is, is electric viable?

I recently looked up the Nissan Leaf’s statistics, and see that it’s rated at the equivalent of over 99mpg by the epa.  Of course the real question is how many miles per kWh?

The answer appears to be around 3.4 miles / kWh.

My bicycle is 62.5 miles per kWh.

http://www.inference.phy.cam.ac.uk/withouthotair/c20/page_119.shtml

Tuesday, 11 October 2011

Programmable Thermostatic Radiator Valves

Just programming up the new valves before installation next week, and thought I’d do the calculations.  The valves shown on the right aren’t the same, but the price is about the same, and the calculations still apply.

I managed to get two valves with bodies for £53.44, and our gas prices at the moment are £0.03182/kWh, so I need to make savings of 1700 kWh to reach break even point.

The plan is to put them in the lounge on the radiators there, which are 600mmx1400mm (1500 W), and 600mm x 1000mm (1000 W).

Currently the radiators have no thermostat whatsoever, and our heating is on from 6:00 until 8:00 every morning and from 15:00 until 22:00 every evening for the 180 heating days of the year.

That equates to (1.5+ 1.0 kW) * (2 + 7 hours) * 180 or 4050 kWh/year to heat that single room, but our total usage doesn’t seem to be anything near that high when scaled up.

Last year our annual usage was 15200 kWh of gas, of which we averaged 15 kWh/ day for heating water and cooking (or 5500 kWh/year), leaving 9700 for heating.

I’d guess that based on the sizes of the other radiators in the house that the heat used in the lounge is about 1/5 of the total, or 1940 kWh a year.

I propose to limit heating in that room to be only between the hours of 17:00 and 21:30, representing a reduction of 50% on the amount of time heated, generating a maximum savings of  970 kWh/year.

Being very pessimistic (by assuming we get only half that savings), it looks like the devices should pay back in under 4 years.

For comparison, last year our gas consumption in the heating season was 60.73 kWh/degree day. Our target this year for kWh of gas per degree day is now: 55.55 representing a 9.5% reduction in consumption if we are to achieve payback in two years.

Energy Saving Halogen Replacements

When we first moved into our house 15 years ago, we installed halogen lighting in our hall.  Back then, electricity wasn’t quite so expensive, and we didn’t use the room that much anyway, and there weren’t that many options for recessed lighting.

We opted for a mains voltage system that could go on the existing dimmer switch, and therefore didn’t require expensive transformers for each light of the eight downlights.

P1020728

Yesterday, I changed two of the lights over the table for the new Philips MASTER LEDspot PAR 20 MV dimmable LED lights.  I have to admit, I was ready to be disappointed, however the lights are very good.  Nearly as warm as the old lights, dimmable like the old lights, and fit in the sockets neatly as well.

I bought them from http://www.camelecws.co.uk/ in Cambridge.  I did get a quote from someone else for a discount of about £1.60 per lamp online, but I’d have had to buy 6 to get the discount.

Also on Amazon

 

The new lights have a slightly wider angle (40 degrees) but that was intentional, as the lighting was a bit too focused before anyway.

The downside?  These are really expensive (£26.34 each including VAT).

So, the break even calculations are:

£26.34 / £0.09 kWh = 293 kWh (amount of energy to break even at current prices)

293kWh / (50W – 7W) = 6813 hours (amount of time lights must be switched on to break even)

The old lamp has a life of 2500 hours, and they currently cost about £5.00 each, so it looks like we’d be replacing two of them during the payback period, so we put that back into the calculation:

(£26.34 - £10.00) / £0.09 kWh = 181 kWh

181 kWh / (50W – 7W) = 3693 hours

Now, we would like to leave these lights on in the evening from about 5pm until 10pm in the winter time, which probably averages out at 2 hours per night over the year.

3693 hours / 2  hours/day / 365 days/year  = 5 years.

That’s the payback for two of  the lights, but the 0ther 6 are more difficult, as they won’t be on nearly as often, probably averaging 20 minutes a day at best.  That makes it a 30 year payback, using the current levels of  lighting.

So the plan at the moment is to use up the stock of existing bulbs as they blow in the existing fixtures, and keep our fingers crossed that the prices come down over the next few years.

Friday, 30 September 2011

Please don’t raise the speed limit to 80mph!

There’s talk in the press today of raising the speed limit here in the UK.  While admittedly most people seem to drive at 80 anyway, increasing the limit will definitely affect most people’s pocketbooks.  I also feel it will increase pressure on other people to drive faster.  If the limit is raised, perhaps it should become an absolute limit, removing any margin of doubt.

This summer, we drove to Spain fully loaded with a roof box on top of the car with my wife and two children.  A 2500 mile marathon!

P1020624

On the journey down through France, we drove at just under the speed limit of 130 kph (~ 80 mph).

We don’t do a lot of driving long distance in the UK, but specifically bought our Kia diesel for long trips like this one, and carting my daughter’s sailboat around the country to various events, and we use the cruise control a lot.

The car is fairly efficient, having averaged 46 mpg with a boat on top.  On the journey to Spain, we averaged only 44 mpg, with some legs in France getting as low as  38 mpg.  Once in Spain at 120 kph and the mountains of the Pyrenees, the economy rose, bringing the average up.

You’d think that would be the end of the story, but on the way home we made another change.  We bought wine; a lot of wine!  About 60 litres in Spain, and then added another 30 in Calais.

When we stopped for dinner, I realized my tyres were looking a bit low, so I dug out the manual while crossing in the tunnel, and decided that they were probably pretty underinflated.

Don’t forget to keep your tyres inflated properly

I decided that despite the very late return home, we had better get some air, so stopped at the exit of the tunnel, and inflated them to the recommended level for the load.

What a difference.  On the journey back through Spain and France, we managed to average only 39.5 mpg.  That’s 11% down on the journey down, just because I didn’t inflate my tyres properly.

To complete the exercise, we drove home in the car in the same state, but this time stayed at 60 mph, as it was very late at night, and we were tired, and the car was very loaded.

Having filled up in Calais, I had a new baseline, and this time with the same full load and roof box, we managed 49 mpg.

You can trade time for money

It looks like driving 20 mph faster decreases fuel economy by 11% as well.  And driving additionally with underinflated tyres decreases by a total of 20%!  I’m lucky the fuel averaged only £1.10 a litre on the continent instead of the £1.40 pretty much balancing out the extra unnecessary expense.

Further mileage tests

I also had the occasion to do two other long trips recently.  To London in the C1, where driving at 60-65 on the motorway increased mileage from the 47 mpg my wife got to my 55 mpg, again a 15% decrease for a 10 mph change.

Finally, I drove to Southampton with 4 people in the car and no roof box.  We had a good journey from Cambridge, and again, drove at between 65 and 70 mph.  This time, we managed to achieve 58 mpg, a record for the car, showing that adding weight and a roof box appears to decrease fuel economy by around 11%.

Thursday, 29 September 2011

It’s Indian Summer here in the UK, 30°C/86°F here today!

The last two days (September 28, 29) we’ve had cloudless skies, so sun all day long.  We also had a very good day on September 23, but the temperatures were much cooler (around 17°C), and there was a bit more cloud.

What better way to find out how temperature affects solar PV output!

Though the total on each of the days was around 9kWh, with the peak both yesterday and today at 1.5 kW, but on the 23rd, we had our record output for a 5 minute period of 1.8 kW!  So it looks like a warm sunny day will reduce output by about 17%. 

The system is 2.1 kWp, and given the sun is pretty much over the equator on the 23rd, we can calculate that at noon on that date, the sun is at 38° (90° – 52°) elevation, and the roof is at 30° elevation, making an angle of incidence of 58°.

Sin(68°) * 2.1 = 1.94, so the panels seemed to be within spec on the 23rd.

Today, the sun was already down to 35° at noon,  therefore
Sin(65) * 2.1 = 1.90, so the difference in solar radiation was 2.1%.

Ouch—15% degredation with temperature!  I wonder if there’s any way to cool the panels more effectively?

Current Cost EnviR shortcomings regarding Power Factor

We recently installed a Current Cost meter

The system allows you to clamp a sensor around your mains cable which broadcasts readings of current to the display.  It also allows connection of up to 9 appliances.  The display aggregates the data into two hourly, daily, and monthly bins.  It also transmits the data on an RS-232 to any listening PC.

The main sensor clamps onto the live output to the main fuse box in the house, which measures all current being consumed by the house.

Our challenge was to try to use this data to monitor where our energy consumption was going, as well as collect information on our solar PV installation.

In order to monitor additional systems in the house I bought a pack of three of the sensors on the left.  One clamps around the live feed from the Solar PV system, measuring Generation.

I clamped another around the live leaving the fuse box going to the underfloor heating system.

The final sensor was intended to be clamped around the mains cable to the cooker.

Current clamps work with a single core only

Unfortunately, my strategy of clamping around a cable in the loft to measure the current does not work.  You must clamp it around only the live cable, or the current on the neutral cancels out the live and you get no reading.

Because I had an extra transmitter, I made a special extension cable where the live passes through the sensor, so I can plug in any set of appliances into this cable.

What’s using all that “power”

When my system eventually was up and running after the initial set backs, and some opening of my fuse box to get the clamps on the circuits, I noticed that my under-floor heating was reporting 35 watts when it was not actually heating.  This struck me as too much.  I wouldn’t leave a light bulb on all the time.  While the thermostats were warm, they weren’t that warm.

So I powered down the entire house, switched on the under-floor circuit only, and found that they were not using any measurable amount of power.

Power Factor strikes!  This happens in several circumstances.  Large magnetic loads (refrigerators, and pretty much anything with motors) only use a portion of the power, returning some of it back out of phase.  The link above tells you more about it.

Now, it’s really hard to monitor “power”

Unfortunately, this makes life difficult as the sensors are describing power that is not actually being billed to you (though it does cause inefficiencies for the power companies, and the amperage actually does flow through the circuits in the house, increasing load).

What else suffers from this? My PC for one appears to show a power factor of 0.7, which means that I have to multiply the reading on my meter by this factor to get real power.

Oh, and the Inverter for the Solar PV as well.  It shows 80 watts at night, supposedly consuming this amount, though in fact it only consumes less than 1W.

There is a solution for individual appliances.   These measure the real power on the device.  Unfortunately they don’t also let you know the power factor, so as a result, you cannot subtract the “phantom” consumption from the total.

They do though let you measure real cost for the individual appliance.

Note that in the UK, consumers are not billed for Power Factor.

Dimmer switches have no effect?

I also tried measuring what happened when I used the dimmer switches on eight 50W halogen lamps.  Apparently nothing, they use almost exactly the same power. 

Of course, that can’t be right, as the dimmer switch isn’t acting like a 500W heater when the lights are dimmed.

While researching the new LED lights I talked about yesterday I was warned by my electrical supplier that they’d had some problems dimming them.

Philips have a document that describes the way these things actually work.  Again, you can see what’s going on with the power factor, as it’s only consuming a portion of the load.

Too many Sensors?

So, now I’ve populated my system with a main meter, 3 additional clamps an an appliance monitor.  The system is supposed to be able to handle 10 inputs with up to 3 readings on each.

Unfortunately, it drops packets as they are colliding, and not being received by the main unit.  There is no protocol to avoid collision.  So we now have lumpy sampling to deal with as well.

Buyer Beware

I hope this has been a useful overview of the shortcomings of the Current Cost system, which while flexible isn’t really good enough for highly accurate measurements, due to the power factor issues, and lost packets.

We’re doing our best to produce some software that alleviates some of these issues, so stay tuned.