SlideShare une entreprise Scribd logo
1  sur  85
7 June, 2016
Copyright © 2016 by Modelon Inc.
Dr. Hubertus Tummescheit
Board Member, Modelica Association
CEO, Modelon Inc.
Applying FMI/FMU & Modelica for Design and
Co-simulation of Complex Dynamic Systems
 The Functional Mockup Interface: FMI overview
 Modelica: a very brief overview
 A Real-World Example: Active Grill Shutter Controls
 Vehicle Thermal Management with Modelica
 Continuous Validation of System Requirements
• Intermediate results from ITEA3 MODRIO project
 Iterative Controller Development Using Modelica
 Conclusions
•
•
•
•
•
•
•
 an application
programming interface
and its semantics
 an xml schema that
describes the model
structure and capabilities
 the structure of a zip file
that is used to package the
model, its resources and
documentation.
• 85 tools support FMI in 9
different categories.
Supported by >85 tools:
• 0/1-D ODE Simulators
• Multibody Simulators
• HIL Simulators /SIL tool chains
• Scientific Computation tools
• Data analysis tools
• Co-simulation Backplanes
• Software development tools
• Systems engineering tools
• SDKs
•


1. Separate the model authoring tool from the
model execution tool!
2. Free the model unit (FMU) from license
restrictions
3. Make the standard widely accepted:
https://fmi-standard.org/tools
4. Increased Collaboration possibilities among
typically disparate functional areas
5. Reduced risk & reduction in liability through
better virtual verification
 What’s under consideration for the next releases?


•




•
•
•
• Modelica is a special purpose programming language
for modeling cyber-physical systems. Modelica is:
 A vendor-neutral standard
 Multi-domain
 Object oriented
 Equation based (acausal)
 Covers multiple formalisms
 With a consistent graphical and textual system representation
• Modelica is like LEGO for Physical Systems Modeling
Object-Oriented Modeling
Component
• Each Icon represents one physical component.
For example, electrical resistance, mechanical device, pump
Connection
• A connection line represent the actual physical
coupling. For example, electrical wire,
rigid mechanical coupling.
Connector
• Variables in the connectors define the
Interaction to other objects
• A component consists of connected sub-components
(= hierarchical structure) and/or is described by equations.
Analysis
•
•
•
•
•
•
•
•
•
•
•
•
Commercial
Open
Source
•
•




Hardware Model:
Dymola/Modelica
Controller/Software development
platform:
IBM Rational Rhapsody
ANSYS SCADE Suite
The MathWorks® Simulink®
etc.
 Target: best-in-class fuel economy
•
•
 Non-MBSE approach:
•
•
•
•
Sample
Vehicle!
 MBSE approach:
 Integrated model for fuel economy and vehicle thermal
management
• Vehicle model with loads and losses
• Vehicle heat loads (engine, friction, transmission)
• Lumped engine thermal model
• Coolant and oil circuits with possible additions of other
thermal fluid circuits
• Drive cycles (speed, grade, wind, etc.)
• Airflow effects
• Key vehicle and thermal controls (fan, grill, etc.)
 Multi-domain physical model libraries in Modelica
 Libraries developed by Modelon domain experts leveraging
industrial experience and consulting projects
 Thermal
 Mechanical
 Electrical
 Coolant
 Air
Air Flow
Coolant Circuit
Heat from vehicle
systems enters
coolant fluid
Coolant
Boundary conditions define test
case conditions:
• Road grade and surface
• Ambient air (temperature,
pressure, wind speed, etc.)
• Desired vehicle speed profile
(drive cycle)
Ambient
Road
Drive Cycle
0 250 500
-5
0
5
10
15
20
25
30
35
40
Time [s]
0 250 500
-40
0
40
80
120
160
Time [s]
0 250 500
1000
2000
3000
4000
5000
Time [s]
0 250 500
-0.2
0.0
0.2
0.4
0.6
0.8
1.0
1.2
1.4
Time [s]
Fan speed is low
When vehicle is fast
Thermostat opens
As engine warms up
Temperature can
only be exceeded for
at most X seconds
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
Environment
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
These are usually
high level, not always
easily testable.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate
to
Executable
s
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
These are low level
and testable. When
possible also specified
in an open standard
language.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
These exercise the
system dynamics.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
These are the executable checks to
verify the requirements are met.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
Specifying the requirements in a
standard way opens the possibility
to automatically generate the
executable monitors.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
Combining a test
case with one or
more monitors
allows requirements
to be verified.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
The complete set of
executable verifier
models can be tested
automatically.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
The report shows a
summary overview of
the pass/fail results.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
When requirements are
not met, modifications can
be made to the system,
model or even the
requirements.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
The requirements manager
should be able to verify that
all requirements will be
tested by the set of verifier
models.
 MBSE
approach:
Stakeholder Requirements
Design Requirements
Requirements
Manager
Virtual SystemReal System
Formalized
Requirements
Translate to
Executables
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Executable
EnvironmentAll
Pass?
Result Report
Done
Modify:
• Reqs
• System
• Model
Yes
No
Complete
Coverage?
Translate to
Executables
 MBSE
approach:
Stakeholder Requirements
Design Requirements
All
Pass?
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Result Report
Done
Modify:
• Reqs
• System
• Model
Virtual SystemReal System
Executable
EnvironmentYes
Requirements
Manager
No
Complete
Coverage?
Formalized
Requirements
Degree of
Automation?
Stakeholder Requirements
Design Requirements
Requirements
Manager
 Requirements management tools
 IBM DOORS/DOORS NG
 Requirements quality tools
 Requirements Quality Suite from The Reuse Company
 Requirements traceability
 IBM Requisite Pro, integration with ClearQuest for testing, ..
 Reqtify (Dassault Systèmes), links Modelica code to req. in DOORS
 Requirements formalization?
 Testing of requirements against system model?
 Continuous Integration tools to repeat tests for every change to the system?
Translate
to
Executable
s
 MBSE
approach:
Stakeholder Requirements
Design Requirements
All
Pass?
Test Cases
Requirements
Monitors
Verifier Models
Batch
Execution
Result Report
Done
Modify:
• Reqs
• System
• Model
Virtual SystemReal System
Executable
EnvironmentYes
Requirements
Manager
No
Complete
Coverage?
Formalized
Requirements
Focus on
this part
•
Requirements Formalized
requirements
Executable model of
requirements (e.g. FMU)
Physical plant Model of plant
Deployable model
of plant (FMU)
Software spec Software model
or prototype
Deployable model
of software (FMU)
Deployable model
of environment
Automate Analysis
& Deploy to team!
Development of a customized workflow to allow
rapid iterations of plant & software configuration
 ITEA3 Project:
• Model Driven Physical Systems Operation
 WP: Define requirements formally and check them automatically
whenever a Modelica system model is simulated
Example
„Pumps should not cavitate when they are operating“ (p(t) ≥ pcav if operating)
→ Define formally + associate conveniently to all pumps
+ check automatically
+ report issues automatically
Otter et al: Formal Requirements Modeling for Simulation-Based Verification, Modelica’2015
State of the art
• Not practical (impossible) with available Model Checkers since requirements
depend on the numerical solution of Differential-Algebraic Equations (DAE).
• Limited tool support for connecting „textual requirements“ with simulation models
(e.g. Simulink with Validation & Verification toolbox + IBM DOORS;
3DExperience with Reqtify + Dymola, ...).
• Research languages + tools (e.g. ModelicaML from Airbus Innov./LiU).
Natural language:
„Pumps should not cavitate when they are operating“
FORM_L (formal language developed by N. Thuy, EDF)
required property R2 = { P in Pumps | during P.InOperation check not P.Cavitate };
1. Define requirements formally
2. Design Architecture
(e.g. with SysML)
3. Provide Behavioral Models
to evaluate design (Modelica)
4. Associate requirements and
architecture with
behavioral models
5. Verify Behavior
Otter et al: Formal Requirements Modeling for Simulation-Based Verification, Modelica’2015
 Modelica extension to express requirements (under development)
 FORM-L-inspired Modelica library, based on 3-valued logic:
Satisfied, Undecided, Violated
 Large Library of pre-defined requirement structures
  Executable and formal model of requirements, in Modelica
language
(x,y) coordinates of input must stay within
closed polygon
(output: closest distance to polygon +
property)
Test cases exercise system
(or parts of system) under
various operating conditions
Test cases exercise system
(or parts of system) under
various operating conditions
Adding test cases can
improve coverage
Monitors used to check
pass/fail status of
requirements from test cases
• Monitors from the new Modelica
Requirements library (Otter et al., 2015)
• Checks the conditions of the requirement
• Reports pass, fail, or undecided
• Constructed from standard blocks from the
Requirements library
• Monitors can be collected in one submodel,
and be compiled into an FMU as well
M. Otter, N. Thuy, D. Bouskela, L. Buffoni, H. Elmqvist, P. Fritzson, A. Garro, A. Jardin, H. Olsson, M. Payelleville,
W. Schamai, E. Thomas, AND A. Tundis. Formal Requirements Modeling for Simulation-Based Verification. Proceedings of the 11th International
Modelica Conference, Paris, France, September 21-23., pp. 625-635 2015. http://www.ep.liu.se/ecp/118/067/ecp15118625.pdf
Monitors added to test
cases – in this case a
unit test of the simple
controller
Requirements violated (0 of 2):
None
Requirements untested (0 of 2):
None
Requirements satisfied (2 of 2):
(checkReq3.requirement): Grill shutter opened below 15 m/s
(checkReq4.requirement): Grill shutter closed above 18 m/s
0 4 8 12 16 20
-20
-10
0
10
20
0 4 8 12 16 20
-0.2
0.0
0.2
0.4
0.6
0.8
1.0
1.2
Time [s]
Overall pass
or fail log
direct from
library
VehicleVelocity[m/s]GrillCommand[1=open,0=closed]
Vehicle Velocity
Grill Command
 Key features
• Modelica and FMI cross testing platform
• Flexible test authoring
• Automated test execution and reporting
 Architecture
• Core
Command line tool for running tests
Uses OPTIMICA compiler toolkit for test retrieval
• GUI
Tool for creating, updating and running tests
Reviewing and updating results
• Test suite defines a
collection of test cases
for batch execution
• Automated execution of
complete suite of tests
Report shows summary
of results with
hyperlinks to detailed
reports
• CI integration for automated
requirement verification
• Hudson, Jenkins, TeamCity
• The test specification can be in
the Modelica code and
converted
• The test specification can be
created in the GUI and version
controlled
• Multiple reports from same
data:
• Human readable HTML
report
• Machine readable Junit xml
report
1. User commits change to controller
2. Automated testing verifies all
requirements are met
Rapid feedback to developer
when things get broken!
 Initial bang-bang controller with hysteresis
0 250 500
0
10
20
30
40
Time [s]
Vehicle Speed
Closing Threshold
Opening Threshold
Close the shutters
when the vehicle
speed exceeds the
closing thresholdClose Close
Open Open
Open the shutters
when the vehicle
speed is below the
opening threshold
 Implemented as a state machine from Modelica
StateGraph2 library
Activation of states
completely opens or
closes grill shutters
DONE
 State machine transitions
Initial state is
grillOpen
Transition condition to
closed state based on
vehicle speed thresholds
Baseline system without
grill shutters
0 250 500
-5
0
5
10
15
20
25
30
35
40
Null controller holds
grill shutters in wide
open position
Vehicle runs the
US06 drive cycle
VehicleVelocity[m/s]
Baseline system without grill shutters
0 250 500
0
4
8
12
16
20
0 250 500
1000
2000
3000
4000
5000
0 250 500
-500
0
500
1000
1500
2000
2500
3000
0 250 500
80
84
88
92
96
0 250 500
-5
0
5
10
15
20
25
30
35
40
Fuel Economy [mpg]
Engine Speed [RPM]
Coolant Temp [°C]
Fan Speed [RPM]
Vehicle Speed [m/s]
-------- 100.0 % of US06_no_shutters requirements are satisfied -------------
Requirements violated (0 of 3):
None
Requirements untested (0 of 3):
None
Requirements satisfied (3 of 3):
(checkReq1_1.requirement): Coolant temperature must not exceed 368.15K for longer than 20 seconds
(checkReq2_1.requirement): Coolant temperature shall not exceed 371.15K
(checkReq3_1.requirement): Grill shutter opened below 15 m/s
 Connect to system model
Controller commands grill
shutter position, modifies air
flow to stack and aero drag
Replace grill null position controller
with state based control logic
 Execute test cases
0 250 500
-5
0
5
10
15
20
25
30
35
40
Repeat the US06 drive cycle
Review results from
continuous integration
0 250 500
0
4
8
12
16
20
Baseline
Simple Controller
0 250 500
75
80
85
90
95
100
105
110
115
Baseline
Simple Controller
0 250 500
-500
0
500
1000
1500
2000
2500
3000
Baseline
Simple Controller
0 250 500
1000
2000
3000
4000
5000
Baseline
Simple Controller
0 250 500
-5
0
5
10
15
20
25
30
35
40
Baseline
Simple Controller
System with simple grill shutters
Fuel Economy [mpg]
Engine Speed [RPM]
Coolant Temp [°C]
Fan Speed [RPM]
Vehicle Speed [m/s]
-------- 50.0 % of US06_FMU_simpleGC requirements are satisfied -------------
Requirements violated (2 of 4):
(checkReq1_1.requirement at 86.3981 s): Coolant temperature must not exceed 368.15K for longer than
20 seconds
(checkReq2_1.requirement at 111.523 s): Coolant temperature shall not exceed 371.15K
Requirements untested (0 of 4):
None
Requirements satisfied (2 of 4):
(checkReq3_1.requirement): Grill shutter opened below 15 m/s
(checkReq4_1.requirement): Grill shutter closed above 18 m/s
Failed thermal requirements
400 440 480 520 560 600
15.5
16.0
16.5
17.0
17.5
18.0
18.5
19.0
Baseline
Simple Controller
In addition to failed
thermal requirements,
fuel economy actually
decreased!
Fuel Economy [mpg]
75 100 125
94
95
96
97
98
99
100
Baseline
Simple Controller
Temperature exceeds 95°C for
more than 20 seconds
Temperature exceeds 98°C
0 250 500
0
4
8
12
16
20
Baseline
Simple Controller
0 250 500
75
80
85
90
95
100
105
110
115
Baseline
Simple Controller
0 250 500
-500
0
500
1000
1500
2000
2500
3000
Baseline
Simple Controller
0 250 500
1000
2000
3000
4000
5000
Baseline
Simple Controller
0 250 500
-5
0
5
10
15
20
25
30
35
40
Baseline
Simple Controller
System with simple grill shutters
Fuel Economy [mpg]
Engine Speed [RPM]
Coolant Temp [°C]
Fan Speed [RPM]
Vehicle Speed [m/s]
0 250 500
-500
0
500
1000
1500
2000
2500
3000
Baseline
Simple Controller
Closed grill shutters reduces air flow through the stack. Compensated for by
increased the fan speed, draws more electrical power from the alternator…
and ultimately the engine.
Fan Speed
 Improved controller
Additional inputs to account for
system temperatures
 Improved controller
Additional state for new logic
 Improved controller
PID modulates grill position based on
weighted average temperature
Replace the simple bang-bang control
logic with the improved controller
0 250 500
-5
0
5
10
15
20
25
30
35
40
Repeat the US06
drive cycle
Review results from
continuous integration
Requirements now pass
across multiple test cases
0 250 500
0
4
8
12
16
20
Baseline
Simple Controller
Improved Controller
0 250 500
1000
2000
3000
4000
5000
Baseline
Simple Controller
Improved Controller
0 250 500
75
80
85
90
95
100
105
110
115
Baseline
Simple Controller
Improved Controller
0 250 500
-500
0
500
1000
1500
2000
2500
3000
Baseline
Simple Controller
Improved Controller
0 250 500
-5
0
5
10
15
20
25
30
35
40
Baseline
Simple Controller
Improved Controller
System with improved grill controller
Fuel Economy [mpg]
Engine Speed [RPM]
Coolant Temp [°C]
Fan Speed [RPM]
Vehicle Speed [m/s]
-------- 100.0 % of US06_FMU_advancedGC requirements are satisfied -------------
Requirements violated (0 of 3):
None
Requirements untested (0 of 3):
None
Requirements satisfied (3 of 3):
(checkReq1_1.requirement): Coolant temperature must not exceed 368.15K for longer than 20 seconds
(checkReq2_1.requirement): Coolant temperature shall not exceed 371.15K
(checkReq3_1.requirement): Grill shutter opened below 15 m/s
Requirements now pass
400 440 480 520 560 600
15.5
16.0
16.5
17.0
17.5
18.0
18.5
19.0
19.5
Baseline
Simple Controller
Improved Controller
Fuel economy improved,
also over baseline
Fuel Economy [mpg]
• Further integration with MBSE/Reqs tools
for fully automated traceability
• Complete automation of requirements
verifcation process
• … much more progress on tools is needed to
have a coherent work flow from
 stakeholder requirements to
 formal requirements and finally
 fully automated requirements verification.
• FMI simplifies tool connectivity and allows more
efficient work flows & processes
• FMI enables true MBSE, with executable models
• Requirements monitors make the requirements
executable and enables the ability to check
requirements compliance continuously during
systems development
• Process automation is key to integrate the
requirements verification with MBD.
Modelon Modelica executable requirements Ansys Conference 2016

Contenu connexe

Tendances

Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
Modelon
 
Rit 8.5.0 platform training slides
Rit 8.5.0 platform training slidesRit 8.5.0 platform training slides
Rit 8.5.0 platform training slides
Darrel Rader
 
Rit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slidesRit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slides
Darrel Rader
 
Rit 8.5.0 training release notes
Rit 8.5.0 training release notesRit 8.5.0 training release notes
Rit 8.5.0 training release notes
Darrel Rader
 
1230---assembly-integration-verification-of-systems-of-systems
1230---assembly-integration-verification-of-systems-of-systems1230---assembly-integration-verification-of-systems-of-systems
1230---assembly-integration-verification-of-systems-of-systems
Rubén Colomina Citoler
 

Tendances (20)

Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
 
Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
 
FMI Composer Overview
FMI Composer OverviewFMI Composer Overview
FMI Composer Overview
 
Automotive engineering design - Model Based Design
Automotive engineering design - Model Based DesignAutomotive engineering design - Model Based Design
Automotive engineering design - Model Based Design
 
Model-Based Design For Motor Control Development
Model-Based Design For Motor Control DevelopmentModel-Based Design For Motor Control Development
Model-Based Design For Motor Control Development
 
Model based development(MBD)
Model based development(MBD) Model based development(MBD)
Model based development(MBD)
 
Results of model-based testing in automotive
Results of model-based testing in automotiveResults of model-based testing in automotive
Results of model-based testing in automotive
 
Rit 8.5.0 platform training slides
Rit 8.5.0 platform training slidesRit 8.5.0 platform training slides
Rit 8.5.0 platform training slides
 
Rit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slidesRit 8.5.0 virtualization training slides
Rit 8.5.0 virtualization training slides
 
Rit 8.5.0 training release notes
Rit 8.5.0 training release notesRit 8.5.0 training release notes
Rit 8.5.0 training release notes
 
Innovative Test Automation Solution
Innovative Test Automation SolutionInnovative Test Automation Solution
Innovative Test Automation Solution
 
Control & HMI Emulation Project
Control & HMI Emulation ProjectControl & HMI Emulation Project
Control & HMI Emulation Project
 
Vineel presentation
Vineel presentationVineel presentation
Vineel presentation
 
Matthew Hause Building Bridges between Systems and Software with SysML and UML
Matthew Hause Building Bridges between Systems and Software with SysML and UMLMatthew Hause Building Bridges between Systems and Software with SysML and UML
Matthew Hause Building Bridges between Systems and Software with SysML and UML
 
SysML for embedded system engineering - Academy Camp 2015
SysML for embedded system engineering - Academy Camp 2015SysML for embedded system engineering - Academy Camp 2015
SysML for embedded system engineering - Academy Camp 2015
 
1230---assembly-integration-verification-of-systems-of-systems
1230---assembly-integration-verification-of-systems-of-systems1230---assembly-integration-verification-of-systems-of-systems
1230---assembly-integration-verification-of-systems-of-systems
 
Jagger: Сервер непрерывного тестирования производительности
Jagger: Сервер непрерывного тестирования производительностиJagger: Сервер непрерывного тестирования производительности
Jagger: Сервер непрерывного тестирования производительности
 
Scale to the heights with cascading service navigators
Scale to the heights with cascading service navigatorsScale to the heights with cascading service navigators
Scale to the heights with cascading service navigators
 
Multi-Unit Severe Accident Simulation
Multi-Unit Severe Accident SimulationMulti-Unit Severe Accident Simulation
Multi-Unit Severe Accident Simulation
 
Software AG Application Modularity - OSGi and JPMS (Jigsaw)
Software AG Application Modularity - OSGi and JPMS (Jigsaw)Software AG Application Modularity - OSGi and JPMS (Jigsaw)
Software AG Application Modularity - OSGi and JPMS (Jigsaw)
 

En vedette

Modelon JSME 2016 - Model Based Design for Fuel Cell Systems
Modelon JSME 2016 - Model Based Design for Fuel Cell SystemsModelon JSME 2016 - Model Based Design for Fuel Cell Systems
Modelon JSME 2016 - Model Based Design for Fuel Cell Systems
Modelon
 

En vedette (11)

Modelica Tutorial with PowerSystems: A tutorial for Modelica simulation
Modelica Tutorial with PowerSystems: A tutorial for Modelica simulationModelica Tutorial with PowerSystems: A tutorial for Modelica simulation
Modelica Tutorial with PowerSystems: A tutorial for Modelica simulation
 
Using Git with Rational Team Concert and Rational ClearCase in enterprise env...
Using Git with Rational Team Concert and Rational ClearCase in enterprise env...Using Git with Rational Team Concert and Rational ClearCase in enterprise env...
Using Git with Rational Team Concert and Rational ClearCase in enterprise env...
 
Modelon JSME 2016 - Model Based Design for Fuel Cell Systems
Modelon JSME 2016 - Model Based Design for Fuel Cell SystemsModelon JSME 2016 - Model Based Design for Fuel Cell Systems
Modelon JSME 2016 - Model Based Design for Fuel Cell Systems
 
Dynamic modeling of a central receiver CSP powerplant
Dynamic modeling of a central receiver CSP powerplantDynamic modeling of a central receiver CSP powerplant
Dynamic modeling of a central receiver CSP powerplant
 
What Nobody's Telling You About Agile and DevOps
What Nobody's Telling You About Agile and DevOpsWhat Nobody's Telling You About Agile and DevOps
What Nobody's Telling You About Agile and DevOps
 
Automated Deployment of Modelica Models in Excel via Functional Mockup Interf...
Automated Deployment of Modelica Models in Excel via Functional Mockup Interf...Automated Deployment of Modelica Models in Excel via Functional Mockup Interf...
Automated Deployment of Modelica Models in Excel via Functional Mockup Interf...
 
Environmental Control Library - Overview
Environmental Control Library - OverviewEnvironmental Control Library - Overview
Environmental Control Library - Overview
 
Modelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation SolutionModelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation Solution
 
Multi phase mixture media
Multi phase mixture mediaMulti phase mixture media
Multi phase mixture media
 
A framework for nonlinear model predictive control
A framework for nonlinear model predictive controlA framework for nonlinear model predictive control
A framework for nonlinear model predictive control
 
Model Testing Toolkit - Overview
Model Testing Toolkit - OverviewModel Testing Toolkit - Overview
Model Testing Toolkit - Overview
 

Similaire à Modelon Modelica executable requirements Ansys Conference 2016

Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Lionel Briand
 

Similaire à Modelon Modelica executable requirements Ansys Conference 2016 (20)

Incremental Queries and Transformations for Engineering Critical Systems
Incremental Queries and Transformations for Engineering Critical SystemsIncremental Queries and Transformations for Engineering Critical Systems
Incremental Queries and Transformations for Engineering Critical Systems
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDraw
 
Presentation Verification & Validation
Presentation Verification & ValidationPresentation Verification & Validation
Presentation Verification & Validation
 
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery LabsIncquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
 
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
ppt2.pptx
ppt2.pptxppt2.pptx
ppt2.pptx
 
Architecting Design Development Test Request System in Aras
Architecting Design Development Test Request System in ArasArchitecting Design Development Test Request System in Aras
Architecting Design Development Test Request System in Aras
 
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
 
Introduction to TTCN-3 and AUTOSAR Conformance Testing
Introduction to TTCN-3 and AUTOSAR Conformance TestingIntroduction to TTCN-3 and AUTOSAR Conformance Testing
Introduction to TTCN-3 and AUTOSAR Conformance Testing
 
Automated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow ControllersAutomated Testing of Hybrid Simulink/Stateflow Controllers
Automated Testing of Hybrid Simulink/Stateflow Controllers
 
Design principles & quality factors
Design principles & quality factorsDesign principles & quality factors
Design principles & quality factors
 
Exploring thousands of configurations: Find the best design out of infinite v...
Exploring thousands of configurations: Find the best design out of infinite v...Exploring thousands of configurations: Find the best design out of infinite v...
Exploring thousands of configurations: Find the best design out of infinite v...
 
Amq Overview Continuous Quality Assurance
Amq Overview Continuous Quality AssuranceAmq Overview Continuous Quality Assurance
Amq Overview Continuous Quality Assurance
 
Iscope Digital Media Offshore Software Development Company
Iscope Digital Media Offshore Software Development CompanyIscope Digital Media Offshore Software Development Company
Iscope Digital Media Offshore Software Development Company
 
software development life cycle
software development life cyclesoftware development life cycle
software development life cycle
 
Offshore Software Development company India
Offshore Software Development company IndiaOffshore Software Development company India
Offshore Software Development company India
 
[2015/2016] Software development process
[2015/2016] Software development process[2015/2016] Software development process
[2015/2016] Software development process
 
Hardware-Software allocation specification of IMA systems for early simulation
Hardware-Software allocation specification of IMA systems for early simulationHardware-Software allocation specification of IMA systems for early simulation
Hardware-Software allocation specification of IMA systems for early simulation
 

Plus de Modelon

Plus de Modelon (18)

Vehicle Dynamics Library - Overview
Vehicle Dynamics Library - OverviewVehicle Dynamics Library - Overview
Vehicle Dynamics Library - Overview
 
Vapor Cycle Library - Overview
Vapor Cycle Library - OverviewVapor Cycle Library - Overview
Vapor Cycle Library - Overview
 
Thermal Power Library - Overview
Thermal Power Library - OverviewThermal Power Library - Overview
Thermal Power Library - Overview
 
Pneumatics Library - Overview
Pneumatics Library - OverviewPneumatics Library - Overview
Pneumatics Library - Overview
 
Liquid Cooling Library - Overview
Liquid Cooling Library - OverviewLiquid Cooling Library - Overview
Liquid Cooling Library - Overview
 
Jet Propulsion Library - Overview
Jet Propulsion Library - OverviewJet Propulsion Library - Overview
Jet Propulsion Library - Overview
 
Heat Exchanger Library - Overview
Heat Exchanger Library - OverviewHeat Exchanger Library - Overview
Heat Exchanger Library - Overview
 
Hydro Power Library - Overview
Hydro Power Library - OverviewHydro Power Library - Overview
Hydro Power Library - Overview
 
Hydraulics Library - Overview
Hydraulics Library - OverviewHydraulics Library - Overview
Hydraulics Library - Overview
 
Fuel System Library Overview
Fuel System Library OverviewFuel System Library Overview
Fuel System Library Overview
 
Fuel Cell Library - Overview
Fuel Cell Library - OverviewFuel Cell Library - Overview
Fuel Cell Library - Overview
 
Electric Power Library - Overview
Electric Power Library - OverviewElectric Power Library - Overview
Electric Power Library - Overview
 
Electrification Library - Overview
Electrification Library - OverviewElectrification Library - Overview
Electrification Library - Overview
 
Engine Dynamics Library - Overview
Engine Dynamics Library - OverviewEngine Dynamics Library - Overview
Engine Dynamics Library - Overview
 
Environmental Control Library - Overview
Environmental Control Library - OverviewEnvironmental Control Library - Overview
Environmental Control Library - Overview
 
Aircraft Dynamics Library - Overview
Aircraft Dynamics Library - OverviewAircraft Dynamics Library - Overview
Aircraft Dynamics Library - Overview
 
Air Conditioning Library - Overview
Air Conditioning Library - OverviewAir Conditioning Library - Overview
Air Conditioning Library - Overview
 
Fuel System Library - Overview
Fuel System Library - OverviewFuel System Library - Overview
Fuel System Library - Overview
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Modelon Modelica executable requirements Ansys Conference 2016

  • 1. 7 June, 2016 Copyright © 2016 by Modelon Inc. Dr. Hubertus Tummescheit Board Member, Modelica Association CEO, Modelon Inc. Applying FMI/FMU & Modelica for Design and Co-simulation of Complex Dynamic Systems
  • 2.  The Functional Mockup Interface: FMI overview  Modelica: a very brief overview  A Real-World Example: Active Grill Shutter Controls  Vehicle Thermal Management with Modelica  Continuous Validation of System Requirements • Intermediate results from ITEA3 MODRIO project  Iterative Controller Development Using Modelica  Conclusions
  • 3.
  • 5. •  an application programming interface and its semantics  an xml schema that describes the model structure and capabilities  the structure of a zip file that is used to package the model, its resources and documentation. • 85 tools support FMI in 9 different categories. Supported by >85 tools: • 0/1-D ODE Simulators • Multibody Simulators • HIL Simulators /SIL tool chains • Scientific Computation tools • Data analysis tools • Co-simulation Backplanes • Software development tools • Systems engineering tools • SDKs
  • 6.
  • 8. 1. Separate the model authoring tool from the model execution tool! 2. Free the model unit (FMU) from license restrictions 3. Make the standard widely accepted: https://fmi-standard.org/tools 4. Increased Collaboration possibilities among typically disparate functional areas 5. Reduced risk & reduction in liability through better virtual verification
  • 9.  What’s under consideration for the next releases?   •     • • •
  • 10. • Modelica is a special purpose programming language for modeling cyber-physical systems. Modelica is:  A vendor-neutral standard  Multi-domain  Object oriented  Equation based (acausal)  Covers multiple formalisms  With a consistent graphical and textual system representation • Modelica is like LEGO for Physical Systems Modeling
  • 11. Object-Oriented Modeling Component • Each Icon represents one physical component. For example, electrical resistance, mechanical device, pump Connection • A connection line represent the actual physical coupling. For example, electrical wire, rigid mechanical coupling. Connector • Variables in the connectors define the Interaction to other objects • A component consists of connected sub-components (= hierarchical structure) and/or is described by equations. Analysis
  • 13.
  • 14.
  • 15. •     Hardware Model: Dymola/Modelica Controller/Software development platform: IBM Rational Rhapsody ANSYS SCADE Suite The MathWorks® Simulink® etc.
  • 16.  Target: best-in-class fuel economy • •
  • 19.
  • 20.  Integrated model for fuel economy and vehicle thermal management • Vehicle model with loads and losses • Vehicle heat loads (engine, friction, transmission) • Lumped engine thermal model • Coolant and oil circuits with possible additions of other thermal fluid circuits • Drive cycles (speed, grade, wind, etc.) • Airflow effects • Key vehicle and thermal controls (fan, grill, etc.)
  • 21.  Multi-domain physical model libraries in Modelica  Libraries developed by Modelon domain experts leveraging industrial experience and consulting projects
  • 22.  Thermal  Mechanical  Electrical  Coolant  Air
  • 23. Air Flow Coolant Circuit Heat from vehicle systems enters coolant fluid Coolant
  • 24. Boundary conditions define test case conditions: • Road grade and surface • Ambient air (temperature, pressure, wind speed, etc.) • Desired vehicle speed profile (drive cycle) Ambient Road Drive Cycle
  • 25. 0 250 500 -5 0 5 10 15 20 25 30 35 40 Time [s] 0 250 500 -40 0 40 80 120 160 Time [s] 0 250 500 1000 2000 3000 4000 5000 Time [s] 0 250 500 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 Time [s]
  • 26. Fan speed is low When vehicle is fast Thermostat opens As engine warms up Temperature can only be exceeded for at most X seconds
  • 27.
  • 28.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager
  • 29.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System
  • 30.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements
  • 31.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable Environment
  • 32.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage?
  • 33.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? These are usually high level, not always easily testable.
  • 34.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executable s Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? These are low level and testable. When possible also specified in an open standard language.
  • 35.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? These exercise the system dynamics.
  • 36.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? These are the executable checks to verify the requirements are met.
  • 37.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? Specifying the requirements in a standard way opens the possibility to automatically generate the executable monitors.
  • 38.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? Combining a test case with one or more monitors allows requirements to be verified.
  • 39.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? The complete set of executable verifier models can be tested automatically.
  • 40.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? The report shows a summary overview of the pass/fail results.
  • 41.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? When requirements are not met, modifications can be made to the system, model or even the requirements.
  • 42.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage? The requirements manager should be able to verify that all requirements will be tested by the set of verifier models.
  • 43.  MBSE approach: Stakeholder Requirements Design Requirements Requirements Manager Virtual SystemReal System Formalized Requirements Translate to Executables Test Cases Requirements Monitors Verifier Models Batch Execution Executable EnvironmentAll Pass? Result Report Done Modify: • Reqs • System • Model Yes No Complete Coverage?
  • 44. Translate to Executables  MBSE approach: Stakeholder Requirements Design Requirements All Pass? Test Cases Requirements Monitors Verifier Models Batch Execution Result Report Done Modify: • Reqs • System • Model Virtual SystemReal System Executable EnvironmentYes Requirements Manager No Complete Coverage? Formalized Requirements Degree of Automation?
  • 45. Stakeholder Requirements Design Requirements Requirements Manager  Requirements management tools  IBM DOORS/DOORS NG  Requirements quality tools  Requirements Quality Suite from The Reuse Company  Requirements traceability  IBM Requisite Pro, integration with ClearQuest for testing, ..  Reqtify (Dassault Systèmes), links Modelica code to req. in DOORS  Requirements formalization?  Testing of requirements against system model?  Continuous Integration tools to repeat tests for every change to the system?
  • 46. Translate to Executable s  MBSE approach: Stakeholder Requirements Design Requirements All Pass? Test Cases Requirements Monitors Verifier Models Batch Execution Result Report Done Modify: • Reqs • System • Model Virtual SystemReal System Executable EnvironmentYes Requirements Manager No Complete Coverage? Formalized Requirements Focus on this part
  • 47. • Requirements Formalized requirements Executable model of requirements (e.g. FMU) Physical plant Model of plant Deployable model of plant (FMU) Software spec Software model or prototype Deployable model of software (FMU) Deployable model of environment Automate Analysis & Deploy to team! Development of a customized workflow to allow rapid iterations of plant & software configuration
  • 48.  ITEA3 Project: • Model Driven Physical Systems Operation  WP: Define requirements formally and check them automatically whenever a Modelica system model is simulated Example „Pumps should not cavitate when they are operating“ (p(t) ≥ pcav if operating) → Define formally + associate conveniently to all pumps + check automatically + report issues automatically Otter et al: Formal Requirements Modeling for Simulation-Based Verification, Modelica’2015 State of the art • Not practical (impossible) with available Model Checkers since requirements depend on the numerical solution of Differential-Algebraic Equations (DAE). • Limited tool support for connecting „textual requirements“ with simulation models (e.g. Simulink with Validation & Verification toolbox + IBM DOORS; 3DExperience with Reqtify + Dymola, ...). • Research languages + tools (e.g. ModelicaML from Airbus Innov./LiU).
  • 49. Natural language: „Pumps should not cavitate when they are operating“ FORM_L (formal language developed by N. Thuy, EDF) required property R2 = { P in Pumps | during P.InOperation check not P.Cavitate }; 1. Define requirements formally 2. Design Architecture (e.g. with SysML) 3. Provide Behavioral Models to evaluate design (Modelica) 4. Associate requirements and architecture with behavioral models 5. Verify Behavior Otter et al: Formal Requirements Modeling for Simulation-Based Verification, Modelica’2015
  • 50.  Modelica extension to express requirements (under development)  FORM-L-inspired Modelica library, based on 3-valued logic: Satisfied, Undecided, Violated  Large Library of pre-defined requirement structures   Executable and formal model of requirements, in Modelica language (x,y) coordinates of input must stay within closed polygon (output: closest distance to polygon + property)
  • 51.
  • 52.
  • 53. Test cases exercise system (or parts of system) under various operating conditions Test cases exercise system (or parts of system) under various operating conditions Adding test cases can improve coverage
  • 54. Monitors used to check pass/fail status of requirements from test cases
  • 55. • Monitors from the new Modelica Requirements library (Otter et al., 2015) • Checks the conditions of the requirement • Reports pass, fail, or undecided • Constructed from standard blocks from the Requirements library • Monitors can be collected in one submodel, and be compiled into an FMU as well M. Otter, N. Thuy, D. Bouskela, L. Buffoni, H. Elmqvist, P. Fritzson, A. Garro, A. Jardin, H. Olsson, M. Payelleville, W. Schamai, E. Thomas, AND A. Tundis. Formal Requirements Modeling for Simulation-Based Verification. Proceedings of the 11th International Modelica Conference, Paris, France, September 21-23., pp. 625-635 2015. http://www.ep.liu.se/ecp/118/067/ecp15118625.pdf
  • 56. Monitors added to test cases – in this case a unit test of the simple controller Requirements violated (0 of 2): None Requirements untested (0 of 2): None Requirements satisfied (2 of 2): (checkReq3.requirement): Grill shutter opened below 15 m/s (checkReq4.requirement): Grill shutter closed above 18 m/s 0 4 8 12 16 20 -20 -10 0 10 20 0 4 8 12 16 20 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 Time [s] Overall pass or fail log direct from library VehicleVelocity[m/s]GrillCommand[1=open,0=closed] Vehicle Velocity Grill Command
  • 57.
  • 58.  Key features • Modelica and FMI cross testing platform • Flexible test authoring • Automated test execution and reporting  Architecture • Core Command line tool for running tests Uses OPTIMICA compiler toolkit for test retrieval • GUI Tool for creating, updating and running tests Reviewing and updating results
  • 59. • Test suite defines a collection of test cases for batch execution • Automated execution of complete suite of tests
  • 60. Report shows summary of results with hyperlinks to detailed reports
  • 61. • CI integration for automated requirement verification • Hudson, Jenkins, TeamCity • The test specification can be in the Modelica code and converted • The test specification can be created in the GUI and version controlled • Multiple reports from same data: • Human readable HTML report • Machine readable Junit xml report
  • 62. 1. User commits change to controller 2. Automated testing verifies all requirements are met Rapid feedback to developer when things get broken!
  • 63.
  • 64.  Initial bang-bang controller with hysteresis 0 250 500 0 10 20 30 40 Time [s] Vehicle Speed Closing Threshold Opening Threshold Close the shutters when the vehicle speed exceeds the closing thresholdClose Close Open Open Open the shutters when the vehicle speed is below the opening threshold
  • 65.  Implemented as a state machine from Modelica StateGraph2 library Activation of states completely opens or closes grill shutters DONE
  • 66.  State machine transitions Initial state is grillOpen Transition condition to closed state based on vehicle speed thresholds
  • 67.
  • 68. Baseline system without grill shutters 0 250 500 -5 0 5 10 15 20 25 30 35 40 Null controller holds grill shutters in wide open position Vehicle runs the US06 drive cycle VehicleVelocity[m/s]
  • 69. Baseline system without grill shutters 0 250 500 0 4 8 12 16 20 0 250 500 1000 2000 3000 4000 5000 0 250 500 -500 0 500 1000 1500 2000 2500 3000 0 250 500 80 84 88 92 96 0 250 500 -5 0 5 10 15 20 25 30 35 40 Fuel Economy [mpg] Engine Speed [RPM] Coolant Temp [°C] Fan Speed [RPM] Vehicle Speed [m/s] -------- 100.0 % of US06_no_shutters requirements are satisfied ------------- Requirements violated (0 of 3): None Requirements untested (0 of 3): None Requirements satisfied (3 of 3): (checkReq1_1.requirement): Coolant temperature must not exceed 368.15K for longer than 20 seconds (checkReq2_1.requirement): Coolant temperature shall not exceed 371.15K (checkReq3_1.requirement): Grill shutter opened below 15 m/s
  • 70.  Connect to system model Controller commands grill shutter position, modifies air flow to stack and aero drag Replace grill null position controller with state based control logic
  • 71.  Execute test cases 0 250 500 -5 0 5 10 15 20 25 30 35 40 Repeat the US06 drive cycle
  • 73. 0 250 500 0 4 8 12 16 20 Baseline Simple Controller 0 250 500 75 80 85 90 95 100 105 110 115 Baseline Simple Controller 0 250 500 -500 0 500 1000 1500 2000 2500 3000 Baseline Simple Controller 0 250 500 1000 2000 3000 4000 5000 Baseline Simple Controller 0 250 500 -5 0 5 10 15 20 25 30 35 40 Baseline Simple Controller System with simple grill shutters Fuel Economy [mpg] Engine Speed [RPM] Coolant Temp [°C] Fan Speed [RPM] Vehicle Speed [m/s] -------- 50.0 % of US06_FMU_simpleGC requirements are satisfied ------------- Requirements violated (2 of 4): (checkReq1_1.requirement at 86.3981 s): Coolant temperature must not exceed 368.15K for longer than 20 seconds (checkReq2_1.requirement at 111.523 s): Coolant temperature shall not exceed 371.15K Requirements untested (0 of 4): None Requirements satisfied (2 of 4): (checkReq3_1.requirement): Grill shutter opened below 15 m/s (checkReq4_1.requirement): Grill shutter closed above 18 m/s Failed thermal requirements 400 440 480 520 560 600 15.5 16.0 16.5 17.0 17.5 18.0 18.5 19.0 Baseline Simple Controller In addition to failed thermal requirements, fuel economy actually decreased! Fuel Economy [mpg] 75 100 125 94 95 96 97 98 99 100 Baseline Simple Controller Temperature exceeds 95°C for more than 20 seconds Temperature exceeds 98°C
  • 74. 0 250 500 0 4 8 12 16 20 Baseline Simple Controller 0 250 500 75 80 85 90 95 100 105 110 115 Baseline Simple Controller 0 250 500 -500 0 500 1000 1500 2000 2500 3000 Baseline Simple Controller 0 250 500 1000 2000 3000 4000 5000 Baseline Simple Controller 0 250 500 -5 0 5 10 15 20 25 30 35 40 Baseline Simple Controller System with simple grill shutters Fuel Economy [mpg] Engine Speed [RPM] Coolant Temp [°C] Fan Speed [RPM] Vehicle Speed [m/s] 0 250 500 -500 0 500 1000 1500 2000 2500 3000 Baseline Simple Controller Closed grill shutters reduces air flow through the stack. Compensated for by increased the fan speed, draws more electrical power from the alternator… and ultimately the engine. Fan Speed
  • 75.
  • 76.  Improved controller Additional inputs to account for system temperatures
  • 77.  Improved controller Additional state for new logic
  • 78.  Improved controller PID modulates grill position based on weighted average temperature
  • 79.
  • 80. Replace the simple bang-bang control logic with the improved controller 0 250 500 -5 0 5 10 15 20 25 30 35 40 Repeat the US06 drive cycle
  • 81. Review results from continuous integration Requirements now pass across multiple test cases
  • 82. 0 250 500 0 4 8 12 16 20 Baseline Simple Controller Improved Controller 0 250 500 1000 2000 3000 4000 5000 Baseline Simple Controller Improved Controller 0 250 500 75 80 85 90 95 100 105 110 115 Baseline Simple Controller Improved Controller 0 250 500 -500 0 500 1000 1500 2000 2500 3000 Baseline Simple Controller Improved Controller 0 250 500 -5 0 5 10 15 20 25 30 35 40 Baseline Simple Controller Improved Controller System with improved grill controller Fuel Economy [mpg] Engine Speed [RPM] Coolant Temp [°C] Fan Speed [RPM] Vehicle Speed [m/s] -------- 100.0 % of US06_FMU_advancedGC requirements are satisfied ------------- Requirements violated (0 of 3): None Requirements untested (0 of 3): None Requirements satisfied (3 of 3): (checkReq1_1.requirement): Coolant temperature must not exceed 368.15K for longer than 20 seconds (checkReq2_1.requirement): Coolant temperature shall not exceed 371.15K (checkReq3_1.requirement): Grill shutter opened below 15 m/s Requirements now pass 400 440 480 520 560 600 15.5 16.0 16.5 17.0 17.5 18.0 18.5 19.0 19.5 Baseline Simple Controller Improved Controller Fuel economy improved, also over baseline Fuel Economy [mpg]
  • 83. • Further integration with MBSE/Reqs tools for fully automated traceability • Complete automation of requirements verifcation process • … much more progress on tools is needed to have a coherent work flow from  stakeholder requirements to  formal requirements and finally  fully automated requirements verification.
  • 84. • FMI simplifies tool connectivity and allows more efficient work flows & processes • FMI enables true MBSE, with executable models • Requirements monitors make the requirements executable and enables the ability to check requirements compliance continuously during systems development • Process automation is key to integrate the requirements verification with MBD.

Notes de l'éditeur

  1. We discussed the Modelica for feature design and ROM for functional fidelity design, next is the Interfaces for multiple kinds simulation design including X-in-the-loop interfaces, and also dynamics integration, steady-state simulation, optimization, robust design,… The key is FMI. What is FMI?... There are currently 77 tools claimed to support FMI. And we can classify them into 7 categories. We see that FMI is actually not restricted within X-in-the-loop interface but has also affect to the interoperability at feature design and fidelity design.
  2. SIAM
  3. This example is related to a real world example. An automaker (vehicle is just for show and does not reflect actual OEM) set out to develop a new car with a target for best in class fuel economy. To achieve this target, new technology (grill shutters) were added to the vehicle. The grill shutters can be closed to reduce aero drag and thus fuel consumption. However, they also affect the airflow to the cooling system and thus degrade cooling. So, along with this new technology are new control strategies for controlling the grill shutters. As requirements get cascaded, organizations use their tools to assess their systems to requirements. Many of these tools do not comprehend thermal behavior (historically many fuel consumption models ignore thermal) and thus may not pick up key interactions here. Two requirements are at odds here so we must balance them appropriately. In this particular case, the fuel consumption target was met by the team by being very aggressive with the grill shutters and their non-thermal models provided that as a good solution. Then the thermal guys see this behavior and see that the coolant is way too hot. So, they need to add fans to meet their cooling requirements. In this case, the addition of fans never made it back to the fuel consumption model (different tools, different groups, etc.). Thus, the vehicle was built with higher cost (additional fans) and also missed the fuel economy target. We are addressing this use case for an integrated vehicle thermal management model with our libraries and our customers. We have seen this same issue several times. The issue is not that people don’t understand that grill shutters degrade cooling. That should be obvious and it should be obvious that fans require power. However, in a world where many CAE tools where developed without multi-domain capability or with certain assumptions being made, it is easy to miss key interactions that are important as new systems/technologies are integrated or the systems become more complex.
  4. This example is related to a real world example. An automaker (vehicle is just for show and does not reflect actual OEM) set out to develop a new car with a target for best in class fuel economy. To achieve this target, new technology (grill shutters) were added to the vehicle. The grill shutters can be closed to reduce aero drag and thus fuel consumption. However, they also affect the airflow to the cooling system and thus degrade cooling. So, along with this new technology are new control strategies for controlling the grill shutters. As requirements get cascaded, organizations use their tools to assess their systems to requirements. Many of these tools do not comprehend thermal behavior (historically many fuel consumption models ignore thermal) and thus may not pick up key interactions here. Two requirements are at odds here so we must balance them appropriately. In this particular case, the fuel consumption target was met by the team by being very aggressive with the grill shutters and their non-thermal models provided that as a good solution. Then the thermal guys see this behavior and see that the coolant is way too hot. So, they need to add fans to meet their cooling requirements. In this case, the addition of fans never made it back to the fuel consumption model (different tools, different groups, etc.). Thus, the vehicle was built with higher cost (additional fans) and also missed the fuel economy target. We are addressing this use case for an integrated vehicle thermal management model with our libraries and our customers. We have seen this same issue several times. The issue is not that people don’t understand that grill shutters degrade cooling. That should be obvious and it should be obvious that fans require power. However, in a world where many CAE tools where developed without multi-domain capability or with certain assumptions being made, it is easy to miss key interactions that are important as new systems/technologies are integrated or the systems become more complex.
  5. This example is related to a real world example. An automaker (vehicle is just for show and does not reflect actual OEM) set out to develop a new car with a target for best in class fuel economy. To achieve this target, new technology (grill shutters) were added to the vehicle. The grill shutters can be closed to reduce aero drag and thus fuel consumption. However, they also affect the airflow to the cooling system and thus degrade cooling. So, along with this new technology are new control strategies for controlling the grill shutters. As requirements get cascaded, organizations use their tools to assess their systems to requirements. Many of these tools do not comprehend thermal behavior (historically many fuel consumption models ignore thermal) and thus may not pick up key interactions here. Two requirements are at odds here so we must balance them appropriately. In this particular case, the fuel consumption target was met by the team by being very aggressive with the grill shutters and their non-thermal models provided that as a good solution. Then the thermal guys see this behavior and see that the coolant is way too hot. So, they need to add fans to meet their cooling requirements. In this case, the addition of fans never made it back to the fuel consumption model (different tools, different groups, etc.). Thus, the vehicle was built with higher cost (additional fans) and also missed the fuel economy target. We are addressing this use case for an integrated vehicle thermal management model with our libraries and our customers. We have seen this same issue several times. The issue is not that people don’t understand that grill shutters degrade cooling. That should be obvious and it should be obvious that fans require power. However, in a world where many CAE tools where developed without multi-domain capability or with certain assumptions being made, it is easy to miss key interactions that are important as new systems/technologies are integrated or the systems become more complex.
  6. This list is just a description of the type of model needed to assess this kind of problem. We have demo models like this and are working with customers to develop their specific models. Our libraries fully support this kind of modeling (simplified VDL for vehicle modeling, Liquid Cooling, Heat Exchanger, Engine Dynamics, etc.).
  7. Here is a picture of a top level demo model for VTM. The various interactions are shown in the upper right hand color and correspond to the connection colors. We use the same driver and vehicle model architecture from VDL to leverage all that work and to also allow scalable vehicle model implementations. The model includes a simple representation of the heat exchanger stack from LCL. I can provide pictures of any other subsystems that you might want to show.
  8. This slide just shows how the vehicle model also includes the driver and the drive cycle. This slide may not be all that interesting if you need to reduce the number of slides. Again, we utilize VDL here but just use simplified models that are typical for drive cycle work.
  9. This slide shows typical drive cycle fuel consumption results (vehicle speed, engine torque, engine speed, and fuel consumed). Note that these results are from a demo model and they do not represent any actual vehicle.
  10. This slide shows results from the same sim but focusing on the thermal side. Here we show coolant and oil temp, thermostat opening for the coolant, fan speed based on the fan controller, and the air temperatures in the HX stack (there is no capacitance on the air side so you see some changes reflected instantly in the temperatures). The drop in coolant and oil temps just before 1200s is due to the fan being commanded on. These control strategies are very simple and just for demo purposes. Note, I removed the old slide as it was not as illustrative and actually came from a different sim thus there was no alignment with the previous results. My bad.
  11. This example is related to a real world example. An automaker (vehicle is just for show and does not reflect actual OEM) set out to develop a new car with a target for best in class fuel economy. To achieve this target, new technology (grill shutters) were added to the vehicle. The grill shutters can be closed to reduce aero drag and thus fuel consumption. However, they also affect the airflow to the cooling system and thus degrade cooling. So, along with this new technology are new control strategies for controlling the grill shutters. As requirements get cascaded, organizations use their tools to assess their systems to requirements. Many of these tools do not comprehend thermal behavior (historically many fuel consumption models ignore thermal) and thus may not pick up key interactions here. Two requirements are at odds here so we must balance them appropriately. In this particular case, the fuel consumption target was met by the team by being very aggressive with the grill shutters and their non-thermal models provided that as a good solution. Then the thermal guys see this behavior and see that the coolant is way too hot. So, they need to add fans to meet their cooling requirements. In this case, the addition of fans never made it back to the fuel consumption model (different tools, different groups, etc.). Thus, the vehicle was built with higher cost (additional fans) and also missed the fuel economy target. We are addressing this use case for an integrated vehicle thermal management model with our libraries and our customers. We have seen this same issue several times. The issue is not that people don’t understand that grill shutters degrade cooling. That should be obvious and it should be obvious that fans require power. However, in a world where many CAE tools where developed without multi-domain capability or with certain assumptions being made, it is easy to miss key interactions that are important as new systems/technologies are integrated or the systems become more complex.
  12. Skip details!
  13. Fly over quickly
  14. Optional remove if high-level view available
  15. Move fast!
  16. Baseline system fulfills requirements, but at fuel economy that can be improved
  17. Optional remove if high-level view available
  18. Optional remove if high-level view available
  19. To 2: it really matters that FMI integrates EXITING tools, leveraging investments already made.