-
Notifications
You must be signed in to change notification settings - Fork 2
service_metering
Thorsten Zoerner edited this page Feb 1, 2024
·
4 revisions
- readings_model.list()
- readings_model.find()
graph TD
metering.assets --> readings_model.list
metering.assets --> readings_model.find
Last processed Reading of a Meter Allows to retrieve last meter reading with virtual meters of tariff segments.
- demometer.populate24h()
- readings_model.find()
graph TD
demometer.populate24h --> metering.lastReading
metering.lastReading --> readings_model.find
Update a meter reading
Stores meter reading update and runs settlement on delta to last reading value. Does auto clearing in case enabled in runtime.settings.js
.
- readings_model.find()
- tariff.customLabels()
- access.verifySelf()
- readings_model.insert()
- access.verifySelf()
- settlement.retrieve()
- access.createReadingJWT()
- readings_model.find()
- readings_model.insert()
- readings_model.remove()
- readings_model.insert()
- readings_model.update()
- clearing.commit()
- readings_model.update()
graph TD
debit.closeBilling --> metering.updateReading
demometer.populate24h --> metering.updateReading
metering.updateReading --> readings_model.find
metering.updateReading --> tariff.customLabels
metering.updateReading --> access.verifySelf
metering.updateReading --> readings_model.insert
metering.updateReading --> access.verifySelf
metering.updateReading --> settlement.retrieve
metering.updateReading --> access.createReadingJWT
metering.updateReading --> readings_model.find
metering.updateReading --> readings_model.insert
metering.updateReading --> readings_model.remove
metering.updateReading --> readings_model.insert
metering.updateReading --> readings_model.update
metering.updateReading --> clearing.commit
metering.updateReading --> readings_model.update