Skip to content

service_settlement

Thorsten Zoerner edited this page Feb 1, 2024 · 4 revisions

Service: settlement

Method retrieve

Distribution of consumption in a time period to tariff segments. The settlement.retrieve action is designed for calculating how a consumption figure, measured between two meter readings, is divided across different tariff segments. It uses a given timeframe and the consumption amount as input parameters. The result of this action details the split of the consumption into designated tariff segments, labeled virtual_1 to virtual_9. This action serves as a central point of calculation to allocate energy usage to the respective tariff sub-meters according to the defined tariff structure.

Called by:

Calls:

graph TD
   metering.updateReading --> settlement.retrieve
   settlement.retrieve --> tariff.labels
   settlement.retrieve --> loadprofile.addSettlement
   settlement.retrieve --> loadprofile.addSettlement
   settlement.retrieve --> loadprofile.addSettlement
Loading
Clone this wiki locally