Volue-Public / energy-mesh-python

A Python API able to communicate with Volue Energy's Mesh server.
Other
10 stars 0 forks source link

Fix resolution for simulation and inflow calc #461

Closed erny-powel closed 3 months ago

erny-powel commented 3 months ago

When implementing run_simulation and run_inflow_calculation I used our predefined protobuf time series resolutions for simulation and inflow calculation resolution. This is not correct and those might run on resolutions we don't allow for time series.

Update proto to use https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto, which is used by the Mesh server starting with v2.14.0.

See https://github.com/Volue/energy-mesh/issues/5305 (internal). See https://github.com/Volue/energy-mesh/pull/5317 (internal).