Webbläsaren som du använder stöds inte av denna webbplats. Alla versioner av Internet Explorer stöds inte längre, av oss eller Microsoft (läs mer här: * https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Var god och använd en modern webbläsare för att ta del av denna webbplats, som t.ex. nyaste versioner av Edge, Chrome, Firefox eller Safari osv.

Using Virtual Labs to Teach Reaction Engineering

Bild som visar graf

Reaction Engineering introduces third-year chemical engineering students at Lund University to the principles of reactor analysis, sizing, and design. Like other similar courses, it was traditionally taught with a heavy emphasis on theory and the derivation of mathematical equations. Students completed numerous exercises but rarely developed an intuitive understanding of the combined effects of physical processes and chemical reactions that take place in an industrial reactor.

Recognizing this shortcoming, we shifted the focus from mere theory to digital experimentation. I created a set of MATLAB® apps that enable students to interactively modify key reaction parameters and see how their changes affect outcomes (Figure 1). I’ve also begun using MATLAB Grader™ in the course. My teaching assistants (TAs) now spend considerably less time on simple code correction and more time helping students understand the model structure, a particular advantage when the course moved online during the COVID-19 pandemic. Both the apps and MATLAB Grader are integrated into the university's learning management system (LMS).

Image showing web apps

Figure 1. MATLAB web apps used in Reaction Engineering.

 

Creating and Hosting MATLAB Apps

The Reaction Engineering apps are designed to get students thinking critically about the effects on reaction performance of processes that take place in batch reactors and continuous stirred-tank reactors (CSTRs). During one class, I ask the students to imagine what would happen if a CSTR cooling system were to malfunction. The students recognize that if no action is taken, the temperature and pressure will rise until the reactor explodes. I then ask, if they could control the reactor’s volumetric flow rate, would they increase or decrease the flow rate to save the reactor?  

The answer to this question is not intuitive; most students incorrectly recommend reducing the flow. To show them how increasing the flow would reduce the overall energy in the system, I have them experiment with a MATLAB app that lets them control the flow rate and track the temperature within the reactor over time (Figure 2). The app gives them a much better understanding of the reactor’s energy balance than they could get by completing rote numeric calculations.

Image showing a diagram with MATLAB app for visualizing the temperature

Figure 2. MATLAB app for visualizing the temperature of a CSTR with a malfunctioning cooling system.

 

Because Lund University has a Campus-Wide License, students can download the apps I developed and run them on their own computers. However, I decided to make the apps available as interactive web apps via MATLAB Web App Server™. I was then able to provide instructions for assignments onscreen alongside the app. MATLAB Web App Server also made it possible to integrate the apps with Canvas, our LMS, making them easier to access (Figure 3). 

Image showing The CSTR cooling app

Figure 3. The CSTR cooling app running as a web app in Canvas.

 

Incorporating MATLAB Grader

When the pandemic forced us to begin teaching online, my colleagues and I had to figure out how to both manage and engage the approximately 100 students in the course. About two weeks before classes were set to begin, I decided to use MATLAB Grader for virtual lab assignments. Starting with the templates for solving differential and nonlinear equations in MATLAB that I previously created for the course, it took me no more than a few days to create and test interactive lab exercises with MATLAB Grader (Figure 4). 

Image showing Virtual lab assignment

Figure 4. Virtual lab assignment created with MATLAB Grader.

 

Student Feedback and Plans for Next Year

While we did not conduct formal course surveys on the use of MATLAB Grader and apps, students commented informally that the apps helped them learn new concepts. They also said they liked the immediate feedback provided by MATLAB Grader. 

The changes we made in Reaction Engineering have attracted attention outside Lund University: I’ve been contacted by another university in Sweden that is interested in using MATLAB Grader and MATLAB Web App Server to implement similar enhancements to their own curriculum. 

 

This article was first published in Mathwork: Technical Articles and Newsletters: 
Go to Using Virtual Labs to Teach Reaction Engineering