utilities.Submodels_utils module¶
This class contains utility methods related to submodels.
- utilities.Submodels_utils.check_if_submodel_exists(submodel_name)[source]¶
This method checks if a submodel exist by its name.
- Args:
submodel_name(str): Name of the submodel
- Returns:
boolean: True if submodel exists and False if not.
- utilities.Submodels_utils.create_configuration_sm(submodel_data)[source]¶
This method creates the ‘Configuration’ submodel XML file.
- Args:
submodel_data (dict): information of the submodel in the same format as the submodel properties file content.