Se propone un Control Predictivo Basado en Modelo (MPC) para maximizar el uso de energías renovables en un proceso de fabricación. La estrategia se ha aplicado en un sistema de fabricación que cuenta con varias máquinas, recursos de generación renovable, un generador combinado de calor y electricidad (CHP) para la producción de energía, y un banco de baterías para el almacenamiento de energía. El trabajo pretende maximizar el uso de fuentes de energía renovables en este proceso, teniendo en cuenta también el precio del mercado eléctrico, para reducir el coste. El uso de modelos neuroborrosos para la predicción de la energía producida por los generadores renovables permite una predicción dinámica, utilizando valores de entrada obtenidos a partir de variables típicas de predicción (velocidad del viento, irradiancia global, etc.).