Simware in full

26
What is HLA raised to the power of DDS? SimWare Framework the full simulation

description

See a detailed and full description of Simware. Enjoy!

Transcript of Simware in full

Page 1: Simware in full

What is HLA raised to the power of DDS?

SimWare Frameworkthe full simulation

Page 2: Simware in full

What is SimWare?Three main pillars

Page 3: Simware in full

SimWare: creating simulators

SimWare is a simulation framework for creating new simulators from scratch

• Create new simulators without seeing any code• Care only about data model• Simulation backbone is DDS

Page 4: Simware in full

HLA data model

MULATION

Modeler is the tool for modelling data HLA-Style Objetcs and interactions HLA data types

Data models can be saved and loaded The tool generates the data library automatically

1. Modeler: Data modeling from the FOM

Page 5: Simware in full

MULATION

Modeler has three outputs: Library (DLL or SO) representing data

Integrated in NCWare SIM XML data for GPGUI: For controlling simulation XML data for SimDeveloper: For inputs&outputs of the

simulation models

Output of the Modeler: Library in DDS

Page 6: Simware in full

Based on Matlab/Simulink for making your simulation models inside SimWare framework

Build your simulation modules with all the power of Matlab/Simulink Test your simulation logic Reuse your simulation modules

2. SimDeveloper: Simulation models you can really reuse

You don´t need programming skills!

Page 7: Simware in full

Recipe for success

1. Create model in Mathlab2. Add the data interface (xml) created with Modeler3. Create a library (dll or so)4. Modify configuration file5. Control it from SimEngine

Output of SimDeveloper: Simulation models and services

We just need to add three elements

1. Publishers and subscribers2. Methods for control of

state machine (using DDS)3. Methods for creating

multiple instances

Page 8: Simware in full

No programming skills are needed!!!

HLA

DDS

DIS

HLA PITCH federationHLA Mäk federation

3. Simware PowerLink: Data bridge made easy

Page 9: Simware in full

Output of PowerLink: Gateways

Page 10: Simware in full

4. NcWare SIM: Simple but powerful API

ncware::Simulation =ncware::SimFactory::createSimulation("1","airplane", ncware::TransportType::DDS_OPENSPLICE );

simulationExample->Join();

Create simulator

Nombre Descripción

DDS_OPENSPLICE Simulation over DDS using the implementation of OpenSplice.

HLA13_DMSO Simulation using DMSO RTI with HLA13.

HLA13_MAK Simulation using MAK RTI with HLA13.

HLA13_PITCH Simulation using PITCH RTI with HLA13.

HLA1516_NEXTEL Simulation using SIMWARE RTI.

HLA1516_MAK Simulation using MAK RTI with HLA1516.

HLA1516_PITCH Simulation using PITCH RTI with HLA1516.

ncware::SimPublisher<Vector3D> * dataPublisher;dataPublisher=ncware::SimFactory::createPublisher<Vector3D>(simulationExample);dataPublisher->registerInstanceName (“Boeing747”);Vector3D * dataVector3D = dataPublisher->Declare( );dataVector3D->x = 1;dataVector3D->y = 1;dataVector3D->z = 1;dataPublisher ->Send (“Boeing747”, dataVector3D );

Create publisher

ncware::ObjectListener<Vector3D> * listenerVector3D = new userListener();ncware::SimSubscriber<Vector3D> * dataSubscriber =

ncware::SimFactory::createSubscriber<Vector3D> (simulationExample, listenerVector3D);dataSubscriber->Declare();

void userListener::attribute_received (Vector3D * Data, std::string const & instanceName){

std::cout << “ Instance name = " << instanceName << std::endl;std::cout << " Coordinate X = " << data->x << std::endl;std::cout << " Coordinate Y = " << data->y << std::endl;std::cout << " Coordinate Z = " << data->z << std::endl;

}

Create subscriber

Page 11: Simware in full

Commercial in Confidence16

© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved

Summary 1: The Simware Framework: creating the simulator

XML GUI panels

Scheduler

Sim engine

eHost DDS simulation

Visual User interface

HLA federationXML data model

Data bridges to HLA/DIS

DDS data model

Simulation models

NcWare Sim + data model + your code

Page 12: Simware in full

SimWare: managing simulators

SimWare is a simulation framework for managing new simulators and old simulators in joint simulation

• Manage your new simulator

• Control the instances of the simulation

• Manage old simulators in joint simulations

Page 13: Simware in full

Scheduler

Simulation engine

eHost- <config>  <EJEC nid="2" id="3" name="EJEC" HlaFed="Aislado" HlaSom="Som.xml" SchedFrec="25" HTime="5" GTime="3" TTime="0" UTime="3" NotIni="no" NotFin="no" NotCierre="no" Critico="si" NotGrab="si" /> - <EHOST4 nid="2" id="4" name="MOTOR1" SchedSecuencial="si" NotIni="si" NotFin="si" NotCierre="no" Critico="si" NotGrab="si">  <Mod0 nid="2" id="16" name="Modulo_ModCIRCLE" type="Modulo_ModCIRCLE" SchedFrec="50" SchedOrden="0" SchedPrio="1" SchedOffset="0" NotIni="no" NotDisc="no" NotEstab="no" NotFin="si" NotCierre="no" Critico="si" NotGrab="si" />   </EHOST4>  </config>- <!--

Simulation engine

Configuration file

ACS

1. eHost: Simulation management

Scheduler: Is an advanced scheduler for controlling the real time clock and the state machine. It coordinates and balances many Simulation Engines that are in different nodes.

Simulation Engines: Are the simulation engines, manage the Simulation modules in each simulation node.

Page 14: Simware in full

Key element of ehost: Configuration file

Scheduler reads the file- Send data to SimEngine: Know what models to load- Send data to ACS: Know what panels to use for create instances- Send tick time during runtime

Sections of the file

- Frequency of simulation

- Configuration/layout of simulation

- Panels for ACS

- Other information:- Models that create models- Info for specific COTS data

representation

Page 15: Simware in full

ACS—Application to Control SimWare simulations, is a GUI that allows to manage SimWare state machine and simulation assets’ parameters during execution

2. ACS: Application to Control Simulations

Page 16: Simware in full

SimWare: joint simulationsWith SimWare you can manage joint simulator of existing HLA and DIS simulators

• Connect and control

• DIS• Pitch HLA• Mäk HLA• DDS

• Add DDS live simulations

Page 17: Simware in full

Commercial in Confidence22

© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved

Summary 2: The Simware Framework: running the simulator

XML GUI panels

Scheduler

Sim engine

eHost DDS simulation

Visual User interface

HLA federationXML data model

Sim models

DDS

1

2

- <config>  <EJEC nid="2" id="3" name="EJEC" HlaFed="Aislado" HlaSom="Som.xml" SchedFrec="25" HTime="5" GTime="3" TTime="0" UTime="3" NotIni="no" NotFin="no" NotCierre="no" Critico="si" NotGrab="si" /> - <EHOST4 nid="2" id="4" name="MOTOR1" - <!--

TICK

STEP

GATE

WAY

Page 18: Simware in full

SimWare RTI where HLA meets DDS

Page 19: Simware in full

HLA Run Time Infrastructure designed for real time performance in large federations

IEEE 1516 HLA API for virtual and live simulations

Use DDS for Data Distribution functionality of an HLA RTI with the features, performance, power and reliability of OMG DDS standard

No gateways needed to connect HLA to DDS

Full HLA services support as required in virtual & live simulations

SimWare RTI : The first RTI to join DDS with HLA RTI

Page 20: Simware in full

NOGESI and the evolution of SimWare

Page 21: Simware in full

Nogesi milestone• NOGESI proyect has been the test bed and proof of

concept of SimWare architecture

Page 22: Simware in full

SimWare Lab• SimWare Lab has evolved as test bed and

integration laboratory for SimWare

HLADDSLaboratory

Page 23: Simware in full

SimWare V• SimWare Framework has evolved:

• NCWare SIM: Improved support for multiple instances of the simulation objects and interactions.

• SimDeveloper: Ability to integrate simulation assets HLA and DDS session directly from the Simulink environment, without code generation.

• Modeler: Improved compatibility between HLA data models and DDS models, to automatically generate gateways.

• Powerlink: Generation of gateways DIS, adding mapping between DDS and PDUs models defined in the IEEE 1278.1A-1998.

Page 24: Simware in full

SimWare RTI II• SimWare RTI has evolved:

• SimWare RTI: Full support of the HLA standard 1516, including DDM services, time management, and management of the federation. Full ownership transfer service.

• Full HLA implementation

HLADDS

Page 25: Simware in full

SimWare LSA: the future• SimWare future evolution goes to LSA:

• New developments in model reusability.• DIS over DDS.• Changes in HLA architecture.• Open services layer.

Page 26: Simware in full

Please address any questions about this presentation to:

José Ramón Martínez SalioTechnical Presales [email protected]

@NADS_news /NEXTELADS Nextel Aerospacejrmses