Cargando…

Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries

Open-source model management frameworks such as OCL and ATL tend to focus on manipulating models built atop the Eclipse Modelling Framework (EMF), a de facto standard for domain specific modelling. MATLAB Simulink is a widely used proprietary modelling framework for dynamic systems that is built ato...

Descripción completa

Detalles Bibliográficos
Autores principales: Sanchez, Beatriz A., Zolotas, Athanasios, Hoyos Rodriguez, Horacio, Kolovos, Dimitris, Paige, Richard F., Cooper, Justin C., Hampson, Jason
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer Berlin Heidelberg 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8645542/
https://www.ncbi.nlm.nih.gov/pubmed/34924919
http://dx.doi.org/10.1007/s10270-021-00910-0
_version_ 1784610326872850432
author Sanchez, Beatriz A.
Zolotas, Athanasios
Hoyos Rodriguez, Horacio
Kolovos, Dimitris
Paige, Richard F.
Cooper, Justin C.
Hampson, Jason
author_facet Sanchez, Beatriz A.
Zolotas, Athanasios
Hoyos Rodriguez, Horacio
Kolovos, Dimitris
Paige, Richard F.
Cooper, Justin C.
Hampson, Jason
author_sort Sanchez, Beatriz A.
collection PubMed
description Open-source model management frameworks such as OCL and ATL tend to focus on manipulating models built atop the Eclipse Modelling Framework (EMF), a de facto standard for domain specific modelling. MATLAB Simulink is a widely used proprietary modelling framework for dynamic systems that is built atop an entirely different technical stack to EMF. To leverage the facilities of open-source model management frameworks with Simulink models, these can be transformed into an EMF-compatible representation. Downsides of this approach include the synchronisation of the native Simulink model and its EMF representation as they evolve; the completeness of the EMF representation, and the transformation cost which can be crippling for large Simulink models. We propose an alternative approach to bridge Simulink models with open-source model management frameworks that uses an “on-the-fly” translation of model management constructs into MATLAB statements. Our approach does not require an EMF representation and can mitigate the cost of the upfront transformation on large models. To evaluate both approaches we measure the performance of a model validation process with Epsilon (a model management framework) on a sample of large Simulink models available on GitHub. Our previous results suggest that, with our approach, the total validation time can be reduced by up to 80%. In this paper, we expand our approach to support the management of Simulink requirements and dictionaries, and we improve the approach to perform queries on collections of model elements more efficiently. We demonstrate the use of the Simulink requirements and dictionaries with a case study and we evaluate the optimisations on collection queries with an experiment that compares the performance of a set of queries on models with different sizes. Our results suggest an improvement by up to 99% on some queries.
format Online
Article
Text
id pubmed-8645542
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Springer Berlin Heidelberg
record_format MEDLINE/PubMed
spelling pubmed-86455422021-12-17 Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries Sanchez, Beatriz A. Zolotas, Athanasios Hoyos Rodriguez, Horacio Kolovos, Dimitris Paige, Richard F. Cooper, Justin C. Hampson, Jason Softw Syst Model Special Section Paper Open-source model management frameworks such as OCL and ATL tend to focus on manipulating models built atop the Eclipse Modelling Framework (EMF), a de facto standard for domain specific modelling. MATLAB Simulink is a widely used proprietary modelling framework for dynamic systems that is built atop an entirely different technical stack to EMF. To leverage the facilities of open-source model management frameworks with Simulink models, these can be transformed into an EMF-compatible representation. Downsides of this approach include the synchronisation of the native Simulink model and its EMF representation as they evolve; the completeness of the EMF representation, and the transformation cost which can be crippling for large Simulink models. We propose an alternative approach to bridge Simulink models with open-source model management frameworks that uses an “on-the-fly” translation of model management constructs into MATLAB statements. Our approach does not require an EMF representation and can mitigate the cost of the upfront transformation on large models. To evaluate both approaches we measure the performance of a model validation process with Epsilon (a model management framework) on a sample of large Simulink models available on GitHub. Our previous results suggest that, with our approach, the total validation time can be reduced by up to 80%. In this paper, we expand our approach to support the management of Simulink requirements and dictionaries, and we improve the approach to perform queries on collections of model elements more efficiently. We demonstrate the use of the Simulink requirements and dictionaries with a case study and we evaluate the optimisations on collection queries with an experiment that compares the performance of a set of queries on models with different sizes. Our results suggest an improvement by up to 99% on some queries. Springer Berlin Heidelberg 2021-08-23 2021 /pmc/articles/PMC8645542/ /pubmed/34924919 http://dx.doi.org/10.1007/s10270-021-00910-0 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Special Section Paper
Sanchez, Beatriz A.
Zolotas, Athanasios
Hoyos Rodriguez, Horacio
Kolovos, Dimitris
Paige, Richard F.
Cooper, Justin C.
Hampson, Jason
Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries
title Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries
title_full Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries
title_fullStr Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries
title_full_unstemmed Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries
title_short Runtime translation of OCL-like statements on Simulink models: Expanding domains and optimising queries
title_sort runtime translation of ocl-like statements on simulink models: expanding domains and optimising queries
topic Special Section Paper
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8645542/
https://www.ncbi.nlm.nih.gov/pubmed/34924919
http://dx.doi.org/10.1007/s10270-021-00910-0
work_keys_str_mv AT sanchezbeatriza runtimetranslationofocllikestatementsonsimulinkmodelsexpandingdomainsandoptimisingqueries
AT zolotasathanasios runtimetranslationofocllikestatementsonsimulinkmodelsexpandingdomainsandoptimisingqueries
AT hoyosrodriguezhoracio runtimetranslationofocllikestatementsonsimulinkmodelsexpandingdomainsandoptimisingqueries
AT kolovosdimitris runtimetranslationofocllikestatementsonsimulinkmodelsexpandingdomainsandoptimisingqueries
AT paigerichardf runtimetranslationofocllikestatementsonsimulinkmodelsexpandingdomainsandoptimisingqueries
AT cooperjustinc runtimetranslationofocllikestatementsonsimulinkmodelsexpandingdomainsandoptimisingqueries
AT hampsonjason runtimetranslationofocllikestatementsonsimulinkmodelsexpandingdomainsandoptimisingqueries