Integration of design and control for renewable energy systems with an application to anaerobic digestion: A deep deterministic policy gradient framework