Text this: Optimization of power consumption for centrifugation process based on attenuation measurements