The MOSAICmodeling Workflow – Function

MOSAICmodeling functions have two different purposes:

  1. Replace explicit expressions, which can directly be calculated. These could also be entered as equations.
  2. Provide an interface to external software via external function calls. These can for example call an external physical properties library to perform some thermodynamic calculations and return the desired enthalpy as a function of temperature, pressure, and composition.

Here we will focus on how to enter the former. Information on how to implement external function calls inside MOSAICmodeling can be found in the documentation (there is no workflow diagram, yet).

Formulating a Function Inside MOSAICmodeling

The same editor can be used for both purposes mentioned above. The editor is shown in Fig. 1.

Figure 1: The Function editor inside MOSAICmodeling. (Depending on your operating system the editor might have a different look.)

The workflow to enter a function inside MOSAICmodeling is given below: