0
Answered

Splitting energy in two periods (D101)

Dr Ban 10 months ago in Dashboard and Widgets updated by Support Manager 10 months ago 1

I need to separate total energy in two periods (night and day) and display them onto dashboard and prepare data for monthly collection. I started by creating tariffs in Virtual Values and using one of the option Tariff (ratio) by time. Since I don't need expense data, but just the energy consumed during that periods, I've created two periods: night and day and on each I have put a factor of 1 or 0 depending on which period is active (for example, for night period I've put the factor 1 during night and factor 0 during day). This is working, and data is collected, but it seems that the data is collecting cumulative values per hour, so now I have on my dashboard that the total energy for this month is 3.890 kWh, and energy during daily period is 22.5 kWh, which is exactly what you get when you sum all energies per hour. 

Am I doing something wrong?

GOOD, I'M SATISFIED
Satisfaction mark by Dr Ban 10 months ago
+1
Answered

You did everything right, but check the virtual value settings.
For day/night accounting, use [W] Power.

[W] Power - is the consumption for the period (hour / day / month)

[Wh] Energy - this is a cumulative counter, the value is constantly increasing and does not depend on the period.