Application of SPC techniques to batch units