The improved understanding of complex interactions of marine ecosystem components makes the use of fully coupled hydrodynamic, biogeochemical and individual based models more and more relevant. At the same time, the increasing complexity of the models and diverse user backgrounds calls for improved user friendliness and flexibility of the model systems. We present FlexSem, a versatile and user-friendly framework for 3D hydrodynamic, biogeochemical, individual based and sediment transport modelling. The purpose of the framework is to enable natural scientists to conduct advanced 3D simulations in the marine environment, including any relevant processes. This is made possible by providing a precompiled portable framework, which still enables the user to pick any combination of models and provide user defined equation systems to be solved during the simulation. We here present the ideas behind the framework design, the implementation and documentation of the numerical solution to the Navier-Stokes equations in the hydrodynamic module, the surface heat budget model, the pelagic and benthic equation solvers and the Lagrangian movement of the agents in the agent based model. Five examples of different applications of the system are shown: 1) Hydrodynamics in the Disko Bay in west Greenland, 2) A biogeochemical pelagic and benthic model in the inner Danish waters, 3) A generic mussel farm model featuring offline physics, food levels and mussel eco-physiology, 4) Sediment transport in Clarion-Clipperton zone at the bottom of the Pacific and 5) Hydrodynamics coupled with an agent based model around Zanzibar in Tanzania. Hence we demonstrate that the model can be set up for any area with enough forcing data and used to solve a wide range of applications.
Climate change is a global problem that causes severe local changes to marine biota, ecosystem functioning, and ecosystem services. The Limfjorden is a shallow, eutrophic estuary influenced by episodic summer hypoxia with an important mussel fishery and suspended mussel culture industry. Three future climate change scenarios ranging from low greenhouse gas emissions (SSP1-2.6), to intermediate (SSP2-4.5) and very high emissions (SSP5-8.5) were combined with nutrient load reductions according to the National Water Plans to investigate potential impacts on natural benthic mussel populations and suspended mussel culture for the two periods 2051-2060 and 2090-2099, relative to a reference period from 2009 to 2018. The FlexSem model combined 3D hydrodynamics with a pelagic biogeochemical model, a sediment-benthos model, and a dynamic energy budget - farm scale model for mussel culture. Model results showed that the Limfjorden was sensitive to climate change impacts with the strongest responses of physics and water quality in the worst case SSP5-8.5 scenario with no nutrient reductions. In the two low emissions scenarios, expected improvements of bottom oxygen and Chlorophyll a concentrations due to reduced nutrient loads were counteracted by climate change impacts on water physics (warming, freshening, stronger stratification). Hence, higher nutrient reductions in the Water Plans would be needed to reach a good ecological status under the influence of climate change. Suspended mussel culture was intensified in all scenarios showing a high potential harvest, whereas the benthic mussels suffered from reduced food supply and hypoxia. Provided the environmental changes and trends in social demands, in the future, it is likely that suspended mussel cultivation will become the primary source of mussels for the industry. Model scenarios can be used to inform managers, mussel farmers, fishermen, and the local population on potential future changes in bivalve harvesting and ecosystem health, and to find solutions to mitigate climate change impacts.