MULTITRANSLATOR NEW VERSION ORIENTED ON INTEGRATION WITH PARAGON - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

MULTITRANSLATOR NEW VERSION ORIENTED ON INTEGRATION WITH PARAGON

Description:

Department of Computer Engineering. Taganrog State University of Radio Engineering ... Developed new version of the MultiTranslator (MT) for VTB, providing procedures ... – PowerPoint PPT presentation

Number of Views:36
Avg rating:3.0/5.0
Slides: 18
Provided by: olegam8
Category:

less

Transcript and Presenter's Notes

Title: MULTITRANSLATOR NEW VERSION ORIENTED ON INTEGRATION WITH PARAGON


1
MULTITRANSLATOR NEW VERSION ORIENTED ON
INTEGRATION WITH PARAGON
Professor V. Ph. Guziks group
Department of Computer Engineering Taganrog
State University of Radio Engineering RUSSIA 2004
2
Objective statement
2
1
Development of the MultiTranslators new version
for a possibility of its usage as the component
part of the integrated package of VTB-models
creation on the Paragon system basis
Weve made to the objective achievement
  • Developed new version of the MultiTranslator (MT)
    for VTB, providing procedures of the source
    models translation and importing for Paragon
    system
  • Multitranslators grammar modules for translation
    models written on Modelica and ACSL languages
    into XML-format, used by Paragon 1.1, were
    modified
  • In new Multitranslator version was added the
    possibility of MT handle from other applications
    on the basis of the COM-technology
  • Module of import/export of structural models
    from/into the Paragon 1.1 format for the
    Structural modeling system is developed.

3
Structure of integrated components interaction
used for creation and import of VTB-models
2
4
MultiTranslator new version structure
3
IDE (Integrated development environment)
Source models
XML- models
Parser Kernel
Compiler
Debugger
Common run-time (CRT) and user libraries
Virtual Machine
5
4
Extension of descriptive and debugging functions
for grammar modules of MultiTranslator
  • Common run-time libraries
  • Extension of operations set with maps
  • Extension of operations set with strings
  • Full set of operations with files

User libraries Implementation of Model
generation Wizard for grammar modules of
translation into XML-format
6
5
Inquiries examples of the upgraded Model
generation Wizard at creation of the XML-model
Definition of models port number
Definition of variable type
Definition of variable bond with ports
7
6
View of improved integrated environment of
MultiTranslator
8
7
Predefined types of branches in Modelica language
9
8
User defined types of branches in Modelica
language
Multi ports branches
10
9
Translation of OnePort models
Modelicas oneport model
model Inductor "Ideal linear electrical inductor"
extends OnePort parameter Inductance
L1 "Inductance" equation Lder(i) v
end Inductor
XML-form of oneport model (ports sections
description)
lt!-- Model connection point definition   --gt
ltport mode"inout" name"anode"
nature"Electrical" type"terminal"gt  
ltcommentgtPositive connection point i.e the
anodelt/commentgt lt/portgt lt!-- Model connection
point definition   --gt ltport mode"inout"
name"cathode" nature"Electrical"
type"terminal"gt   ltcommentgtNegative connection
point i.e the cathodelt/commentgt lt/portgt
11
10
Translation of TwoPorts models
Modelicas twoports model
model Gyrator "Gyrator" extends TwoPort
parameter Conductance G11 "Gyration
conductance" parameter Conductance G21
"Gyration conductance"
XML-form of twoport model (ports sections
description)
- lt!-- Model connection point definition   --gt
- ltport mode"inout" name"anode1"
nature"Electrical" type"terminal"gt  
ltcommentgtPositive connection point i.e the
anode1lt/commentgt   lt/portgt - lt!-- Model
connection point definition   --gt - ltport
mode"inout" name"cathode2" nature"Electrical"
type"terminal"gt   ltcommentgtNegative connection
point i.e the cathode2lt/commentgt   lt/portgt
12
11
Translation of user defined port models
Modelicas user defined ports model
model ControlledIdealSwitch parameter Pin p
"Positive pin" parameter Pin n "Negative
pin" parameter Pin control "Control pin"
XML-form of user defined ports model (ports
sections description)
ltport mode"inout" name"p" nature"Electrical"
type"terminal"gt ltcomment value"Positive pin"/gt
lt/portgt ltport mode"inout" name"n"
nature"Electrical" type"terminal"gt ltcomment
value"Negative pin"/gt lt/portgt ltport
mode"inout" name"control" nature"Electrical"
type"terminal"gt ltcomment value"Control pin
control.v level open, otherwise closed"/gt lt/portgt
13
Structure of integrated components interaction
used for creation and import of VTB-models
12
(Structural modeling system usage)
INTEGRATED TOOLS OF VTB-MODELS SYNTHESIS

VTB
Structural modeling (programming)system
Multitranslator
Paragon
XML- Models DataBase
Models DataBase
Grammar modules
SML
MT kernel
Wizard of structuralmodelsgeneration
?
Models on source languages
UDD
External models on C
XML
14
13
Representation structures of mathematical models
XML-description
Paragon-model
Branches define the functional relation between
nodes of a model scheme
Structural model
Branches define the functional relation of the
in- and out-terminals
15
Inquiries examples of the structural model
generation Wizard at creation of the XML-model
14
Ports number definition
Port type definition
Branch directiondefinition
Branch description
Structural model equations
Model ports list
Branch equationdefinition
16
15
Structural models translation
Structural model description fragment
Vector_B B1(Rdx1Vodx4/w0d-Rgx1-V0gx2s
in(x3)/w0g)/(Lg-Ld) B2(bgx2x5-x1V0gsin
(x3)/w0g)/Jg B3x2 B40
B50 End Vector_B
XML-model fragment (branch description section)
  • branch from"port2in" name"Branch2"
    to"port2out"gt
  • ltquantity default"" name"x5" nature"through"
    type"current" unit"ampere" /gt
  • ltquantity default"" name"x2" nature"across"
    type"voltage" unit"volt" /gt
  • ltmrowgt
  • ltmigtbglt/migt

17
16
Results of the MT new version development for
operation with VTB-models synthesis tools based
on Paragon
  • Grammar description and operations description
    languages necessary for synthesis of grammar
    modules oriented on XML, are functionally
    extended
  • Grammar modules of the XML-descriptions
    generation in the Paragon 1.1 format for ACSL,
    Modelica and SML languages are created and
    tested
  • Wizard of models generation, contracting a
    necessary hand-held operational of model is
    developed
  • Program shell of the MultiTranslator is improved
  • Possibility of handle of the MultiTranslator from
    other applications is realized on the basis of
    the COM-technology
  • Module of import/export of structural models
    from/into the Paragon 1.1 format for the
    Structural modeling system is developed.
Write a Comment
User Comments (0)
About PowerShow.com