Hi,
i am trying to write a .inp that will allow me to quantify several pahses in my complex sample while adhereing to a known elemental composition as determined by XRF. i have tried using :
"scale = (0.01 known_C Get (sum_smvs_minus_this) - s2 v2 c2 ) / (v1 (c1 - 0.01 known_C m1)); : 0"
but the issue with this is that it only scales one phase to fit the elemental assay which isnt ideal ( also had convergence issues when constraining multiple elements)
i have tried:
penalties_weighting_K1 .1
element_weight_percent Al al 0`
restraint = (al - 7.48); : 0
and while that did cause it to give an output the adhered to the elemental assay, it didnt actually fit the pattern it just came up with numbers for the compounds.
any ideas how i can accomplish what im trying to do?
here is a link to the full file
https://pastebin.com/C5bfmRha. the first attempt at the constraint is still in the file but commented out
cheers,
Harrison