Metadata-Version: 2.4
Name: moat-ems
Version: 0.2.11
Summary: A battery management system for MoaT
Author-email: Matthias Urlichs <matthias@urlichs.de>
Project-URL: homepage, https://m-o-a-t.org
Project-URL: repository, https://github.com/M-o-a-T/moat
Keywords: MoaT
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: AsyncIO
Classifier: Framework :: Trio
Classifier: Framework :: AnyIO
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: anyio~=4.2
Requires-Dist: moat-util~=0.56.4
Dynamic: license-file

# MoaT EMS

This module contains a collection of code related to energy management.

The basic setup assumed by these modules is that you have a DC battery, a
bidirectional inverter (one to three phases), photovoltaics, local demand,
and a grid connection.

## battery

The Battery Management System. It's a client-server, device-agnostic, and
supports multiple battery chemistries.

## inv

Inverter control. You can set the battery's intended charge and the
controller will get you there, subject to various constraints (battery max
charge and discharge current, inverter capabilities, but also "no feed-out
to the grid" or "no discharging the battery beyond 75%").

TODO: As a special case, this code also supports the case where feeding
power to the grid is subsidized. The scheduler implements fraud prevention,
by not send any energy to the grid which you previously got from it.

## sched

Energy use scheduling. Given possibly-variable prices for power (including
grid feed-out), variable PV output, and local demand, this code models
which strategy results in the lowest energy cost.
