OpenDrift / opendrift

Open source framework for ocean trajectory modelling
https://opendrift.github.io
GNU General Public License v2.0
247 stars 122 forks source link

Biodegradation #554

Open Nichsouz opened 3 years ago

Nichsouz commented 3 years ago

Hello there,

I saw in the source code of OpenOil that Oil Biodegradation can be predicted by Opendrift, although I couldn't find in Opendrift publications any discussion about that. In addition, I couldn't find any information about the dissolution process. In OpenDrift v1.0: a generic framework for trajectory modeling publication, I had the impression that the dissolution process implementation would happen anytime soon.

I would like to know if there should be any command-line for these issues or if the software runs it anyway.

Many thanks!

knutfrode commented 3 years ago

Hi,

Yes, biodegradation was only implemented in OpenDrift relatively recently. The algorithm is very simple: https://github.com/OpenDrift/opendrift/blob/master/opendrift/models/openoil.py#L336 Biodegradation is switched off by default, as it is not important for short term simulations, but is activated with:

o.set_config('processes:biodegradation', True)

Dissolution is not yet implemented, as it is also not very important for short term simulations.