The ExternalMedia library provides a framework for interfacing external codes computing fluid properties to Modelica.Media-compatible component models.
53
stars
36
forks
source link
The problem when using setState_pT funtion to return ThermodynamicState #69
Hello, I met some problem when I used funtion to calculate ThermodynamicState.
At first, I tried to run a example on MWorks as shown below, but an error came out when translating codes.
The error means the members of record funtion have different variability. Actually, I don't understand this error.
But I tried another example as shown below. The same error occurred but this example could work on OpenModelica.
I wonder know why this different results came up on different platforms and how to solve this problem. I really need to use
ExternalMedia to get refrigerant properities in my model.
Thanks!
@zbb2022hust everything should be fixed now for Dymola, you can try with the binaries here until we do the official release. Please reopen if you still have issues with Dymola and/or with MWorks.
Hello, I met some problem when I used funtion to calculate ThermodynamicState. At first, I tried to run a example on MWorks as shown below, but an error came out when translating codes. The error means the members of record funtion have different variability. Actually, I don't understand this error. But I tried another example as shown below. The same error occurred but this example could work on OpenModelica. I wonder know why this different results came up on different platforms and how to solve this problem. I really need to use ExternalMedia to get refrigerant properities in my model. Thanks!