Skip to content

Commit

Permalink
Prepared a new release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidusb-geek committed Jul 5, 2024
1 parent 73a3789 commit dc461d0
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
9 changes: 9 additions & 0 deletions emhass/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.10.2 - 2024-07-06
### Improvement
- Weather forecast caching and Solcast method fix by @GeoDerp
- Added a new configuration parameter to control wether we compute PV curtailment or not
- Added hybrid inverter to data publish
- It is now possible to pass these battery parameters at runtime: `SOCmin`, `SOCmax`, `Pd_max` and `Pc_max`
### Fix
- Fixed problem with negative PV forecast values in optimization.py, by @GeoDerp

## 0.10.1 - 2024-06-03
### Fix
- Fixed PV curtailment maximum possible value constraint
Expand Down
1 change: 1 addition & 0 deletions emhass/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Solution (2) would be to use SolCast and pass that data directly to emhass as a
- modules_per_string: The number of modules per string. Defaults to 16. This parameter can be a list of integers to enable the simulation of mixed orientation systems, for example one east-facing array (azimuth=90) and one west-facing array (azimuth=270).
- strings_per_inverter: The number of used strings per inverter. Defaults to 1. This parameter can be a list of integers to enable the simulation of mixed orientation systems, for example one east-facing array (azimuth=90) and one west-facing array (azimuth=270).
- inverter_is_hybrid: Set to True to consider that the installation inverter is hybrid for PV and batteries. (Default False).
- compute_curtailment: Set to True to compute a PV curtailment variable. (Default False).
- set_use_battery: Set to True if we should consider an energy storage device such as a Li-Ion battery. Defaults to False.

If the `set_use_battery` is set to `true`, then the following parameters need to be defined properly. If you don't have a battery then just leave the default values, they will not be used.
Expand Down
4 changes: 3 additions & 1 deletion emhass/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: EMHASS
description: Energy Management for Home Assistant
url: https://github.com/davidusb-geek/emhass
version: 0.10.1
version: 0.10.2
slug: emhass
arch:
- aarch64
Expand Down Expand Up @@ -84,6 +84,7 @@ options:
list_strings_per_inverter:
- strings_per_inverter: 1
inverter_is_hybrid: false
compute_curtailment: false
set_use_battery: false
battery_nominal_energy_capacity: 5000
schema:
Expand Down Expand Up @@ -155,6 +156,7 @@ schema:
list_strings_per_inverter:
- strings_per_inverter: "int(0,)?"
inverter_is_hybrid: "bool?"
compute_curtailment: "bool?"
set_use_battery: "bool?"
set_battery_dynamic: "bool?" #optional
battery_dynamic_max: "float(0.0,1.0)?" #optional
Expand Down
1 change: 1 addition & 0 deletions emhass/config_emhass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ plant_conf:
strings_per_inverter: # The number of used strings per inverter
- 1
inverter_is_hybrid: False # Set if it is a hybrid inverter (PV+batteries) or not
compute_curtailment: False # Compute a PV curtailment variable or not
Pd_max: 1000 # If your system has a battery (set_use_battery=True), the maximum discharge power in Watts
Pc_max: 1000 # If your system has a battery (set_use_battery=True), the maximum charge power in Watts
eta_disch: 0.95 # If your system has a battery (set_use_battery=True), the discharge efficiency
Expand Down
4 changes: 2 additions & 2 deletions emhass/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ h5py==3.11.0
pulp>=2.4
pyyaml>=5.4.1
tables<=3.9.1
skforecast==0.12.0
skforecast==0.12.1
# web server packages
flask>=2.0.3
waitress>=2.1.1
plotly>=5.6.0
#EMHASS
emhass==0.10.1
emhass==0.10.2
#git+https://github.com/davidusb-geek/emhass
5 changes: 4 additions & 1 deletion emhass/translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ configuration:
description: (Default 1). This parameter can be a list of integers to enable the simulation of mixed orientation systems, for example one east-facing array and one west-facing array.
inverter_is_hybrid:
name: inverter_is_hybrid, Set to True if it is a hybrid inverter (PV+batteries) or not
description: Set to True to consider that the installation inverter is hybrid for PV and batteries. (Default False).
description: A special parameter to consider that the installation inverter is hybrid for PV and batteries. (Default False).
compute_curtailment:
name: compute_curtailment, Set to True to compute a PV curtailment variable.
description: A special parameter to define if we will compute a PV curtailment variable. (Default False).
set_use_battery:
name: set_use_battery, Set if a battery is present
description: Set to True if we should consider an energy storage device such as a Li-Ion battery. (Default False).
Expand Down

0 comments on commit dc461d0

Please sign in to comment.