Preview

Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS)

Advanced search

Python-based constraint language for architecture models

https://doi.org/10.15514/ISPRAS-2015-27(5)-8

Abstract

The paper presents an approach to specify constraints on AADL models in Python-based language and a toolset allowing to verify that constraints. The goal of the approach is to enable reusing of existing rich facilities of Python language, tools, and libraries as well as to reduce learning curve of engineers. Constraints must be placed into component annexes. These constraints must be written in Python programming language as functions with one argument (an object to be checked), Boolean result, and special decorator. A plugin for a modeling environment generates a program in Python from the model components declarations. While it is executing this program creates an object with the model instance and checks the object by functions from annexes. This approach is implemented in MASIW Framework that allows checking constraints on model instance. The implementation is made upon PyDev, a well-known Eclipse-plugin for Python developing in Eclipse and reuses integration of Eclipse with Python from PyDev.

About the Authors

E. . Kornykhin
CMC MSU
Russian Federation


A. . Khoroshilov
ISP RAS; CMC MSU; Moscow Institute of Physics and Technology; FCS NRU HSE
Russian Federation


References

1. O. Gilles, J. Hugues. Expressing and enforcing user-defined constraints of AADL models. Proceedings of the 5th UML&AADL Workshop. 2010. PP. 337-342.

2. D. Cofer, A.Gacek, S.Miller, M.W. Whalen, B. LaValley, L. Sha. Compositional Verification of Architectural Models. NASA Formal Methods, Proceedings of the 4th International Symposium. 2012. PP. 126-140.

3. D. Albitskiy, A. Khoroshilov, I. Koverninskiy, M. Olshanskiy, A. Petrenko, A. Ugnenko. AADL-Based Toolset for IMA System Design and Integration. SAE International Journal of Aerospace. 2012, 5. PP. 294-299. doi:10.4271/2012-01-2146.

4. D.V. Buzdalov, S.V. Zelenov, E.V. Kornykhin, A.K. Petrenko, A.V. Strakh,A.A. Ugnenko, A.V. Khoroshilov. Instrumental'nye sredstva proektirovanija sistem integrirovannoj modul'noj avioniki [Tools for System Design of Integrated ModularAvionics]. Trudy ISP RАN [The Proceedings of ISP RAS], 2014, vol. 26, n.1, pp. 201-230 (in Russian). doi: 10.15514/ISPRAS-2014-26(1)-6.


Review

For citations:


Kornykhin E., Khoroshilov A. Python-based constraint language for architecture models. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2015;27(5):143-156. (In Russ.) https://doi.org/10.15514/ISPRAS-2015-27(5)-8



Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2079-8156 (Print)
ISSN 2220-6426 (Online)