gnome.weatherers.emulsification

model emulsification process

Classes

Emulsification

Base Weathering agent. This is almost exactly like the base Mover

Module Contents

class gnome.weatherers.emulsification.Emulsification(waves=None, **kwargs)

Bases: gnome.weatherers.Weatherer

Base Weathering agent. This is almost exactly like the base Mover in the way that it acts upon the model. It contains the same API as the mover as well. Not Serializable since it does is partial implementation

Parameters:
  • conditions – gnome.environment.Conditions object which contains things like water temperature

  • waves (get_emulsification_wind(model_time)) – waves object for obtaining emulsification wind speed at specified time

waves = None
prepare_for_model_run(sc)

add water_content key to mass_balance Assumes all spills have the same type of oil

prepare_for_model_step(sc, time_step, model_time)

Set/update arrays used by emulsification module for this timestep:

weather_elements_lehr(sc, time_step, model_time)

weather elements over time_step - sets ‘water_content’ in sc.mass_balance

weather_elements_adios2(sc, time_step, model_time)

weather elements over time_step - sets ‘water_content’ in sc.mass_balance

weather_elements(sc, time_step, model_time)

weather elements over time_step - sets ‘water_content’ in sc.mass_balance