.MultiPhaseMixture.Information.ExternalPropertyPackages.Debugging

Information

Some additional debugging features has been added to make it easier to find the root-cause if a simulation does not function as it is supposed to.


Print to simulation log

A boolean constant printExternalFunctionCall has been added to MultiPhaseMixture.Templates.ExternalTwoPhaseMixture. Setting this constant to true in your medium declaration will print property calls from Modelica to the simulation log.


Print to external log

Also logging on the external C-interface can be enabled by setting CodeLogging=true in the setup information, see MultiPhaseMixture.Information.ExternalPropertyPackages.CapeOpen for example. If enabled, the C-function call will be logged into a file named testcode.log in your current directory.


Generated at 2024-07-26T18:16:02Z by OpenModelicaOpenModelica 1.23.1 using GenerateDoc.mos