Max. shear stress theory-Maximum Shear Stress Theory Maximum Distortional ...
4:3 SpaceOps 2018 BEST-NG
1. CS – Communication & Systèmes / 1DESIGNER, INTEGRATOR, OPERATOR OF MISSION CRITICAL SYSTEMS uk.c-s.fr
BEST-NG
PRESENTED BY: VINCENT HÉMERY
(ECLIPSE AND MODELING EXPERT)
SPACEOPS 2018
2. CS – Communication & Systèmes / 2DESIGNER, INTEGRATOR, OPERATOR OF MISSION CRITICAL SYSTEMS uk.c-s.fr
BEST-NG
A NEW MODELER FOR DESCRIBING THE SATELLITE’S DATABASE
3. CS – Communication & Systèmes / 3/ 3
AGENDA
Project history
Technical design
Designing the generic model
Mapping the formats
Expressions editor
What’s next?
4. CS – Communication & Systèmes / 4/ 4
1
/ 4
PROJECT HISTORY
Project history
Technical design
Designing the generic model
Mapping the formats
Expressions editor
What’s next?
5. CS – Communication & Systèmes / 5/ 5
PREDECESSOR: BEST
Beyond EAST
›https://logiciels.cnes.fr/content/best
Maintained for CNES and ESA
XIF format (with possible extensions)
›Monitoring & Control extension
Quite old technologies
6. CS – Communication & Systèmes / 6/ 6
BEST
Modeler
WHAT BEST DOES
Exchanged
data
Space
database
model
conforms to
Additional BEST Tools
Data generation, reading,
post-processing…
work with
8. CS – Communication & Systèmes / 8/ 8
BEST-NG NEEDS
Bigger databases
Functional scope as large as BEST
›XIF and XIF Monitoring & Control
Several formats
›Need to communicate in XIF, XTCE, and CADS
Better conception
9. CS – Communication & Systèmes / 9/ 9
ITERATIVE STEPS
May 2014
Preliminary
study
July 2014
– June 2015
First BEST-NG
implementation
September 2015
– nowadays
BEST-NG as we
know it
EMF or XSD
EMF
Distributed
architecture
Multi-domain
Multi-format
MXIF
10. CS – Communication & Systèmes / 10/ 10
2
/ 10
TECHNICAL DESIGN
Project history
Technical design
Designing the generic model
Mapping the formats
Expressions editor
What’s next?
11. CS – Communication & Systèmes / 11/ 11
MULTI-DOMAIN ISSUES
Bitstream structure as a tree
›XIF without extension
Space database
›Packets
›Monitoring
›…
Format specific information
Other mission-specific information
›Like XIF extensions
12. CS – Communication & Systèmes / 12/ 12
MULTI-DOMAIN SOLUTION
Classic DSL (Ecore)
›All concepts in 1 Ecore file
›No multi-domain elements
Profile approach
›Base model element
›Domain concepts as Stereotypes
›Stereotypes applied on base element
DSL Profile approach
13. CS – Communication & Systèmes / 13/ 13
UML PROFILES?
OMG standard
UML model not related to domain
›Mapping issues
UML too complex and too rich
›Model pollution
Implementation violates
EMF good practices
14. CS – Communication & Systèmes / 14/ 14
OUR OWN PROFILE SOLUTION!
Base metamodel: KISS
Domain concepts as Profiles
Format-specificities as Profiles
EMF good practices
Patch all you want
By the way… shamelessly mimic UML
15. CS – Communication & Systèmes / 15/ 15
MULTI-FORMAT ISSUES
Different formats
›Different classes
›Different properties
Similar concepts
1 model element: two faces
Complex correspondances
›Different logics
16. CS – Communication & Systèmes / 16/ 16
MULTI-FORMAT SOLUTION
EMF Facet
›https://www.eclipse.org/facet/
Use Facets to map DSL elements
Java-implemented queries
23. CS – Communication & Systèmes / 23/ 23
PROFILE EDITOR
Provides validation
›Methodology
›Anti-patterns
Useful decorations and actions
Acceleo queries view
Made with Eclipse Sirius
24. CS – Communication & Systèmes / 24/ 24
AND LOTS OF EXPERTISE…
Modeling expertise
Domain expertise
›CNES + Development team
›Numerous meetings
What makes sense in the Generic Model?
What is the best usage?
›E.g. nature & unit on physical type
25. CS – Communication & Systèmes / 25/ 25
4
/ 25
MAPPING THE FORMATS
Project history
Technical design
Designing the generic model
Mapping the formats
Expressions editor
What’s next?
27. CS – Communication & Systèmes / 27/ 27
FORMAT MAPPING
DSL Profile
Extend the correct base element
Add Facet
›Applies on generic model
Move derived information to Facet
Get rid of syntactic sugar
… implement import/export particularities
28. CS – Communication & Systèmes / 28/ 28
5
/ 28
EXPRESSIONS EDITOR
Project history
Technical design
Designing the generic model
Mapping the formats
Expressions editor
What’s next?
30. CS – Communication & Systèmes / 30/ 30
EXPRESSION EDITOR
Xtext is great
Grammar and semantic
Actual model with references
31. CS – Communication & Systèmes / 31/ 31
GRAMMARS AND PROFILES
Grammar inheritance
Weak coupling Profile Grammar
›Use base metamodel classes
›Keywords and grammar IDs
Generic
Expressions
Structured
Data
Expressions
SpaceMC
Expressions
32. CS – Communication & Systèmes / 32/ 32
6
/ 32
WHAT’S NEXT?
Project history
Technical design
Designing the generic model
Mapping the formats
Expressions editor
What’s next?
33. CS – Communication & Systèmes / 33/ 33
WHAT’S NEXT?
A real HMI
›Minimal HMI effort in the prototype
›JavaFX Eclipse 4 experiments with lazy loading
A better Name
›
Renewing the whole space database
management tools suite
›Based on BEST-NG
›Using Eclipse Modeling technologies
34. CS – Communication & Systèmes / 34/ 34
CONCLUSION
Merge different visions
Represent different domains
Performance
Domain expertise required
Eclipse modeling technologies
Transformation is a tedious task
›But maintenance should be reduced
35. CS – Communication & Systèmes / 35
CS
22, avenue Galilée -
92350 Le Plessis Robinson – France
Tel.: +33 (0)1 41 28 40 00
uk.c-s.fr
DESIGNER, INTEGRATOR, OPERATOR OF MISSION CRITICAL SYSTEMS uk.c-s.fr
Thanks for listening
Vincent Hémery
Eclipse and Modeling Expert
Space: Payload Data & Applications
5 rue Brindejonc des Moulinais -
31500 Toulouse – France
Tel.: +33 (0) 561 176 310
E-mail: vincent.hemery@c-s.fr