Simware Simdeveloper
-
Upload
jrmses -
Category
Technology
-
view
301 -
download
1
description
Transcript of Simware Simdeveloper
SIMWARE SimDeveloper
[ How about reusing your simulation models?]
José Ramón MartínezHead of [email protected]
NADS-2012-MKT-CORPORATE-EN-V1.5
Commercial in Confidence3
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Total time 35 minutes
AGENDA
SimWare SimDeveloper in the SimWare Framework
SimWare SimDeveloper SImDeveloper hands-on Ehost: running the show SimWare Summary
SimWare SimDeveloper
in the SimWare Framework
Commercial in Confidence5
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Our Vision: Future of M&S systems is on the network
SIMWARE enables Distributed Simulation* Real Time Distributed Simulation Architecture* Tools for Modeling & Simulation of clockwall
simulation models* Gateway development tools* Real Time Simulation Management & Control Tools* Simplified API for HLA, DDS and DIS
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
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
Modeler: Data modeling from the FOM
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
SimDeveloper: Simulation models you can really reuse
You don t need programming skills!
No programming skills are
needed!!!
HLA PITCH federationHLA Mäk federation
Simware PowerLink: Data bridge made easy
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
Commercial in Confidence11
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
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
Commercial in Confidence12
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
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
ACS
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.
Commercial in Confidence13
© 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
Modeling & Simulation with
SIMWARE SimDeveloper
Commercial in Confidence15
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
Simware SimDeveloper: The Engineers’ choice
Developing the traditional way With SimWare SimDeveloper
On-demand coding of software models isnot affordable, it consumes a lot of manpower, it is slow and prone to errors.
Engineers & Simulationists like to model in Matlab SimuLink. SimWare SimDevelopercan generate code automatically from yourSimuLink models.
Commercial in Confidence16
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare SimDeveloper: Model Driven Engineering Process
Real System Analysis
1. Modules list
2. Modules specification and requirements
IEEE 1516
Analysis Design Implementation V&V Integration
Data Model
Commercial in Confidence17
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare SimDeveloper: Model Driven Engineering Process
Design Implementation V&V IntegrationAnalysis
Simdeveloper environment (Matlab/Simulink)
State Machine
Input
inte
rface
Outp
ut in
terfa
ce
Subsystem1
Model1
SubsystemN
Model2
RealTime Workshop
SimDeveloper.tlc
SimulinkC code
SimWareC++ Class
ModuleLibrary
Commercial in Confidence18
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SimWare SimDeveloper: Integracion and execution phase
Design Implementation V&V IntegrationAnalysis
NcWare
NcWare
NcWare NcWare
Engine1
NcWare
Host
NcWare
API
NcWare
NcWare
SchedulerI/O
Instructor PositionVisual Environment
Synthetic environment Control and Command
Engine2
NcWare
Host
eHostRunning the models already made
inside SimWare simulation architecture
Commercial in Confidence20
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
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
ACS
eHost: Real time sheduler
Scheduler: Is an advanced scheduler for controlling the real time clock and
the state machine. It coordinates and balances many Simulation Engines that
can run in different nodes.
Commercial in Confidence22
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
<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>
One file rules the full simulation
1. Frequency of the simulation2. Simulation engine: Determines the layout of the simulation3. Models that each simulation engine has to load
Commercial in Confidence23
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
This file joins the model to our architecture:• The Control state model via DDS• The Topics published and subscribed (with callbacks)• Link with internal methods of Matlab/simulink
The wrapper file + MakeList + enviromental vars
SimWareSummary
Commercial in Confidence25
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
SIMWARE is a suite of software providing a complete infrastructure of middleware and tools for thedevelopment of distributed simulation systems
Developed by initiative of SP MoD
Customers:
SP MoD (ES)
NAVANTIA (ES)
INPE (BR)
DSTL (UK)
THALES (FR)
Product of years of R+D
Commercialized as a COTS
In the market since 2011
Mature Current version is 4.2.3
Please address any questions about this presentation to:
Commercial in Confidence26
© NEXTEL AEROSPACE DEFENCE & SECURITY S.L., 2012. Reservados todos los derechos / All Rights Reserved
José Carlos DIAZInternational Sales [email protected]
José Ramón Martínez SalioTechnical Presales [email protected]
@NADS_news /NEXTELADS Nextel Aerospacejrmses
NEXTEL AEROSPACE DEFENCE & SECURITY S.L.Avenida de Manoteras, 18 28050 Madrid – Spain+34 91 803 38 02www.nads.eswww.simware.es
/Nextel Aerospace
@NADS_news
/NEXTELADS
/jrmses
Follow us in: