Article | Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany | Effective Version Control of Modelica Models Linköping University Electronic Press Conference Proceedings
Göm menyn

Title:
Effective Version Control of Modelica Models
Author:
Peter Harman: deltatheta UK Ltd., UK
DOI:
10.3384/ecp11063650
Download:
Full text (pdf)
Year:
2011
Conference:
Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany
Issue:
063
Article no.:
072
Pages:
650-656
No. of pages:
7
Publication type:
Abstract and Fulltext
Published:
2011-06-30
ISBN:
978-91-7393-096-3
Series:
Linköping Electronic Conference Proceedings
ISSN (print):
1650-3686
ISSN (online):
1650-3740
Publisher:
Linköping University Electronic Press; Linköpings universitet


Export in BibTex, RIS or text

This contribution introduces Converge; a specialized Version Control System client application designed purely for Modelica. Conventional VCS clients and diff tools cannot inform the user what the effect of a single edit has on the model as a whole. Converge compares selected revisions of a model; loading the Modelica code directly from the VCS repository. This paper presents examples of Modelica code where an edit that appears significant in a conventional diff tool can be shown as not so; and an edit that appears insignificant in a conventional diff tool actually has significant changes to the resulting model.

Successfully comparing two revisions of a model requires resolving the types of components; including handling inheritance; imports and redeclarations. It requires handling of equations and component values; and flattening of the model structure.

Converge includes a complete Modelica implementation; and presents the VCS repository to the user with a number of views; including Packages; Inheritance; Dependencies; Annotations; and Components views; and Instance and Equations views that compare the instantiated model. Changes; and whether they affect the model results; are highlighted to the user. This will allow users to understand the development of models over time and to solve problems caused by changes in dependent Modelica libraries.

Keywords: Software configuration management; ver-sion control; model lifecycle management

Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany

Author:
Peter Harman
Title:
Effective Version Control of Modelica Models
DOI:
http://dx.doi.org/10.3384/ecp11063650
References:

[1] Modelica; http://www.modelica.org

[2] Collins-Sussman; B.; The Subversion Project: Building a Better CVS; Linux Journal; Volume 2002 Issue 94; February 2002

[3] Morse; T.; CVS; Linux Journal; Volume 1996 Issue 21; Jan. 1996

[4] GIT - Fast Version Control System; http://git-scm.com

[5] O’Sullivan; B.; Distributed revision control with Mercurial; Mercurial Project 2007

[6] TortoiseSVN; http://tortoisesvn.org

[7] Visual Studio; http://www.microsoft.com/visualstudio/

[8] Eclipse; http://eclipse.org

[9] Netbeans; http://netbeans.org

[10] Trac; http://trac.edgewall.org

[11] Modelica Association Trac Instance; http://trac.modelica.org

[12] Christen; E.; Bakalar; K.; VHDL-AMS; a hardware description language for analog and mixed-signal applications; Circuits and Systems II: Analog and Digital Signal Processing; Volume 26 Issue 10; 1999

[13] Converge; http://www.deltatheta.com/products/converge/

[14] Harman P.; Tiller M. Building Modelica Tools using the Modelica SDK; Modelica 2009

[15] Modelica Language Specification; Version 3.2; Modelica Association 2010

Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany

Author:
Peter Harman
Title:
Effective Version Control of Modelica Models
DOI:
https://doi.org10.3384/ecp11063650
Note: the following are taken directly from CrossRef
Citations:
  • Christoph Höger (2012). ModIM - A Modelica Frontend With Static Analysis. IFAC Proceedings Volumes, 45(2): 1075. DOI: 10.3182/20120215-3-AT-3016.00190


  • Responsible for this page: Peter Berkesand
    Last updated: 2019-06-04