behaviours.InitSubmodelsBehaviour module

class behaviours.InitSubmodelsBehaviour.InitSubmodelsBehaviour(agent_object)[source]

Bases: OneShotBehaviour

This class implements the behaviour responsible for initialize the submodels, performing the necessary actions to let all submodels in the initial conditions to start the main program: obtain all the information from the ConfigMap associated to the component, in order to create the necessary XML submodel files and store them in the AAS Archive.

async run()[source]

This method implements the logic of the behaviour.