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

Arjen de Korte nut+devel at de-korte.org
Fri Feb 6 07:36:28 UTC 2009


Citeren Kjell Claesson <kjell.claesson op 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. In not too ancient computer PSU's, the  
code as it is will underreport the active power (the power that heats  
up your server rack) by as much as more than 50%. We certainly don't  
want that, so in my opinion this *must* be removed if it is not  
reporting the actual value.

I'm fine with the other changes (and leaving in some others) you made.

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list