public static double[] consumptionHDD(Hdd hdd, UsageHDD usageHDD) {
		double f1 = (usageHDD.getEstimatedMilliseconds() / 1000.0) * (usageHDD.getUtilization() * hdd.getWorkConsumption() + (1 - usageHDD.getUtilization()) * hdd.getIdleConsumption());
		double f2 = (usageHDD.getSize().getMegaBites() / hdd.getBandwidth()) * hdd.getWorkConsumption();
		if (f2 != 0)
			return new double[] { usageHDD.getSize().getMegaBites() / hdd.getBandwidth(), f2 };
		if (f1 != 0)
			return new double[] { usageHDD.getEstimatedMilliseconds() / 1000.0, f1 };
		return new double[] { 0, -1 };
	}