Elias Thörnqvist, Environmental and process engineer