Mais conteúdo relacionado Semelhante a Simware revolucion (20) Mais de José Ramón Martínez Salio (20) Simware revolucion2. AGENDA
Capacities of SimWare
Elements of SimWare
Summary
Total time 45 minutes
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
2 Reservados todos los derechos / All Rights Reserved Confidential
3. 1. Capacities of SimWare
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
3 Reservados todos los derechos / All Rights Reserved
Confidential
4. SimWare : A Distributed Real Time Simulation Middleware
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
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
4 Reservados todos los derechos / All Rights Reserved Confidential
5. Added value of SimWare
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
5 Reservados todos los derechos / All Rights Reserved
Confidential
6. The best data model with real time communication
The best data model with real
time communication
HLA data model running in a
real time data bus. DDSI
DDS quality of services (QoS)
for all your data.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
6 Reservados todos los derechos / All Rights Reserved Confidential
7. Easy and real data modeling
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.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
7 Reservados todos los derechos / All Rights Reserved Confidential
8. Simple API
Simple API to create simulators Name Description
DDS_OPENSPLICE Simulation over DDS using the
With just two lines you can create implementation of OpenSplice.
and join a simulation in HLA or
DDS.
HLA13_DMSO Simulation using DMSO RTI with
HLA13.
Same API for HLA or DDS: just HLA13_MAK Simulation using MAK RTI with
change one string. HLA13.
HLA13_PITCH Simulation using PITCH RTI with
HLA13.
Add Quality of Services to your
HLA1516_NEXTEL Simulation using SIMWARE RTI.
entities.
HLA1516_MAK Simulation using MAK RTI with
HLA1516.
HLA1516_PITCH Simulation using PITCH RTI with
HLA1516.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
8 Reservados todos los derechos / All Rights Reserved Confidential
9. Make your simulation models reusable
Create simulation models you
Scheduler
can reuse (executable)
Simulation models can be
Simulation Engines Modules
(dynamic libraries)
edited, changed and reused.
SimWare
You don t need to create ............................................................................. -->
- <config>
new models for each new - <!-- Nodo OC -->
<EJEC nid="2" id="3" name="EJEC" HlaFed="Aislado" HlaSom="Som.xml"
simulator. 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"
Simulation models can be SchedOffset="0" NotIni="no" NotDisc="no" NotEstab="no" NotFin="si"
NotCierre="no" Critico="si" NotGrab="si" />
</EHOST4>
added to the simulation just </config>
- <!-- ........................................................................... -->
changing a configuration file.
With SimWare your simulation models became your assets
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
9 Reservados todos los derechos / All Rights Reserved Confidential
10. Data gateways only know about data
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.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
10 Reservados todos los derechos / All Rights Reserved Confidential
11. Full simulation framework
SimWare is a full simulation TOOLS for APPLICATIONS for
framework DEVELOPMENT RUN-TIME
Modeler Scheduler
We provide all the tools for PowerLink Simulation Engines
creating a real time simulator
SimDeveloper Simulation Modules
We provide all the applications for GPGUI ACS
running your simulator
ARM User-tailored using
NcWare Sim & data
No programming skills are model
needed: You don t need to see SimWare RTI
any code.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
11 Reservados todos los derechos / All Rights Reserved Confidential
12. Command the runtime
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!
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
12 Reservados todos los derechos / All Rights Reserved Confidential
13. Simulation elements became instances
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.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
13 Reservados todos los derechos / All Rights Reserved Confidential
14. Create your own simulation elements
Create your simulation elements /*************************/
/* AirplanePublisher.cpp */
/*************************/
#include <string>
Just add an “include” to your own #include <NCWareSim.h>
#include <ModellerTutorial.h>
code.
int main()
{
ncware::Simulation * simulation;
Include NcWare Sim API to use simulation =
ncware::SimFactory::createSimulation("1", "airplane", ncware::TransportT
simulation and publish and ype::DDS_OPENSPLICE );
simulation->Join();
subscribe. ncware::SimPublisher<Vector3D> * dataPublisher;
dataPublisher =ncware::SimFactory::createPublisher<Vector3D>(
simulation);
dataPublisher->registerInstanceList("Boeing747");
Include data model to use it.
Console 1 Console 2 Console 3
Pressure X Temp X Pressure Y Temp Y
/Sensor/Temp /Sensor/Pressure /Sensor/X
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
14 Reservados todos los derechos / All Rights Reserved Confidential
15. Interoperability, interoperability, interoperability
SimWare makes interoperability easy
Interoperate HLA with DDS or
different HLA RTIs.
Interoperate DDS of any vendor with
DDSI.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
15 Reservados todos los derechos / All Rights Reserved Confidential
16. SimWare example use scenarios
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
16 Reservados todos los derechos / All Rights Reserved
Confidential
17. Working with Simware: Standalone simple simulator
XML data model
XML FOM
Data
model NcWare
NcWare Sim
Sim
Simulation
User tools
Model
eHost DDS simulation
Scheduler
Simulation Sim engine Visual User
XML interface
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
17 Reservados todos los derechos / All Rights Reserved Confidential
18. Working with Simware: Full logic simulator
XML data model
XML GUI panels
eHost DDS simulation
Scheduler
Visual User
Simulation Sim engine interface
XML
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
18 Reservados todos los derechos / All Rights Reserved Confidential
19. Working with Simware: Full joint simulation
HLA federation
XML data model
XML GUI panels
eHost DDS simulation
Scheduler
Visual User
Simulation Sim engine interface
XML
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
19 Reservados todos los derechos / All Rights Reserved Confidential
20. 2. Components of SimWare
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
20 Reservados todos los derechos / All Rights Reserved
Confidential
21. Tools for developing; applications for runtime
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
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
21 Reservados todos los derechos / All Rights Reserved Confidential
22. Tools for developing simulators
NcWare Sim
Create data model: Define your instances:
Modeler GPGUI
Model your simulation Manage your data
models: SimDeveloper bridges: PowerLink
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
22 Reservados todos los derechos / All Rights Reserved Confidential
23. Applications for managing simulations
Schedule and data model Load simulation modules: Run your simulation and
control: Scheduler Simulation Engines manage instances: ACS
Gateways for data communication HLA DDS
between HLA federations and DDS
simulators
Gateway
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
23 Reservados todos los derechos / All Rights Reserved Confidential
24. SimWare tool by tool
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
24 Reservados todos los derechos / All Rights Reserved
Confidential
25. 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
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
25 Reservados todos los derechos / All Rights Reserved Confidential
26. eHost: Simulation management
eHost
Configuration file Simulation
engine
- <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" Scheduler
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
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.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
26 Reservados todos los derechos / All Rights Reserved Confidential
27. NcWare SIM: Simple but powerful API
Create simulator Create publisher
ncware::Simulation ncware::SimPublisher<Vector3D> * dataPublisher;
=ncware::SimFactory::creatºeSimulation("1","airplane dataPublisher=ncware::SimFactory::createPublisher<Vector3D>(simulation
", ncware::TransportType::DDS_OPENSPLICE ); Example);
simulationExample->Join(); dataPublisher->registerInstanceName (“Boeing747”);
Vector3D * dataVector3D = dataPublisher->Declare( );
dataVector3D->x = 1;
dataVector3D->y = 1;
dataVector3D->z = 1;
dataPublisher ->Send (“Boeing747”, dataVector3D );
Nombre Descripción
DDS_OPENSPLICE Simulation over DDS using the
implementation of
OpenSplice.
Create subscriber
HLA13_DMSO Simulation using DMSO RTI
ncware::ObjectListener<Vector3D> * listenerVector3D = new
with HLA13. userListener();
HLA13_MAK Simulation using MAK RTI with ncware::SimSubscriber<Vector3D> * dataSubscriber =
ncware::SimFactory::createSubscriber<Vector3D>
HLA13. (simulationExample, listenerVector3D);
dataSubscriber->Declare();
HLA13_PITCH Simulation using PITCH RTI
with HLA13. void userListener::attribute_received (Vector3D * Data, std::string
HLA1516_NEXTEL Simulation using SIMWARE const & instanceName)
{
RTI. std::cout << “ Instance name = " << instanceName <<
HLA1516_MAK Simulation using MAK RTI with std::endl;
std::cout << " Coordinate X = " << data->x << std::endl;
HLA1516. std::cout << " Coordinate Y = " << data->y << std::endl;
std::cout << " Coordinate Z = " << data->z << std::endl;
HLA1516_PITCH Simulation using PITCH RTI }
with HLA1516.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
27 Reservados todos los derechos / All Rights Reserved Confidential
28. SimDeveloper: Simulation modules you can really reuse
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
You don´t need
programming skills!
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
28 Reservados todos los derechos / All Rights Reserved Confidential
29. 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
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
29 Reservados todos los derechos / All Rights Reserved Confidential
30. ARM— Asset Repository Manager
ARM— Asset Repository Manager, a database for configuration
management and control of the catalogue of simulation assets. Classify your
simulation modules with metadata.
BBDD
Name Version Model type
F-35 1.4 Planes
Eurofighter 2.3 Planes
Uro 4.5 Transports
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
30 Reservados todos los derechos / All Rights Reserved Confidential
31. GPGUI—Generic Panel Generator UI
GPGUI—Generic Panel Generator UI, an useful tool for generating UI panels to
configure parameters of simulation assets during planning and to manage them
during execution.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
31 Reservados todos los derechos / All Rights Reserved Confidential
32. ACS—Application to Control Simulations
ACS—Application to Control SimWare simulations, is a GUI that allows to
manage SimWare state machine and simulation assets’ parameters during
execution
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
32 Reservados todos los derechos / All Rights Reserved Confidential
33. SimWare RTI : The first RTI to join DDS with HLA RTI
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
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
33 Reservados todos los derechos / All Rights Reserved Confidential
34. 3. Famous last words
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
34 Reservados todos los derechos / All Rights Reserved
Confidential
35. Data centric approach to simulation
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 space
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
35 Reservados todos los derechos / All Rights Reserved Confidential
36. Simulation modules are assets.
Create your own family of models!!!
Simulation Modules become
assets
Your models can be
edited, changed and deleted.
Your model become reusable.
Avoid “ad hoc” architectures for
every new simulation.
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
36 Reservados todos los derechos / All Rights Reserved Confidential
37. Please address any questions about this presentation to:
José Ramón Martínez
Technical Presales
jrmartinez@nads.es
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012.
39 Reservados todos los derechos / All Rights Reserved
Confidential