Hi Jasper,
I added a scilab unit operation to a flowsheet. This unit only has one port: An output.
When I call "getSinglePhaseProperty" to get the activity coefficient
e1_greek_gamma_i = getSinglePhaseProperty("activityCoefficient","liquid",e1_T,e1_p,e1_x_i);
I get the following error:
Error:
Failed to calculate activityCoefficient:
CalcSinglePhaseProp failed:
Failed to obtain temperature from the material object:
no values set for temperature, phase overall, calcType mixture
In another unit operation, that has input ports, the same line works.
Is it really a problem that my unit has no input?
If yes, is there a workaround to get results from these thermo functions anyway?
Would be glad to get an answer.
With best regards,
greTol