Simulation Portability 2 standard support in EuroSim Mk4 Jeroen Moelands EuroSim Design Leader (moelands@nlr.nl) Collaborative Engineering Systems department National Aerospace Laboratory NLR EuroSim Workshop at SESP 2006, ESTEC, Noordwijk, The Netherlands, November 6, 2006
Introduction Introduction EuroSim s SMP2 Project The SMP2 Standard EuroSim Implementation Concluding Remarks SESP EuroSim Workshop, November 6,2006 06/11/2006 2
Project Project Overview Goal: Add SMP2 Support to EuroSim Mk4 Work started End 2004 EuroSim Mk4 Released 2006 Consortium effort NLR: SMP2 tools including SMP2 Editor Dutch Space: Integration with EuroSim core Atos Origin: Verification & Validation of the software Partially funded by NIVR SESP EuroSim Workshop, November 6,2006 06/11/2006 3
Project Project Aims Build an SMP2 model development and simulation platform on top of EuroSim Makes EuroSim a suitable candidate for use in SMP2 based simulation projects Full integration of SMP2 models in the EuroSim realtime simulation environment Make available EuroSim s hard real-time simulation capabilities to the SMP2 community Allow re-use of legacy EuroSim and SMP models together with SMP2 models without additional software layers SMP2 tools fully integrated in the existing EuroSim GUI and way of working Easy to learn and easy to use for the EuroSim user Optimal tool support and documentation for SMP2 model developers SESP EuroSim Workshop, November 6,2006 06/11/2006 4
Standard SMP2 Standard High-level objectives Portability between Simulation Environments Portability between Platforms (i.e. Operating Systems and Middleware) Ease Data Exchange between System Engineering and Simulation domains Promote Reuse Support for Integration (Plug & Play) Support for configurable and flexible simulations Support for machine-readable model Metadata Based on Open Standards (UML/XML) SESP EuroSim Workshop, November 6,2006 06/11/2006 5
Standard SMP2 Workflow Design Development Integration Execution Catalogue Editor Code Generator Assembly Editor Schedule Editor Catalogue Wrapper Code Assembly Schedule Catalogue Validator Compiler Assembly Validator Run-Time Environment Source Code Binary SESP EuroSim Workshop, November 6,2006 06/11/2006 6
EuroSim Implementation in EuroSim: Design Design Catalogue Editor Catalogue Catalogue Validator Enhanced Editor Add SMP2 file nodes to EuroSim model file Start SMP2 Editor for editing catalogues SMP2-aware simulator building process Graphical SMP2 Editor EuroSim look and feel To be started from EuroSim Editor Supports most features of catalogues Integrated catalogue validator enforces validity of catalogues during editing SMP2 Validator Optional validation functionality available from within SMP2 Editor Command line tool SESP EuroSim Workshop, November 6,2006 06/11/2006 7
EuroSim SMP2 Editor screen shot SESP EuroSim Workshop, November 6,2006 06/11/2006 8
EuroSim Implementation in EuroSim: Development Development Code Generator Wrapper Code SMP2 Code Generator Generate necessary all C++ code: header files, implementation files, boilerplate files Minimizes implementation effort for model developer Integrated in SMP2 Editor Usable as command line tool Generated code based on SMP2 MDK Many code generation options developer must implement model functionality Compiler Compilation of generated code is integrated in simulator build process Source Code Binary SESP EuroSim Workshop, November 6,2006 06/11/2006 9
EuroSim Implementation in EuroSim: Integration Integration Assembly Editor Assembly SMP2 Glue code generator for integration of SMP2 model instances in EuroSim Generate code for instances of models (entry points and instance creation) Replaces Assembly functionality EuroSim Parameter Exchange and Description Editor functionality available for SMP2 model instances Integrate SMP2 models with SMP1 and EuroSim models Assembly Validator Binary SESP EuroSim Workshop, November 6,2006 06/11/2006 10
EuroSim Implementation in EuroSim: Execution Execution Schedule Editor EuroSim Schedule Editor functionality available for SMP2 model instances Based on the Glue code generation utility SMP2 Schedule not yet supported SMP2 Schedule currently lacks highfrequency hard real-time features Schedule Run-Time Environment SESP EuroSim Workshop, November 6,2006 06/11/2006 11
Conclusion Concluding Remarks EuroSim Mk4 acts as an integration platform for SMP2 models, SMP1 models, and EuroSim native models SMP2 features fully integrated in existing toolset and way of working EuroSim Mk4 implements most catalogue features Graphical Editor Code Generation Future developments will aim at full SMP2 support SESP EuroSim Workshop, November 6,2006 06/11/2006 12