All Projects → projectmesa → Mesa

projectmesa / Mesa

Licence: other
Mesa is an agent-based modeling framework in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mesa

Gama
Core plug-in projects of the GAMA platform
Stars: ✭ 196 (-85.14%)
Mutual labels:  gis, simulation
Omnetpp primer
OMNeT++的仿真手册
Stars: ✭ 89 (-93.25%)
Mutual labels:  simulation
Spacenet building detection
Project to train/test convolutional neural networks to extract buildings from SpaceNet satellite imageries.
Stars: ✭ 83 (-93.71%)
Mutual labels:  gis
Autonomous Drone
This repository intends to enable autonomous drone delivery with the Intel Aero RTF drone and PX4 autopilot. The code can be executed both on the real drone or simulated on a PC using Gazebo. Its core is a robot operating system (ROS) node, which communicates with the PX4 autopilot through mavros. It uses SVO 2.0 for visual odometry, WhyCon for visual marker localization and Ewok for trajectoy planning with collision avoidance.
Stars: ✭ 87 (-93.4%)
Mutual labels:  simulation
Pumas.jl
Pharmaceutical Modeling and Simulation for Nonlinear Mixed Effects (NLME), Quantiative Systems Pharmacology (QsP), Physiologically-Based Pharmacokinetics (PBPK) models mixed with machine learning
Stars: ✭ 84 (-93.63%)
Mutual labels:  simulation
Morphogenesis Resources
Comprehensive list of resources on the topic of digital morphogenesis (the creation of form through code). Includes links to major articles, code repos, creative projects, books, software, and more.
Stars: ✭ 1,278 (-3.11%)
Mutual labels:  simulation
Complete street rule
The Complete Street Rule for ArcGIS CityEngine is a scenario oriented design tool intended to enable users to quickly create procedurally generated multimodal streets.
Stars: ✭ 81 (-93.86%)
Mutual labels:  simulation
Psrealvehicle
Plugin for Unreal Engine 4 with simple force-driven vehicle simulation
Stars: ✭ 92 (-93.03%)
Mutual labels:  simulation
Flipviscosity3d
A basic free-surface liquid FLIP fluid simulator with viscosity
Stars: ✭ 88 (-93.33%)
Mutual labels:  simulation
Lidar
A Python package for delineating nested surface depressions from digital elevation data.
Stars: ✭ 85 (-93.56%)
Mutual labels:  gis
Maze
Maze Applied Reinforcement Learning Framework
Stars: ✭ 85 (-93.56%)
Mutual labels:  simulation
Powsimr
Power analysis is essential to optimize the design of RNA-seq experiments and to assess and compare the power to detect differentially expressed genes. PowsimR is a flexible tool to simulate and evaluate differential expression from bulk and especially single-cell RNA-seq data making it suitable for a priori and posterior power analyses.
Stars: ✭ 84 (-93.63%)
Mutual labels:  simulation
Geocube
Tool to convert geopandas vector data into rasterized xarray data.
Stars: ✭ 87 (-93.4%)
Mutual labels:  gis
Awesome Arcgis
📄 Awesome resource list for ArcGIS Developers -> could you help us with a Star? ⭐
Stars: ✭ 83 (-93.71%)
Mutual labels:  gis
Zelig
A statistical framework that serves as a common interface to a large range of models
Stars: ✭ 89 (-93.25%)
Mutual labels:  simulation
Lips
LiDAR-Inertial 3D Plane Simulator
Stars: ✭ 82 (-93.78%)
Mutual labels:  simulation
Noxim
Network on Chip Simulator
Stars: ✭ 83 (-93.71%)
Mutual labels:  simulation
Chat
这是一个运动健身类app,纺大夜跑团 ,能够根据gps或网络定位来实时绘制跑步轨迹,并计算速度距离, 并且还加入社交功能 , 可以和附近的跑步用户打招呼加好友, 并加入了排行榜组团跑步等
Stars: ✭ 87 (-93.4%)
Mutual labels:  gis
Device Simulation Dotnet
IoT Simulation service
Stars: ✭ 93 (-92.95%)
Mutual labels:  simulation
Phpgpx
Simple library for reading and creating GPX files written in PHP.
Stars: ✭ 92 (-93.03%)
Mutual labels:  gis

Mesa: Agent-based modeling in Python 3+

.. image:: https://github.com/projectmesa/mesa/workflows/build/badge.svg :target: https://github.com/projectmesa/mesa/actions

.. image:: https://codecov.io/gh/projectmesa/mesa/branch/master/graph/badge.svg :target: https://codecov.io/gh/projectmesa/mesa

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black

Mesa_ is an Apache2 licensed agent-based modeling (or ABM) framework in Python.

It allows users to quickly create agent-based models using built-in core components (such as spatial grids and agent schedulers) or customized implementations; visualize them using a browser-based interface; and analyze their results using Python's data analysis tools. Its goal is to be the Python 3-based alternative to NetLogo, Repast, or MASON.

.. image:: https://github.com/projectmesa/mesa/blob/master/docs/images/Mesa_Screenshot.png :width: 100% :scale: 100% :alt: A screenshot of the Schelling Model in Mesa

Above: A Mesa implementation of the Schelling segregation model, being visualized in a browser window and analyzed in a Jupyter notebook.

.. _Mesa : https://github.com/projectmesa/mesa/

Features

  • Modular components
  • Browser-based visualization
  • Built-in tools for analysis
  • Example model library

Using Mesa

Getting started quickly:

.. code-block:: bash

$ pip install mesa

You can also use pip to install the github version:

.. code-block:: bash

$ pip install -e git+https://github.com/projectmesa/mesa#egg=mesa

Take a look at the examples <https://github.com/projectmesa/mesa/tree/master/examples>_ folder for sample models demonstrating Mesa features.

For more help on using Mesa, check out the following resources:

  • Intro to Mesa Tutorial_
  • Docs_
  • Email list for users_
  • PyPI_

.. _Intro to Mesa Tutorial : http://mesa.readthedocs.org/en/master/tutorials/intro_tutorial.html .. _Docs : http://mesa.readthedocs.org/en/master/ .. _Email list for users : https://groups.google.com/d/forum/projectmesa .. _PyPI : https://pypi.python.org/pypi/Mesa/

Running Mesa in Docker

You can run Mesa in a Docker container in a few ways.

If you are a Mesa developer, first install docker-compose <https://docs.docker.com/compose/install/>_ and then run:

.. code-block:: bash

$ docker-compose build --pull
...
$ docker-compose up -d dev # start the docker container
$ docker-compose exec dev bash # enter the docker container that has your current version of Mesa installed at /opt/mesa
$ mesa runserver examples/Schelling # or any other example model in examples

The docker-compose file does two important things:

  • It binds the docker container's port 8521 to your host system's port 8521 so you can interact with the running model as usual by visiting localhost:8521 on your browser
  • It mounts the mesa root directory (relative to the docker-compose.yml file) into /opt/mesa and runs pip install -e on that directory so your changes to mesa should be reflected in the running container.

If you are a model developer that wants to run Mesa on a model (assuming you are currently in your top-level model directory with the run.py file):

.. code-block:: bash

$ docker run --rm -it -p127.0.0.1:8521:8521 -v${PWD}:/code comses/mesa:dev mesa runserver /code

Contributing back to Mesa

If you run into an issue, please file a ticket_ for us to discuss. If possible, follow up with a pull request.

If you would like to add a feature, please reach out via ticket_ or the dev email list_ for discussion. A feature is most likely to be added if you build it!

  • Contributors guide_
  • Github_

.. _ticket : https://github.com/projectmesa/mesa/issues .. _dev email list : https://groups.google.com/forum/#!forum/projectmesa-dev .. _Contributors guide : https://github.com/projectmesa/mesa/blob/master/CONTRIBUTING.rst .. _Github : https://github.com/projectmesa/mesa/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].