I did, but after a simulated "power outage" item.state would simply return 0, so my sensor would reset and start accumulating KWH from 0 again.
I updated use rrd4j rather than my.openhab and used
pulseCountItem.previousState(false, "rrd4j").state // get the most recent update, even if it is the same as the current state
It's now working :-)