Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domains with callable parameters #3278

Open
jmaedler opened this issue Dec 18, 2024 · 0 comments
Open

Domains with callable parameters #3278

jmaedler opened this issue Dec 18, 2024 · 0 comments

Comments

@jmaedler
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant