A python client library used to show the dependency between the different libraries of g09_CPS_relocation.
Project description
CPS relocation
We are Group9 and in the following we'll give you an instruction of how to use our CPS relocation implementation.
Installation
Use the package manager pip to install the necessary modules.
pip install paramiko
pip install Owlready2
pip install Flask
pip install flaskwebgui
pip install Werkzeug
pip install rdflib
For some cases we figured out that a html-library is necessary for running the code. However, this might be optional for you:
pip install requests
Relocation
By running the "relocation.py" in the folder "relocation" you will get intelligent decisions for a relocation of the CPS1 and CPS2. The decision is based on the ontologies of the CPS.
Ontology
Every decision of the CPS is based on their individual ontology. You can find the written .owl files in the folder "Ontologies". For just in time access, the ontologies are positioned on the Apache2 server under following links:
Using Flask
By running the the "app.py" a link in output console will appear. The URL will probably look like the following: "http://127.0.0.1:1337/". When you open this link your web browser will open and you are confronted with our GUI. The people who will drive with our CPS in the future have the possibility to evaluate the pickup position. The pickup position is the previous decided relocation of the CPS. So try to fill out the survey.
The login credentials are:
-
Username: admin
-
Password: admin
To be continued
For a even more intelligent CPS decision making, a dynamic influenced ontology is under construction. Stay tuned!!!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for g09_cps_relocation-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c98056aabfbb475ab81892c9a62735023b3eaec40f43d9319d8cc9b38078bcd1 |
|
MD5 | c5fe9dd3f14367bf4707abd55b6488de |
|
BLAKE2b-256 | 1a47f65840ed100f276f935f46f5f8ecf9e7ea7f7ca9aad38e52e3a3a61375cd |