emhass 0.8.3__tar.gz → 0.8.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {emhass-0.8.3 → emhass-0.8.5}/CHANGELOG.md +107 -164
  2. {emhass-0.8.3 → emhass-0.8.5}/PKG-INFO +2 -4
  3. {emhass-0.8.3 → emhass-0.8.5}/README.md +0 -2
  4. {emhass-0.8.3 → emhass-0.8.5}/setup.py +4 -3
  5. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/command_line.py +3 -3
  6. emhass-0.8.5/src/emhass/data/cec_inverters.pbz2 +0 -0
  7. emhass-0.8.5/src/emhass/data/cec_modules.pbz2 +0 -0
  8. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/forecast.py +11 -7
  9. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/optimization.py +4 -4
  10. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/retrieve_hass.py +5 -5
  11. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/static/script.js +4 -12
  12. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/static/style.css +86 -45
  13. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/templates/index.html +11 -11
  14. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/templates/template.html +0 -1
  15. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/utils.py +21 -64
  16. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/web_server.py +8 -4
  17. {emhass-0.8.3 → emhass-0.8.5}/src/emhass.egg-info/PKG-INFO +2 -4
  18. {emhass-0.8.3 → emhass-0.8.5}/src/emhass.egg-info/SOURCES.txt +2 -0
  19. {emhass-0.8.3 → emhass-0.8.5}/tests/test_command_line_utils.py +8 -8
  20. {emhass-0.8.3 → emhass-0.8.5}/tests/test_forecast.py +57 -16
  21. {emhass-0.8.3 → emhass-0.8.5}/CODE_OF_CONDUCT.md +0 -0
  22. {emhass-0.8.3 → emhass-0.8.5}/CONTRIBUTING.md +0 -0
  23. {emhass-0.8.3 → emhass-0.8.5}/LICENSE +0 -0
  24. {emhass-0.8.3 → emhass-0.8.5}/MANIFEST.in +0 -0
  25. {emhass-0.8.3 → emhass-0.8.5}/data/data_load_cost_forecast.csv +0 -0
  26. {emhass-0.8.3 → emhass-0.8.5}/data/data_load_forecast.csv +0 -0
  27. {emhass-0.8.3 → emhass-0.8.5}/data/data_prod_price_forecast.csv +0 -0
  28. {emhass-0.8.3 → emhass-0.8.5}/data/data_train_load_clustering.pkl +0 -0
  29. {emhass-0.8.3 → emhass-0.8.5}/data/data_train_load_forecast.pkl +0 -0
  30. {emhass-0.8.3 → emhass-0.8.5}/data/data_weather_forecast.csv +0 -0
  31. {emhass-0.8.3 → emhass-0.8.5}/data/opt_res_latest.csv +0 -0
  32. {emhass-0.8.3 → emhass-0.8.5}/data/opt_res_perfect_optim_cost.csv +0 -0
  33. {emhass-0.8.3 → emhass-0.8.5}/data/opt_res_perfect_optim_profit.csv +0 -0
  34. {emhass-0.8.3 → emhass-0.8.5}/data/opt_res_perfect_optim_self-consumption.csv +0 -0
  35. {emhass-0.8.3 → emhass-0.8.5}/data/test_df_final.pkl +0 -0
  36. {emhass-0.8.3 → emhass-0.8.5}/data/test_response_get_data_get_method.pbz2 +0 -0
  37. {emhass-0.8.3 → emhass-0.8.5}/data/test_response_scrapper_get_method.pbz2 +0 -0
  38. {emhass-0.8.3 → emhass-0.8.5}/data/test_response_solarforecast_get_method.pbz2 +0 -0
  39. {emhass-0.8.3 → emhass-0.8.5}/data/test_response_solcast_get_method.pbz2 +0 -0
  40. {emhass-0.8.3 → emhass-0.8.5}/pyproject.toml +0 -0
  41. {emhass-0.8.3 → emhass-0.8.5}/setup.cfg +0 -0
  42. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/__init__.py +0 -0
  43. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/machine_learning_forecaster.py +0 -0
  44. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/static/advanced.html +0 -0
  45. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/static/basic.html +0 -0
  46. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/static/img/emhass_icon.png +0 -0
  47. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/static/img/emhass_logo_short.svg +0 -0
  48. {emhass-0.8.3 → emhass-0.8.5}/src/emhass/static/img/feather-sprite.svg +0 -0
  49. {emhass-0.8.3 → emhass-0.8.5}/src/emhass.egg-info/dependency_links.txt +0 -0
  50. {emhass-0.8.3 → emhass-0.8.5}/src/emhass.egg-info/entry_points.txt +0 -0
  51. {emhass-0.8.3 → emhass-0.8.5}/src/emhass.egg-info/requires.txt +0 -0
  52. {emhass-0.8.3 → emhass-0.8.5}/src/emhass.egg-info/top_level.txt +0 -0
  53. {emhass-0.8.3 → emhass-0.8.5}/tests/test_machine_learning_forecaster.py +0 -0
  54. {emhass-0.8.3 → emhass-0.8.5}/tests/test_optimization.py +0 -0
  55. {emhass-0.8.3 → emhass-0.8.5}/tests/test_retrieve_hass.py +0 -0
  56. {emhass-0.8.3 → emhass-0.8.5}/tests/test_utils.py +0 -0
@@ -1,10 +1,31 @@
1
1
  # Changelog
2
2
 
3
- ## [0.8.3] - 2024-03-11
3
+ ## 0.8.5 - 2024-04-01
4
+ ### Improvement
5
+ - Simplified fetch urls to relatives
6
+ - Improved code for passed forecast data error handling in utils.py
7
+ - Added new tests for forecast longer than 24h by changing parameter `delta_forecast`
8
+ - Added new files for updated PV modules and inverters database for use with PVLib
9
+ - Added a new webapp to help configuring modules and inverters: [https://emhass-pvlib-database.streamlit.app/](https://emhass-pvlib-database.streamlit.app/)
10
+ - Added a new `P_to_grid_max` variable, different from the current `P_from_grid_max` option
11
+ ### Fix
12
+ - style.css auto format and adjusted table styling
13
+ - Changed pandas datetime rounding to nonexistent='shift_forward' to help survive DST change
14
+ - Dropped support for Python 3.9
15
+
16
+ ## 0.8.4 - 2024-03-13
17
+ ### Improvement
18
+ - Improved documentation
19
+ - Improved logging errors on missing day info
20
+ ### Fix
21
+ - Missing round treatment for DST survival in utils.py
22
+ - Webui large icons fix
23
+
24
+ ## 0.8.3 - 2024-03-11
4
25
  ### Fix
5
26
  - Fixed web_server options_json bug in standalone fix
6
27
 
7
- ## [0.8.2] - 2024-03-10
28
+ ## 0.8.2 - 2024-03-10
8
29
  ### Improvement
9
30
  - Proposed a new solution to survive DST using special option of Pandas `round` method
10
31
  - Added option to `web_server` to init `data_path` as an options param
@@ -13,20 +34,20 @@
13
34
  ### Fix
14
35
  - Fixed support for ARM achitectures
15
36
 
16
- ## [0.8.1] - 2024-02-28
37
+ ## 0.8.1 - 2024-02-28
17
38
  ### Improvement
18
39
  - Improved documentation
19
40
  ### Fix
20
41
  - Persistent data storage fix
21
42
  - Docker Standalone Publish Workspace Fix
22
43
 
23
- ## [0.8.0] - 2024-02-25
44
+ ## 0.8.0 - 2024-02-25
24
45
  ### Improvement
25
46
  - Thanks to the great work from @GeoDerp we now have a unified/centralized Dockerfile that allows for testing different installation configuration methods in one place. This greatly helps testing, notably emulating the add-on environment. This will improve overall testing for both teh core code and the add-on. Again many thanks!
26
47
  - There were also a lot of nice improveements from @GeoDerp to the webui, namely: styling, dynamic table, optimization feedback after button press, logging, a new clear button, etc.
27
48
  - From now on we will unify the semantic versioning for both the main core code and the add-on.
28
49
 
29
- ## [0.7.8] - 2024-02-18
50
+ ## 0.7.8 - 2024-02-18
30
51
  ### Improvement
31
52
  Added some nice logging functionalities and responsiveness on the webui.
32
53
  Thanks to @GeoDerp for this great work!
@@ -34,28 +55,28 @@ Thanks to @GeoDerp for this great work!
34
55
  - on successful html button press, fetch is called to get html containing latest table data
35
56
  - on html button press, If app.logger ERROR is present, send action log back and present on page.
36
57
 
37
- ## [0.7.7] - 2024-02-10
58
+ ## 0.7.7 - 2024-02-10
38
59
  ### Improvement
39
60
  - Bumped the webui. Some great new features and styling. Now it is possible to pass data directly as lsit of values when using the buttons in the webui. Thanks to @GeoDerp
40
61
  - Added two additional testing environment options. Thanks to @GeoDerp
41
62
  ### Fix
42
63
  - Bump markupsafe from 2.1.4 to 2.1.5
43
64
 
44
- ## [0.7.6] - 2024-02-06
65
+ ## 0.7.6 - 2024-02-06
45
66
  ### Fix
46
67
  - Fixed number of startups constraint for deferrable load at the begining of the optimization period
47
68
  - Fixed list of bools from options.json
48
69
  - Fixed some testing and debugging scripts
49
70
 
50
- ## [0.7.5] - 2024-02-04
71
+ ## 0.7.5 - 2024-02-04
51
72
  ### Fix
52
73
  - Fixing again "perform_backtest": "false" has no effect
53
74
 
54
- ## [0.7.4] - 2024-02-04
75
+ ## 0.7.4 - 2024-02-04
55
76
  ### Fix
56
77
  - Fixed broken build params method. Reverting back to alternate PR from @GeoDerp
57
78
 
58
- ## [0.7.3] - 2024-02-04
79
+ ## 0.7.3 - 2024-02-04
59
80
  ### Fix
60
81
  - Fixed bug when booleans, solving "perform_backtest": "false" has no effect
61
82
  - Refactored util.py method to handle optional parameters
@@ -63,15 +84,15 @@ Thanks to @GeoDerp for this great work!
63
84
  - Solved issue passing solcast and solar.forecast runtime params
64
85
  - Updated documentation requirements
65
86
 
66
- ## [0.7.2] - 2024-01-30
87
+ ## 0.7.2 - 2024-01-30
67
88
  ### Fix
68
89
  - Patched new version wer server issues of missing list types
69
90
 
70
- ## [0.7.1] - 2024-01-29
91
+ ## 0.7.1 - 2024-01-29
71
92
  ### Fix
72
93
  - Patched new version wer server issues accessing correct paths
73
94
 
74
- ## [0.7.0] - 2024-01-28
95
+ ## 0.7.0 - 2024-01-28
75
96
  ### Improvement
76
97
  - Added a new feature to provide operating time windows for deferrable loads. Thanks to @michaelpiron
77
98
  - Added lots of new options to be configured by the user. Thanks to @GeoDerp
@@ -85,19 +106,19 @@ Thanks to @GeoDerp for this great work!
85
106
  - Renamed classes to conform to PEP8
86
107
  - Bump markupsafe from 2.1.3 to 2.1.4
87
108
 
88
- ## [0.6.2] - 2024-01-04
109
+ ## 0.6.2 - 2024-01-04
89
110
  ### Improvement
90
111
  - Added option to pass additional weight for battery usage
91
112
  - Improved coverage
92
113
  ### Fix
93
114
  - Updated optimization constraints to solve conflict for `set_def_constant` and `treat_def_as_semi_cont` cases
94
115
 
95
- ## [0.6.1] - 2023-12-18
116
+ ## 0.6.1 - 2023-12-18
96
117
  ### Fix
97
118
  - Patching EMHASS for Python 3.11. New explicit dependecy h5py==3.10.0
98
119
  - Updated Dockerfile to easily test add-on build
99
120
 
100
- ## [0.6.0] - 2023-12-16
121
+ ## 0.6.0 - 2023-12-16
101
122
  ### Improvement
102
123
  - Now Python 3.11 is fully supported, thanks to @pail23
103
124
  - We now publish the optimization status on sensor.optim_status
@@ -115,7 +136,7 @@ Thanks to @GeoDerp for this great work!
115
136
  - Get locations from environment in non-app mode
116
137
  - Tolerate running directly from source
117
138
 
118
- ## [0.5.1] - 2023-10-19
139
+ ## 0.5.1 - 2023-10-19
119
140
  ### Improvement
120
141
  - Improved documentation, thanks to @g1za
121
142
  - Bumped skforecast to 0.10.1
@@ -123,28 +144,28 @@ Thanks to @GeoDerp for this great work!
123
144
  ### Fix
124
145
  - Updated automated tesing, dropped support for Python 3.8
125
146
 
126
- ## [0.5.0] - 2023-09-03
147
+ ## 0.5.0 - 2023-09-03
127
148
  ### Improvement
128
149
  - Finally added support for ingress thanks to the work from @siku2
129
150
  - Added a devcontainer and pave the way for ingress access
130
151
  ### Fix
131
152
  - Added some code to fix some numerical syntax issues in tables
132
153
 
133
- ## [0.4.15] - 2023-08-11
154
+ ## 0.4.15 - 2023-08-11
134
155
  ### Improvement
135
156
  - Bumped pvlib to 0.10.1
136
157
  - Updated documentation for forecasts methods.
137
158
  ### Fix
138
159
  - Fixed error message on utils.py
139
160
 
140
- ## [0.4.14] - 2023-07-17
161
+ ## 0.4.14 - 2023-07-17
141
162
  ### Improvement
142
163
  - Bumped skforecast to latest 0.9.1.
143
164
  - The standalone dockerfile was updated by @majorforg to include the CBC solver.
144
165
  ### Fix
145
166
  - Fix rounding for price & cost forecasts by @purcell-lab
146
167
 
147
- ## [0.4.13] - 2023-06-29
168
+ ## 0.4.13 - 2023-06-29
148
169
  ### Improvement
149
170
  - Added support for data reconstruction when missing values on last window for ML forecaster prediction.
150
171
  - Added treatment of SOCtarget passed at runtime for day-ahead optimization.
@@ -154,14 +175,14 @@ Thanks to @GeoDerp for this great work!
154
175
  - Bump myst-parser from 1.0.0 to 2.0.0
155
176
  - Fixed missing attributes is the sensors when using the custom IDs.
156
177
 
157
- ## [0.4.12] - 2023-06-03
178
+ ## 0.4.12 - 2023-06-03
158
179
  ### Improvement
159
180
  - Added forecasts for unit_prod_price and unit_load_cost.
160
181
  - Improved documentation.
161
182
  ### Fix
162
183
  - Bump skforecast from 0.8.0 to 0.8.1
163
184
 
164
- ## [0.4.11] - 2023-05-27
185
+ ## 0.4.11 - 2023-05-27
165
186
  ### Improvement
166
187
  - Adding new constraints to limit the dynamics (kW/sec) of deferrable loads and battery power. The LP formulation works correctly and a work should be done on integrating the user input parameters to control this functionality.
167
188
  - Added new constraint to avoid battery discharging to the grid.
@@ -170,58 +191,58 @@ Thanks to @GeoDerp for this great work!
170
191
  - Bumped version of skforecast from 0.6.0 to 0.8.1. Doing this mainly implies changing how the exogenous data is passed to fit and predict methods.
171
192
  - Fixed wrong path for csv files when using load cost and prod price forecasts.
172
193
 
173
- ## [0.4.10] - 2023-05-21
194
+ ## 0.4.10 - 2023-05-21
174
195
  ### Fix
175
196
  - Fixed wrong name of new cost sensor.
176
197
  - Fixed units of measurements of costs to €/kWh.
177
198
  - Added color sequence to plot figures, now avery line should be plotted with a different color.
178
199
 
179
- ## [0.4.9] - 2023-05-20
200
+ ## 0.4.9 - 2023-05-20
180
201
  ### Fix
181
202
  - Updated default value for total number of days for ML model training.
182
203
  - Added publish of unit_load_cost and unit_prod_price sensors.
183
204
  - Improved docs intro.
184
205
  - Bump myst-parser from 0.18.1 to 1.0.0
185
206
 
186
- ## [0.4.8] - 2023-03-17
207
+ ## 0.4.8 - 2023-03-17
187
208
  ### Fix
188
209
  - Fixed to correct index length for ML forecaster prediction series.
189
210
 
190
- ## [0.4.7] - 2023-03-16
211
+ ## 0.4.7 - 2023-03-16
191
212
  ### Fix
192
213
  - Fixed wrong column name for var_load when using predict with ML forecaster.
193
214
 
194
- ## [0.4.6] - 2023-03-16
215
+ ## 0.4.6 - 2023-03-16
195
216
  ### Fix
196
217
  - Fixed wrong path for saved ML forecaster model.
197
218
 
198
- ## [0.4.5] - 2023-03-10
219
+ ## 0.4.5 - 2023-03-10
199
220
  ### Fix
200
221
  - Fixed default behavior for passed data.
201
222
  - Added a new graph for tune results.
202
223
 
203
- ## [0.4.4] - 2023-03-09
224
+ ## 0.4.4 - 2023-03-09
204
225
  ### Fix
205
226
  - Added missing possibility to set the method for load forecast to 'mlforecaster'.
206
227
  - Fixed logging formatting.
207
228
 
208
- ## [0.4.3] - 2023-03-09
229
+ ## 0.4.3 - 2023-03-09
209
230
  ### Fix
210
231
  - Fixed logging.
211
232
  - Fixed missing module on docker standalone mode.
212
233
 
213
- ## [0.4.2] - 2023-03-07
234
+ ## 0.4.2 - 2023-03-07
214
235
  ### Fix
215
236
  - Fixed handling of default passed params.
216
237
 
217
- ## [0.4.1] - 2023-03-06
238
+ ## 0.4.1 - 2023-03-06
218
239
  ### Improvement
219
240
  - Improved the documentation and the in-code docstrings.
220
241
  - Added the possibility to save the optimized model after a tuning routine.
221
242
  - Added the possibility to publish predict results to a Home Assistant sensor.
222
243
  - Added the possibility to provide custom entity_id, unit_of_measurement and friendly_name for each published data.
223
244
 
224
- ## [0.4.0] - 2023-03-06
245
+ ## 0.4.0 - 2023-03-06
225
246
  ### Improvement
226
247
  - A brand new load forecast module and more... The new forecast module can actually be used to foreast any Home Assistant variable. The API provides fit, predict and tune methods. By the default it provides a more efficient way to forecast the power load consumption. It is based on the skforecast module that uses scikit-learn regression models considering auto-regression lags as features. The hyperparameter optimization is proposed using bayesian optimization from the optuna module.
227
248
  - A new documentation section covering the new forecast module.
@@ -231,41 +252,41 @@ Thanks to @GeoDerp for this great work!
231
252
  - Refactored images in documentation, now using only SVG for plotly figures.
232
253
  - Bumped requirements to latest non-conflicting versions.
233
254
 
234
- ## [0.3.36] - 2023-01-31
255
+ ## 0.3.36 - 2023-01-31
235
256
  ### Fix
236
257
  - Fixed message handling from request module.
237
258
 
238
- ## [0.3.35] - 2023-01-31
259
+ ## 0.3.35 - 2023-01-31
239
260
  ### Fix
240
261
  - Fixed access to injection_dict for the first time that emhass is used.
241
262
 
242
- ## [0.3.34] - 2023-01-30
263
+ ## 0.3.34 - 2023-01-30
243
264
  ### Fix
244
265
  - Fixed bugs with paths again, now using the official pathlib everywhere.
245
266
 
246
- ## [0.3.32] - 2023-01-30
267
+ ## 0.3.32 - 2023-01-30
247
268
  ### Fix
248
269
  - Fixed bugs on handling data folder name.
249
270
  - Improved warning messages when passing list of values with items detected as non digits.
250
271
 
251
- ## [0.3.29] - 2023-01-28
272
+ ## 0.3.29 - 2023-01-28
252
273
  ### Improvement
253
274
  - Implemented data storage to survive add-on restarts.
254
275
 
255
- ## [0.3.25] - 2023-01-27
276
+ ## 0.3.25 - 2023-01-27
256
277
  ### Fix
257
278
  - Fixed dependencies, uniform working versions of Numpy, Pandas and Tables.
258
279
 
259
- ## [0.3.24] - 2023-01-27
280
+ ## 0.3.24 - 2023-01-27
260
281
  ### Fix
261
282
  - Fixed dependencies, rolled back to older fixed Numpy and Pandas versions.
262
283
 
263
- ## [0.3.23] - 2023-01-26
284
+ ## 0.3.23 - 2023-01-26
264
285
  ### Fix
265
286
  - Fixed missing integration of additional `set_nocharge_from_grid` in the web server.
266
287
  - Improved the documentation.
267
288
 
268
- ## [0.3.22] - 2023-01-26
289
+ ## 0.3.22 - 2023-01-26
269
290
  ### Improvement
270
291
  - Improved unittest for mock get requests.
271
292
  - Improved coverage.
@@ -273,13 +294,13 @@ Thanks to @GeoDerp for this great work!
273
294
  - Code works even if no battery data is configured.
274
295
  - Added more explicit logging error message in the case of no data retrieved from Home Assistant.
275
296
 
276
- ## [0.3.21] - 2022-10-21
297
+ ## 0.3.21 - 2022-10-21
277
298
  ### Fix
278
299
  - Fixed docstrings
279
300
  - Added github worflows for coverage and automatic package compiling.
280
301
  - Fixing interpolation for Forecast.Solar data.
281
302
 
282
- ## [0.3.20] - 2022-10-05
303
+ ## 0.3.20 - 2022-10-05
283
304
  ### Improvement
284
305
  - Added more detailed examples to the forecast module documentation.
285
306
  - Improved handling of datatime indexes in DataFrames on forecast module.
@@ -287,13 +308,13 @@ Thanks to @GeoDerp for this great work!
287
308
  - Added missing unittests for forecast module with request.get dependencies using MagicMock.
288
309
  - Added the Solar.Forecast method.
289
310
 
290
- ## [0.3.19] - 2022-09-14
311
+ ## 0.3.19 - 2022-09-14
291
312
  ### Fix
292
313
  - Updated default values for a working LP solver.
293
314
  - Removed option to provide a custom web ui url.
294
315
  - Added extra runtime parameters to use solcast PV forecast.
295
316
 
296
- ## [0.3.18] - 2022-08-27
317
+ ## 0.3.18 - 2022-08-27
297
318
  ### Improvement
298
319
  - Improving documentation, added more information on forecast page.
299
320
  - Added support for SolCast PV production forecasts.
@@ -302,41 +323,41 @@ Thanks to @GeoDerp for this great work!
302
323
  ### Fix
303
324
  - Fixed small bug on webserver using pandas sum function for non numeric data. This was throwing the following message: Dropping of nuisance columns in DataFrame reductions (with 'numeric_only=None') is deprecated.
304
325
 
305
- ## [0.3.17] - 2022-06-12
326
+ ## 0.3.17 - 2022-06-12
306
327
  ### Fix
307
328
  - Fixed wrong variables names for mixed forecasts.
308
329
  - Fixed handling of load sensor name in command line setup function.
309
330
 
310
- ## [0.3.16] - 2022-06-10
331
+ ## 0.3.16 - 2022-06-10
311
332
  ### Improvement
312
333
  - Improving documentation, added "what is this" section and added some infographics.
313
334
  - Added new forecasts methods chapter in documentation.
314
335
  - Added publish of sensors for p_grid_forecast & total value of cost function.
315
336
  - Implemented now/current value forecast correction when using MPC.
316
337
 
317
- ## [0.3.15] - 2022-06-06
338
+ ## 0.3.15 - 2022-06-06
318
339
  ### Fix
319
340
  - Fixed small bug with wrong DF variable name in web server.
320
341
 
321
- ## [0.3.14] - 2022-06-05
342
+ ## 0.3.14 - 2022-06-05
322
343
  ### Improvement
323
344
  - Added one more table to the webui showing the cost totals.
324
345
  ### Fix
325
346
  - Fixed wrong type error when serializing numpy ints. Converted ints to Python type.
326
347
 
327
- ## [0.3.13] - 2022-05-20
348
+ ## 0.3.13 - 2022-05-20
328
349
  ### Fix
329
350
  - Fix wrong default value implementation for solver params.
330
351
 
331
- ## [0.3.12] - 2022-05-20
352
+ ## 0.3.12 - 2022-05-20
332
353
  ### Improvement
333
354
  - Added support to provide solver name and path as parameters in the configuration file.
334
355
 
335
- ## [0.3.11] - 2022-05-23
356
+ ## 0.3.11 - 2022-05-23
336
357
  ### Fix
337
358
  - Fixed unittests not passing.
338
359
 
339
- ## [0.3.10] - 2022-05-23
360
+ ## 0.3.10 - 2022-05-23
340
361
  ### Improvement
341
362
  - Added data as attributes for forecasts (PV and load), deferrable loads and battery: power+SOC.
342
363
  - Improved the graph in the webserver, now using subplots.
@@ -344,7 +365,7 @@ Thanks to @GeoDerp for this great work!
344
365
  ### Fix
345
366
  - Added threads option on waitress to possibly improve queue problem.
346
367
 
347
- ## [0.3.9] - 2022-05-19
368
+ ## 0.3.9 - 2022-05-19
348
369
  ### Improvement
349
370
  - Improved publish data logging.
350
371
  - Round published data.
@@ -357,42 +378,42 @@ Thanks to @GeoDerp for this great work!
357
378
  - Fixed publish data dictionary to contain only data from correct entity_id.
358
379
  - May have solved double log lines.
359
380
 
360
- ## [0.3.8] - 2022-05-17
381
+ ## 0.3.8 - 2022-05-17
361
382
  ### Fix
362
383
  - Still fixing issues when passing csv files and lists.
363
384
 
364
- ## [0.3.7] - 2022-05-17
385
+ ## 0.3.7 - 2022-05-17
365
386
  ### Fix
366
387
  - Fixed None weather df issue when passing lists.
367
388
  - Improved command line unittests.
368
389
 
369
- ## [0.3.6] - 2022-05-17
390
+ ## 0.3.6 - 2022-05-17
370
391
  ### Fix
371
392
  - Fixed wrong handling of list values when preparing data for MPC.
372
393
 
373
- ## [0.3.5] - 2022-05-16
394
+ ## 0.3.5 - 2022-05-16
374
395
  ### Fix
375
396
  - Fixed wrong mpc pred horizon param.
376
397
 
377
- ## [0.3.4] - 2022-05-16
398
+ ## 0.3.4 - 2022-05-16
378
399
  ### Fix
379
400
  - Fixed unloaded json object problem.
380
401
  - Added static style.css as package_data.
381
402
 
382
- ## [0.3.3] - 2022-05-15
403
+ ## 0.3.3 - 2022-05-15
383
404
  ### Fix
384
405
  - Fixed dealing with bool and argparse module.
385
406
  - Added the templates as package_data so that they can be found by jinja2 PackageLoader.
386
407
 
387
- ## [0.3.2] - 2022-05-13
408
+ ## 0.3.2 - 2022-05-13
388
409
  ### Fix
389
410
  - Fixed command_line and utils problem when params is None.
390
411
 
391
- ## [0.3.1] - 2022-05-13
412
+ ## 0.3.1 - 2022-05-13
392
413
  ### Fix
393
414
  - Fixed template rendering problems.
394
415
 
395
- ## [0.3.0] - 2022-05-12
416
+ ## 0.3.0 - 2022-05-12
396
417
  ### Improvement
397
418
  - Improved the command line setup function to perform the correct amount calls as needed by each action.
398
419
  - Added a new naive model predictive control function.
@@ -405,58 +426,58 @@ Thanks to @GeoDerp for this great work!
405
426
  - Added a Dockerfile and procedure to run emhass in standalone mode.
406
427
  - Updated the documentation.
407
428
 
408
- ## [0.2.14] - 2022-05-05
429
+ ## 0.2.14 - 2022-05-05
409
430
  ### Improvement
410
431
  - Added more info on publish data errors when not key found. This error may mean that the optimization task may need to be relaunched or it did not converged to a solution.
411
432
  - Added better info to the configuration documentation when integrating PV module and inverter models from PVLib database. An underscore _ character should be added inplace of each special character.
412
433
  ### Fix
413
434
  - Fixed missing timeStep product for correct deferrable load total energies.
414
435
 
415
- ## [0.2.13] - 2022-05-01
436
+ ## 0.2.13 - 2022-05-01
416
437
  ### Improvement
417
438
  - Added support to pass list of PV plant parameters. This will enable to simulate mixed orientation systems, for example one east-facing array (azimuth=90) and one west-facing array (azimuth=270).
418
439
  ### Fix
419
440
  - Fixed issue computing correct final cost values.
420
441
 
421
- ## [0.2.12] - 2022-04-28
442
+ ## 0.2.12 - 2022-04-28
422
443
  ### Improvement
423
444
  - Added config parameter to consider that all PV power is injected to the grid.
424
445
 
425
- ## [0.2.11] - 2022-04-28
446
+ ## 0.2.11 - 2022-04-28
426
447
  ### Fix
427
448
  - Fixed wrong handling of DateTimeIndex when dealing with forecast method for list of values and csv read.
428
449
 
429
- ## [0.2.10] - 2022-04-26
450
+ ## 0.2.10 - 2022-04-26
430
451
  ### Fix
431
452
  - Fixed faulty forecast method for list of values and csv read.
432
453
 
433
- ## [0.2.9] - 2022-04-21
454
+ ## 0.2.9 - 2022-04-21
434
455
  ### Fix
435
456
  - Fixed get_loc deprecation warning using now get_indexer pandas method. Improved selection of closest index.
436
457
 
437
- ## [0.2.8] - 2022-04-18
458
+ ## 0.2.8 - 2022-04-18
438
459
  ### Fix
439
460
  - Fixed if sentence to correctly use the supervisor API for publish data.
440
461
  - Fixing a error computing the nearest index of DataFrame. Using a try/catch strategy to use nearest method as a backup.
441
462
 
442
- ## [0.2.7] - 2022-04-18
463
+ ## 0.2.7 - 2022-04-18
443
464
  ### Fix
444
465
  - Fixing a fatal error where the publish data function will never reach the savec csv file as the default filename is not equal to the expected filename in publish_data.
445
466
 
446
- ## [0.2.6] - 2022-04-16
467
+ ## 0.2.6 - 2022-04-16
447
468
  ### Improvement
448
469
  - Improved handling of errors concerning solver issues with Pulp. Added support for `glpk` solver. For now just using a try/catch strategy but should update to solver passed as a parameter to EMHASS.
449
470
 
450
- ## [0.2.5] - 2022-04-12
471
+ ## 0.2.5 - 2022-04-12
451
472
  ### Fix
452
473
  - Fixed missing numpy import in utils.
453
474
 
454
- ## [0.2.4] - 2022-04-12
475
+ ## 0.2.4 - 2022-04-12
455
476
  ### Fix
456
477
  - Fixed missing command to retrieve PV power forecast when using list of values.
457
478
  - Updated handling of freq definition to a pandas index.
458
479
 
459
- ## [0.2.3] - 2022-03-29
480
+ ## 0.2.3 - 2022-03-29
460
481
  ### Improvement
461
482
  - Improved support for the new add-on and direct communication via the supervisor.
462
483
  - The CLI now can return the version using the --version argument.
@@ -468,7 +489,7 @@ Thanks to @GeoDerp for this great work!
468
489
  - Removed dependency from PVLib Forecast class, as it has been marked as deprecated.
469
490
  - Fixed failing docs builds due to uncompatible jinja2 an markupsafe versions.
470
491
 
471
- ## [0.2.2] - 2022-03-05
492
+ ## 0.2.2 - 2022-03-05
472
493
  ### Added
473
494
  - Added a new input data file using pickle for tests.
474
495
  - Added support to select if the logger should save to a file or not.
@@ -477,14 +498,14 @@ Thanks to @GeoDerp for this great work!
477
498
  - Changed package usage of configuration file path, now the user must provide the complete path including the yaml file itself.
478
499
  - Changed the names of the configuration and secrets yaml files. These changes will avoid compatibility issues when using hass add-ons.
479
500
 
480
- ## [0.2.1] - 2021-12-22
501
+ ## 0.2.1 - 2021-12-22
481
502
  ### Fixed
482
503
  - Cleaned unittest implementation
483
504
  ### Added
484
505
  - Added support to choose the methods for weather and load forecast from configuration file.
485
506
  - Added new load cost and power production price forecasts, mainly allowing the user to load a CSV file with their own forecast.
486
507
 
487
- ## [0.2.0] - 2021-10-14
508
+ ## 0.2.0 - 2021-10-14
488
509
  ### Fixed
489
510
  - Fixed tests to pass with latest changes on passing path and logger arguments.
490
511
  - Updated requirements for PVLib and Protobuf.
@@ -496,114 +517,36 @@ Thanks to @GeoDerp for this great work!
496
517
  - Implemented typing for compatibility with Python4
497
518
  - Implemented different types of cost functions
498
519
 
499
- ## [0.1.5] - 2021-09-22
520
+ ## 0.1.5 - 2021-09-22
500
521
  ### Fixed
501
522
  - Fix a recurrent previous bug when using get_loc. The correct default behavior when using get_loc is changed from backfill to ffill.
502
523
 
503
- ## [0.1.4] - 2021-09-18
524
+ ## 0.1.4 - 2021-09-18
504
525
  ### Fixed
505
526
  - Fixed a bug when publish-data and reading the CSV file, the index was not correctly defined, so there was a bug when applying pandas get_loc.
506
527
  ### Added
507
528
  - Added a global requirements.txt file for pip install.
508
529
 
509
- ## [0.1.3] - 2021-09-17
530
+ ## 0.1.3 - 2021-09-17
510
531
  ### Fixed
511
532
  - Fixed packaging and configuration for readthedocs.
512
533
 
513
- ## [0.1.2] - 2021-09-17
534
+ ## 0.1.2 - 2021-09-17
514
535
  ### Fixed
515
536
  - Modified the cost function equation signs for more clarity. Now the LP is fixed to maximize a profit given by the revenues from selling PV to the grind minus the energy cost of consumed energy.
516
537
  - Fixed a deprecation warning from PVLib when retrieving results from the ModelChain object. Now using modelchain.results.ac.
517
538
 
518
- ## [0.1.1] - 2021-09-17
539
+ ## 0.1.1 - 2021-09-17
519
540
  ### Fixed
520
541
  - Fixed sign error in cost function.
521
542
  - Change publish_data get_loc behavior from nearest to backfill.
522
543
  - Changed and updated behavior of the logger. It is constructed and integrated directly in the main function of the command_line.py file. It now writes to a log file by default.
523
544
  - Fixed some typos and errors in the documentation.
524
545
 
525
- ## [0.1.0] - 2021-09-12
546
+ ## 0.1.0 - 2021-09-12
526
547
  ### Added
527
548
  - Added the first public repository for this project.
528
549
 
529
- [0.1.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.1.0
530
- [0.1.1]: https://github.com/davidusb-geek/emhass/releases/tag/v0.1.1
531
- [0.1.2]: https://github.com/davidusb-geek/emhass/releases/tag/v0.1.2
532
- [0.1.3]: https://github.com/davidusb-geek/emhass/releases/tag/v0.1.3
533
- [0.1.4]: https://github.com/davidusb-geek/emhass/releases/tag/v0.1.4
534
- [0.1.5]: https://github.com/davidusb-geek/emhass/releases/tag/v0.1.5
535
- [0.2.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.0
536
- [0.2.1]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.1
537
- [0.2.2]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.2
538
- [0.2.3]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.3
539
- [0.2.4]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.4
540
- [0.2.5]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.5
541
- [0.2.6]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.6
542
- [0.2.7]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.7
543
- [0.2.8]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.8
544
- [0.2.9]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.9
545
- [0.2.10]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.10
546
- [0.2.11]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.11
547
- [0.2.12]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.12
548
- [0.2.13]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.13
549
- [0.2.14]: https://github.com/davidusb-geek/emhass/releases/tag/v0.2.14
550
- [0.3.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.0
551
- [0.3.6]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.6
552
- [0.3.8]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.8
553
- [0.3.9]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.9
554
- [0.3.11]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.11
555
- [0.3.13]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.13
556
- [0.3.14]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.14
557
- [0.3.15]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.15
558
- [0.3.16]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.16
559
- [0.3.17]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.17
560
- [0.3.18]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.18
561
- [0.3.19]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.19
562
- [0.3.20]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.20
563
- [0.3.21]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.21
564
- [0.3.22]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.22
565
- [0.3.23]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.23
566
- [0.3.24]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.24
567
- [0.3.25]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.25
568
- [0.3.29]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.29
569
- [0.3.32]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.32
570
- [0.3.34]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.34
571
- [0.3.35]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.35
572
- [0.3.36]: https://github.com/davidusb-geek/emhass/releases/tag/v0.3.36
573
- [0.4.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.0
574
- [0.4.1]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.1
575
- [0.4.2]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.2
576
- [0.4.3]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.3
577
- [0.4.4]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.4
578
- [0.4.5]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.5
579
- [0.4.6]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.6
580
- [0.4.7]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.7
581
- [0.4.8]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.8
582
- [0.4.9]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.9
583
- [0.4.10]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.10
584
- [0.4.11]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.11
585
- [0.4.12]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.12
586
- [0.4.13]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.13
587
- [0.4.14]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.14
588
- [0.4.15]: https://github.com/davidusb-geek/emhass/releases/tag/v0.4.15
589
- [0.5.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.5.0
590
- [0.5.1]: https://github.com/davidusb-geek/emhass/releases/tag/v0.5.1
591
- [0.6.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.6.0
592
- [0.6.1]: https://github.com/davidusb-geek/emhass/releases/tag/v0.6.1
593
- [0.6.2]: https://github.com/davidusb-geek/emhass/releases/tag/v0.6.2
594
- [0.7.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.0
595
- [0.7.1]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.1
596
- [0.7.2]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.2
597
- [0.7.3]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.3
598
- [0.7.4]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.4
599
- [0.7.5]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.5
600
- [0.7.6]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.6
601
- [0.7.7]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.7
602
- [0.7.8]: https://github.com/davidusb-geek/emhass/releases/tag/v0.7.8
603
- [0.8.0]: https://github.com/davidusb-geek/emhass/releases/tag/v0.8.0
604
- [0.8.1]: https://github.com/davidusb-geek/emhass/releases/tag/v0.8.1
605
- [0.8.2]: https://github.com/davidusb-geek/emhass/releases/tag/v0.8.2
606
- [0.8.3]: https://github.com/davidusb-geek/emhass/releases/tag/v0.8.3
607
550
 
608
551
  # Notes
609
552
  All notable changes to this project will be documented in this file.