Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
refining_setting_weight_percents_directly [2011/08/25 09:01]
alancoelho
refining_setting_weight_percents_directly [2015/10/29 06:33] (current)
rowlesmr3
Line 1: Line 1:
 ====== Refining/​Setting Weight Percents directly ====== ====== Refining/​Setting Weight Percents directly ======
 +==== Version 5 ====
 +
 +The macro Known_Weight_Percent can be used to either set a weight percent or to refine a weight percent. For example:
 +
 +   ​str...
 +      ' scale parameter must not be defined for this phase
 +      Known_Weight_Percent(10) ' set weight percent to 10
 +
 +To refine the weight percent then the following could be used:
 +
 +   ​str...
 +      prm wt1 10 min 0 max 100
 +      Known_Weight_Percent(wt1)
 +
 +Only one phase can have its weight percentage set by this macro. All remaining phases must have a scale factor.
 +
 +==== Version 4.1 ====
 +
 Symbols used here are defined in the Technical Reference entry for [cell_mass !E] [cell_volume !E] [weight_percent !E]  ​ Symbols used here are defined in the Technical Reference entry for [cell_mass !E] [cell_volume !E] [weight_percent !E]  ​
  
Line 25: Line 43:
    x2 = w2 / (m2 (1 - w2))    x2 = w2 / (m2 (1 - w2))
    x3 = w3 / (m3 (1 - w3))    x3 = w3 / (m3 (1 - w3))
-   x4 = w4 / (m4 (1 - w4))                                  +   x4 = w4 / (m4 (1 - w4))     
 +    
 +    
 +    
 +If you have need for up to 9 phases, please see [[refine_weight_percentage|this macro]] for help.    
 +                                 
 We need to solve the four equations for three of the scale parameters. We will choose to solve for s1, s2 and s3.  We need to solve the four equations for three of the scale parameters. We will choose to solve for s1, s2 and s3. 
  
Line 141: Line 164:
       wt_dets(4)</​code>​       wt_dets(4)</​code>​
  
 + --- //​[[alan.coelho@bigpond.com|Alan Coelho]] 2011/08/25 19:09//
 +
 +Weights can be restrained using:
  
 +<code topas>'​---------------------------
 +'​Example of restraining weight percent to a known value
 +penalties_weighting_K1 .2
 +restraint = (Cubic_Zirconia_wt_percent - 36); : 0
 +'​---------------------------</​code>​

Personal Tools