Qualtech Systems Inc. Modeling Converter Team 1702 Jay Meyer EE - - PowerPoint PPT Presentation

qualtech systems inc modeling converter
SMART_READER_LITE
LIVE PREVIEW

Qualtech Systems Inc. Modeling Converter Team 1702 Jay Meyer EE - - PowerPoint PPT Presentation

Qualtech Systems Inc. Modeling Converter Team 1702 Jay Meyer EE Andrew Morse EE/CSE Brandon Singleton CSE William Salguero EE 1 Overview Introduction Qualtech Systems Inc. (QSI) Project Outline XML/XSL Test Models


slide-1
SLIDE 1

Qualtech Systems Inc. Modeling Converter

1

Team 1702 Jay Meyer EE Andrew Morse EE/CSE Brandon Singleton CSE William Salguero EE

slide-2
SLIDE 2

Overview

Introduction

Qualtech Systems Inc. (QSI)

Project Outline

XML/XSL

Test Models

Proof of Concept

End Goals

2

slide-3
SLIDE 3

Qualtech Systems Inc. (QSI)

▶ Advanced proprietary modeling software (TEAMS-Designer) ▶ Models individual components as well as complex interactions ▶ Similar but inherently different from Matlab’s Simulink modeling ▶ Their customers use Simulink, they need to convert between the two

software suites

3

slide-4
SLIDE 4

Project Outline

4

Simulink Model XML

Transforming Document

XSLT New TEAMS Model XML

Verifier Converter/ Transformer

slide-5
SLIDE 5

eXtensible Markup Language (XML)

▶ What is XML?

▶ Similar to HTML ▶ Industry standard markup language for formatting and common use ▶ Supported by both Simulink and TEAMS-Designer

▶ How do Simulink and TEAMS-Designer utilize XML?

▶ Both have the ability to import and export modeling information in XML format ▶ So what’s the problem?

The two XMLs have a different structure, thus they are not mutually intelligible

5

slide-6
SLIDE 6

XML Stylesheet Language (XSL) Transform (XSLT)

▶ XSL

▶ XSL Transform (XSLT) ▶ XML Path Language (XPath) ▶ XSL Formatting Objects (XSL-FO)

▶ XSLT (Converter Module)

▶ The document that allows for XML transformations (conversions) ▶ Conversion programs take an XSL and XML as inputs and output a new XML in the target style ▶ The answer to our problem

6

slide-7
SLIDE 7

XML Verifier

▶ Compares 2 XML files and determine similarities and differences

▶ Either Simulink and TEAMS-Designer ▶ TEAMS-Designer and post-transform XML

▶ Will highlight differences in files

▶ Header information that does not translate from one style to the other ▶ Any issues in conversion (ie. modules not converted)

▶ Verifies module was successfully converted

▶ Informs user of any modules not translated

7

slide-8
SLIDE 8

Refrigerator in TEAMS Designer

8

slide-9
SLIDE 9

Refrigerator in Simulink

9

slide-10
SLIDE 10

Testing Models

▶ Created a series of test models we will use to develop conversion process ▶ Each Simulink model has a near-exact copy in TEAMS Designer ▶ 7 basic Models, each progressively more complex than the last ▶ Small, minute differences in each model ▶ Goal was to start small and increase complexity and functionality with each model

10

slide-11
SLIDE 11

Testing Models - Test 7 TEAMS Designer

11

slide-12
SLIDE 12

Testing Models - Test 7 Simulink

12

slide-13
SLIDE 13

Proof of Concept

13

slide-14
SLIDE 14

Proof of Concept

14

  • Model Name
  • Simulink version
  • Model hierarchy
  • Sub-level Blocks
slide-15
SLIDE 15

Proof of Concept

15

slide-16
SLIDE 16

October XSL Output Differences

16

slide-17
SLIDE 17

Current XSL Output Differences

17

slide-18
SLIDE 18

End Goals

Add support for more Simulink libraries

One executable file

Converts to TEAMS Designer XML file

Repackages in *.tmsx file that can be reopened by TEAMS Designer

Informs user of untranslatable module types

18