Entering Optimizing Variables in Parameter Specifications

There are ninety-nine predefined variables in the PARROT module which you can use in your optimization. These variables are referred to as V1, V2, V3, … V98 and V 99. When the GIBBS workspace is initialized, all optimizing variables are set to a fixed numerical value of zero. When you do an optimization, there is always some variable for which you want to evaluate the best value, but you can assign fixed values to optimizing variables too. It is often useful to enter all the variables that you can conceivably want to optimize, and then you can interactively select and change which variable to focus at various stages of the optimization.

The setup file excerpts that follow show how optimizing variables are entered. However, before the optimizing variables are introduced in this example, the following command enters an ionic liquid solution phase (a phase for which you have some experimental information):

ENTER_PHASE IONIC_LIQ  Y,
AL+3,ZR+4 ; ALO2-1,O-2 ; N N

This ENTER_PHASE command enters a phase called IONIC_LIQ into the GIBBS workspace. This phase is of the type ionic liquid solution, which is specified by type code Y. Such a phase is modeled by the Ionic Two Sublattice Liquid Model. The next two arguments specify the two sublattices, in this case the cations AL+3,ZR+4 and the anions ALO2-1,O-2. Components that interact in a sublattice are separated by a comma. The first N at the end means that no additional constituents are added to the phase. The second N means that a list of possible parameters for the phase should not be shown in the console.

There are model parameters that describe the phase which you do not want to optimize, in which case the Gibbs energy expression of the parameter does not contain any optimizing variables.