Feasibility Inquiry: Building a Chemical Process Simulation and Optimization Package with JuMP

You might be hitting the array registration issues. This is something that got fixed with Symbolics v3 but it’s currently going to be blocked until the bumping Symbolics / SymbolicUtils / TermInterface bump by ChrisRackauckas · Pull Request #2948 · SciML/ModelingToolkit.jl · GitHub is done. I’m hoping that piece is all completed by the end of the week, in which case @Vinicius_Viena is unblocked and the Clapeyron integrations should all be working.

1 Like

Hi!

Calling unregistered Clapyeron functions will likely fail as symbolics will trace down inner function calls.

Here’s a related thread about it, but using coolprop for single component systems: Media properties and component encapsulation in MTK - #7 by Sushrut_Deshpande.

A symbolic extension is being done in Clapyeron with symbolic registration of relevant functions. To make it functional though, the updates Chris mentioned are necessary.

Indeed I have faced the same issue when calling Clapeyron functions.

Any idea when ProcessSimulator will be open for public release? If my understanding is correct it has already connected Clapeyron functions with ModelingToolkit.

The ModelingToolkit updates just went through last week, so the team should be unblocked now :crossed_fingers:

1 Like

I just opened:

I will want to setup a call, next Tuesday? There’s a lot there (mostly in a PR branch right now), but there’s still a lot more to do, and it seems like there’s a good amount of folks that want to join. DM me if interested.

3 Likes

Latest version of the ProcessSimulator can be found in the second half of this video:

2 Likes

Just want to say, as a long time Clapeyron user, am very happy to see this! Looking forward to playing with it soon.

1 Like