Page 1 of 1

P1 household consumption

Posted: Sun Sep 08, 2013 10:21 am
by jeanmarc
Hi,

The P1 interface can't return the household consumption if you have a production unit, like solar panels.

The possible electrical values returns are :

Code: Select all

Input low tarif: IL Output: 1-0:1.8.1(861200*Wh)
Input high tarif: IH Output: 1-0:1.8.2(596292*Wh)
Sum of IL+IH: I Output: 1-0:1.8.9(1457492*Wh)
Output low tarif: OL Output: 1-0:2.8.1(611578*Wh)
Option high tarif: OH Output: 1-0:2.8.2(1343471*Wh)
Sum of OL+OH: O Output: 1-0:2.8.9(1955049*Wh)
Output live power: OW Output: 1-0:1.7.0(0*W)
Input live power: IW Output: 1-0:2.7.0(940*W)
In order to simulate a household-meter, it is simple math: (IL+IH)+solarprod-(OL+OH) Wh
For the live power household, it the same reasoning (Solar value power-OW+IW) in Watt then.

But the problem is.. the fake household consumption meter, will mess-up once on a his real meters have passover.
The solution is the same as my 'Arduino return to zero issue': takes the differences of every meters and increase the virtual house counter.
I'll look at that in the next days...

Re: P1 household consumption

Posted: Fri Nov 15, 2013 12:14 pm
by KelvinJones
jeanmarc wrote:Hi,

The P1 interface can't return the household consumption if you have a production unit, like
solar panel.

The possible electrical values returns are
:

Code: Select all

Input low tarif: IL Output: 1-0:1.8.1(861200*Wh)
Input high tarif: IH Output: 1-0:1.8.2(596292*Wh)
Sum of IL+IH: I Output: 1-0:1.8.9(1457492*Wh)
Output low tarif: OL Output: 1-0:2.8.1(611578*Wh)
Option high tarif: OH Output: 1-0:2.8.2(1343471*Wh)
Sum of OL+OH: O Output: 1-0:2.8.9(1955049*Wh)
Output live power: OW Output: 1-0:1.7.0(0*W)
Input live power: IW Output: 1-0:2.7.0(940*W)
In order to simulate a household-meter, it is simple math: (IL+IH)+solarprod-(OL+OH) Wh
For the live power household, it the same reasoning (Solar value power-OW+IW) in Watt then.

But the problem is.. the fake household consumption meter, will mess-up once on a his real meters have passover.
The solution is the same as my 'Arduino return to zero issue': takes the differences of every meters and increase the virtual house counter.
I'll look at that in the next days...
Thanks for sharing code.. I am looking to get solar panels in some time and I will surely need your help..