elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Imprint | Privacy Policy | Contact | Deutsch
Fontsize: [-] Text [+]

Pragmatic model transformations for refactoring in Scilab/Xcos

Durak, Umut (2015) Pragmatic model transformations for refactoring in Scilab/Xcos. International Journal of Modeling, Simulation, and Scientific Computing, 7 (1). Taylor & Francis. DOI: 10.1142/S1793962315410044 ISSN 1793-9623

[img] PDF - Registered users only
4MB

Abstract

Model-Based Development has become an industry wide standard paradigm. As an open source alternative, Scilab/Xcos is being widely employed as a hybrid dynamic systems modeling tool. With the increasing efficiency in implementation using graphical model development and code generation, the modeling and simulation community is struggling with assuring quality as well as maintainability and extendibility. Refactoring is defined as an evolutionary modernization activity where, most of the time, the structure of the artifact is changed to alter its quality characteristics, while keeping its behaviour unchanged. It has been widely established as a technique for textual programming languages to improve the code structure and quality. While refactoring is also regarded as one of the key practices of model engineering, the methodologies and approaches for model refactoring are still under development. Architecture-Driven Modernization (ADM) has been introduced by the software engineering community as a model-based approach to software modernization, in which the implicit information that lies in software artifacts is extracted to models and model transformations are applied for modernization tasks. Regarding refactoring as a low level modernization task, the practices from ADM are adaptable. Accordingly, this paper proposes a model-based approach for model refactoring in order to come up with more efficient and effective model refactoring methodology that is accessible and extendable by modelers. Like other graphical modeling tools, Scilab/Xcos also possesses a formalized model specification conforming to its implicit metamodel. Rather than proposing another metamodel for knowledge extraction, this pragmatic approach proposes to conduct in place model-to-model transformations for refactoring employing the Scilab/Xcos model specification. To construct a structured model-based approach, the implicit Scilab/Xcos metamodel is explicitly presented utilizing ECORE as a meta-metamodel. Then a practical model transformation approach is established based on Scilab scripting. A Scilab toolset is provided to the modeler for in-place model-to-model transformations. Using a sample case study, it is demonstrated that proposed model transformation functions in Scilab provide a valuable refactoring tool.

Item URL in elib:https://elib.dlr.de/99951/
Document Type:Article
Title:Pragmatic model transformations for refactoring in Scilab/Xcos
Authors:
AuthorsInstitution or Email of AuthorsAuthors ORCID iD
Durak, Umutumut.durak (at) dlr.deUNSPECIFIED
Date:18 November 2015
Journal or Publication Title:International Journal of Modeling, Simulation, and Scientific Computing
Refereed publication:Yes
Open Access:No
Gold Open Access:No
In SCOPUS:Yes
In ISI Web of Science:No
Volume:7
DOI :10.1142/S1793962315410044
Publisher:Taylor & Francis
ISSN:1793-9623
Status:Published
Keywords:Model refactoring; Scilab/Xcos; model engineering; model transformations.
HGF - Research field:Aeronautics, Space and Transport
HGF - Program:Aeronautics
HGF - Program Themes:fixed-wing aircraft
DLR - Research area:Aeronautics
DLR - Program:L AR - Aircraft Research
DLR - Research theme (Project):L - Simulation and Validation
Location: Braunschweig
Institutes and Institutions:Institute of Flight Systems > Flight Dynamics and Simulation
Deposited By: Durak, Umut
Deposited On:25 Nov 2015 14:53
Last Modified:08 Mar 2018 18:38

Repository Staff Only: item control page

Browse
Search
Help & Contact
Information
electronic library is running on EPrints 3.3.12
Copyright © 2008-2017 German Aerospace Center (DLR). All rights reserved.