SET_WEIGHT
This command is for the ED-EXP module.
Each experimental value has an uncertainty associated with it, specified by the value after the colon (:) with the command EXPERIMENT. During an optimization the absolute difference between the experimental and calculated values gives a contribution to the sum of error.
With the SET_WEIGHT command, you can change the scale of such a contribution (the uncertainty) for a single experimental point, or the contributions (all uncertainties) for a set of equilibria. The default weight is always unity. A value smaller than one means that the experiments should have less weight. A value larger than one that these should have higher weight. The special value zero means that the set of equilibria should be ignored in editing in ED_EXP (as is given) and in OPTIMIZE_VARIABLES in PARROT.
The weight may be needed to obtain a balance between different kinds of experiments. For example, if there are only five experimental values of the composition of a phase diagram but 500 experimental values of activities or enthalpies, then the five composition points may have to be given higher weight than unity, otherwise these are not well described by the optimizing procedure.
Syntax |
set_weight |
Prompts |
Value /1/: <Weight value> Specify a weight of the experiments in the specified equilibria (asked in the next prompt). The contribution to the sum of errors of these experiments are multiplied by this weight. The weight is squared, thus use 0.7 to make the error half (0.49) as big, and 1.4 to make it twice (1.96) as large. |
|
Equilibria (range) or label(s) /Present/:<Selection> Define the equilibria. These are available in the read data block from the current work file and are given the above-defined weight. The selection may be given as a range but the equilibrium numbers must then be separated only by a minus sign. The start and end equilibrium numbers must be available in the read data block read from the current work file. For example, The selection may also be given as one or more labels (which should be separated only by a space). All equilibria with the specified label(s) in the read data block are given the above-defined weight. By pressing <Enter> to accept the default value If is used but no specific equilibrium point is selected afterwards, the last point in the read data block remains the |