Cost analysis of processing plants