Skip to content

m-aXimilian/cl-powermeter-restai

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published