Data Optimization Workflow
When you carry out an optimization using Thermo‑Calc, you typically follow a workflow as outlined below.
- Collect experimental data about your system from various sources such as journal articles and reports.
- Create a POP file in which you enter the experimental data you have collected.
- Create a setup macro file in which you define your system and the variables you want to optimize. A useful general procedure is to first find a minimum set of variables that allows you to calculate most of the experiments.
- Run the setup macro file.
- Compile your POP file. This file often contains errors, which need to be corrected, and the file recompiled several times before the compilation is completed without errors.
- In the ED_EXP module, check that the experiments in your POP file reach equilibrium with reasonable results. If any experiments do not reach equilibrium with reasonable results, then try changing the starting values on equilibrium conditions (such as composition) to see whether the equilibrium can be computed after all. If this does not work, then you can temporarily exclude the experiment from the optimization. At a later stage in the optimization, when the optimizing variables have different values, you can check whether the experiments can be computed with reasonable results.
- Back in the PARROT module, run the first optimization cycle and evaluate the feedback in the console. You can also plot diagrams in the POLY module that allow you to visually inspect the fit between calculated optimization results and the experimental data. If you are not satisfied with the fit, then enter the ED_EXP module again and adjust the weights of the experiments in a way that is likely to improve the fit and run another optimization cycle. Reiterate until you are satisfied with the fit.
- Once you get the optimization stable and smooth with the minimum set of variables chosen in step 3 above, try using different sets of variables to see whether improvements are possible.
- When you are satisfied with the fit between calculated results and experimental data with your final set of optimizing variables, update your setup file and POP file. In the setup file, enter the calculated optimizing variable values as the variables’ start values. In the POP file, enter the final weights of the experiments. With these files updated, you can easily regenerate the parameter values of your optimized system. Having the files updated also makes it easier to optimize the system again in light of new data or new theoretical models.
- Finally, update the database with your calculated results or create a new database with information about the system that you have optimized.