Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.13 KB

README.org

File metadata and controls

34 lines (23 loc) · 1.13 KB

https://gitlab.com/m-aXimilian/cl-powermeter-restapi/badges/dev/pipeline.svg

Cl.Powermeter.Restapi

Synopsis

Using and IR interface on a electricity meter in combination with vzlogger for many meter models only gives energy readings. There is however no direct way to derive a (mean) power from subsequent readings. This project aims to provide this power for different vzlogger “channels”. The following simple equation is used as the basis $P = \frac{Ecurrent - Elast}{Tcurrent - Tlast}$

There is a mock api interface that increments an energy meter with a “constant power”. For this, the following is used $Ecurrent = [P ⋅ (Tcurrent - Tlast)] + Elast$

Usage

Depends on quicklisp.

(ql:quickload 'CL.POWERMETER.RESTAPI)
(in-package :CL.POWERMETER.RESTAPI)
(main)

Installation

Author

  • Maximilian Kueffner (kueffnermax@gmail.com)

Copyright

Copyright (c) 2024 Maximilian Kueffner (kueffnermax@gmail.com)

License

Licensed under the LGPL License.