Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Brine.Prop library to develop RO filter

Brine.Prop library to develop RO filter

Hello All,
I have started using OM and using the Fluid library. I am a chemical engg and not good at coding. However, want to develop a RO filter model. If anybody suggest a option, will be grateful. Meanwhile tried to explore the BrineProp.  I load the library into my model. And change the medium as "replaceable package Medium = BrineProp.BrineDuan" inside text. However the model did not complied and throwing error message

TestBrine1.Salt1_02nls.c: In function 'residualFunc59':
TestBrine1.Salt1_02nls.c:468:47: error: '$PMedium$PThermoStates' undeclared (first use in this function)
   tmp3 = (modelica_boolean)((modelica_integer)$PMedium$PThermoStates == 6);
                                               ^
<builtin>: recipe for target 'TestBrine1.Salt1_02nls.o' failed
\tools\msys\mingw64\bin\mingw32-make: *** [TestBrine1.Salt1_02nls.o] Error 1
Compilation process failed. Exited with code 2.

Can anybody help to debug this problem.

Thanks in advance

There are 0 guests and 0 other users also viewing this topic
You are here: