Open thesethtruth opened 1 year ago
The autobalancing param should be in place already. What you mention is the old way of balancing I disabled on purpose in favour of ETEngine balancing. I'll check the engine...
Engine looks happy. If I make a PUT
request with only the input: 'transport_truck_using_diesel_mix_share': 10
The engine returns
'balanced_values': {'transport_truck_using_compressed_natural_gas_share': 17.97978131868683, 'transport_truck_using_electricity_share': 18.080874725252688, 'transport_truck_using_gasoline_mix_share': 17.97978131868683, 'transport_truck_using_hydrogen_share': 17.97978131868683, 'transport_truck_using_lng_mix_share': 17.97978131868683},
Only thing I can think of is that the other shares might have been set already, and that they are thus not elegible for autobalancing?
Based on the issues at https://github.com/ZEnMo/Holon-webapp/issues/650
Balancer only works for the groups that are hardcoded? https://github.com/ZEnMo/HOLON-ETM/blob/f53cb79694f75784c0688686a2bccb1733a5655d/src/etm_service/balancer.py#L5-L15
Seems like balancing on the engine is disabled? https://github.com/ZEnMo/HOLON-ETM/blob/f53cb79694f75784c0688686a2bccb1733a5655d/src/etm_service/__init__.py#L141-L143