Skip to content

Commit dc461d0

Browse files
committed
Prepared a new release
1 parent 73a3789 commit dc461d0

File tree

6 files changed

+20
-4
lines changed

6 files changed

+20
-4
lines changed

emhass/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.10.2 - 2024-07-06
4+
### Improvement
5+
- Weather forecast caching and Solcast method fix by @GeoDerp
6+
- Added a new configuration parameter to control wether we compute PV curtailment or not
7+
- Added hybrid inverter to data publish
8+
- It is now possible to pass these battery parameters at runtime: `SOCmin`, `SOCmax`, `Pd_max` and `Pc_max`
9+
### Fix
10+
- Fixed problem with negative PV forecast values in optimization.py, by @GeoDerp
11+
312
## 0.10.1 - 2024-06-03
413
### Fix
514
- Fixed PV curtailment maximum possible value constraint

emhass/DOCS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ Solution (2) would be to use SolCast and pass that data directly to emhass as a
109109
- 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).
110110
- 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).
111111
- inverter_is_hybrid: Set to True to consider that the installation inverter is hybrid for PV and batteries. (Default False).
112+
- compute_curtailment: Set to True to compute a PV curtailment variable. (Default False).
112113
- set_use_battery: Set to True if we should consider an energy storage device such as a Li-Ion battery. Defaults to False.
113114

114115
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.

emhass/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: EMHASS
22
description: Energy Management for Home Assistant
33
url: https://github.com/davidusb-geek/emhass
4-
version: 0.10.1
4+
version: 0.10.2
55
slug: emhass
66
arch:
77
- aarch64
@@ -84,6 +84,7 @@ options:
8484
list_strings_per_inverter:
8585
- strings_per_inverter: 1
8686
inverter_is_hybrid: false
87+
compute_curtailment: false
8788
set_use_battery: false
8889
battery_nominal_energy_capacity: 5000
8990
schema:
@@ -155,6 +156,7 @@ schema:
155156
list_strings_per_inverter:
156157
- strings_per_inverter: "int(0,)?"
157158
inverter_is_hybrid: "bool?"
159+
compute_curtailment: "bool?"
158160
set_use_battery: "bool?"
159161
set_battery_dynamic: "bool?" #optional
160162
battery_dynamic_max: "float(0.0,1.0)?" #optional

emhass/config_emhass.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ plant_conf:
8181
strings_per_inverter: # The number of used strings per inverter
8282
- 1
8383
inverter_is_hybrid: False # Set if it is a hybrid inverter (PV+batteries) or not
84+
compute_curtailment: False # Compute a PV curtailment variable or not
8485
Pd_max: 1000 # If your system has a battery (set_use_battery=True), the maximum discharge power in Watts
8586
Pc_max: 1000 # If your system has a battery (set_use_battery=True), the maximum charge power in Watts
8687
eta_disch: 0.95 # If your system has a battery (set_use_battery=True), the discharge efficiency

emhass/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ h5py==3.11.0
1010
pulp>=2.4
1111
pyyaml>=5.4.1
1212
tables<=3.9.1
13-
skforecast==0.12.0
13+
skforecast==0.12.1
1414
# web server packages
1515
flask>=2.0.3
1616
waitress>=2.1.1
1717
plotly>=5.6.0
1818
#EMHASS
19-
emhass==0.10.1
19+
emhass==0.10.2
2020
#git+https://github.com/davidusb-geek/emhass

emhass/translations/en.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ configuration:
163163
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.
164164
inverter_is_hybrid:
165165
name: inverter_is_hybrid, Set to True if it is a hybrid inverter (PV+batteries) or not
166-
description: Set to True to consider that the installation inverter is hybrid for PV and batteries. (Default False).
166+
description: A special parameter to consider that the installation inverter is hybrid for PV and batteries. (Default False).
167+
compute_curtailment:
168+
name: compute_curtailment, Set to True to compute a PV curtailment variable.
169+
description: A special parameter to define if we will compute a PV curtailment variable. (Default False).
167170
set_use_battery:
168171
name: set_use_battery, Set if a battery is present
169172
description: Set to True if we should consider an energy storage device such as a Li-Ion battery. (Default False).

0 commit comments

Comments
 (0)