26
Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica University of Corsica SPE Laboratory SPE Laboratory UMR CNRS 6134 UMR CNRS 6134

Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Embed Size (px)

Citation preview

Page 1: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Model Design using Hierarchical Web-Based LibrariesModel Design using Hierarchical Web-Based Libraries

F. Bernardi

Pr. J.F. Santucci

{bernardi, santucci}@univ-corse.fr

University of CorsicaUniversity of CorsicaSPE LaboratorySPE LaboratoryUMR CNRS 6134UMR CNRS 6134

Page 2: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Studied ProblemStudied Problem

Objective of this work: to build a generic models library

Interests: Reusability of models seen as modeling components Ease of new models building Ease of new models validation

Main Requirements: Ease of use Inheritance between models management Abstraction Hierarchy between models management Remote access capacity

Page 3: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

SummarySummary

Basic Notions of M&S

Basics of the Models Library

Web-Based Architecture

Screenshots

Conclusion and Perspectives

Page 4: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

SummarySummary

Basic Notions of M&S

Basics of the Models Library

Web-Based Architecture

Screenshots

Conclusion and Perspectives

Page 5: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basic Notions of M&SBasic Notions of M&S

Three complementary concepts

1. The Multi-Views concept: Allows a gradual complexity introduction Each model of these views represents a

particular part of the global system

Structural view, behavioral view, system view,…

2. The description hierarchy Allows a recursive subsystems hiding

Page 6: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basic Notions of M&SBasic Notions of M&S

3. The abstraction hierarchy General problem for modeling: choosing a

good level of details Abstraction level:

Determines the amount of informations contained in a model

Allows taking efficiently into account the relevant informations

Page 7: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basic Notions of M&SBasic Notions of M&S

The abstraction hierarchy

Page 8: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

SummarySummary

Basic Notions of M&S

Basics of the Models Library

Web-Based Architecture

Screenshots

Conclusion and Perspectives

Page 9: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

Software Component: Software object presenting well-defined

interfaces Can be personified Reusable in different contexts

Modeling Component: Software component Can be described following different

abstraction levels Can be « context-in » or « context-out »

Page 10: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

Context-in and Context-out models notions: Context-out model:

Abstraction of a modelPresents a structure allowing it to be stored

in a library Context-in model:

Context-out model extracted from its libraryDirectly reusable in the environment

Page 11: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

Models Library: Object-Oriented architecture allowing to store and retrieve persistent context-out models

Structuration mainly based on two paradigms: Application domains Inheritance hierarchy

Provides the abstraction hierarchy management

Page 12: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

Core of the architecture: The Storage Engine Build on the model of an Object-Oriented

Database Management System Uses XML to describe and store models Modular and extensible: based on the notion

of service Can use six different element types

Page 13: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

Six elements able to be stored: Library: root object Domains: DEVS Simulation, VHDL Descriptions,… Application Domains: Science part of the models Classification Intermediate Models (CIM): allow a

classification hierarchy between models Inheritance Intermediate Models (IIM): storage object

allowing the share of properties Model File: storage object (context-out model)

Page 14: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

UML Diagram: Links Between Elements

Domain Application Domain

Classification Intermediate Model

Model File

Inheritance Intermediate Model

Library

0..1

*

*

0..1

*

contains

0..1

0..1

*

0..1

*

*0..1

0..1 *

0..1

*

*

0..1

0..1

*

Page 15: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

Service: set of functions for the structuring, the management or the maintenance of a library

Five Main Services: Name Service Classification Service Abstraction Hierarchy Service Inheritance Service Persistence Service

Page 16: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Basics of the Models LibraryBasics of the Models Library

Abstraction Service: Based on an Abstraction Matrix Manage relative abstraction levels between

context-out models

Inheritance Service Not performed directly on context-in models Applied on context-out models Performed through XML tags

Page 17: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Context-in Model

Context-out Model

XMLTransitionProcedure

JDEVSSourceCode

XML

Context-inModel

Context-outModel

XMLReconstitution

Procedure

JDEVSSourceCode

XML

XML-based Persistence Service Context-in to context-out

Basics of the Models LibraryBasics of the Models Library

Context-out to context-in

Page 18: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

SummarySummary

Basic Notions of M&S

Basics of the Models Library

Web-Based Architecture

Screenshots

Conclusion and Perspectives

Page 19: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Web-Based ArchitectureWeb-Based Architecture

Set of tools allowing a design team to work on the same models stored on a server

Basic idea: two possibilities offered for accessing the storage engine: Using a Web browser Directly from the M&S environment

Page 20: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Web BrowserWeb Browser

Modeling and SimulationModeling and Simulation

EnvironmentEnvironment

NetworkNetwork

NetworkNetwork Storage EngineStorage Engine

ServerServer

Storage EngineStorage Engine

ServerServer

Application ServerApplication Server

Application ServerApplication Server

Web-Based ArchitectureWeb-Based Architecture

First possibility: simple management, documentation and/or consultation

Second possibility: uses APIs for the M&S environment

Page 21: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Web-Based ArchitectureWeb-Based Architecture

Implementation: Servlets/Applets/Java Web Start

Technological Choices: Servlets:

Persistents Fasts Platform-independents Extensible

Applets: Very well known Ease of use

Java Web Start: Fast Always up to date

Page 22: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

SummarySummary

Basic Notions of M&S

Basics of the Models Library

Web-Based Architecture

Screenshots

Conclusion and Perspectives

Page 23: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

ScreenshotsScreenshots

Page 24: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

ScreenshotsScreenshots

Page 25: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

SummarySummary

Basic notions of M&S

Basics of the Models Library

Web-Based Architecture

Screenshots

Conclusion and Perspectives

Page 26: Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, santucci}@univ-corse.fr University of Corsica SPE Laboratory

Conclusion and PerspectivesConclusion and Perspectives

Main Points and Originalities: Inheritance Links Abstraction Links Traduction of DEVS models in XML

Validation using the JDEVS environment: Environmental Studies CORBA Architecture Study

Perspectives: Management of other modeling formalisms Improvement of the performances of the

storage engine Study of the distribution of storage engines

on a network