SlideShare una empresa de Scribd logo
1 de 18
MULTI-PHASE MIXTURE MEDIA
Johan Windahl1, Katrin Prölss1, Maarten Bosmans2,
Hubertus Tummescheit1, Eli van Es2, Awin Sewgobind2
1Modelon, 2Vortech
• MODELICAPROP - CleanSky SGO project
 In collaboration with Modelon and Vortech
• Objectives
 Add support for mixtures with multiple phases
 Analyze Modelica.Media structure
 Interface external property databases
BACKGROUND
• Meeting in Delft - 17 people
 Academia, Industry, Modelica design group, CO-Lan
• Conclusion
 Performance important (framework should support caching)
 Challenge: Not possible to share interface
BACKGROUND
model Example
replaceable package Medium=MyMedium;
Medium.MyExternalObject eo;
Modelica.SIunits.Density d;
equation
d=Medium.density_pT(1e5,300,eo);
end Example;
• Thermal separation
 Distillation processes
MOTIVATION – NEW APPLICATIONS
• Thermodynamic cycle
– Temperature glide
• Transport of flows
– Compositional pipe network
– CPU expensive
• Modelica.Media interface
• Limitations
 Single substance medium with two phases (liquid and vapor)
 Designed for power/energy applications (mass-based)
 Different ways of usage – confusing
 Relies on common subexpression elimination
• Find a new structure!
MODELICA MEDIA
1. Structure and user-friendliness
A. Share interface
- Native Modelica media and external C-code based media
B. Easy to use, understand and implement.
- Details should be hidden from the user
2. Multi-component multi-phase (new functionality)
 Phase equilibrium
 Properties for a specified present phase
Identification of phases and compounds
 Mole and mass based properties
Chemical industry works in mole while energy in mass
GENERAL REQUIREMENTS
Function based Model based
INTERFACE STRUCTURE
Record based
INTERFACE: FUNCTION VS MODEL
• Advantages model based interface
• Share interface between external and native Modelica media
• Hide implementation details (external object)
• Equation based implementation
• Tool solve flash calculations
• User friendly - work graphically
• Minimalistic interface
• Avoid new functions for new input combinations
• Avoid dependency on special trick as common-sub expression
elimination
• Drawbacks
• No usage inside functions
• User unfriendly to calculate parameter
• Not calculate property on demand
MULTI-PHASE MIXTURE
• Package with models and helper functions
• ThermoProperties - similar to
BaseProperties in MSL
• parameters: inputs.pTX, init, optimization
• variables: p,T, d, … (mass and mole based)
• MultiPhaseProperties
• Overall (_overall) and single phase (_1ph)[nP]
properties
• phaseComposition, phaseFraction
EXAMPLE – THERMO-PROPERTIES
• C/C++ Modelica property interface
 Backends to CAPE-OPEN, RefProp, FluidProp
EXTERNAL MULTI-PHASE MIXTURE MEDIA
• A few similar functions (calcThermoProperties_XXX)
 Combines flash and property calculation
C-INTERFACE
• External property code
 Not designed for dynamic simulation
 Error when calling outside validity area
 Non-converging region
 Limited support for partial derivatives
 No support for providing iteration start values
• General no support for overall derivatives
 One-phase region: analytical calculation
 When multiple phases exist: calculated numerically (Modelica side)
EXTERNAL INTERFACE - CHALLENGES
• Modelica tool
 Not possible to calculate iteration start values from a property model
• Modelica specification
 Inconvenient to use a model/block based structure to calculate
parameters
LIMITATIONS
• Case 1: Native Modelica Air media
 3 component simple media, incompressible liquid phase and ideal gas
assumptions
 VLE, fugacities polyniominal adapted to data- solved by tool
 Simulate fast (Initialization is a challenge)
TEST CASE 1 - AIR SEPARATION UNIT
0 4000 8000
0
4
8
Simulation time (s)
CPUtime
• Case 2: Refprop Air media
 3 component air media, mixture of multi-parameter eos
 Different state selections and media inputs tested
 Solver getting stuck or failure when calling outside validity region
 Needs to be analyzed further
TEST CASE 2 - AIR SEPARATION UNIT
• New framework for multi-component multi-phase
 Open up new areas where the Modelica technology can be used
 New model based media
Support both native Modelica and external media
 Finding a structure more challenging than expected
Due to Modelica restrictions, combination of pure and differentiable
functions
CONCLUSION
• More testing and evaluation of concept
 New use cases
• Infrastructure for native Modelica implementations
 Equation of state, mixing rules
 Initialization part (homotopy?)
• Extend the C-interface backend
 More property packages: e.g. MultiFlash
 New functionality
• We encourage you to take part in continuing the
development!
 Open-source GitHub Repository
• Thanks EU for the financial support!
FUTURE WORK

Más contenido relacionado

La actualidad más candente

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
 
[Capella Day 2019] Model execution and system simulation in Capella
[Capella Day 2019] Model execution and system simulation in Capella[Capella Day 2019] Model execution and system simulation in Capella
[Capella Day 2019] Model execution and system simulation in CapellaObeo
 
Innovative Solar Array Drive Assembly for CubeSat Satellite
Innovative Solar Array Drive Assembly for CubeSat SatelliteInnovative Solar Array Drive Assembly for CubeSat Satellite
Innovative Solar Array Drive Assembly for CubeSat SatelliteMichele Marino
 
AutoML for user segmentation: how to match millions of users with hundreds of...
AutoML for user segmentation: how to match millions of users with hundreds of...AutoML for user segmentation: how to match millions of users with hundreds of...
AutoML for user segmentation: how to match millions of users with hundreds of...Institute of Contemporary Sciences
 
Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...
Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...
Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...Dave Callen
 
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 2015Régis Castéran
 
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 automotiveAnthony Faucogney
 
Synthesis of Platform Architectures from OpenCL Programs
Synthesis of Platform Architectures from OpenCL ProgramsSynthesis of Platform Architectures from OpenCL Programs
Synthesis of Platform Architectures from OpenCL ProgramsNikos Bellas
 
Tech Days 2015: User Presentation Vermont Technical College
Tech Days 2015: User Presentation Vermont Technical CollegeTech Days 2015: User Presentation Vermont Technical College
Tech Days 2015: User Presentation Vermont Technical CollegeAdaCore
 
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 UMLINCOSE Colorado Front Range Chapter
 
Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...
Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...
Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...Alessio Bucaioni
 
Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...
Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...
Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...Alwin Damman
 
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...Luigi Vanfretti
 
Matlab - Introduction and Basics
Matlab - Introduction and BasicsMatlab - Introduction and Basics
Matlab - Introduction and BasicsTechsparks
 
DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...
DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...
DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...Deltares
 

La actualidad más candente (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...
 
Unit 3 part2
Unit 3 part2Unit 3 part2
Unit 3 part2
 
[Capella Day 2019] Model execution and system simulation in Capella
[Capella Day 2019] Model execution and system simulation in Capella[Capella Day 2019] Model execution and system simulation in Capella
[Capella Day 2019] Model execution and system simulation in Capella
 
Unit 3 part2
Unit 3 part2Unit 3 part2
Unit 3 part2
 
Innovative Solar Array Drive Assembly for CubeSat Satellite
Innovative Solar Array Drive Assembly for CubeSat SatelliteInnovative Solar Array Drive Assembly for CubeSat Satellite
Innovative Solar Array Drive Assembly for CubeSat Satellite
 
Java8
Java8Java8
Java8
 
AutoML for user segmentation: how to match millions of users with hundreds of...
AutoML for user segmentation: how to match millions of users with hundreds of...AutoML for user segmentation: how to match millions of users with hundreds of...
AutoML for user segmentation: how to match millions of users with hundreds of...
 
Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...
Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...
Briefing - The Atlast V Aft Bulkhead Carrier Update - Past Missions, Upcoming...
 
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
 
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
 
Synthesis of Platform Architectures from OpenCL Programs
Synthesis of Platform Architectures from OpenCL ProgramsSynthesis of Platform Architectures from OpenCL Programs
Synthesis of Platform Architectures from OpenCL Programs
 
Tech Days 2015: User Presentation Vermont Technical College
Tech Days 2015: User Presentation Vermont Technical CollegeTech Days 2015: User Presentation Vermont Technical College
Tech Days 2015: User Presentation Vermont Technical College
 
PRFC SysML 1.4
PRFC SysML 1.4PRFC SysML 1.4
PRFC SysML 1.4
 
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
 
Model based development(MBD)
Model based development(MBD) Model based development(MBD)
Model based development(MBD)
 
Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...
Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...
Raising Abstraction in Timing Analysis for Vehicular Embedded Systems through...
 
Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...
Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...
Yaskawa Design of an electric servo rudder pedal system “Servo-motoren aanstu...
 
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
A Three-Phase VSC-HVDC Average Value Model Implementation using Modelica and ...
 
Matlab - Introduction and Basics
Matlab - Introduction and BasicsMatlab - Introduction and Basics
Matlab - Introduction and Basics
 
DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...
DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...
DSD-INT 2014 - Delft-FEWS Users Meeting - Implement new features in your conf...
 

Destacado

Modelon FMI Tutorial NAMUG 2016
Modelon FMI Tutorial NAMUG 2016Modelon FMI Tutorial NAMUG 2016
Modelon FMI Tutorial NAMUG 2016Modelon
 
Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...
Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...
Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...Donald Carpenter
 
Webinar: Fundamentals of modelling CO2 movement underground
Webinar: Fundamentals of modelling CO2 movement undergroundWebinar: Fundamentals of modelling CO2 movement underground
Webinar: Fundamentals of modelling CO2 movement undergroundGlobal CCS Institute
 
Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)
Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)
Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)University College Dublin
 
Tema 8: Reacciones de precipitación
Tema 8: Reacciones de precipitaciónTema 8: Reacciones de precipitación
Tema 8: Reacciones de precipitaciónfatimaslideshare
 
Formacion de un precipitado.
Formacion de un precipitado.Formacion de un precipitado.
Formacion de un precipitado.alexandrachn
 
Reacciones de precipitación: Formación de precipitados y desplazamiento del e...
Reacciones de precipitación: Formación de precipitados y desplazamiento del e...Reacciones de precipitación: Formación de precipitados y desplazamiento del e...
Reacciones de precipitación: Formación de precipitados y desplazamiento del e...Oswaldo Lescano Osorio
 
Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...
Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...
Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...Modelon
 
One model, many use cases
One model, many use casesOne model, many use cases
One model, many use casesModelon
 
Procter & Gamble Modelon INCOSE 2017
Procter & Gamble Modelon INCOSE 2017Procter & Gamble Modelon INCOSE 2017
Procter & Gamble Modelon INCOSE 2017Modelon
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon
 
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 SystemsModelon
 
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 powerplantModelon
 
Environmental Control Library - Overview
Environmental Control Library - OverviewEnvironmental Control Library - Overview
Environmental Control Library - OverviewModelon
 
Transport Across Membranes
Transport Across MembranesTransport Across Membranes
Transport Across MembranesPaul.Lavin
 
SysMoValueProposition_v2
SysMoValueProposition_v2SysMoValueProposition_v2
SysMoValueProposition_v2Atanas Pavlov
 
Modelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation SolutionModelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation SolutionModelon
 

Destacado (20)

Modelon FMI Tutorial NAMUG 2016
Modelon FMI Tutorial NAMUG 2016Modelon FMI Tutorial NAMUG 2016
Modelon FMI Tutorial NAMUG 2016
 
Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...
Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...
Optimized Geochemical Modeling of Produced Fluids Provides Important Insight ...
 
7 cálculo equilibrio
7 cálculo equilibrio7 cálculo equilibrio
7 cálculo equilibrio
 
Webinar: Fundamentals of modelling CO2 movement underground
Webinar: Fundamentals of modelling CO2 movement undergroundWebinar: Fundamentals of modelling CO2 movement underground
Webinar: Fundamentals of modelling CO2 movement underground
 
Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)
Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)
Writing an Academic Book: From pitch to final manuscript (ANLTC Seminar 2011)
 
Properties of aqueous solutions
Properties of aqueous solutionsProperties of aqueous solutions
Properties of aqueous solutions
 
Tema 8: Reacciones de precipitación
Tema 8: Reacciones de precipitaciónTema 8: Reacciones de precipitación
Tema 8: Reacciones de precipitación
 
Formacion de un precipitado.
Formacion de un precipitado.Formacion de un precipitado.
Formacion de un precipitado.
 
Reacciones de precipitación: Formación de precipitados y desplazamiento del e...
Reacciones de precipitación: Formación de precipitados y desplazamiento del e...Reacciones de precipitación: Formación de precipitados y desplazamiento del e...
Reacciones de precipitación: Formación de precipitados y desplazamiento del e...
 
Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...
Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...
Closing the Design Cycle Loop with Executable Requirements and OSLC - IBM Int...
 
One model, many use cases
One model, many use casesOne model, many use cases
One model, many use cases
 
Procter & Gamble Modelon INCOSE 2017
Procter & Gamble Modelon INCOSE 2017Procter & Gamble Modelon INCOSE 2017
Procter & Gamble Modelon INCOSE 2017
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016
 
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
 
Environmental Control Library - Overview
Environmental Control Library - OverviewEnvironmental Control Library - Overview
Environmental Control Library - Overview
 
Transport Across Membranes
Transport Across MembranesTransport Across Membranes
Transport Across Membranes
 
SysMoValueProposition_v2
SysMoValueProposition_v2SysMoValueProposition_v2
SysMoValueProposition_v2
 
OPTIMIZACIÓN EXPERIMENTAL DE UN CONCENTRADOR PARABÓLICO COMPUESTO PARA APLICA...
OPTIMIZACIÓN EXPERIMENTAL DE UN CONCENTRADOR PARABÓLICO COMPUESTO PARA APLICA...OPTIMIZACIÓN EXPERIMENTAL DE UN CONCENTRADOR PARABÓLICO COMPUESTO PARA APLICA...
OPTIMIZACIÓN EXPERIMENTAL DE UN CONCENTRADOR PARABÓLICO COMPUESTO PARA APLICA...
 
Modelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation SolutionModelon - Fuel System Modeling & Simulation Solution
Modelon - Fuel System Modeling & Simulation Solution
 

Similar a Multi phase mixture media

Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013
Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013
Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013Alex Clark
 
CloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use CaseCloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use CaseCloudLightning
 
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...Obeo
 
Thermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaThermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaKaustubh Phalak
 
Thermal equipment modeling in modelica
Thermal equipment modeling in modelicaThermal equipment modeling in modelica
Thermal equipment modeling in modelicakpphalak
 
Harnessing OpenCL in Modern Coprocessors
Harnessing OpenCL in Modern CoprocessorsHarnessing OpenCL in Modern Coprocessors
Harnessing OpenCL in Modern CoprocessorsUnai Lopez-Novoa
 
byteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurationsbyteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurationsbyteLAKE
 
In Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slidesIn Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slidesChobodiDamsaraniPadm
 
Modelica-OpenModelica-slides para aprender.pdf
Modelica-OpenModelica-slides para aprender.pdfModelica-OpenModelica-slides para aprender.pdf
Modelica-OpenModelica-slides para aprender.pdfCarlos Paredes
 
Simulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresSimulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresCloudLightning
 
Cassandra presentation
Cassandra presentationCassandra presentation
Cassandra presentationvilabs
 
Overview of DuraMat software tool development
Overview of DuraMat software tool developmentOverview of DuraMat software tool development
Overview of DuraMat software tool developmentAnubhav Jain
 
Early Application experiences on Summit
Early Application experiences on Summit Early Application experiences on Summit
Early Application experiences on Summit Ganesan Narayanasamy
 
Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...Anubhav Jain
 
NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...
NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...
NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...Modelon
 
Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...
Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...
Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...weADAPT
 
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...inside-BigData.com
 
Modeling & Simulation of CubeSat-based Missions'Concept of Operations
Modeling & Simulation of CubeSat-based Missions'Concept of OperationsModeling & Simulation of CubeSat-based Missions'Concept of Operations
Modeling & Simulation of CubeSat-based Missions'Concept of OperationsObeo
 
Nafems15 Technical meeting on system modeling
Nafems15 Technical meeting on system modelingNafems15 Technical meeting on system modeling
Nafems15 Technical meeting on system modelingSDTools
 

Similar a Multi phase mixture media (20)

Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013
Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013
Reaction Lab Notebooks for Mobile Devices - Alex M. Clark - GDCh 2013
 
CloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use CaseCloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use Case
 
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
 
Thermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaThermal Equipment Modeling in Modelica
Thermal Equipment Modeling in Modelica
 
Thermal equipment modeling in modelica
Thermal equipment modeling in modelicaThermal equipment modeling in modelica
Thermal equipment modeling in modelica
 
Harnessing OpenCL in Modern Coprocessors
Harnessing OpenCL in Modern CoprocessorsHarnessing OpenCL in Modern Coprocessors
Harnessing OpenCL in Modern Coprocessors
 
byteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurationsbyteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurations
 
In Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slidesIn Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slides
 
Modelica-OpenModelica-slides para aprender.pdf
Modelica-OpenModelica-slides para aprender.pdfModelica-OpenModelica-slides para aprender.pdf
Modelica-OpenModelica-slides para aprender.pdf
 
Deep Learning at Scale
Deep Learning at ScaleDeep Learning at Scale
Deep Learning at Scale
 
Simulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresSimulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud Infrastructures
 
Cassandra presentation
Cassandra presentationCassandra presentation
Cassandra presentation
 
Overview of DuraMat software tool development
Overview of DuraMat software tool developmentOverview of DuraMat software tool development
Overview of DuraMat software tool development
 
Early Application experiences on Summit
Early Application experiences on Summit Early Application experiences on Summit
Early Application experiences on Summit
 
Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...
 
NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...
NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...
NONLINEAR MODEL PREDICTIVE CONTROL FOR OPERATION OF A POST COMBUSTION ABSORPT...
 
Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...
Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...
Sida LEAP Training Lectures #5 and #6: Cost-benefit analysis and optimization...
 
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
 
Modeling & Simulation of CubeSat-based Missions'Concept of Operations
Modeling & Simulation of CubeSat-based Missions'Concept of OperationsModeling & Simulation of CubeSat-based Missions'Concept of Operations
Modeling & Simulation of CubeSat-based Missions'Concept of Operations
 
Nafems15 Technical meeting on system modeling
Nafems15 Technical meeting on system modelingNafems15 Technical meeting on system modeling
Nafems15 Technical meeting on system modeling
 

Más de Modelon

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

Más de Modelon (19)

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
 
Emerging standards and support organizations within engineering simulation
Emerging standards and support organizations within engineering simulation Emerging standards and support organizations within engineering simulation
Emerging standards and support organizations within engineering simulation
 

Último

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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 educationjfdjdjcjdnsjd
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Multi phase mixture media

  • 1. MULTI-PHASE MIXTURE MEDIA Johan Windahl1, Katrin Prölss1, Maarten Bosmans2, Hubertus Tummescheit1, Eli van Es2, Awin Sewgobind2 1Modelon, 2Vortech
  • 2. • MODELICAPROP - CleanSky SGO project  In collaboration with Modelon and Vortech • Objectives  Add support for mixtures with multiple phases  Analyze Modelica.Media structure  Interface external property databases BACKGROUND
  • 3. • Meeting in Delft - 17 people  Academia, Industry, Modelica design group, CO-Lan • Conclusion  Performance important (framework should support caching)  Challenge: Not possible to share interface BACKGROUND model Example replaceable package Medium=MyMedium; Medium.MyExternalObject eo; Modelica.SIunits.Density d; equation d=Medium.density_pT(1e5,300,eo); end Example;
  • 4. • Thermal separation  Distillation processes MOTIVATION – NEW APPLICATIONS • Thermodynamic cycle – Temperature glide • Transport of flows – Compositional pipe network – CPU expensive
  • 5. • Modelica.Media interface • Limitations  Single substance medium with two phases (liquid and vapor)  Designed for power/energy applications (mass-based)  Different ways of usage – confusing  Relies on common subexpression elimination • Find a new structure! MODELICA MEDIA
  • 6. 1. Structure and user-friendliness A. Share interface - Native Modelica media and external C-code based media B. Easy to use, understand and implement. - Details should be hidden from the user 2. Multi-component multi-phase (new functionality)  Phase equilibrium  Properties for a specified present phase Identification of phases and compounds  Mole and mass based properties Chemical industry works in mole while energy in mass GENERAL REQUIREMENTS
  • 7. Function based Model based INTERFACE STRUCTURE Record based
  • 8. INTERFACE: FUNCTION VS MODEL • Advantages model based interface • Share interface between external and native Modelica media • Hide implementation details (external object) • Equation based implementation • Tool solve flash calculations • User friendly - work graphically • Minimalistic interface • Avoid new functions for new input combinations • Avoid dependency on special trick as common-sub expression elimination • Drawbacks • No usage inside functions • User unfriendly to calculate parameter • Not calculate property on demand
  • 9. MULTI-PHASE MIXTURE • Package with models and helper functions • ThermoProperties - similar to BaseProperties in MSL • parameters: inputs.pTX, init, optimization • variables: p,T, d, … (mass and mole based) • MultiPhaseProperties • Overall (_overall) and single phase (_1ph)[nP] properties • phaseComposition, phaseFraction
  • 11. • C/C++ Modelica property interface  Backends to CAPE-OPEN, RefProp, FluidProp EXTERNAL MULTI-PHASE MIXTURE MEDIA
  • 12. • A few similar functions (calcThermoProperties_XXX)  Combines flash and property calculation C-INTERFACE
  • 13. • External property code  Not designed for dynamic simulation  Error when calling outside validity area  Non-converging region  Limited support for partial derivatives  No support for providing iteration start values • General no support for overall derivatives  One-phase region: analytical calculation  When multiple phases exist: calculated numerically (Modelica side) EXTERNAL INTERFACE - CHALLENGES
  • 14. • Modelica tool  Not possible to calculate iteration start values from a property model • Modelica specification  Inconvenient to use a model/block based structure to calculate parameters LIMITATIONS
  • 15. • Case 1: Native Modelica Air media  3 component simple media, incompressible liquid phase and ideal gas assumptions  VLE, fugacities polyniominal adapted to data- solved by tool  Simulate fast (Initialization is a challenge) TEST CASE 1 - AIR SEPARATION UNIT 0 4000 8000 0 4 8 Simulation time (s) CPUtime
  • 16. • Case 2: Refprop Air media  3 component air media, mixture of multi-parameter eos  Different state selections and media inputs tested  Solver getting stuck or failure when calling outside validity region  Needs to be analyzed further TEST CASE 2 - AIR SEPARATION UNIT
  • 17. • New framework for multi-component multi-phase  Open up new areas where the Modelica technology can be used  New model based media Support both native Modelica and external media  Finding a structure more challenging than expected Due to Modelica restrictions, combination of pure and differentiable functions CONCLUSION
  • 18. • More testing and evaluation of concept  New use cases • Infrastructure for native Modelica implementations  Equation of state, mixing rules  Initialization part (homotopy?) • Extend the C-interface backend  More property packages: e.g. MultiFlash  New functionality • We encourage you to take part in continuing the development!  Open-source GitHub Repository • Thanks EU for the financial support! FUTURE WORK