Simware revolucion
description
Transcript of Simware revolucion
SIMWARE 4.0
Confidential2
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
AGENDA Capacities of SimWare Elements of SimWare Summary
Total time 45 minutes
Confidential3
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
1. Capacities of SimWare
Confidential4
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare is a real time simulation framework:
Real time communications with HLA data model
Interoperation between DDS and HLA vendors
Full simulation framework for development and deployment
HLA compliant
SimWare : A Distributed Real Time Simulation Middleware
Confidential5
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Added value of SimWare
Confidential6
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
The best data model with real
time communication
HLA data model running in a
real time data bus.
DDS quality of services (QoS)
for all your data.
The best data model with real time communication
DDSI
Confidential7
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Create your data model from your
FOM model
No changes, no tricks.
Edit, add and delete your model
We will build the library for you.
Easy and real data modeling
Confidential8
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Simple API to create simulators
With just two lines you can create
and join a simulation in HLA or
DDS.
Same API for HLA or DDS: just
change one string.
Add Quality of Services to your
entities.
Simple API
Name Description
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.
Confidential9
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Create simulation models you
can reuse
Simulation models can be
edited, changed and reused.
You don t need to create
new models for each new
simulator.
Simulation models can be
added to the simulation just
changing a configuration file.
Make your simulation models reusable
With SimWare your simulation models became your assets
SimWare
Simulation Engines Modules
(dynamic libraries)
Scheduler
(executable)
............................................................................. -->- <config>- <!-- Nodo OC -->
<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" />- <!-- Three engines -->- <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>
- <!-- ........................................................................... -->
Confidential10
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Easily modifiable gateways
Gateways are just data bridges no
complicated converters.
Gateways can be changed easily;
1. Just choose the data to communicate.
2. We will create the application for you.
3. Finally join the simulation.
Data gateways only know about data
Confidential11
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare is a full simulation
framework
We provide all the tools for
creating a real time simulator
We provide all the applications for
running your simulator
No programming skills are
needed: You don t need to see
any code.
Full simulation framework
TOOLS forDEVELOPMENT
APPLICATIONS forRUN-TIME
Modeler Scheduler
PowerLink Simulation Engines
SimDeveloper Simulation Modules
GPGUI ACS
ARM User-tailored usingNcWare Sim & data model
SimWare RTI
Confidential12
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare puts you in command
Data model of control
Not hard-coded: is only data
Scheduler for time and control
Choose the frequency
Control the state machine
ACS is a real command console
Run it!
Command the runtime
Confidential13
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Change your simulation during runtime
Simulation elements can be added,
modified and deleted during runtime.
Each element can be instantiated
multiple times with different
parameters.
Simulation elements became instances
Confidential14
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Create your simulation elements
Just add an “include” to your own
code.
Include NcWare Sim API to use
simulation and publish and
subscribe.
Include data model to use it.
Create your own simulation elements
/*************************//* AirplanePublisher.cpp *//*************************/#include <string>#include <NCWareSim.h>#include <ModellerTutorial.h>
int main(){
ncware::Simulation * simulation;simulation =
ncware::SimFactory::createSimulation("1", "airplane", ncware::TransportType::DDS_OPENSPLICE );
simulation->Join();ncware::SimPublisher<Vector3D> * dataPublisher;dataPublisher =ncware::SimFactory::createPublisher<Vector3D>(
simulation);dataPublisher->registerInstanceList("Boeing747");
Pressure X Pressure Y
Console 1 Console 2
/Sensor/Temp /Sensor/Pressure
Temp X Temp Y
Console 3
/Sensor/X
Confidential15
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare makes interoperability easy
Interoperate HLA with DDS or
different HLA RTIs.
Interoperate DDS of any vendor with
DDSI.
Interoperability, interoperability, interoperability
Confidential16
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare example use scenarios
Confidential17
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Working with Simware: Standalone simple simulator
SimulationModel
Scheduler
DDS simulation
VisualSim engine Userinterface
Data model
XML data model
eHost
XML FOM
User tools
NcWare Sim
NcWareSim
SimulationXML
Confidential18
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Working with Simware: Full logic simulator
XML GUI panels
Scheduler
Sim engine
eHost DDS simulation
Visual UserinterfaceSimulation
XML
XML data model
Confidential19
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Working with Simware: Full joint simulation
XML GUI panels
Scheduler
Sim engine
eHost DDS simulation
Visual UserinterfaceSimulation
XML
HLA federationXML data model
Confidential20
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
2. Components of SimWare
Confidential21
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare provides tools and applications
All the tools needed for building simulators: pure DDS simulators or
DDS-HLA mixed simulators
All the applications needed for executing and managing your simulation
Tools for developing; applications for runtime
Confidential22
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
NcW
are
Sim
Tools for developing simulators
Create data model: Modeler
Define your instances: GPGUI
Model your simulationmodels: SimDeveloper
Manage your data bridges: PowerLink
Confidential23
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Applications for managing simulations
Schedule and data modelcontrol: Scheduler
Load simulation modules: Simulation Engines
Run your simulation and manage instances: ACS
HLA
Gateway
DDSGateways for data communicationbetween HLA federations and DDS simulators
Confidential24
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare tool by tool
Confidential25
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Modeler: Data modeling
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
Confidential26
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
eHost: Simulation management
eHost is constituted of two tools: 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.
Scheduler
Simulationengine
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>
- <!--
Simulationengine
Configuration file
Confidential27
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
NcWare SIM: Simple but powerful API
ncware::Simulation =ncware::SimFactory::creatºeSimulation("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>(simulation
Example);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
Confidential28
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Based on Matlb/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
SimDeveloper: Simulation modules you can really reuse
You don´t need programming skills!
Confidential29
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Simware PowerLink: The data bridge
Build, save, edit and modify your data bridges. We will build the library
PowerLink provides a flexible solution for integrating legacy components in the SimWare architecture and interoperate SimWare simulations with other simulations or real systems.
No programming skills are needed
Confidential30
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
ARM— Asset Repository Manager, a database for configurationmanagement and control of the catalogue of simulation assets. Classify yoursimulation modules with metadata.
ARM— Asset Repository Manager
Name Version Model type
F-35 1.4 Planes
Eurofighter 2.3 Planes
Uro 4.5 Transports
BBDD
Confidential31
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
GPGUI—Generic Panel Generator UI, an useful tool for generating UI panels toconfigure parameters of simulation assets during planning and to manage themduring execution.
GPGUI—Generic Panel Generator UI
Confidential32
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
ACS—Application to Control SimWare simulations, is a GUI that allows tomanage SimWare state machine and simulation assets’ parameters duringexecution
ACS—Application to Control Simulations
Confidential33
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
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 :
federation management
declaration management
object management
ownership management
SimWare RTI : The first RTI to join DDS with HLA RTI
Confidential34
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
3. Famous last words
Confidential35
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Architecture and design of the system can be fully data centric
Modeler models data.
Powerlink links data into gateways.
All tools use data to publish and subscribe
All system logic is data, even simulation control
Data centric approach to simulation
Data space
Confidential36
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Simulation Modules become
assets
Your models can be
edited, changed and deleted.
Your model become reusable.
Avoid “ad hoc” architectures for
every new simulation.
Simulation modules are assets.
Create your own family of models!!!
Confidential39
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Please address any questions about this presentation to:
José Ramón MartínezTechnical [email protected]
NEXTEL AEROSPACE DEFENCE & SECURITY S.L.Avenida de Manoteras, 18 28050 Madrid – Spain+34 91 803 38 02www.nads.es