Skip to main content

No project description provided

Project description

Ontologysim: a Owlready2 library for applied production simulation

Ontologysim is an open-source deep production simulation framework, with an emphasis on modularized flexible library design and straightforward usability for applications in research and practice. Ontologysim is built on top of Owlready2 framework and requires Python >3.7.

Ontologysim follows a set of high-level design choices which differentiate it from other similar libraries:

  • the simulation can be saved at any time and started from a defined point
  • high degrees of freedom and possibilities due to the ontology

Table of Contents

  1. Installation
  2. First Start
  3. Flask

Installation

pip

A stable version of Production simulation is periodically updated on pyPi and installed as follows:

pip install ontologysim

github

A stable version of Production simulation is periodically updated on the master and installed as follows:

git clone https://github.com/larsKiefer/ontologysim
cd ontologysim
pip3 install -r requirements.txt

First Start

Go to the /example/Main.py and run this python file.

Flask

to start the Flask server run:

py ontologysim/Flask/FlaskMain.py

Problem handling

Owlready2.0

Java Path

  • to use owlready correctly, your java path needs to be set in the owl_config.ini

Java Memory

if this error occurs

owlready2.base.OwlReadyJavaError: Java error message is:
Error occurred during initialization of VM
Could not reserve enough space for 2048000KB object heap

then you need to reduce the java memory

  1. got to "site-packages\owlready2\reasoning.py"
  2. reduce the Java Memory variable to 500

How to check if everything works

run in the example folder the Main.py

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

ontologysim-1.0.1.tar.gz (661.3 kB view details)

Uploaded Source

Built Distribution

ontologysim-1.0.1-py3-none-any.whl (184.9 kB view details)

Uploaded Python 3

File details

Details for the file ontologysim-1.0.1.tar.gz.

File metadata

  • Download URL: ontologysim-1.0.1.tar.gz
  • Upload date:
  • Size: 661.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for ontologysim-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a2a7dd8e8de6b4c90cafcd0fe236e72da0edbd553f1bfd42a7278a57514e1deb
MD5 1b3082bd282328a110dd19340ab99900
BLAKE2b-256 5a1bb0ac1cf7aedb642c4961dd0e7fac81c3857181f17d7bf600d65b0e8b60f0

See more details on using hashes here.

File details

Details for the file ontologysim-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: ontologysim-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 184.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for ontologysim-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec8645b37b03419e9713221040aa2f19c2c5ba96d4dce98c78c69bcd16ea1ff6
MD5 e73f413df83abbd32e1e46ca5f22439e
BLAKE2b-256 cbf7ee3c22bddc9bdb520d4e73ea0f29e3e096fddf8a69820da4a12d3aa11f98

See more details on using hashes here.

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