News for hackers. Stuff that matters.
Re:Wattvision (YC W09): Catching the Power Company's Mistakes by mindslight on Tuesday January 25, 2011 @04:15PM (#2140899)
All power meters work by measuring both voltage and current and multiplying. Even without local generation, power periodically (60/50Hz) flows back into the grid (except when the load is purely resistive aka power factor of 1).

http://en.wikipedia.org/wiki/Power_factor

The mechanisms in old meters were just designed with the assumption that the net flow was always into the house (perhaps in response to the various tricks people would use to artificially slow their meters). A modern digital meter doesn't have to do anything special to measure the direction for net metering.

Re:Wattvision (YC W09): Catching the Power Company's Mistakes by pmjordan on Wednesday January 26, 2011 @05:58AM (#2142882)
To elaborate on this: assume the sine waves of voltage difference and current are fully in phase when the house is net-consuming. Multiplying the voltage and current functions and integrating over time gives you the total energy consumption.

When the house is net-producing due to solar panels, the current will be 180° out of phase with voltage, i.e. "negative" AC current. Multiplying and integrating yields negative energy consumption.

Note that current is directional, so "negative" current isn't anything special - if you reverse the meter, the sign will be inverted.