Text this: Energy management in biodiesel production