shepherd-core 2023.12.1__py3-none-any.whl → 2024.4.1__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.
Files changed (90) hide show
  1. shepherd_core/__init__.py +3 -2
  2. shepherd_core/data_models/base/calibration.py +3 -1
  3. shepherd_core/data_models/base/content.py +11 -4
  4. shepherd_core/data_models/base/shepherd.py +2 -0
  5. shepherd_core/data_models/content/energy_environment.py +1 -1
  6. shepherd_core/data_models/content/virtual_harvester.py +1 -1
  7. shepherd_core/data_models/content/virtual_source.py +18 -13
  8. shepherd_core/data_models/experiment/experiment.py +10 -10
  9. shepherd_core/data_models/experiment/observer_features.py +5 -6
  10. shepherd_core/data_models/task/observer_tasks.py +1 -1
  11. shepherd_core/data_models/task/testbed_tasks.py +7 -3
  12. shepherd_core/data_models/testbed/cape.py +1 -1
  13. shepherd_core/data_models/testbed/gpio.py +1 -1
  14. shepherd_core/data_models/testbed/mcu.py +1 -1
  15. shepherd_core/data_models/testbed/observer.py +1 -1
  16. shepherd_core/data_models/testbed/target.py +1 -1
  17. shepherd_core/data_models/testbed/testbed.py +1 -1
  18. shepherd_core/decoder_waveform/uart.py +1 -0
  19. shepherd_core/fw_tools/validation.py +1 -2
  20. shepherd_core/inventory/__init__.py +51 -1
  21. shepherd_core/inventory/system.py +8 -0
  22. shepherd_core/reader.py +19 -16
  23. shepherd_core/testbed_client/cache_path.py +15 -0
  24. shepherd_core/testbed_client/client.py +2 -3
  25. shepherd_core/testbed_client/fixtures.py +4 -1
  26. shepherd_core/testbed_client/user_model.py +6 -4
  27. shepherd_core/vsource/virtual_converter_model.py +1 -1
  28. shepherd_core/vsource/virtual_harvester_model.py +1 -0
  29. shepherd_core/vsource/virtual_source_model.py +1 -0
  30. shepherd_core/writer.py +5 -2
  31. {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/METADATA +49 -34
  32. shepherd_core-2024.4.1.dist-info/RECORD +64 -0
  33. {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/WHEEL +1 -1
  34. {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/top_level.txt +0 -1
  35. shepherd_core/data_models/content/_external_fixtures.yaml +0 -394
  36. shepherd_core/data_models/content/energy_environment_fixture.yaml +0 -50
  37. shepherd_core/data_models/content/virtual_harvester_fixture.yaml +0 -159
  38. shepherd_core/data_models/content/virtual_source_fixture.yaml +0 -229
  39. shepherd_core/data_models/testbed/cape_fixture.yaml +0 -94
  40. shepherd_core/data_models/testbed/gpio_fixture.yaml +0 -166
  41. shepherd_core/data_models/testbed/mcu_fixture.yaml +0 -19
  42. shepherd_core/data_models/testbed/observer_fixture.yaml +0 -220
  43. shepherd_core/data_models/testbed/target_fixture.yaml +0 -137
  44. shepherd_core/data_models/testbed/testbed_fixture.yaml +0 -25
  45. shepherd_core-2023.12.1.dist-info/RECORD +0 -117
  46. tests/__init__.py +0 -0
  47. tests/conftest.py +0 -64
  48. tests/data_models/__init__.py +0 -0
  49. tests/data_models/conftest.py +0 -14
  50. tests/data_models/example_cal_data.yaml +0 -31
  51. tests/data_models/example_cal_data_faulty.yaml +0 -29
  52. tests/data_models/example_cal_meas.yaml +0 -178
  53. tests/data_models/example_cal_meas_faulty1.yaml +0 -142
  54. tests/data_models/example_cal_meas_faulty2.yaml +0 -136
  55. tests/data_models/example_config_emulator.yaml +0 -41
  56. tests/data_models/example_config_experiment.yaml +0 -16
  57. tests/data_models/example_config_experiment_alternative.yaml +0 -14
  58. tests/data_models/example_config_harvester.yaml +0 -15
  59. tests/data_models/example_config_testbed.yaml +0 -26
  60. tests/data_models/example_config_virtsource.yaml +0 -78
  61. tests/data_models/test_base_models.py +0 -205
  62. tests/data_models/test_content_fixtures.py +0 -41
  63. tests/data_models/test_content_models.py +0 -282
  64. tests/data_models/test_examples.py +0 -48
  65. tests/data_models/test_experiment_models.py +0 -277
  66. tests/data_models/test_task_generation.py +0 -52
  67. tests/data_models/test_task_models.py +0 -131
  68. tests/data_models/test_testbed_fixtures.py +0 -47
  69. tests/data_models/test_testbed_models.py +0 -187
  70. tests/decoder_waveform/__init__.py +0 -0
  71. tests/decoder_waveform/test_decoder.py +0 -34
  72. tests/fw_tools/__init__.py +0 -0
  73. tests/fw_tools/conftest.py +0 -5
  74. tests/fw_tools/test_converter.py +0 -76
  75. tests/fw_tools/test_patcher.py +0 -66
  76. tests/fw_tools/test_validation.py +0 -56
  77. tests/inventory/__init__.py +0 -0
  78. tests/inventory/test_inventory.py +0 -20
  79. tests/test_cal_hw.py +0 -34
  80. tests/test_examples.py +0 -40
  81. tests/test_logger.py +0 -15
  82. tests/test_reader.py +0 -283
  83. tests/test_writer.py +0 -169
  84. tests/testbed_client/__init__.py +0 -0
  85. tests/vsource/__init__.py +0 -0
  86. tests/vsource/conftest.py +0 -49
  87. tests/vsource/test_converter.py +0 -161
  88. tests/vsource/test_harvester.py +0 -73
  89. tests/vsource/test_z.py +0 -5
  90. {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/zip-safe +0 -0
@@ -1,394 +0,0 @@
1
- - datatype: EnergyEnvironment
2
- created: 2023-09-27 19:51:44.779899
3
- parameters:
4
- id: 2639560972524229652
5
- name: eenv_static_2000mV_10mA_3600s
6
- description: Artificial static Energy Environment, 2000mV, 10mA, 3600s
7
- comment: null
8
- created: 2023-09-27 19:27:02.177941
9
- owner: Ingmar
10
- group: NES_Lab
11
- visible2group: true
12
- visible2all: true
13
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_2000mV_10mA_3600s.h5
14
- data_type: ivsample
15
- data_local: false
16
- duration: 3600.0
17
- energy_Ws: 72.00000003599966
18
- valid: true
19
- light_source: null
20
- weather_conditions: null
21
- indoor: true
22
- location: Lab-VSrc
23
- - datatype: EnergyEnvironment
24
- created: 2023-09-27 19:51:44.783398
25
- parameters:
26
- id: 9823394105967169626
27
- name: eenv_static_2000mV_1mA_3600s
28
- description: Artificial static Energy Environment, 2000mV, 1mA, 3600s
29
- comment: null
30
- created: 2023-09-27 19:28:37.291941
31
- owner: Ingmar
32
- group: NES_Lab
33
- visible2group: true
34
- visible2all: true
35
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_2000mV_1mA_3600s.h5
36
- data_type: ivsample
37
- data_local: false
38
- duration: 3600.0
39
- energy_Ws: 7.200000003599944
40
- valid: true
41
- light_source: null
42
- weather_conditions: null
43
- indoor: true
44
- location: Lab-VSrc
45
- - datatype: EnergyEnvironment
46
- created: 2023-09-27 19:51:44.786899
47
- parameters:
48
- id: 3900615675169501222
49
- name: eenv_static_2000mV_50mA_3600s
50
- description: Artificial static Energy Environment, 2000mV, 50mA, 3600s
51
- comment: null
52
- created: 2023-09-27 19:26:18.621440
53
- owner: Ingmar
54
- group: NES_Lab
55
- visible2group: true
56
- visible2all: true
57
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_2000mV_50mA_3600s.h5
58
- data_type: ivsample
59
- data_local: false
60
- duration: 3600.0
61
- energy_Ws: 360.00000018000185
62
- valid: true
63
- light_source: null
64
- weather_conditions: null
65
- indoor: true
66
- location: Lab-VSrc
67
- - datatype: EnergyEnvironment
68
- created: 2023-09-27 19:51:44.790399
69
- parameters:
70
- id: 14796673729431137386
71
- name: eenv_static_2000mV_5mA_3600s
72
- description: Artificial static Energy Environment, 2000mV, 5mA, 3600s
73
- comment: null
74
- created: 2023-09-27 19:27:48.976440
75
- owner: Ingmar
76
- group: NES_Lab
77
- visible2group: true
78
- visible2all: true
79
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_2000mV_5mA_3600s.h5
80
- data_type: ivsample
81
- data_local: false
82
- duration: 3600.0
83
- energy_Ws: 36.00000001799983
84
- valid: true
85
- light_source: null
86
- weather_conditions: null
87
- indoor: true
88
- location: Lab-VSrc
89
- - datatype: EnergyEnvironment
90
- created: 2023-09-27 19:51:44.793899
91
- parameters:
92
- id: 6648482606607441403
93
- name: eenv_static_3000mV_10mA_3600s
94
- description: Artificial static Energy Environment, 3000mV, 10mA, 3600s
95
- comment: null
96
- created: 2023-09-27 19:24:02.885439
97
- owner: Ingmar
98
- group: NES_Lab
99
- visible2group: true
100
- visible2all: true
101
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_3000mV_10mA_3600s.h5
102
- data_type: ivsample
103
- data_local: false
104
- duration: 3600.0
105
- energy_Ws: 107.999999999999
106
- valid: true
107
- light_source: null
108
- weather_conditions: null
109
- indoor: true
110
- location: Lab-VSrc
111
- - datatype: EnergyEnvironment
112
- created: 2023-09-27 19:51:44.796898
113
- parameters:
114
- id: 13566000951043177991
115
- name: eenv_static_3000mV_1mA_3600s
116
- description: Artificial static Energy Environment, 3000mV, 1mA, 3600s
117
- comment: null
118
- created: 2023-09-27 19:25:32.729442
119
- owner: Ingmar
120
- group: NES_Lab
121
- visible2group: true
122
- visible2all: true
123
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_3000mV_1mA_3600s.h5
124
- data_type: ivsample
125
- data_local: false
126
- duration: 3600.0
127
- energy_Ws: 10.799999999999885
128
- valid: true
129
- light_source: null
130
- weather_conditions: null
131
- indoor: true
132
- location: Lab-VSrc
133
- - datatype: EnergyEnvironment
134
- created: 2023-09-27 19:51:44.800400
135
- parameters:
136
- id: 7977778327156610158
137
- name: eenv_static_3000mV_50mA_3600s
138
- description: Artificial static Energy Environment, 3000mV, 50mA, 3600s
139
- comment: null
140
- created: 2023-09-27 19:23:18.980940
141
- owner: Ingmar
142
- group: NES_Lab
143
- visible2group: true
144
- visible2all: true
145
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_3000mV_50mA_3600s.h5
146
- data_type: ivsample
147
- data_local: false
148
- duration: 3600.0
149
- energy_Ws: 539.9999999999999
150
- valid: true
151
- light_source: null
152
- weather_conditions: null
153
- indoor: true
154
- location: Lab-VSrc
155
- - datatype: EnergyEnvironment
156
- created: 2023-09-27 19:51:44.803899
157
- parameters:
158
- id: 4900162978999238419
159
- name: eenv_static_3000mV_5mA_3600s
160
- description: Artificial static Energy Environment, 3000mV, 5mA, 3600s
161
- comment: null
162
- created: 2023-09-27 19:24:47.092941
163
- owner: Ingmar
164
- group: NES_Lab
165
- visible2group: true
166
- visible2all: true
167
- data_path: /var/shepherd/content/eenv/nes_lab/eenv_static_3000mV_5mA_3600s.h5
168
- data_type: ivsample
169
- data_local: false
170
- duration: 3600.0
171
- energy_Ws: 53.9999999999995
172
- valid: true
173
- light_source: null
174
- weather_conditions: null
175
- indoor: true
176
- location: Lab-VSrc
177
- - datatype: Firmware
178
- created: 2023-09-27 19:51:44.816899
179
- parameters:
180
- id: 3000
181
- name: msp430_deep_sleep
182
- description: practically turned off MCU with the lowest possible consumption
183
- comment: null
184
- created: 2022-12-12 12:12:12
185
- owner: Ingmar
186
- group: NES_Lab
187
- visible2group: true
188
- visible2all: true
189
- mcu:
190
- id: 1002
191
- name: MSP430FR
192
- description: 16MHz Ultra-Low-Pwr MCU with 128 KB FRAM
193
- comment: null
194
- platform: MSP430
195
- core: MSP430FR5962
196
- prog_protocol: SBW
197
- prog_voltage: 3.0
198
- prog_datarate: 500000
199
- fw_name_default: msp430_deep_sleep
200
- data: /var/shepherd/content/fw/nes_lab/msp430_deep_sleep/build.elf
201
- data_type: path_elf
202
- data_hash: null
203
- data_local: false
204
- - datatype: Firmware
205
- created: 2023-09-27 19:51:44.820399
206
- parameters:
207
- id: 3001
208
- name: msp430_spi_fram
209
- description: riotee implementation to use MSP as a flash storage
210
- comment: null
211
- created: 2022-12-12 12:12:12
212
- owner: Ingmar
213
- group: NES_Lab
214
- visible2group: true
215
- visible2all: true
216
- mcu:
217
- id: 1002
218
- name: MSP430FR
219
- description: 16MHz Ultra-Low-Pwr MCU with 128 KB FRAM
220
- comment: null
221
- platform: MSP430
222
- core: MSP430FR5962
223
- prog_protocol: SBW
224
- prog_voltage: 3.0
225
- prog_datarate: 500000
226
- fw_name_default: msp430_deep_sleep
227
- data: /var/shepherd/content/fw/nes_lab/msp430_spi_fram/build.elf
228
- data_type: path_elf
229
- data_hash: null
230
- data_local: false
231
- - datatype: Firmware
232
- created: 2023-09-27 19:51:44.823899
233
- parameters:
234
- id: 3002
235
- name: msp430_testable
236
- description: switches on all shared gpio one by one (verification after assembly)
237
- comment: null
238
- created: 2022-12-12 12:12:12
239
- owner: Ingmar
240
- group: NES_Lab
241
- visible2group: true
242
- visible2all: true
243
- mcu:
244
- id: 1002
245
- name: MSP430FR
246
- description: 16MHz Ultra-Low-Pwr MCU with 128 KB FRAM
247
- comment: null
248
- platform: MSP430
249
- core: MSP430FR5962
250
- prog_protocol: SBW
251
- prog_voltage: 3.0
252
- prog_datarate: 500000
253
- fw_name_default: msp430_deep_sleep
254
- data: /var/shepherd/content/fw/nes_lab/msp430_testable/build.elf
255
- data_type: path_elf
256
- data_hash: null
257
- data_local: false
258
- - datatype: Firmware
259
- created: 2023-09-27 19:51:44.827399
260
- parameters:
261
- id: 7163917825449888392
262
- name: nrf52_deep_sleep
263
- description: practically turned off MCU with the lowest possible consumption
264
- comment: null
265
- created: 2023-09-13 21:01:52.815691
266
- owner: Ingmar
267
- group: NES_Lab
268
- visible2group: true
269
- visible2all: true
270
- mcu:
271
- id: 1001
272
- name: nRF52
273
- description: Panasonic PAN1780, ENW-89854A1KF, Bluetooth 5 Low Energy Module
274
- comment: null
275
- platform: nRF52
276
- core: nRF52840
277
- prog_protocol: SWD
278
- prog_voltage: 3.0
279
- prog_datarate: 500000
280
- fw_name_default: nrf52_demo_rf
281
- data: /var/shepherd/content/fw/nes_lab/nrf52_deep_sleep/build.elf
282
- data_type: path_elf
283
- data_hash: null
284
- data_local: false
285
- - datatype: Firmware
286
- created: 2023-09-27 19:51:44.831400
287
- parameters:
288
- id: 2000
289
- name: nrf52_demo_rf
290
- description: A simple demo that sends BLE packets when energy budget allows it
291
- comment: null
292
- created: 2022-12-12 12:12:12
293
- owner: Ingmar
294
- group: NES_Lab
295
- visible2group: true
296
- visible2all: true
297
- mcu:
298
- id: 1001
299
- name: nRF52
300
- description: Panasonic PAN1780, ENW-89854A1KF, Bluetooth 5 Low Energy Module
301
- comment: null
302
- platform: nRF52
303
- core: nRF52840
304
- prog_protocol: SWD
305
- prog_voltage: 3.0
306
- prog_datarate: 500000
307
- fw_name_default: nrf52_demo_rf
308
- data: /var/shepherd/content/fw/nes_lab/nrf52_demo_rf/build.elf
309
- data_type: path_elf
310
- data_hash: null
311
- data_local: false
312
- - datatype: Firmware
313
- created: 2023-09-27 19:51:44.834899
314
- parameters:
315
- id: 3174430733058172825
316
- name: nrf52_rf_survey
317
- description: Link Matrix Generator - TX-Unit - sends packet with every possible
318
- P_TX, loops until stopped
319
- comment: null
320
- created: 2023-09-13 21:01:53.308666
321
- owner: Ingmar
322
- group: NES_Lab
323
- visible2group: true
324
- visible2all: true
325
- mcu:
326
- id: 1001
327
- name: nRF52
328
- description: Panasonic PAN1780, ENW-89854A1KF, Bluetooth 5 Low Energy Module
329
- comment: null
330
- platform: nRF52
331
- core: nRF52840
332
- prog_protocol: SWD
333
- prog_voltage: 3.0
334
- prog_datarate: 500000
335
- fw_name_default: nrf52_demo_rf
336
- data: /var/shepherd/content/fw/nes_lab/nrf52_rf_survey/build.elf
337
- data_type: path_elf
338
- data_hash: null
339
- data_local: false
340
- - datatype: Firmware
341
- created: 2023-09-27 19:51:44.838398
342
- parameters:
343
- id: 16381936580724580968
344
- name: nrf52_rf_test
345
- description: sends out 1 BLE-Packet per second (verify with an app like 'RaMBLE')
346
- comment: null
347
- created: 2023-09-13 21:01:53.575861
348
- owner: Ingmar
349
- group: NES_Lab
350
- visible2group: true
351
- visible2all: true
352
- mcu:
353
- id: 1001
354
- name: nRF52
355
- description: Panasonic PAN1780, ENW-89854A1KF, Bluetooth 5 Low Energy Module
356
- comment: null
357
- platform: nRF52
358
- core: nRF52840
359
- prog_protocol: SWD
360
- prog_voltage: 3.0
361
- prog_datarate: 500000
362
- fw_name_default: nrf52_demo_rf
363
- data: /var/shepherd/content/fw/nes_lab/nrf52_rf_test/build.elf
364
- data_type: path_elf
365
- data_hash: null
366
- data_local: false
367
- - datatype: Firmware
368
- created: 2023-09-27 19:51:44.841899
369
- parameters:
370
- id: 2002
371
- name: nrf52_testable
372
- description: watches all gpio and reports with UART messages (verification after
373
- assembly)
374
- comment: null
375
- created: 2022-12-12 12:12:12
376
- owner: Ingmar
377
- group: NES_Lab
378
- visible2group: true
379
- visible2all: true
380
- mcu:
381
- id: 1001
382
- name: nRF52
383
- description: Panasonic PAN1780, ENW-89854A1KF, Bluetooth 5 Low Energy Module
384
- comment: null
385
- platform: nRF52
386
- core: nRF52840
387
- prog_protocol: SWD
388
- prog_voltage: 3.0
389
- prog_datarate: 500000
390
- fw_name_default: nrf52_demo_rf
391
- data: /var/shepherd/content/fw/nes_lab/nrf52_testable/build.elf
392
- data_type: path_elf
393
- data_hash: null
394
- data_local: false
@@ -1,50 +0,0 @@
1
- - datatype: EnergyEnvironment
2
- parameters:
3
- id: 1001
4
- name: SolarSunny
5
- description: MOCKUP! Sunny Day with 4 sq-cm Solar Cell
6
- data_path: eenv/group/user/solar_4h_new.h5
7
- data_type: ivsample
8
- duration: 14400
9
- energy_Ws: 0.5
10
- valid: true
11
-
12
- owner: Ingmar
13
- group: NES Lab
14
- visible2group: true
15
- visible2all: true
16
- created: 2022-12-12 12:12:12
17
-
18
- - datatype: EnergyEnvironment
19
- parameters:
20
- id: 1002
21
- name: ThermoelectricWashingMachine
22
- description: MOCKUP! Energy harvested from side of machine during washing & tumbling
23
- data_path: eenv/group/user/thermoelectric_1h_wash.h5
24
- data_type: ivcurve
25
- duration: 3600
26
- energy_Ws: 0.1
27
- valid: true
28
-
29
- owner: Ingmar
30
- group: NES Lab
31
- visible2group: true
32
- visible2all: true
33
- created: 2022-12-12 12:12:12
34
-
35
- - datatype: EnergyEnvironment
36
- parameters:
37
- id: 666
38
- name: nuclear
39
- description: MOCKUP! Energy harvested
40
- data_path: eenv/group/user/thermoelectric_1h_wash.h5
41
- data_type: ivcurve
42
- duration: 3600
43
- energy_Ws: 0.1
44
- valid: false
45
-
46
- owner: Ingmar
47
- group: NES Lab
48
- visible2group: true
49
- visible2all: true
50
- created: 2022-12-12 12:12:12
@@ -1,159 +0,0 @@
1
- # info:
2
- # - compendium of all parameters & description
3
- # - look into the implementation to see which parameters are used
4
- # - base for neutral fallback values if provided yml is sparse
5
- # - -> it is encouraged to omit redundant parameters in your own implementation
6
- - datatype: VirtualHarvesterConfig
7
- parameters:
8
- id: 1000
9
- name: neutral
10
- owner: Ingmar
11
- group: NES Lab
12
- visible2group: true
13
- visible2all: true
14
- created: 2022-12-12 12:12:12
15
-
16
- - datatype: VirtualHarvesterConfig
17
- parameters:
18
- id: 1010
19
- name: ivcurve
20
- description: Postpone harvesting by sampling ivcurves (voltage stepped as sawtooth-wave)
21
- comment: ~200 Hz
22
- inherit_from: neutral
23
- algorithm: ivcurve
24
- samples_n: 250
25
- voltage_min_mV: 0
26
- voltage_max_mV: 5000
27
- wait_cycles: 1 # results in 200 Hz (= 100kHz /(2*250))
28
- rising: false # downward sawtooth seems to have advantages for solar cells
29
- # todo: also add switch for sawtooth- vs triangle-wave?
30
- # todo: could also include a version with dynamic upper-boundary, varied if voc is reached very early
31
-
32
- - datatype: VirtualHarvesterConfig
33
- parameters:
34
- id: 1011
35
- name: ivcurves # synonym
36
- inherit_from: ivcurve
37
-
38
- - datatype: VirtualHarvesterConfig
39
- parameters:
40
- id: 1012
41
- name: iv1000
42
- comment: Name relates to curves per second
43
- inherit_from: ivcurve
44
- samples_n: 100
45
- wait_cycles: 0
46
-
47
- - datatype: VirtualHarvesterConfig
48
- parameters:
49
- id: 1013
50
- name: iv110
51
- comment: Between 50 & 60 Hz line-frequency to avoid standing waves
52
- inherit_from: ivcurve
53
- samples_n: 909
54
- wait_cycles: 0
55
-
56
- - datatype: VirtualHarvesterConfig
57
- parameters:
58
- id: 1020
59
- name: isc_voc
60
- description: Postpone harvesting by sampling short circuit current & open circuit voltage
61
- inherit_from: neutral
62
- algorithm: isc_voc
63
- wait_cycles: 1 # results in 25 kHz (isc, wait, voc, wait)
64
-
65
- - datatype: VirtualHarvesterConfig
66
- parameters:
67
- id: 1030
68
- name: cv20
69
- description: Harvesting with constant Voltage
70
- inherit_from: neutral
71
- algorithm: cv
72
- voltage_mV: 2000
73
-
74
- - datatype: VirtualHarvesterConfig
75
- parameters:
76
- id: 1031
77
- name: cv24
78
- inherit_from: cv20
79
- voltage_mV: 2400
80
-
81
- - datatype: VirtualHarvesterConfig
82
- parameters:
83
- id: 1032
84
- name: cv33
85
- inherit_from: cv20
86
- voltage_mV: 3300
87
-
88
- - datatype: VirtualHarvesterConfig
89
- parameters:
90
- id: 1032
91
- name: cv10
92
- inherit_from: cv20
93
- voltage_mV: 1000
94
-
95
- - datatype: VirtualHarvesterConfig
96
- parameters:
97
- id: 1040
98
- name: mppt_voc
99
- description: MPPT based on open circuit voltage for solar
100
- inherit_from: neutral
101
- algorithm: mppt_voc
102
- setpoint_n: 0.76
103
- interval_ms: 100 # between measurements
104
- duration_ms: 1.2 # solar can overshoot when load is removed
105
- current_limit_uA: 5 # boundary for detecting open circuit in emulated version (working on IV-Curves)
106
-
107
- - datatype: VirtualHarvesterConfig
108
- parameters:
109
- id: 1041
110
- name: mppt_bq
111
- description: MPPT of TI BQ-Converters for solar
112
- inherit_from: mppt_voc
113
- setpoint_n: 0.76
114
- interval_ms: 16000 # between measurements
115
- duration_ms: 256 # of measurement
116
-
117
- - datatype: VirtualHarvesterConfig
118
- parameters:
119
- id: 1042
120
- name: mppt_bqt
121
- description: MPPT of TI BQ-Converters for thermoelectric
122
- inherit_from: mppt_voc
123
- setpoint_n: 0.50
124
- interval_ms: 16000 # between measurements
125
- duration_ms: 256 # of measurement
126
-
127
- - datatype: VirtualHarvesterConfig
128
- parameters:
129
- id: 1043
130
- name: mppt_bq_solar # explicit naming
131
- inherit_from: mppt_bq
132
-
133
- - datatype: VirtualHarvesterConfig
134
- parameters:
135
- id: 1044
136
- name: mppt_bq_thermoelectric # explicit naming
137
- inherit_from: mppt_bqt
138
-
139
- - datatype: VirtualHarvesterConfig
140
- parameters:
141
- id: 1045
142
- name: mppt_po
143
- description: MPPT based on perturb & observe algorithm
144
- inherit_from: neutral
145
- algorithm: mppt_po
146
- voltage_min_mV: 0
147
- voltage_max_mV: 5000
148
- voltage_step_mV: 10
149
- interval_ms: 18 # between steps
150
-
151
- - datatype: VirtualHarvesterConfig
152
- parameters:
153
- id: 1046
154
- name: mppt_opt
155
- description: Power-Optimum with very fast PO-Variant (harvesting) or special max-pwr-picker (emulator / ivcurve)
156
- inherit_from: mppt_po
157
- algorithm: mppt_opt
158
- voltage_step_mV: 1
159
- interval_ms: 0.01