Variable spatial and temporal weighting schemes for use in multi-phase compositional problems