• Aucun résultat trouvé

Demo: IsamDAE, an Implicit Structural Analysis Tool for Multimode DAE Systems

N/A
N/A
Protected

Academic year: 2021

Partager "Demo: IsamDAE, an Implicit Structural Analysis Tool for Multimode DAE Systems"

Copied!
2
0
0

Texte intégral

(1)

HAL Id: hal-02545380

https://hal.inria.fr/hal-02545380

Submitted on 17 Apr 2020

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Demo: IsamDAE, an Implicit Structural Analysis Tool for Multimode DAE Systems

Benoit Caillaud, Mathias Malandain, Joan Thibault

To cite this version:

Benoit Caillaud, Mathias Malandain, Joan Thibault. Demo: IsamDAE, an Implicit Structural Anal- ysis Tool for Multimode DAE Systems. HSCC 2020 - 23rd ACM International Conference on Hybrid Systems: Computation and Control, Apr 2020, Sydney, Australia. pp.1. �hal-02545380�

(2)

Description du projet sur trois lignes

lorem ipsum

DAE FOR THE MODELING OF (LARGE) CYBER-PHYSICAL SYSTEMS Benoît CAILLAUD, Mathias MALANDAIN, Joan THIBAULT

Inria, Univ Rennes, CNRS, IRISA, Hycomes team (Rennes, France)

[email protected][email protected][email protected]

Structural analysis for mDAE, in an `all-modes-at-once’ fashion

Input:Ad hoc equation language used for declaring mDAE models ØImplicit representation with BDD (preserves sparsity)

ØStructural analysis (from the Sigma-method) and block scheduling:

adaptation of existing methods and novel algorithms

Output: Detailed (but condensed) description of the simulation blocks and their dependencies, in all modes

Implementation

• About 16,000 lines ofOCamlcode

• Libraries:menhir,mlbdd,OCaml-Tools,pprint,xml-light

• Software package:GraphViz Large physical systems→Differential-Algebraic Equations (DAE)

• Components modeled with a few differential and/or algebraic equations

• Connections: algebraic equations (balance equations, Kirchhoff laws)

Pros:compositional modeling, high reusability of physical components

Demo: IsamDAE, an Implicit Structural Analysis Tool for Multimode DAE Systems

STRUCTURAL ANALYSIS OF DAE Handling DAE systems is harder than ODE

• No direct criterion to determine whether a DAE is determined

• Simulation code cannot be generated from the original model

• Compilation relies onStructural Analysis(SA) Structural analysis

• Graph-based (Pantelides method) or linear programming (Pryce’s Sigma-method) algorithms

• Provides diagnosis about the model at compile time (`typechecking’)

• Enables the generation of efficient simulation code:

Øequations are carefully differentiated, and grouped into the smallest possibleequation blocks;

Øblocks are ordered (`scheduled’) for the simulation of a time step THE ISAMDAE TOOL

THE RLDC2 EXAMPLE

• Two RLC circuits with ideal diodes, in parallel

• Mode-dependent structure: differentiation orders for the equations, as well as the resulting equation blocks, depend on the mode

Not handled by current DAE-based tools(OpenModelica, Dymola)

THE BUILDING EXAMPLE

Scalable model: single-story building withNrooms and doors

• Instantaneous mode transitions when a door is opened or closed

• Variables taken into account: pressures, temperatures →, air masses, enthalpies, heat and mass flows (compressible air)

• ForNrooms :16N+5equations and variables,6N/2modes

Mode-dependent structural analysis by IsamDAE

• Checks that the model is determined in all modes

• Generates the mode-dependent scheduling graph shown below

• In each mode: description of the (ODE-like) blocks to be compiled into simulation code + dependencies (for their scheduling)

ü Same results, in each mode, as those of standard structural analysis

Scaling-up of the structural analysis by IsamDAE

• The total number of blocks is an affine function ofN

• Experimental computation times: aboutO(N3)

0.01 0.1 1 10 100 1000

5 10 15 20 25 30

building_compressible

Blocks Time (s)

Block diagram in Simulink

Component diagram in Modelica

Non-smooth, or hybrid, systems→Multimode DAE (mDAE)

• In general, mDAE are poorly handled by existing tools ØNo properstructural analysisof mDAE at compile time

Variable dimension systems→Variable dimension models

• (Dis)appearance of components in a CPS would be easily handled

• Such models are not handled by existing tools

Références

Documents relatifs

Key-words: Multi-mode systems, differential algebraic equations, DAE, differential index, structural analysis, operational semantics, nonstandard analysis.. This work is based

We showed how implicit functional representations are used for encoding an mDAE model, and what computations are performed in order to check the structural nonsingularity of the

Multi-mode DAE (mDAE) systems are much harder to deal with, not only because of their mode-dependent dynamics, but essen- tially because of the events and resets occurring at

In both figures, the ‘exact’ solution was determined using a linear modal analysis with 25 linear modes; that is, by simulating the 25-degrees-of-freedom system obtained by

Keywords: Interval analysis, set inversion, constraint propagation, subpaving, neu- tral and retarded time-delays systems, quasipolynomial, robust stability, stabilization,

Ensuite, il s’agit aussi d’un contexte économique tendu qui découle d’une part des enjeux de l’orpaillage illégal (mais aussi légal) dans les diverses zones de protection

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

Then with each shared FMSO set as root FMSO set, we found all the compound FMSO sets ϕ ∈ Φ c for the RO system as if a global model is not available: Algo- rithm 4.1 obtain the