[Nut-upsdev] [nut-commits] svn commit r1765 - in trunk: . drivers man

Kjell Claesson kjell.claesson at epost.tidanet.se
Fri Feb 6 13:50:44 UTC 2009


fredag 06 februari 2009 08:36:28 skrev  Arjen de Korte:
Hi,

A little miss understanding.
> Citeren Kjell Claesson <kjell.claesson at epost.tidanet.se>:
> >> > 629 	                dstate_setinfo("ups.realpower", "%d",
> >> > (int)((float)(p[4]*256 + p[5]) * 0.6)) ;
> >>
> >> This suggests a fixed relationship between apparent and active power.
> >> This might be the case for the nominal values, but this is not true in
> >> the general case. So don't export 'ups.realpower' unless it is truly
> >> measured (which is not the case here).
> >
> > Made a comment that it is calculated. Can this be measured?
>
> It *must* be measured, it *can't* be calculated by multiplying
> 'ups.power' with a fixed value.
8<-------------snip-------------
This is what I meant. If it's not possible to measure - remove it.

Regards
Kjell






More information about the Nut-upsdev mailing list