-
-
Notifications
You must be signed in to change notification settings - Fork 236
Description
Hi folks,
I am currently trying to define Domains with Callable Parameters to calculate physical properties for the purpose of process simulation in ModelingToolkit.jl. In process simulation we usually define our material system with state dependent (e.g., temperature, pressure, composition) property function for density, enthalpy etc. independently from the models of our equipment like e.g. tanks, reactors, distillation columns etc.
Domains provide a feature to define such packages of property data while Callable Parameters would allow to define this data as functions (e.g. using Clapeyron.jl). But I learned from @ChrisRackauckas that Callable Parameters are not supported by Domains yet (see the related discourse post: Discourse post). So, I'd like to suggest to add this functionality as feature.
Suggested Feature
Support Callable Parameters in Domains
Alternative Solutions
Provide a structure of holding property functions to each individual model in the system.
P.S.: A solution where you could simply forward a structure with property functions for the different properties using Domains would be even more welcome!