delugional
delugional
So, I found a quickfix: As I said, the model simulates without problem in OMEdit, so in the simulation setup in the "GeneraI" tab, I checked the options "save translation...
What worked for me is to copy the ExternalMediaLib.dll into the directory where my python scripts are located (which is then also my working directory).
Exchanging X[xN] for X[:] in every mass fraction input resolved this for me. so in every function of ExternalMedia.Media.IncompressibleCoolPropMedium I changed the line to: input MassFraction X[:] "Mass fractions";
I believe you maybe failed to recompile Coolprop? So after adding a custom fluid and modifying the json, you need to first recompile Coolprop (I used the python wrapper ->...