Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ReMobidyc/ReMobidyc

web based multi-agent simulator for individual-based modeling in population dynamics and ecotoxicology
https://github.com/ReMobidyc/ReMobidyc

ecotoxicology multi-agent-simulation pharo population-dynamics simulator

Last synced: about 1 month ago
JSON representation

web based multi-agent simulator for individual-based modeling in population dynamics and ecotoxicology

Awesome Lists containing this project

README

        

[![Pharo version](https://img.shields.io/badge/Pharo-11-%23aac9ff.svg)](https://pharo.org/download)
![CI](https://github.com/tomooda/ViennaTalk/actions/workflows/test.yml/badge.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/cormas/cormas/master/LICENSE)

logo

# reːmobidyc
reːmobidyc (also denoted as re:mobidyc or ReMobidyc without the exotic punctuation letter) is a multi-agent simulator for individual-based modeling in population dynamics and ecotoxicology.

## Presentations

* for biologists:

[![ReMobidyc: develop and run Individual-Based Models, even with little coding skills](https://img.youtube.com/vi/7Uvh_qtzcA4/1.jpg)](https://www.youtube.com/watch?v=7Uvh_qtzcA4)

* for computer scientists:

[![https://www.slideshare.net/esug/remobidyc-the-overview](/images/esug-re%20mobidyc.png)](https://www.slideshare.net/esug/remobidyc-the-overview)

## Installation

reːmobidyc is implemented on the [Pharo](https://pharo.org/) system.
There are three ways to install reːmobidyc.

### 1. from binary package

The following pre-built packages are available.

The latest release: [
Wimereux
 
](https://github.com/ReMobidyc/ReMobidyc/releases/latest/)
* macOS / AppleSilicon [![download](https://img.shields.io/badge/DOWNLOAD-f0f0f0?labelColor=a0a0a0&style=flat&logoColor=white&logo=DocuSign)](https://github.com/ReMobidyc/ReMobidyc/releases/latest/download/remobidyc-mac-arm64.dmg)
* macOS / Intel processor [![download](https://img.shields.io/badge/DOWNLOAD-f0f0f0?labelColor=a0a0a0&style=flat&logoColor=white&logo=DocuSign)](https://github.com/ReMobidyc/ReMobidyc/releases/latest/download/remobidyc-mac-x64.dmg)
* Linux / Intel processor [![download](https://img.shields.io/badge/DOWNLOAD-f0f0f0?labelColor=a0a0a0&style=flat&logoColor=white&logo=DocuSign)](https://github.com/ReMobidyc/ReMobidyc/releases/latest/download/remobidyc-linux-x64.tar.bz2)
* windows64 / Intel processor [![download](https://img.shields.io/badge/DOWNLOAD-f0f0f0?labelColor=a0a0a0&style=flat&logoColor=white&logo=DocuSign)](https://github.com/ReMobidyc/ReMobidyc/releases/latest/download/remobidyc-win-x64.zip)

### 2. from Pharo

If you have the [Pharo](https://pharo.org/) installation, you can install reːmobidyc by evaluating the following expression.
(Open a Playground by the Browse>>Playground menu in the menubar, then copy&paste the text below into the Playground. Select all the pasted text and select the "Do-it" in the right-click menu. After the system loads the latest reːmobidyc code, save the image by the Pharo>>Save menu in the menubar.)

```
EpMonitor disableDuring: [
Metacello new
onConflictUseLoaded;
onWarningLog;
repository: 'github://ReMobidyc/ReMobidyc:main/';
baseline: 'ReMobidyc';
load ]
```

### 3. from command shell

The following one-liner will download Pharo and install reːmobidyc.

```
curl https://raw.githubusercontent.com/ReMobidyc/ReMobidyc/main/scripts/install-remobidyc.sh | bash
```

## Modeling Language

Documentation is still under construction. Please see the following "cheatsheets".

* [Expressions](docs/cheatsheets/expressions.md)
* [Conditions](docs/cheatsheets/conditions.md)
* [Units](docs/cheatsheets/units.md)

## Examples

### 1. Simplified SugarScape
![animation of sugascape example](images/SugarScape.png)

Each cell grows grass (indicated by green rect) and each goat (yellow dot) eats grass.
This example exhibits the interaction between an animat and the cell where the animat is located.

### 2. Goat and Wolf
![animation of goat and wolf example](images/GoatAndWolf.png)

Each cell grows grass (indicated by green rect), each goat (yellow dot) eats grass and each wolf (red dot) preys on its nearest goat.
This example exhibits the interaction between two animats.

### 3. Grasshopper
![animation of grasshoppers example](images/Grasshoppers.png)

Each cell grows grass(indicated by green rect), a grasshopper (yellow dot) eats grass.
When a grasshopper is matured by age, it lays 5 eggs (cyan dots), and each egg hatches in 20 days.
This example exhibits life stages of individuals.

[A tutorial](Tutorials/Grasshoppers/Grasshoppers.md) to build this Grasshopper model is available.

## Background
reːMobidyc is a variation of Mobidyc that inherits the design rationale
of Mobidyc.
The objective of reːMobidyc is to renovate the original Mobidyc keeping
its design principles.
The base system is changed from VisualWorks to Pharo.
They are both Smalltalk systems, and Pharo is today's most actively
developed/used open-source Smalltalk system.
We will renovate the implementation of Mobidyc from its very basis to
apply outcomes from computer science.
The development of reːMobidyc is just beginning, and we will need time
to re-produce the functionality of the original Mobidyc.

[1] [The original Mobidyc site](https://mobidyc.cnrs.fr/index.php?title=English_summary)

## Design Rationale
As a tool for scientific research, reːMobidyc will provide the following features

* Easy to model
- A behavior of an agent will be defined in a declarative manner instead of series of commands, if-statements and loops.

* Easy to modify
- Every component in a behavioral definition will be type-checked so that the user can find minor errors before running it.

* Easy to verify model
- A definition can have assertions that double-checks its behavior so that the user can be sure that the model is defined as intended.

* Easy to reproduce
- reːMobidyc will make all simulation reproduceable including randomized actions.

* Easy to verify output
- States of agents at every step in simulation will be stored in persistent memory so that the user and reviewers can check its validity.

* Easy to trace
- The user can trace which agent had interaction with a particular agent to find the cause of an observed phenomenon.

* Easy to publish
- The user can publish her/his model along with input/intermediate/output data and visualized images as an evidence in scientific research.

* Easy to implement
- reːMobidyc will define its own modeling language in formal specification language so that its execution engine can be implemneted by third persons with complete compatibility.

## Architectural design
To achieve the objectives above, reːMobidyc will have the following major components.

* Persistent storage
- reːMobidyc will use persistent storages, such as file systems and RDBs, to store models, states of agents at all simulation steps, input data and output data.

* Reproducible random numbers
- reːMobidyc will have its own random number generator and make its code open so that all actions taken in a simulation can be accurately reproduceable.

* Web servers and APIs
- reːMobidyc will have web-based UI so that models can be shared by research communities.
- reːMobidyc will provide web API to retrieve models and simulation data so that anyone can create specialized native applications.

## Organizational Contributors
The reːmobidyc project is supported by [DGtal Aqua Lab, Shizuoka University](https://wwp.shizuoka.ac.jp/dgtalaqualab/) and [Software Research Associates, Inc.](https://www.sra.co.jp/en/)

[![DGtal Aqua Lab](images/DGTALAQUALAB-logo.png)](https://wwp.shizuoka.ac.jp/dgtalaqualab/)  [![SRA logo](images/SRA-logo-large.png)](https://www.sra.co.jp/en/)