Skip to content

Adapter

This module contains the adapters for the production system which are data containers for the data models defined in prodsys.models. The adapters are used in all algorithms that analyze or optimize a production system. The data structure of the adapter can also be used to integrate new algorithms into prodsys by utilizing its defined data structure. The adapters is the prodsys.models equivalent to the prodsys.express.ProductionSystem class and can be created from the express object. In contrast to the adapter, the express class nests the objects in a tree structure, which makes it easier to work with when instantiating a production system, but more complicated when reviewing the data itself. The adapter comes with a data validation that ensures that entered data is syntatically, semantically and logically valid.