FABM's external dependencies are communicated in MOSSCO as fields (3d for bulk dependencies, 2d for horizontal dependencies) and are automatically created in the fabm_pelagic component. The dependencies just have to be specified ideally as standard_variable data type in the FABM model:
For 3d/bulk dependencies:
call self%register_dependency(self%id_tke,type_bulk_standard_variable(name='turbulent_kinetic_energy',units='m2/s2
for 2d/horizontal dependencies:
call elf%register_horizontal_dependency(self%id_tke2d,type_horizontal_standard_variable(name='turbulent_kinetic_energy_at_soil_surface',units='m2/s2'))
with the dependency id's being defines in the model type:
type (type_dependency_id) :: id_tke
type (type_horizontal_dependency_id) :: id_tke2d
The data fields are initialised to 0.0 and will be filled by the link-connector or any other connector, if data fields under the same name are provided from another ESMF component.
The 3d/bulk dependencies will get the appendix "_in_water" in the fabm_pelagic component, while the 2d/horizontal dependency names stay unchanged.