Text this: Quality rating of energy of power-supply system