Skip to content

Nano2PlastProject/TheFullMulti_RIVER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binder

The Full Multi Microplastics River Model

=======================================

This repository contains one of the models developed in the ECO48-Nano2plast Project: EXTENDING NANOPARTICLE MODELS TO OPEN SOURCE MODELS OF THE FATE AND TRANSPORT OF MICROPLASTIC IN AQUATIC SYSTEMS.

The model and its application to a generic river case study is described in the publication: The Full Multi: An open-source framework for modelling the transport and fate of nano- and microplastics in aquatic systems

The Full Multi Team: Proff. Matthew MacLeod (@MacLeodMatt), Dr. Antonia Praetorius (@apraetorius) and Dr. Maria del Prado Domercq (@PradoDomercq)

The code contained in this repository is intended as a framework to study microplastics fate and transport along a generic river system.

The model can be parameterised for different microplastic types (composition, size, etc.) and river characteristics (flow velocity, suspended particulates, dimensions, etc.). Furthermore, this framework is intended as a flexible tool where new or updated fate processes can be included or reparameterised easily.

This model follows a modular multimedia mass-balance modelling approach in which a system of coupled mass balance equations is built describing the transformation and transport processes of the plastic particles within the modelled system with specific rate constants. All processes are described using first-order kinetics based on our own review of the literature.

The modelled system consists of a generic one directional river structure where the river is subdivided in a set of river sections (RS) connected horizontally. Each river section is, at the same time, subdivided into four compartments of different types and dimensions representing a surface water compartment, a flowing water compartment, a stagnant water body compartment and the top sediment layer of the river bed. The system of differential equations is parameterized according to each compartment properties and dimensions and solved in a dynamic mode so that it yields the particles’s concentration (in number or mass of particles per volume) in each river section and compartment as a function of time.

Alt text

Guide for Users

-The code can be run in the cloud with Binder: you can run the FullMulti_RiverModel case studies Jupyter notebooks directly from your web browser without installing anything. For this click on the launch binder button above. A temporary Jupyter Notebook server with all dependencies will be automatically launched in the cloud. Access the TheFullMulti_River_caseStudies folder and run the selected notebook of your choice. It is not persistent: all your changes will be lost after some time.

-Alternatively you can download the code and run it in your system as well as make modifications to it by following the instructions below.

Getting started for Windows

  • First download and install Anaconda python distribution for your system from here (scroll down to "Anaconda installers"), Python 3 is the recomended version for this model. If installation is sucessful, you will be able to work with the Jupyter Notebooks or use the Python Coding Environment Spyder to run the model.

  • Secondly, download the repository to your computer by clicking on the green CODE button on the rigth of the repository screen.

  • Jupyter Notebooks:

    • You can launch Jupyter notebook from visual Anaconda interface, or by opening Anaconda prompt, typing "jupyter notebook" and press Enter
    • Open the Jupyter notebook FullMulti_RiverModel_Notebook.ipynb and follow the instructions provided in the notebook to parameterise you scenario analysis and run the model.
    • It is recomended to make a copy of the notebook and rename it for each new model run/analysis
  • Spyder:

    • You can launch Spyder from visual Anaconda interface, or by opening Anaconda prompt, typing "spyder" and press Enter
    • Open the FullMulti_RiverModel_MAIN_Short.py file in Spyder, follow the instructions on the code and run the model by pressing the green Play button

Making changes in the model

  • Reparameterization of input files can be done by creating new input files following the same structure as the original files in the input folder or by adding new entries to the alaready existing input files:

    • microplasticsSizeClass : contains all characteristics of MP particles to be modelled (i.e. composition, density, size and shape). The default parameterization of the model framework assumes five size classes (i.e. a, b, c, d and e) of increasing average size bins. When reparameterizing the mean size of each size bin, such increasdin order should be preserved. #Shape factors are still placeholders while shape considerations into the processess (e.g. settling) are being implemented.
    • process_paramRiver: contains relevant MPs fate process descriptors organised by river compartment and MP aggregation state (e.g. degradation half-life times, timescale for gragmentation of the biggest size fraction,average flow velocity, biofilm growth rate, heteroaggregation attachtment efficiency, etc.)
    • compartmentsGenericRiverSec_prop: contains the parameters describing the Generic River dimensions and properties of each of its river sections and compartments (i.e. flow velocity, depth, width, length, etc.). A file to generate new river parameterizations is provided in the same folder called GenerateGenericRiverImputFile.
  • Reformulation of process descriptions: the fate process descriptions for microplastics included in this model are formulated in the file called RC_GeneratorRiver. They are principally formulated for assumed spherical particles but consideration of other shapes are under developement. New processes or alternative process descriptions can be added here and should be also added to the list of processes "processList" defined in the MAIN_MPsRiver.py file. Simultaneusly, in order for the model to take on account the new processes, new entries should be added in the estimation of rate constants section.

Authors

===========

Repository and Jupyter Notebooks: Dr. Maria del Prado Domercq (@PradoDomercq)

Coding of python files and functions: Dr. Antonia Praetorius (@apraetorius) and Dr. Maria del Prado Domercq (@PradoDomercq)

Contact:

fullMultiModel@aces.su.se

Updates

===========

The current version reflects the results presented in the publication: The Full Multi: An open-source framework for modelling the transport and fate of nano- and microplastics in aquatic systems.

The latest version of The Full Multi River with several fixed bugs can be found in TheFullMulti_River_v2.0

About

River version of the Full Multi framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published