Skip to content

A collection of tools to perform data analysis on Asset Administration Shells

License

Notifications You must be signed in to change notification settings

rwth-iat/aas_flattening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AAS Flattening Algorithm

A (WIP) collection of algorithms for Asset Administration Shell data analysis, based on the Eclipse BaSyx Python SDK.

SubmodelFlattener

This algorithm is capable of transforming a given Submodel into a FlatSubmodelObject structure. The information contained in the FlatSubmodelObject structure can be defined using the include_-switches when instantiating the SubmodelFlattener-class. After instantiation, the SubmodelFlattener is, for example, capable of flattening a Submodel object into a .csv file, using the submodel_to_csv()-function.

Example Usage:

from basyx.aas.examples.data import example_submodel_template
from aas_flattening.submodel_flattening import SubmodelFlattener

example_submodel = example_submodel_template.create_example_submodel_template()

submodel_flattener = SubmodelFlattener(include_semantic_id=False, include_identification=False)
submodel_flattener.submodel_to_csv(example_submodel, "example.csv")

About

A collection of tools to perform data analysis on Asset Administration Shells

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages