Corals have important roles in our ocean. Corals can be a shelter and food source for some marine organisms. Diverse and healthy corals can also support the coastal community income. The fishes that live and find food around the corals might be the source income for the fisherman there. Moreover, corals can protect the shoreline from erosion and protect the coastal people who live close to the shore from the big waves. The wave going to the shore will be absorbed by the corals.
As corals have the important roles for us and our marine ecosystem, they should be preserved. Conducting coral conservation is one of the ways to help preserving corals so that they remain healthy and diverse. There are two kinds of conservations. One is in-situ conservation and another one is ex-situ conservation. In-situ conservation is a kind of conservation where the conservation is conducted in their natural habitat. In another hand, Ex-situ conservation is a kind of conservation where it is not conducted in their natural habitat. The benefit of conducting the ex-situ conservation is it is less effort compared to in-situ conservation. We don’t need to go diving every time we want to check the corals down there. One example of ex-situ conservation is coral nursery systems.
In coral nursery systems, salinity is one of important parameters that need more attention. The standard salinity value for coral nursery systems is between 34 parts per thousand (ppt) and 36 parts per thousand (ppt). To maintain the salinity to be in this range, is quite tricky. There are a lot of factors that can change the salinity. One of factors that can change it is evaporation. Therefore, we need to either add more seawater or freshwater. The drawback if this done manually is the worker sometimes forget to stop adding either seawater or freshwater. Based on this, the author proposes the technology about the autonomous salinity control on coral nursery system using Reinforcement Learning (RL). If the current salinity that measured by the sensor doesn't meet the target salinity, the system will add the seawater or the fresh water based on the RL method. The design has only been tested in simulation. The simulation was run in Jupyter Notebook. These are the steps before simulating it.
- Generating the estimate model of the system
- Defining the agent, observation space, and action space for the Reinforcement Learning (RL)
- Implementing all of those three into the code
- Train the model
- Test the model with arbitrary value of initial salinity
The model used here is based on mass-balance model:
There are four parameters that needs to be defined. They are agents, environment, action, and reward. Following are those four parameters in the coral nursery system.
- Agent: PPO (Proximal Policy Optimization)
- Action : inflow rate
- The environment : Model
- Reward
I have tested the model that is been trained in the simulation. I set three different values for the initial salinity.
- Salinity 32.13 ppt
- Salinity 34.95 ppt
- Salinity 34.35 ppt
From those three images, we can see that the actual salinity try catching up the desired salinity or equilibrium salinity at 34.5 ppt even though there is still small steady state error.
Comments