emhass 0.10.6__py3-none-any.whl → 0.15.5__py3-none-any.whl
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.
- emhass/command_line.py +1827 -735
- emhass/connection_manager.py +108 -0
- emhass/data/associations.csv +98 -0
- emhass/data/cec_inverters.pbz2 +0 -0
- emhass/data/cec_modules.pbz2 +0 -0
- emhass/data/config_defaults.json +120 -0
- emhass/forecast.py +1482 -622
- emhass/img/emhass_icon.png +0 -0
- emhass/machine_learning_forecaster.py +565 -212
- emhass/machine_learning_regressor.py +162 -122
- emhass/optimization.py +1724 -590
- emhass/retrieve_hass.py +1104 -248
- emhass/static/advanced.html +9 -1
- emhass/static/basic.html +4 -2
- emhass/static/configuration_list.html +48 -0
- emhass/static/configuration_script.js +956 -0
- emhass/static/data/param_definitions.json +592 -0
- emhass/static/script.js +377 -322
- emhass/static/style.css +270 -13
- emhass/templates/configuration.html +77 -0
- emhass/templates/index.html +23 -14
- emhass/templates/template.html +4 -5
- emhass/utils.py +1797 -428
- emhass/web_server.py +850 -448
- emhass/websocket_client.py +224 -0
- emhass-0.15.5.dist-info/METADATA +164 -0
- emhass-0.15.5.dist-info/RECORD +34 -0
- {emhass-0.10.6.dist-info → emhass-0.15.5.dist-info}/WHEEL +1 -2
- emhass-0.15.5.dist-info/entry_points.txt +2 -0
- emhass-0.10.6.dist-info/METADATA +0 -622
- emhass-0.10.6.dist-info/RECORD +0 -26
- emhass-0.10.6.dist-info/entry_points.txt +0 -2
- emhass-0.10.6.dist-info/top_level.txt +0 -1
- {emhass-0.10.6.dist-info → emhass-0.15.5.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,592 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Local": {
|
|
3
|
+
"costfun": {
|
|
4
|
+
"friendly_name": "Cost function",
|
|
5
|
+
"Description": "Define the type of cost function.",
|
|
6
|
+
"input": "select",
|
|
7
|
+
"select_options": ["profit", "cost", "self-consumption"],
|
|
8
|
+
"default_value": "profit"
|
|
9
|
+
},
|
|
10
|
+
"sensor_power_photovoltaics": {
|
|
11
|
+
"friendly_name": "Sensor power photovoltaic",
|
|
12
|
+
"Description": "This is the name of the photovoltaic power-produced sensor in Watts from Home Assistant. For example: ‘sensor.power_photovoltaics’.",
|
|
13
|
+
"input": "string",
|
|
14
|
+
"default_value": "sensor.power_photovoltaics"
|
|
15
|
+
},
|
|
16
|
+
"sensor_power_photovoltaics_forecast": {
|
|
17
|
+
"friendly_name": "Sensor power photovoltaic forecast",
|
|
18
|
+
"Description": "This is the name of the photovoltaic forecast sensor in Watts from Home Assistant. For example: ‘sensor.p_pv_forecast’.",
|
|
19
|
+
"input": "string",
|
|
20
|
+
"default_value": "sensor.p_pv_forecast"
|
|
21
|
+
},
|
|
22
|
+
"sensor_power_load_no_var_loads": {
|
|
23
|
+
"friendly_name": "Sensor power loads with no variable loads",
|
|
24
|
+
"Description": "The name of the household power consumption sensor in Watts from Home Assistant. The deferrable loads that we will want to include in the optimization problem should be subtracted from this sensor in HASS. For example: ‘sensor.power_load_no_var_loads’",
|
|
25
|
+
"input": "string",
|
|
26
|
+
"default_value": "sensor.power_load_no_var_loads"
|
|
27
|
+
},
|
|
28
|
+
"sensor_replace_zero": {
|
|
29
|
+
"friendly_name": "Sensor to replace NAN values with 0s",
|
|
30
|
+
"Description": "The list of retrieved variables that we would want to replace NANs (if they exist) with zeros.",
|
|
31
|
+
"input": "array.string",
|
|
32
|
+
"default_value": "sensor.power_photovoltaics"
|
|
33
|
+
},
|
|
34
|
+
"sensor_linear_interp": {
|
|
35
|
+
"friendly_name": "Sensor to replace NAN values with linear interpolation",
|
|
36
|
+
"Description": "The list of retrieved variables that we would want to interpolate NANs values using linear interpolation",
|
|
37
|
+
"input": "array.string",
|
|
38
|
+
"default_value": "sensor.power_photovoltaics"
|
|
39
|
+
},
|
|
40
|
+
"use_websocket": {
|
|
41
|
+
"friendly_name": "Use Home Assistant websocket for data retrieval",
|
|
42
|
+
"Description": "Enable Home Assistant websocket as data source instead of Home Assistant API. This allows for longer historical data retention and better performance for machine learning models.",
|
|
43
|
+
"input": "boolean",
|
|
44
|
+
"default_value": false
|
|
45
|
+
},
|
|
46
|
+
"use_influxdb": {
|
|
47
|
+
"friendly_name": "Use InfluxDB (1.x) for data retrieval",
|
|
48
|
+
"Description": "Enable InfluxDB as data source instead of Home Assistant API. This allows for longer historical data retention and better performance for machine learning models. Only supports version 1.x.",
|
|
49
|
+
"input": "boolean",
|
|
50
|
+
"default_value": false
|
|
51
|
+
},
|
|
52
|
+
"influxdb_host": {
|
|
53
|
+
"friendly_name": "InfluxDB host",
|
|
54
|
+
"Description": "The IP address or hostname of your InfluxDB instance. Defaults to localhost.",
|
|
55
|
+
"input": "string",
|
|
56
|
+
"default_value": "localhost"
|
|
57
|
+
},
|
|
58
|
+
"influxdb_port": {
|
|
59
|
+
"friendly_name": "InfluxDB port",
|
|
60
|
+
"Description": "The port number for your InfluxDB instance. Defaults to 8086.",
|
|
61
|
+
"input": "int",
|
|
62
|
+
"default_value": 8086
|
|
63
|
+
},
|
|
64
|
+
"influxdb_username": {
|
|
65
|
+
"friendly_name": "InfluxDB username",
|
|
66
|
+
"Description": "Username for authenticating with InfluxDB. Leave empty if no authentication is required.",
|
|
67
|
+
"input": "secrets.string",
|
|
68
|
+
"default_value": ""
|
|
69
|
+
},
|
|
70
|
+
"influxdb_password": {
|
|
71
|
+
"friendly_name": "InfluxDB password",
|
|
72
|
+
"Description": "Password for authenticating with InfluxDB. Leave empty if no authentication is required.",
|
|
73
|
+
"input": "secrets.string",
|
|
74
|
+
"default_value": ""
|
|
75
|
+
},
|
|
76
|
+
"influxdb_database": {
|
|
77
|
+
"friendly_name": "InfluxDB database name",
|
|
78
|
+
"Description": "The name of the InfluxDB database containing your Home Assistant data. Defaults to 'homeassistant'.",
|
|
79
|
+
"input": "string",
|
|
80
|
+
"default_value": "homeassistant"
|
|
81
|
+
},
|
|
82
|
+
"influxdb_measurement": {
|
|
83
|
+
"friendly_name": "InfluxDB measurement name",
|
|
84
|
+
"Description": "The measurement name where your sensor data is stored. Defaults to 'W' for the Home Assistant integration.",
|
|
85
|
+
"input": "string",
|
|
86
|
+
"default_value": "W"
|
|
87
|
+
},
|
|
88
|
+
"influxdb_retention_policy": {
|
|
89
|
+
"friendly_name": "InfluxDB retention policy",
|
|
90
|
+
"Description": "The retention policy to use for InfluxDB queries. Defaults to 'autogen'.",
|
|
91
|
+
"input": "string",
|
|
92
|
+
"default_value": "autogen"
|
|
93
|
+
},
|
|
94
|
+
"influxdb_use_ssl": {
|
|
95
|
+
"friendly_name": "Use HTTPS on InfluxDB connection",
|
|
96
|
+
"Description": "Enables HTTPS on InfluxDB connections. Defaults to 'false'.",
|
|
97
|
+
"input": "boolean",
|
|
98
|
+
"default_value": false
|
|
99
|
+
},
|
|
100
|
+
"influxdb_verify_ssl": {
|
|
101
|
+
"friendly_name": "Verify HTTPS on InfluxDB connection",
|
|
102
|
+
"Description": "Enables SSL verification of the certificate (e.g. Let's Encrypt) on InfluxDB connections. Defaults to 'false'.",
|
|
103
|
+
"input": "boolean",
|
|
104
|
+
"default_value": false
|
|
105
|
+
},
|
|
106
|
+
"continual_publish": {
|
|
107
|
+
"friendly_name": "Continually publish optimization results",
|
|
108
|
+
"Description": "set to True to save entities to .json after an optimization run. Then automatically republish the saved entities (with updated current state value) every freq minutes. entity data saved to data_path/entities.",
|
|
109
|
+
"input": "boolean",
|
|
110
|
+
"default_value": false
|
|
111
|
+
},
|
|
112
|
+
"logging_level": {
|
|
113
|
+
"friendly_name": "Logging level",
|
|
114
|
+
"Description": "DEBUG provides detailed diagnostic information, INFO gives general operational messages, WARNING highlights potential issues, and ERROR indicates critical problems that may disrupt functionality.",
|
|
115
|
+
"input": "select",
|
|
116
|
+
"select_options": ["INFO", "DEBUG", "WARNING", "ERROR"],
|
|
117
|
+
"default_value": "INFO"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"System": {
|
|
121
|
+
"optimization_time_step": {
|
|
122
|
+
"friendly_name": "Optimization steps per minute (timesteps)",
|
|
123
|
+
"Description": "The time step to resample retrieved data from hass. This parameter is given in minutes. It should not be defined too low or you will run into memory problems when defining the Linear Programming optimization. Defaults to 30",
|
|
124
|
+
"input": "int",
|
|
125
|
+
"default_value": 30
|
|
126
|
+
},
|
|
127
|
+
"historic_days_to_retrieve": {
|
|
128
|
+
"friendly_name": "Historic days to retrieve",
|
|
129
|
+
"Description": "We will retrieve data from now to days_to_retrieve days. Defaults to 2",
|
|
130
|
+
"input": "int",
|
|
131
|
+
"default_value": 2
|
|
132
|
+
},
|
|
133
|
+
"load_negative": {
|
|
134
|
+
"friendly_name": "Load negative values",
|
|
135
|
+
"Description": "Set this parameter to True if the retrieved load variable is negative by convention. Defaults to False",
|
|
136
|
+
"input": "boolean",
|
|
137
|
+
"default_value": false
|
|
138
|
+
},
|
|
139
|
+
"set_zero_min": {
|
|
140
|
+
"friendly_name": "Remove Negatives",
|
|
141
|
+
"Description": "Set this parameter to True to give a special treatment for a minimum value saturation to zero for power consumption data. Values below zero are replaced by nans. Defaults to True.",
|
|
142
|
+
"input": "boolean",
|
|
143
|
+
"default_value": true
|
|
144
|
+
},
|
|
145
|
+
"method_ts_round": {
|
|
146
|
+
"friendly_name": "Timestamp rounding method",
|
|
147
|
+
"Description": "Set the method for timestamp rounding, options are: first, last and nearest.",
|
|
148
|
+
"input": "select",
|
|
149
|
+
"select_options": ["nearest", "first", "last"],
|
|
150
|
+
"default_value": "nearest"
|
|
151
|
+
},
|
|
152
|
+
"delta_forecast_daily": {
|
|
153
|
+
"friendly_name": "Number of forecasted days",
|
|
154
|
+
"Description": "The number of days for forecasted data. Defaults to 1.",
|
|
155
|
+
"input": "int",
|
|
156
|
+
"default_value": 1
|
|
157
|
+
},
|
|
158
|
+
"load_forecast_method": {
|
|
159
|
+
"friendly_name": "Load forecast method",
|
|
160
|
+
"Description": "The load forecast method that will be used. The options are ‘csv’ to load a CSV file or ‘naive’ for a simple 1-day persistence model.",
|
|
161
|
+
"input": "select",
|
|
162
|
+
"select_options": ["typical", "naive", "mlforecaster", "csv"],
|
|
163
|
+
"default_value": "typical"
|
|
164
|
+
},
|
|
165
|
+
"set_total_pv_sell": {
|
|
166
|
+
"friendly_name": "PV straight to grid",
|
|
167
|
+
"Description": "Set this parameter to true to consider that all the PV power produced is injected to the grid. No direct self-consumption. The default is false, for a system with direct self-consumption.",
|
|
168
|
+
"input": "boolean",
|
|
169
|
+
"default_value": false
|
|
170
|
+
},
|
|
171
|
+
"lp_solver": {
|
|
172
|
+
"friendly_name": "Linear programming solver",
|
|
173
|
+
"Description": "Set the name of the linear programming solver that will be used. Defaults to ‘COIN_CMD’. The options are ‘PULP_CBC_CMD’, ‘GLPK_CMD’, ‘HiGHS’, and ‘COIN_CMD’.",
|
|
174
|
+
"input": "select",
|
|
175
|
+
"select_options": [
|
|
176
|
+
"default",
|
|
177
|
+
"COIN_CMD",
|
|
178
|
+
"PULP_CBC_CMD",
|
|
179
|
+
"GLPK_CMD",
|
|
180
|
+
"HiGHS"
|
|
181
|
+
],
|
|
182
|
+
"default_value": "COIN_CMD"
|
|
183
|
+
},
|
|
184
|
+
"lp_solver_path": {
|
|
185
|
+
"friendly_name": "Linear programming solver program path",
|
|
186
|
+
"Description": "Set the path to the LP solver. Defaults to ‘/usr/bin/cbc’.",
|
|
187
|
+
"input": "text",
|
|
188
|
+
"default_value": "/usr/bin/cbc"
|
|
189
|
+
},
|
|
190
|
+
"num_threads": {
|
|
191
|
+
"friendly_name": "Number of threads to use for the LP solver",
|
|
192
|
+
"Description": "Set the number of threads for the LP solver to use, when supported by the solver. Defaults to 0 (autodetect)",
|
|
193
|
+
"input": "int",
|
|
194
|
+
"default_value": 0
|
|
195
|
+
},
|
|
196
|
+
"lp_solver_timeout": {
|
|
197
|
+
"friendly_name": "Linear programming solver timeout",
|
|
198
|
+
"Description": "Set the maximum time (in seconds) for the LP solver. Defaults to 45.",
|
|
199
|
+
"input": "int",
|
|
200
|
+
"default_value": 45
|
|
201
|
+
},
|
|
202
|
+
"weather_forecast_method": {
|
|
203
|
+
"friendly_name": "Weather forecast method",
|
|
204
|
+
"Description": "This will define the weather forecast method that will be used. options are 'open-meteo', 'Solcast', 'solar.forecast' (forecast.solar) and 'csv' to load a CSV file. When loading a CSV file this will be directly considered as the PV power forecast in Watts.",
|
|
205
|
+
"input": "select",
|
|
206
|
+
"select_options": ["open-meteo", "solcast", "solar.forecast", "csv"],
|
|
207
|
+
"default_value": "open-meteo"
|
|
208
|
+
},
|
|
209
|
+
"open_meteo_cache_max_age": {
|
|
210
|
+
"friendly_name": "Open-Meteo Cache Max Age",
|
|
211
|
+
"Description": "The maximum age, in minutes, of the cached open-meteo json response, after which a new version will be fetched from Open-Meteo. Defaults to 30.",
|
|
212
|
+
"input": "int",
|
|
213
|
+
"default_value": 30
|
|
214
|
+
},
|
|
215
|
+
"maximum_power_from_grid": {
|
|
216
|
+
"friendly_name": "Max power from grid",
|
|
217
|
+
"Description": "The maximum power that can be supplied by the utility grid in Watts (consumption). Defaults to 9000.",
|
|
218
|
+
"input": "int",
|
|
219
|
+
"default_value": 9000
|
|
220
|
+
},
|
|
221
|
+
"maximum_power_to_grid": {
|
|
222
|
+
"friendly_name": "Max export power to grid",
|
|
223
|
+
"Description": "The maximum power that can be supplied to the utility grid in Watts (injection). Defaults to 9000.",
|
|
224
|
+
"input": "int",
|
|
225
|
+
"default_value": 9000
|
|
226
|
+
},
|
|
227
|
+
"inverter_is_hybrid": {
|
|
228
|
+
"friendly_name": "Inverter is a hybrid",
|
|
229
|
+
"Description": "Set to True to consider that the installation inverter is hybrid for PV and batteries (Default False)",
|
|
230
|
+
"input": "boolean",
|
|
231
|
+
"default_value": false
|
|
232
|
+
},
|
|
233
|
+
"inverter_ac_output_max": {
|
|
234
|
+
"friendly_name": "Max hybrid inverter AC output power",
|
|
235
|
+
"Description": "Maximum hybrid inverter output power from combined PV and battery discharge.",
|
|
236
|
+
"input": "int",
|
|
237
|
+
"default_value": 0
|
|
238
|
+
},
|
|
239
|
+
"inverter_ac_input_max": {
|
|
240
|
+
"friendly_name": "Max hybrid inverter AC input power",
|
|
241
|
+
"Description": "Maximum hybrid inverter input power from grid to charge battery.",
|
|
242
|
+
"input": "int",
|
|
243
|
+
"default_value": 0
|
|
244
|
+
},
|
|
245
|
+
"inverter_efficiency_dc_ac": {
|
|
246
|
+
"friendly_name": "Hybrid inverter efficency DC to AC",
|
|
247
|
+
"Description": "Hybrid inverter efficiency from the DC bus to AC output. (percentage/100)",
|
|
248
|
+
"input": "float",
|
|
249
|
+
"default_value": 1.0
|
|
250
|
+
},
|
|
251
|
+
"inverter_efficiency_ac_dc": {
|
|
252
|
+
"friendly_name": "Hybrid inverter efficency AC to DC",
|
|
253
|
+
"Description": "Hybrid inverter efficiency when charging from the AC input to DC bus. (percentage/100)",
|
|
254
|
+
"input": "float",
|
|
255
|
+
"default_value": 1.0
|
|
256
|
+
},
|
|
257
|
+
"inverter_stress_cost": {
|
|
258
|
+
"friendly_name": "Hybrid Inverter Stress Cost",
|
|
259
|
+
"Description": "A virtual cost (Currency/kWh) applied at the inverter's nominal power to penalise high loads. Currently implemented as a quadratic curve (Cost ∝ Power²), incentivising 'low and slow' operation to reduce thermal stress and smooth power flows.",
|
|
260
|
+
"input": "float",
|
|
261
|
+
"default_value": 0.0
|
|
262
|
+
},
|
|
263
|
+
"inverter_stress_segments": {
|
|
264
|
+
"friendly_name": "Hybrid Inverter Stress Segments",
|
|
265
|
+
"Description": "The number of linear segments used to approximate the stress cost curve. Higher values increase accuracy but may slightly increase computation time.",
|
|
266
|
+
"input": "int",
|
|
267
|
+
"default_value": 10
|
|
268
|
+
},
|
|
269
|
+
"compute_curtailment": {
|
|
270
|
+
"friendly_name": "Set compute curtailment (grid export limit)",
|
|
271
|
+
"Description": "Set to True to compute a special PV curtailment variable (Default False)",
|
|
272
|
+
"input": "boolean",
|
|
273
|
+
"default_value": false
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"Tariff": {
|
|
277
|
+
"load_cost_forecast_method": {
|
|
278
|
+
"friendly_name": "Load cost method",
|
|
279
|
+
"Description": "Define the method that will be used for load cost forecast. The options are ‘hp_hc_periods’ for peak and non-peak hours contracts, and ‘csv’ to load custom cost from CSV file.",
|
|
280
|
+
"input": "select",
|
|
281
|
+
"select_options": ["hp_hc_periods", "csv"],
|
|
282
|
+
"default_value": "hp_hc_periods"
|
|
283
|
+
},
|
|
284
|
+
"load_peak_hour_periods": {
|
|
285
|
+
"friendly_name": "List peak hour periods",
|
|
286
|
+
"Description": "A list of peak hour periods for load consumption from the grid. This is useful if you have a contract with peak and non-peak hours.",
|
|
287
|
+
"input": "array.time",
|
|
288
|
+
"default_value": {
|
|
289
|
+
"period_hp_template": [{ "start": "02:54" }, { "end": "15:24" }]
|
|
290
|
+
},
|
|
291
|
+
"requires": {
|
|
292
|
+
"load_cost_forecast_method": "hp_hc_periods"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"load_peak_hours_cost": {
|
|
296
|
+
"friendly_name": "Peak hours electrical energy cost",
|
|
297
|
+
"Description": "The cost of the electrical energy during peak hours",
|
|
298
|
+
"input": "float",
|
|
299
|
+
"requires": {
|
|
300
|
+
"load_cost_forecast_method": "hp_hc_periods"
|
|
301
|
+
},
|
|
302
|
+
"default_value": 0.1907
|
|
303
|
+
},
|
|
304
|
+
"load_offpeak_hours_cost": {
|
|
305
|
+
"friendly_name": "Off-peak hours electrical energy cost",
|
|
306
|
+
"Description": "The cost of the electrical energy during off-peak hours",
|
|
307
|
+
"input": "float",
|
|
308
|
+
"requires": {
|
|
309
|
+
"load_cost_forecast_method": "hp_hc_periods"
|
|
310
|
+
},
|
|
311
|
+
"default_value": 0.1419
|
|
312
|
+
},
|
|
313
|
+
"production_price_forecast_method": {
|
|
314
|
+
"friendly_name": "PV power production price forecast method",
|
|
315
|
+
"Description": "Define the method that will be used for PV power production price forecast. This is the price that is paid by the utility for energy injected into the grid. The options are ‘constant’ for a constant fixed value or ‘csv’ to load custom price forecasts from a CSV file.",
|
|
316
|
+
"input": "select",
|
|
317
|
+
"select_options": ["constant", "csv"],
|
|
318
|
+
"default_value": "constant"
|
|
319
|
+
},
|
|
320
|
+
"photovoltaic_production_sell_price": {
|
|
321
|
+
"friendly_name": "Constant PV power production price",
|
|
322
|
+
"Description": "The paid price for energy injected to the grid from excess PV production in €/kWh.",
|
|
323
|
+
"input": "float",
|
|
324
|
+
"default_value": 0.1419,
|
|
325
|
+
"requires": {
|
|
326
|
+
"production_price_forecast_method": "constant"
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"Solar System (PV)": {
|
|
331
|
+
"set_use_pv": {
|
|
332
|
+
"friendly_name": "Enable PV system",
|
|
333
|
+
"Description": "Set to True if we should consider an solar PV system. Defaults to False",
|
|
334
|
+
"input": "boolean",
|
|
335
|
+
"default_value": false
|
|
336
|
+
},
|
|
337
|
+
"set_use_adjusted_pv": {
|
|
338
|
+
"friendly_name": "Enable adjusted PV system",
|
|
339
|
+
"Description": "Set to True if we should consider an adjusted solar PV system. Defaults to False",
|
|
340
|
+
"input": "boolean",
|
|
341
|
+
"default_value": false
|
|
342
|
+
},
|
|
343
|
+
"adjusted_pv_regression_model": {
|
|
344
|
+
"friendly_name": "Regression model for adjusted PV",
|
|
345
|
+
"Description": "Set the type of regression model that will be used to adjust the solar PV production to local conditions. Available models are defined in REGRESSION_METHODS (machine_learning_regressor.py). Defaults to LassoRegression",
|
|
346
|
+
"input": "select",
|
|
347
|
+
"select_options": [
|
|
348
|
+
"LinearRegression",
|
|
349
|
+
"RidgeRegression",
|
|
350
|
+
"LassoRegression",
|
|
351
|
+
"ElasticNet",
|
|
352
|
+
"KNeighborsRegressor",
|
|
353
|
+
"DecisionTreeRegressor",
|
|
354
|
+
"SVR",
|
|
355
|
+
"RandomForestRegressor",
|
|
356
|
+
"ExtraTreesRegressor",
|
|
357
|
+
"GradientBoostingRegressor",
|
|
358
|
+
"AdaBoostRegressor",
|
|
359
|
+
"MLPRegressor"
|
|
360
|
+
],
|
|
361
|
+
"default_value": "LassoRegression"
|
|
362
|
+
},
|
|
363
|
+
"adjusted_pv_solar_elevation_threshold": {
|
|
364
|
+
"friendly_name": "Solar elevation threshold",
|
|
365
|
+
"Description": "This is the solar elevation threshold parameter used to identify the early morning or late evening periods. Defaults to 10.",
|
|
366
|
+
"input": "int",
|
|
367
|
+
"default_value": 10
|
|
368
|
+
},
|
|
369
|
+
"adjusted_pv_model_max_age": {
|
|
370
|
+
"friendly_name": "Adjusted PV model maximum age",
|
|
371
|
+
"Description": "Maximum age in hours before the adjusted PV regression model is re-fitted. If the saved model is older than this value, a new model will be trained using fresh historical data. Set to 0 to force re-fitting on every call. Defaults to 24 hours (1 day).",
|
|
372
|
+
"input": "int",
|
|
373
|
+
"default_value": 24
|
|
374
|
+
},
|
|
375
|
+
"pv_module_model": {
|
|
376
|
+
"friendly_name": "PV module model",
|
|
377
|
+
"Description": "The PV module model. You can provide the model name from the CEC database or the nominal power in Watts (e.g., 300). This parameter can be a list of items to enable the simulation of mixed orientation systems.",
|
|
378
|
+
"input": "array.string",
|
|
379
|
+
"input_attributes": "_'s",
|
|
380
|
+
"default_value": "CSUN_Eurasia_Energy_Systems_Industry_and_Trade_CSUN295_60M"
|
|
381
|
+
},
|
|
382
|
+
"pv_inverter_model": {
|
|
383
|
+
"friendly_name": "PV inverter model",
|
|
384
|
+
"Description": "The PV inverter model. You can provide the model name from the CEC database or the nominal power in Watts (e.g., 5000). This parameter can be a list of items to enable the simulation of mixed orientation systems.",
|
|
385
|
+
"input": "array.string",
|
|
386
|
+
"input_attributes": "_'s",
|
|
387
|
+
"default_value": "Fronius_International_GmbH__Fronius_Primo_5_0_1_208_240__240V_"
|
|
388
|
+
},
|
|
389
|
+
"surface_tilt": {
|
|
390
|
+
"friendly_name": "The PV panel tilt",
|
|
391
|
+
"Description": "The tilt angle of your solar panels. Defaults to 30. This parameter can be a list of items to enable the simulation of mixed orientation systems.",
|
|
392
|
+
"input": "array.int",
|
|
393
|
+
"default_value": 30
|
|
394
|
+
},
|
|
395
|
+
"surface_azimuth": {
|
|
396
|
+
"friendly_name": "The PV azimuth (direction)",
|
|
397
|
+
"Description": "The azimuth of your PV installation. Defaults to 205. This parameter can be a list of items to enable the simulation of mixed orientation systems.",
|
|
398
|
+
"input": "array.int",
|
|
399
|
+
"default_value": 205
|
|
400
|
+
},
|
|
401
|
+
"modules_per_string": {
|
|
402
|
+
"friendly_name": "Number of modules per string",
|
|
403
|
+
"Description": "The number of modules per string. Defaults to 16. This parameter can be a list of items to enable the simulation of mixed orientation systems.",
|
|
404
|
+
"input": "array.int",
|
|
405
|
+
"default_value": 16
|
|
406
|
+
},
|
|
407
|
+
"strings_per_inverter": {
|
|
408
|
+
"friendly_name": "Number of strings per inverter",
|
|
409
|
+
"Description": "The number of used strings per inverter. Defaults to 1. This parameter can be a list of items to enable the simulation of mixed orientation systems.",
|
|
410
|
+
"input": "array.int",
|
|
411
|
+
"default_value": 1
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"Deferrable Loads": {
|
|
415
|
+
"number_of_deferrable_loads": {
|
|
416
|
+
"friendly_name": "Number of deferrable loads",
|
|
417
|
+
"Description": "Define the number of deferrable loads (appliances to shift) to consider. Defaults to 2.",
|
|
418
|
+
"input": "int",
|
|
419
|
+
"default_value": 2
|
|
420
|
+
},
|
|
421
|
+
"nominal_power_of_deferrable_loads": {
|
|
422
|
+
"friendly_name": "Deferrable load nominal power",
|
|
423
|
+
"Description": "The nominal (calculated max) power for each deferrable load in Watts.",
|
|
424
|
+
"input": "array.float",
|
|
425
|
+
"default_value": 3000.0
|
|
426
|
+
},
|
|
427
|
+
"minimum_power_of_deferrable_loads": {
|
|
428
|
+
"friendly_name": "Deferrable load minimum power",
|
|
429
|
+
"Description": "The minimum power for each deferrable load in Watts.",
|
|
430
|
+
"input": "array.float",
|
|
431
|
+
"default_value": 0.0
|
|
432
|
+
},
|
|
433
|
+
"operating_hours_of_each_deferrable_load": {
|
|
434
|
+
"friendly_name": "Deferrable load operating hours",
|
|
435
|
+
"Description": "The total number of hours that each deferrable load should operate",
|
|
436
|
+
"input": "array.int",
|
|
437
|
+
"default_value": 0
|
|
438
|
+
},
|
|
439
|
+
"treat_deferrable_load_as_semi_cont": {
|
|
440
|
+
"friendly_name": "Deferrable load as semi-continuous (on/off) variable",
|
|
441
|
+
"Description": "When configuring a deferrable load, set treat_deferrable_load_as_semi_cont = True if the device should only switch fully on or off (for example, a basic hot water heater), or set treat_deferrable_load_as_semi_cont = False if the device supports variable power control within its range (for example, an EV charger with adjustable charging rate).",
|
|
442
|
+
"input": "array.boolean",
|
|
443
|
+
"default_value": true
|
|
444
|
+
},
|
|
445
|
+
"set_deferrable_load_single_constant": {
|
|
446
|
+
"friendly_name": "Deferrable load run single constant per optimization",
|
|
447
|
+
"Description": "Define if we should set each deferrable load as a constant fixed value variable with just one startup for each optimization task",
|
|
448
|
+
"input": "array.boolean",
|
|
449
|
+
"default_value": false
|
|
450
|
+
},
|
|
451
|
+
"set_deferrable_startup_penalty": {
|
|
452
|
+
"friendly_name": "Set deferrable startup penalty",
|
|
453
|
+
"Description": "For penalty P, each time the deferrable load turns on will incur an additional cost of nominal_power (kW) * cost_of_electricity * time step at that time",
|
|
454
|
+
"input": "array.float",
|
|
455
|
+
"default_value": 0.0
|
|
456
|
+
},
|
|
457
|
+
"start_timesteps_of_each_deferrable_load": {
|
|
458
|
+
"friendly_name": "Deferrable start timestamp",
|
|
459
|
+
"Description": "The timestep as from which each deferrable load is allowed to operate (if you don’t want the deferrable load to use the whole optimization time window). If you specify a value of 0 (or negative), the deferrable load will be optimized as from the beginning of the complete prediction horizon window.",
|
|
460
|
+
"input": "array.int",
|
|
461
|
+
"default_value": 0
|
|
462
|
+
},
|
|
463
|
+
"end_timesteps_of_each_deferrable_load": {
|
|
464
|
+
"friendly_name": "Deferrable end timestamp",
|
|
465
|
+
"Description": "The timestep before which each deferrable load should operate. The deferrable load is not allowed to operate after the specified time step. If a value of 0 (or negative) is provided, the deferrable load is allowed to operate in the complete optimization window)",
|
|
466
|
+
"input": "array.int",
|
|
467
|
+
"default_value": 0
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"Battery": {
|
|
471
|
+
"set_use_battery": {
|
|
472
|
+
"friendly_name": "Enable Battery",
|
|
473
|
+
"Description": "Set to True if we should consider an energy storage device such as a Li-Ion battery. Defaults to False",
|
|
474
|
+
"input": "boolean",
|
|
475
|
+
"default_value": false
|
|
476
|
+
},
|
|
477
|
+
"set_nocharge_from_grid": {
|
|
478
|
+
"friendly_name": "Forbid charging battery from grid",
|
|
479
|
+
"Description": "Set this to true if you want to forbid charging the battery from the grid. The battery will only be charged from excess PV",
|
|
480
|
+
"input": "boolean",
|
|
481
|
+
"default_value": false
|
|
482
|
+
},
|
|
483
|
+
"set_nodischarge_to_grid": {
|
|
484
|
+
"friendly_name": "Forbid battery discharge to the grid",
|
|
485
|
+
"Description": "Set this to true if you want to forbid discharging battery power to the grid.",
|
|
486
|
+
"input": "boolean",
|
|
487
|
+
"default_value": true
|
|
488
|
+
},
|
|
489
|
+
"set_battery_dynamic": {
|
|
490
|
+
"friendly_name": "Set Battery dynamic (dis)charge power limiting",
|
|
491
|
+
"Description": "Set a power dynamic limiting condition to the battery power. This is an additional constraint on the battery dynamic in power per unit of time (timestep), which allows you to set a percentage of the battery’s nominal full power as the maximum power allowed for (dis)charge.",
|
|
492
|
+
"input": "boolean",
|
|
493
|
+
"default_value": false
|
|
494
|
+
},
|
|
495
|
+
"battery_dynamic_max": {
|
|
496
|
+
"friendly_name": "Maximum percentage of battery discharge per timestep",
|
|
497
|
+
"Description": "The maximum positive (for discharge) battery power dynamic. This is the allowed power variation (in percentage) of battery maximum power per unit of timestep",
|
|
498
|
+
"input": "float",
|
|
499
|
+
"default_value": 0.9,
|
|
500
|
+
"requires": {
|
|
501
|
+
"set_battery_dynamic": true
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"battery_dynamic_min": {
|
|
505
|
+
"friendly_name": "Maximum percentage of battery charge per timestep",
|
|
506
|
+
"Description": "The maximum negative (for charge) battery power dynamic. This is the allowed power variation (in percentage) of battery maximum power per timestep.",
|
|
507
|
+
"input": "float",
|
|
508
|
+
"default_value": -0.9,
|
|
509
|
+
"requires": {
|
|
510
|
+
"set_battery_dynamic": true
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"weight_battery_discharge": {
|
|
514
|
+
"friendly_name": "Add cost weight for battery discharge",
|
|
515
|
+
"Description": "An additional weight (currency/ kWh) applied in the cost function to battery usage for discharging",
|
|
516
|
+
"input": "float",
|
|
517
|
+
"default_value": 0.0
|
|
518
|
+
},
|
|
519
|
+
"weight_battery_charge": {
|
|
520
|
+
"friendly_name": "Add cost weight for battery charge",
|
|
521
|
+
"Description": "An additional weight (currency/ kWh) applied in the cost function to battery usage for charging",
|
|
522
|
+
"input": "float",
|
|
523
|
+
"default_value": 0.0
|
|
524
|
+
},
|
|
525
|
+
"battery_discharge_power_max": {
|
|
526
|
+
"friendly_name": "Max battery discharge power",
|
|
527
|
+
"Description": "The maximum discharge power in Watts",
|
|
528
|
+
"input": "int",
|
|
529
|
+
"default_value": 1000
|
|
530
|
+
},
|
|
531
|
+
"battery_charge_power_max": {
|
|
532
|
+
"friendly_name": "Max battery charge power",
|
|
533
|
+
"Description": "The maximum charge power in Watts",
|
|
534
|
+
"input": "int",
|
|
535
|
+
"default_value": 1000
|
|
536
|
+
},
|
|
537
|
+
"battery_discharge_efficiency": {
|
|
538
|
+
"friendly_name": "Battery discharge efficiency",
|
|
539
|
+
"Description": "The discharge efficiency. (percentage/100)",
|
|
540
|
+
"input": "float",
|
|
541
|
+
"default_value": 0.95
|
|
542
|
+
},
|
|
543
|
+
"battery_charge_efficiency": {
|
|
544
|
+
"friendly_name": "Battery charge efficiency",
|
|
545
|
+
"Description": "The charge efficiency. (percentage/100)",
|
|
546
|
+
"input": "float",
|
|
547
|
+
"default_value": 0.95
|
|
548
|
+
},
|
|
549
|
+
"battery_nominal_energy_capacity": {
|
|
550
|
+
"friendly_name": "Battery total capacity",
|
|
551
|
+
"Description": "The total capacity of the battery stack in Wh",
|
|
552
|
+
"input": "int",
|
|
553
|
+
"default_value": 5000
|
|
554
|
+
},
|
|
555
|
+
"battery_minimum_state_of_charge": {
|
|
556
|
+
"friendly_name": "Minimum Battery charge percentage",
|
|
557
|
+
"Description": "The minimum allowable battery state of charge. (percentage/100)",
|
|
558
|
+
"input": "float",
|
|
559
|
+
"default_value": 0.3
|
|
560
|
+
},
|
|
561
|
+
"battery_maximum_state_of_charge": {
|
|
562
|
+
"friendly_name": "Maximum Battery charge percentage",
|
|
563
|
+
"Description": "The maximum allowable battery state of charge. (percentage/100)",
|
|
564
|
+
"input": "float",
|
|
565
|
+
"default_value": 0.9
|
|
566
|
+
},
|
|
567
|
+
"battery_target_state_of_charge": {
|
|
568
|
+
"friendly_name": "Battery desired percentage after optimization",
|
|
569
|
+
"Description": "The desired battery state of charge at the end of each optimization cycle. (percentage/100)",
|
|
570
|
+
"input": "float",
|
|
571
|
+
"default_value": 0.6
|
|
572
|
+
},
|
|
573
|
+
"battery_stress_cost": {
|
|
574
|
+
"friendly_name": "Battery Stress Cost",
|
|
575
|
+
"Description": "A virtual cost (Currency/kWh) applied at the battery's nominal power to penalise high loads. Currently implemented as a quadratic curve (Cost ∝ Power²), incentivising 'low and slow' operation to reduce thermal stress and smooth power flows.",
|
|
576
|
+
"input": "float",
|
|
577
|
+
"default_value": 0.0
|
|
578
|
+
},
|
|
579
|
+
"battery_stress_segments": {
|
|
580
|
+
"friendly_name": "Battery Stress Segments",
|
|
581
|
+
"Description": "The number of linear segments used to approximate the stress cost curve. Higher values increase accuracy but may slightly increase computation time.",
|
|
582
|
+
"input": "int",
|
|
583
|
+
"default_value": 10
|
|
584
|
+
},
|
|
585
|
+
"ignore_pv_feedback_during_curtailment": {
|
|
586
|
+
"friendly_name": "Ignore PV feedback during curtailment",
|
|
587
|
+
"Description": "When set to true, prevents PV forecast from being updated with real PV data, avoiding flip-flop behavior during curtailment operations",
|
|
588
|
+
"input": "bool",
|
|
589
|
+
"default_value": false
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|