Www.opal-rt.com Introduction to Orchestra Module 14 Introduction to Orchestra a Heterogenous Co-Simulation Environment.

Slides:



Advertisements
Similar presentations
1 Application Software Course Simulink By: Mahdi Akbari 2010.
Advertisements

Distributor meeting October 2007
Short introduction to the use of PEARL General properties First tier assessments Higher tier assessments Before looking at first and higher tier assessments,
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Verilog XL Tutorial By Greg Edmiston Scott McClure August 2004.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
How to use the VHDL and schematic design entry tools.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
Use Quartus II Design Procedure. Use Quartus II Create Project.
How to Use The Borland C++ Compiler Version 5
Creating a Console Application with Visual Studio
Digital Image Processing Lecture3: Introduction to MATLAB.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
Introduction to LabVIEW
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Controlling a 3D Vehicle with Simulink Jeff Bender ME
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Met Alert Tool (MAT). Introduction What is MAT? –Met Alert Tool (MAT) monitors and alerts the user to weather conditions exceeding thresholds (for example,
CCS APPS CODE COVERAGE. CCS APPS Code Coverage Definition: –The amount of code within a program that is exercised Uses: –Important for discovering code.
IT 211 Project Integration and Deployment Lab #11.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
Visual Solutions, VisSim Overview VisSim program can be used to simulate some of the control problems in the DPCL. Review the following:
Simulink ® Interface Course 13 Active-HDL Interfaces.
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
Creating a Project with C++ Builder
CPSC1301 Computer Science 1 Overview of Dr. Java.
Execute Workflow. Home page To execute a workflow navigate to My Workflows Page.
Active-HDL Interfaces Debugging C Code Course 10.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Infinity-project.org The Institute for Engineering Education Engineering Education for today’s classroom. 1 The Infinity VAB TM for INFINITY Tutorial Introduction.
Chapter 3 The Visual Basic Editor. Important Features of the VBE Alt-F11 will open the Visual Basic Editor. The Code window is to the right, Project Explorer.
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
EE 460 Advanced Control and System Integration
Introduction to Taverna Online and Interaction service Aleksandra Pawlik University of Manchester.
Touch screen function manual Right & left scroll key Room selecting key, Maximal quantity 50. Controlling Target icon Room background image brightness.
Modeling of Power Converters using Matlab and Simulink
RT-LAB Electrical Applications 1 Opal-RT Technologies Use of the “Store Embedded” mode Solution RT-LAB for PC-104.
Getting Start with WebPoint. 0. Introduction WebPoint is aimed to rapidly create HTML-based web presentations from PowerPoint files. Presentation WebPoint.
Simulink Simulink is a graphical extension to MATLAB for modeling and simulation of systems. In Simulink, systems are drawn on screen as block diagrams.
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
© I-Logix Rhapsody C++ V /01/2004E1-1 “Essential” Tool Training Basic Rhapsody Basic Rhapsody Rhapsody in C++ V /01/04.
Intro Compiler Configuration and Sample Project Walkthrough (For Axiom CME11E9-EVB)
STEP-1 START PROTEUS Click on START button and you will get “ Proteus 7 professional “  Install Lab Center Proteus in the PC.  After Successful installation.
Import existing part with drawing
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the use of the High-performance.
Dive Into® Visual Basic 2010 Express
WORKSHOP 1 CO-SIMULATION.
VAB™ for INFINITY Tutorial
Working in the Forms Developer Environment
Appendix A Barb Ericson Georgia Institute of Technology May 2006
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
WORKSHOP 3 GSE IMPORT.
Introduction to Orchestra
Founded in Silicon Valley in 1984
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Presentation transcript:

Introduction to Orchestra Module 14 Introduction to Orchestra a Heterogenous Co-Simulation Environment

Introduction to Orchestra This module introduces Orchestra and its use in RT-LAB MainControl –What is Orchestra –Orchestra with Simulink Models –Orchestra with C Code

Orchestra (Multi-model Integration) I/O Parameters Acquisition Console Data logging Simulink MATRIXx Dymola AMESim C Code FPGA Orchestra Framework QNX Snapshot

Orchestra (Multi-model Integration) Model Node

What is Orchestra Orchestra RT-LAB Orchestra is an add-on extending RT-LAB’s connectivity capabilities to heterogeneous co-simulations Heterogeneous co-simulations consist of simulations written in different programming languages, or generated by various simulation tools The main advantage Flexibility: co-simulation components can be developed and tested by different teams, using their preferred tools, then integrated to form a cohesive co-simulation system.

Orchestra with Simulink Models An orchestra model consists of a Framework - using Proxy Blocks Model Component - Using External Components

Framework A framework is created using Simulink with Proxy blocks..C Code, Simulink model, etc.

Model Component External Component blocks are added to a Simulink model to connect to the framework

Building the Framework Load rtdemo2 into RT-Lab and Edit it

Building the Framework Go to the controller and Delete the controller Blocks

Building the Framework Drag in a Simulink Model Proxy Block

Building the Framework Double click on the Proxy Block to get the properties dialog. Select Configure …...

Building the Framework Select Domain->Add New Domain

Building the Framework Select New Domain0 and change to rtdemo2_domain (hit enter after change)

Building the Framework Select FRAMEWORK-->CLIENT Select Item->Add New Data Item (add 2 of them)

Building the Framework Select CLIENT-->FRAMEWORK Select Item->Add New Data Item

Building the Framework Select the Data Items and change the names to the model names

Building the Framework Select rtdemo2_domain ad change “Is Synchronous’ to yes

Building the Framework Select File->Save As and save in the local directory as rtdemo2_orch.xml Close the DDF Configurator and click OK

Building the Framework Connect the model and save in the local directory You have now created an Orchestra Framework!

Connecting a Model Create a model from the controller

Connecting a Model Add a Publish, Subscribe, and Control Block from the External Components Library

Connecting a Model Open the Controller block and change the domain name to rtdemo2_domain Click OK

Connecting a Model Open the Subscribe Block Enter the domain and Item Names Click OK

Connecting a Model Open the Publish Block Enter the domain and Item Name Click OK

Connecting a Model Connect, Terminate, and save as Controller.mdl

Loading the Framework Load rtdemo2.mdl (the one you created) into RT- Lab –Compile the model –Load –Execute –Disconnect

Loading the Simulink Model Load Controller.mdl (the one you created) into RT- Lab –Compile the model –Load –Execute –Disconnect

Running the Model You now have a Model running using Orchestra Try unloading and loading the Controller model

Information on Orchestra Where information on Orchestra can be found: Go to RT-Lab MainControl Click on the Help button Press the Help Button on the Orchestra blocks Access the PDF file in c:/OPAL-RT/RT- LAB8.1XX/Common/docs/pdf

Orchestra with C Code Orchestra can also be used to bring in external C Code to RT-Lab

Building the Framework The framework for a C Code model is similar to a framework for a Simulink model…Just use an Interface to C Code Block instead!

Building the Framework Domain names, Data Items, … are all entered the same as for a simulink model…using the Configurator.

C Code Source Open Orchestra_ExternalListener.c (provided in class) in a code browser or editor

C Code Source Set the Domain Connect to the Domain

C Code Source Set up the Data Items Subscribe to the input Data Items

C Code Source Add your code….. Publish the output Data Items

Compiling the C Code By including the information on the C Code in an OpExternalExecutable Block, all of the file transfers and compilation is taken care of

Running the Simulation Run the simulation using RT-Lab. Start the C code on the Target.