Energy consumption characterization based on a self-analysis tool for textile manufacturing