0
prash32
14d

Has anybody developed electricity energy monitoring algorithm. I need a help

• 6
while(true) { saveMeasurement(); sleep 1; }
• 0
@gronostaj yes but I need to calculate individual device consumption
• 5
while (true) { devices.ForEach(SaveMeasurement(); sleep 1; }
• 1
Maybe you could do that in Electron.
• 0
I don’t think it’s something that requires any expertise.
• 0
@620hun you'd be surprised if it's about AC... active and reactive power for starters.
• 0
excuse the missing closing brace above, I typed this on my phone
• 1
@filthyranter you filthy ranter
• 2
@Fast-Nop I was assuming he’d use a meter that does the calculation, and he only needs to log it. Building meters at home would be risky.
• 0
@620hun mh ok, but in that case, the meter would do the logging. The ones I know display both momentary power and cumulated energy. That's how to measure e.g. fridges.

Or maybe it's about how to measure from inside the device? Some sort of application running on a Raspi that measures the Raspi's energy consumption?
• 1
@Fast-Nop the point would be having a central log with proper visualisation, etc.
• 1
@filthyranter I don't have the luxury to measure for individual devices. I have connected a Meter on the main power supply and poll it every 8 seconds for data. Using this overall data I need to find out consumption of individual devices. Is this kind of a thing possible
• 0
@Fast-Nop yes it is majorly about AC but what happens is that they turn on all the ACs at once first thing in the morning and I am not able to identify the tonnage of the AC which has been turned on.
• 1
@prash32 You need individual values. There's no magic that can do this without having individual values.
• 1
@filthyranter yes this is unfortunately true.
• 0
@prash32 Getting that kind of data from a single upstream measurement is probably not possible, it only gives you the aggregate consumption for all devices whose supply passes through that point.

_____Maybe_____ you can correlate specific fluctuations with specific devices being used if you can gather timestamps of such interactions.

Otherwise, you're going have to take probes at multiple points. If you have access to a central breaker box, putting ammeters/wattmeters on the individual circuits will be easier than measuring at each endpoint, and will give you some form of segregated results.
• 1
@tokumei yes I am able to measure individual devices with somewhat accuracy but what happens is in the morning they turn on a single button and all the AC and other equipments start simultaneously and my logic fails there.