This is supported by European Metrology Programme for Innovation and Research (EMPIR) under the project Metrology for the Factory of the Future (Met4FoF), project number 17IND12.
This is an implementation of the agent-based approach for the ZEMA dataset on condition monitoring of a hydraulic system.
In case you are using PyCharm, you will already find proper run configurations at the appropriate place in the IDE. It expects that you have prepared and defined a default interpreter.
If you are not using PyCharm, of course you can run the script files as usual.
If you have any questions please get in touch with the author.
To install all dependencies in virtual environment based on Python version 3.9 first
install pip-tools
and afterwards use our prepared requirements.txt
to get
everything ready.
In your Windows command prompt execute the following to set up a virtual environment in a folder of your choice.
> cd /LOCAL/PATH/TO/ENVS
> python -m venv my_agent_use_case_env
> my_agent_use_case_env\Scripts\activate.bat
(my_agent_use_case_env) > pip install --upgrade pip pip-tools numpy
Collecting numpy
...
Successfully installed numpy-...
(my_agent_use_case_env) > pip-sync
Collecting agentMET4FOF
...
Successfully installed agentMET4FOF-... ...
...
In your terminal execute the following to set up a virtual environment in a folder of your choice.
$ python3.8 -m venv my_agent_use_case_env
$ source my_agent_use_case_env/bin/activate
$ pip install --upgrade pip pip-tools numpy
$ pip-sync
Collecting agentMET4FOF
...
Successfully installed agentMET4FOF-... ...
...
The interesting parts you find in the file
main_zema_agents.py
For details about the agents refer to the upstream repository agentMET4FOF