Skip to content

LUA script to control a simulated battery for storage and consumption of (self-) generated energy

Notifications You must be signed in to change notification settings

jakenl/domoticz_solarbattery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Domoticz Simulated Solar Battery

a dzVents LUA script to control a simulated battery for storage and consumption of (self-) generated energy

A solar battery is used to balance energy production and consumption. A battery, or 'accumulator', will dampen both peak energy production and consumption. With a battery 'after the meter', more self-generated energy will remain 'in house', avoiding the financial disadvantage in the situation where energy from the grid is more expensive than the reward for energy sent to the grid.

For details, please checkout the Wiki (based on script version 0.2)

Discussion topic on the Domoticz forum

Screenshots

Solar battery devices

battery_dashboard

Solar battery log file

Interesting analysis: The 5kWh capacity limit is reached in many months of the year. However,in the summer months the consumption is only 2-3kWh per day, a bigger battery has no value, since also a (for instance) 20kWh battery would only be used for the same 2-3kWh for many days in a row. in the winter months the production is so low that the full mark of 5kWh is never reached. battery_level The graphs show an actual battery level over the last days and a min/avg/max level over the months and year

Solar battery usage

battery_usage The graph shows both consuming energy from the battery (usage1) as returning energy to the battery (return1)

Lost solar battery energy

lost_battery_energy The graph shows both lost energy due to an empty battery (usage1) as due to a full battery (return1). (Mo/Tu the battery was empty). 24hrs ago (1 day) the battery was already full, while the solar system still produced energy.

Lost solar battery inverter energy

lost_inverter_energy

About

LUA script to control a simulated battery for storage and consumption of (self-) generated energy

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages