.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-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos