Skip to main content
Open Smart Grid - OpenSG
Login | Join | Help (new window)

Open Smart Grid - OpenSG > Help Desk > Service Requests > ESPI standard doesn't allow negative values  

Service Requests: ESPI standard doesn't allow negative values

Version HistoryVersion History

Service Request

ESPI standard doesn't allow negative values 


We have run into a problem with our Green Button implementation that has led to a concern about one aspect of the ESPI standard.  The <value> element, child of the <IntervalReading> element, is defined as Uint48 – an unsigned integer value.
With our current implementation, this will be a problem for net meters, since we are only outputting the net data, which could contain negative values.  We could fix our implementation to output the delivered and received data separately - as long that’s what we receive from the meter.  There are still meters out there that only record the net usage.  Also, we’re wondering if there may be other use cases where the values may be either positive or negative – temperature data, for example.
The CIM Part 9 equivalent of this element defines  the value as a string.




(2) Normal 

Service Representative


Assigned To

steve.van ausdall 


OpenADE; ESPI; GreenButton 


steve.van ausdallNo presence information (1/3/2012 5:57 PM): Suggest defining and changing type to Int48, derived from xs:long, Signed integer, max inclusive 140737488355328 (2^47), min inclusive -140737488355328



Resolution Type


Resolution Date


Mark for Knowledge Base


Related Articles


Resolution Time

Version: 3.0 
Created at 1/31/2012 2:29 PM  by martin.burns