agentmet4fof

Metrological Agent-based system (MET4FOF project)

https://github.com/met4fof/agentmet4fof

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

abm agent-based-modeling agent-based-simulation hacktoberfest mas measurement-uncertainties metrology multi-agent-system python simulation time-series
Last synced: 6 months ago · JSON representation

Repository

Metrological Agent-based system (MET4FOF project)

Basic Info
  • Host: GitHub
  • Owner: Met4FoF
  • License: other
  • Language: Jupyter Notebook
  • Default Branch: develop
  • Homepage:
  • Size: 9.99 MB
Statistics
  • Stars: 25
  • Watchers: 4
  • Forks: 9
  • Open Issues: 46
  • Releases: 34
Topics
abm agent-based-modeling agent-based-simulation hacktoberfest mas measurement-uncertainties metrology multi-agent-system python simulation time-series
Created over 7 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Zenodo

README.md

agentMET4FOF logo

<!-- CircleCI Tests --> CircleCI pipeline
    status badge <!-- ReadTheDocs Documentation --> ReadTheDocs badge <!-- PyPI Version --> pypi <!-- PyPI License --> PyPI - license badge <!-- Zenodo DOI --> DOI <!-- Contributor Covenant --> Contributor Covenant <!-- Docker Hub --> Docker Hub badge

Multi-Agent System for IIoT

agentMET4FOF is an implementation of a multi-agent system for agent-based analysis and processing of both static data sets and data streams with IIoT applications in mind. More on the motivation that drives the project can be found in the section About.

Key facts

Table of content

💫Quickstart

agentMET4FOF comes bundled with several tutorials to get you started as quick as possible. In your Python console execute the following to run the first tutorial.

```python

from agentMET4FOFtutorials.tutorial1generatoragent import demonstrategeneratoragentuse generatoragentnetwork = demonstrategeneratoragentuse() ```

```shell Starting NameServer... Broadcast server running on 0.0.0.0:9091 NS running on 127.0.0.1:3333 (127.0.0.1) URI = PYRO:Pyro.NameServer@127.0.0.1:3333

|----------------------------------------------------------| | | | Your agent network is starting up. Open your browser and | | visit the agentMET4FOF dashboard on http://0.0.0.0:8050/ | | | |----------------------------------------------------------|

INFO 2021-02-05 18:12:52.277759: INITIALIZED INFO 2021-02-05 18:12:52.302862: INITIALIZED 2021-02-05 18:12:52.324078: Connected output module: MonitorAgent_1 SET STATE: Running [...] python

generatoragentnetwork.shutdown() 0 NS shut down. ```

💬About

Sensor deployments in industrial applications usually form networks in all sorts of environments. This requires a flexible framework for the implementation of the corresponding data analysis. An excellent way to represent such networks is a multi-agent system (MAS), where independent software modules (agents) encapsulate properties and functionalities. agentMET4FOF is an interactive and flexible open-source implementation of such a MAS. The software engineering process is driven by several industry-oriented use cases with the aim of enabling IIoT applications. This leads to a framework that is specialized in representing heterogeneous sensor networks.

A special emphasis is put on supporting metrological treatment of sensor streaming data. This includes the consideration of measurement uncertainties during data analysis and processing as well as propagating metadata alongside the data itself.

One of the many questions that drive us in the project is:

How can metrological input be incorporated into an agent-based system for addressing uncertainty of machine learning in future manufacturing?

Features

Some notable features of agentMET4FOF include :

  • Modular agent classes for metrological data streams and analytics
  • A built-in buffering mechanism to decouple transmission, processing and visualization of data
  • Easy connection among software agents to send and receive data
  • Choose backends between:
    • Osbrain for simulating as well as handling real distributed systems running Python connected via a TCP network, and
    • Mesa for local simulations of distributed systems, debugging and more high-performance execution
  • Interactive and customisable dashboard from the get-go to:
    • Visualize and change agent-network topologies
    • Visualize groups of cooperative agents as Coalitions
    • View and change the agents' parameters
    • View the agents' outputs as plotly or matplotlib plots or generate and embed your own images
  • Generic streams and agents that can be used as starting points in simulations
    • A sine generator with an associated agent
    • A generator for a sine signal with jitter dynamically or with fixed length
    • A white noise agent
    • A metrologically enabled sine generator agent which also handles measurement uncertainties

📈The agentMET4FOF dashboard

agentMET4FOF comes bundled with our so called dashboard. It is an optional component of every agent network and provides a web browser based view. You can observe the state of your agents, modify the connections between them and even add more pre-made agents to your network all during run-time. The address to your dashboard is printed to the console on every launch of an agent network.

The following image is close to what you will find in your browser on execution of tutorial 2. For details on the tutorials visit our video tutorial series.

🤓Tutorials

As mentioned above, agentMET4FOF comes bundled with several tutorials to get you started as quick as possible. You will find tutorials on how to set up:

… and more!

📖Documentation and screencasts

Extended documentation can be found on ReadTheDocs.

Screencast series

Additionally, we provide some screencasts based on agentMET4FOF 0.4.1 on the project homepage in the section Tutorials for the multi-agent system agentMET4FOF. You can self-register on the linked page and get started immediately. The video series begins with our motivation for creating agentMET4FOF, guide you through the installation of Python and other recommended software until you execute the tutorials on your machine.

Live online tutorial during early development

In an early development stage we held a live online tutorial based on agentMET4FOF 0.1.0 which you can download.

If questions arise, or you feel something is missing, reach out to us.

💻Installation

There are different ways to run agentMET4FOF. Either:

  1. you install Python and our package agentMET4FOF in a virtual Python environment on your computer, or
  2. you install Docker, start agentMET4FOF in a container and visit the Jupyter Notebook server and the agentMET4FOF dashboard directly in your browser or even deploy it over a proper webserver.

In the video tutorials series we guide you through every step of option 1. More detailed instructions on both options you can find in the installation section of the docs.

🐝Contributing

Whenever you are involved with agentMET4FOF, please respect our Code of Conduct . If you want to contribute back to the project, after reading our Code of Conduct, take a look at our open developments in the project board , pull requests and search the issues . If you find something similar to your ideas or troubles, let us know by leaving a comment or remark. If you have something new to tell us, feel free to open a feature request or bug report in the issues. If you want to contribute code or improve our documentation, please check our contributing guide.

💨Coming soon

  • Improved handling of metadata
  • More advanced signal processing

For a comprehensive overview of current development activities and upcoming tasks, take a look at the project board, issues and pull requests.

🖋Citation

If you publish results obtained with the help of agentMET4FOF, please cite the linked and the corresponding publication.

💎Acknowledgement

This work was part of the Joint Research Project Metrology for the Factory of the Future (Met4FoF), project number 17IND12 of the European Metrology Programme for Innovation and Research (EMPIR). The EMPIR is jointly funded by the EMPIR participating countries within EURAMET and the European Union.

⚠Disclaimer

This software is developed as a joint effort of several project partners namely:

under the lead of IfM. The software is made available "as is" free of cost. The authors and their institutions assume no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, safety, suitability or any other characteristic. In no event will the authors be liable for any direct, indirect or consequential damage arising in connection with the use of this software.

©License

agentMET4FOF is distributed under the LGPLv3 license.

Owner

  • Name: EMPIR 17IND12 "Metrology for the Factory of the Future"
  • Login: Met4FoF
  • Kind: organization
  • Email: bjoern.ludwig@ptb.de

An organization to manage all coding related activities around the EMPIR project 17IND12 "Metrology for the Factory of the Future"

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 1
  • Watch event: 3
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 30
  • Pull request review comment event: 6
  • Pull request review event: 6
  • Pull request event: 4
  • Fork event: 2
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 1
  • Watch event: 3
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 30
  • Pull request review comment event: 6
  • Pull request review event: 6
  • Pull request event: 4
  • Fork event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 1,354
  • Total Committers: 8
  • Avg Commits per committer: 169.25
  • Development Distribution Score (DDS): 0.268
Past Year
  • Commits: 28
  • Committers: 1
  • Avg Commits per committer: 28.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Bjoern Ludwig b****g@p****e 991
BANG XIANG YONG y****g@g****m 224
Anupam Prasad Vedurmudi a****3@g****m 82
Anupam Prasad Vedurmudi a****i@p****e 35
semantic-release s****e 16
Haris Lulic h****c@m****a 3
Maximilian Gruber m****r@p****e 2
gertjan123 5****3 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 47
  • Total pull requests: 68
  • Average time to close issues: 9 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 6
  • Total pull request authors: 4
  • Average comments per issue: 2.64
  • Average comments per pull request: 0.6
  • Merged pull requests: 52
  • Bot issues: 0
  • Bot pull requests: 8
Past Year
  • Issues: 1
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 15 days
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.5
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • BjoernLudwigPTB (29)
  • bangxiangyong (9)
  • anupam-prasad (6)
  • DevPy129387 (1)
  • gertjan123 (1)
  • ITdeveloper2020 (1)
Pull Request Authors
  • BjoernLudwigPTB (51)
  • anupam-prasad (8)
  • dependabot[bot] (8)
  • bangxiangyong (6)
Top Labels
Issue Labels
cosmetics (4) bug (2) hacktoberfest (1) enhancement (1)
Pull Request Labels
dependencies (8) enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 364 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 40
  • Total maintainers: 2
pypi.org: agentmet4fof

A software package for the integration of metrological input into an agent-based system for the consideration of measurement uncertainty in current industrial manufacturing processes.

  • Versions: 40
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 364 Last month
Rankings
Dependent repos count: 9.0%
Dependent packages count: 10.0%
Average: 11.6%
Forks count: 12.5%
Stargazers count: 13.1%
Downloads: 13.3%
Maintainers (2)
Last synced: 6 months ago

Dependencies

dev-requirements.txt pypi
  • 116 dependencies
requirements.txt pypi
  • 109 dependencies
setup.py pypi
  • Actually *
  • dash *
  • dash_cytoscape *
  • deprecated *
  • docs *
  • for *
  • https *
  • matplotlib <3.3.0
  • mesa *
  • mpld3 *
  • multiprocess *
  • networkx *
  • numpy *
  • osbrain *
  • pandas *
  • plotly *
  • scipy *
  • time-series-buffer *
  • time-series-metadata *
  • visdcc *
docs/sphinx-requirements.txt pypi
  • alabaster ==0.7.12
  • asttokens ==2.0.5
  • attrs ==22.1.0
  • babel ==2.10.3
  • backcall ==0.2.0
  • beautifulsoup4 ==4.11.1
  • bleach ==5.0.1
  • certifi ==2022.6.15
  • charset-normalizer ==2.1.0
  • commonmark ==0.9.1
  • decorator ==5.1.1
  • defusedxml ==0.7.1
  • docutils ==0.17.1
  • entrypoints ==0.4
  • executing ==0.9.1
  • fastjsonschema ==2.16.1
  • idna ==3.3
  • imagesize ==1.4.1
  • ipython ==8.4.0
  • jedi ==0.18.1
  • jinja2 ==3.1.2
  • jsonschema ==4.9.0
  • jupyter-client ==7.3.4
  • jupyter-core ==4.11.1
  • jupyterlab-pygments ==0.2.2
  • markupsafe ==2.1.1
  • matplotlib-inline ==0.1.3
  • mistune ==0.8.4
  • nbclient ==0.6.6
  • nbconvert ==6.5.0
  • nbformat ==5.4.0
  • nbsphinx ==0.8.9
  • nest-asyncio ==1.5.5
  • packaging ==21.3
  • pandocfilters ==1.5.0
  • parso ==0.8.3
  • pexpect ==4.8.0
  • pickleshare ==0.7.5
  • prompt-toolkit ==3.0.30
  • ptyprocess ==0.7.0
  • pure-eval ==0.2.2
  • pygments ==2.12.0
  • pyparsing ==3.0.9
  • pyrsistent ==0.18.1
  • python-dateutil ==2.8.2
  • pytz ==2022.1
  • pyzmq ==23.2.0
  • recommonmark ==0.7.1
  • requests ==2.28.1
  • six ==1.16.0
  • snowballstemmer ==2.2.0
  • soupsieve ==2.3.2.post1
  • sphinx ==5.1.1
  • sphinx-rtd-theme ==1.0.0
  • sphinxcontrib-applehelp ==1.0.2
  • sphinxcontrib-devhelp ==1.0.2
  • sphinxcontrib-htmlhelp ==2.0.0
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-qthelp ==1.0.3
  • sphinxcontrib-serializinghtml ==1.1.5
  • stack-data ==0.3.0
  • tinycss2 ==1.1.1
  • tornado ==6.2
  • traitlets ==5.3.0
  • urllib3 ==1.26.11
  • wcwidth ==0.2.5
  • webencodings ==0.5.1
environment.yml pypi