Wflow.jl icon indicating copy to clipboard operation
Wflow.jl copied to clipboard

OpenDA coupling

Open visr opened this issue 4 years ago • 1 comments

~~This will likely need BMI 2.0 support in OpenDA first.~~ We will probably do this using the black box model approach, using the wflow_cli.

visr avatar Jan 13 '21 12:01 visr

Started with OpenDA memory coupling approach with Thrift.jl (black box model approach is too slow). It seems the handling of user-defined exceptions is not working properly, with Thrift-0.8.4 an error is thrown immediately, and with Thrift-0.7.1 an error is thrown when the user-defined exception occurs, see also the following issue https://github.com/tanmaykm/Thrift.jl/issues/76.

verseve avatar Oct 12 '22 11:10 verseve

After discussion (also with OpenDA developers) we decided to use ZeroMQ (https://zeromq.org/) instead of Thrift to run Wflow (BMI) as a server for the coupling approach.

verseve avatar Nov 24 '22 10:11 verseve

Work in progress in the zmq_server branch: https://github.com/Deltares/Wflow.jl/tree/zmq_server What is the status of this branch?

visr avatar Jan 25 '23 20:01 visr

Work in progress in the zmq_server branch: https://github.com/Deltares/Wflow.jl/tree/zmq_server What is the status of this branch?

Changes on the OpenDA side are in progress. When done, the work in the zmq_server branch can be finished.

verseve avatar Jan 26 '23 07:01 verseve