Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

g09_cps_relocation-0.1.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

g09_cps_relocation-0.1.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page