In the last eight years, the new faculty of Engineering in Renewable Energies at the University of the Basque Country in Eibar has developed several sustainability goals related to clean energy and climate change, but also in educative terms related to co-operative learning, motivation, and reflective thinking. The case of the laboratory-windpump challenge is paradigmatic in this sense, since it constitutes successful problem-based learning for the students in terms of the activation of heuristic tools (analogies or diagrams), critical discussions combining complex ideas about aerodynamics, mechanics and hydraulics, and a good group atmosphere. The conclusions of this work are supported by qualitative and quantitative results within a theoretical background based on the logic of discovery and its corresponding constructive-learning strategy, rather than on the logic of justification with given and well-known aprioristic assumptions.