To harness energy security and reduce carbon emissions, humankind is trying to switch toward renewable energy resources. To this extent, fatty acid methyl esters, also known as biodiesel, are popularly used as a green fuel. Fatty acid methyl esters can be produced by a batch transesterification reaction between vegetable oil and alcohol. Being a batch process, fatty acid methyl esters production is beset with issues such as uncertainties and unsteady state behavior, and therefore, adequate process control measures are necessitated. In this study, we have proposed a novel two-tier framework for the control of the fatty acid methyl esters production process. The proposed approach combines the constrained batch-to-batch iterative learning control technique and explicit model predictive control to obtain the desired concentration of the fatty acid methyl esters. In particular, the batch-to-batch iterative learning control technique is used to generate reactor temperature set-points, which is further utilized to obtain an optimal coolant flow rate by solving a quadratic objective cost function, with the help of explicit model predictive control. Our simulation results indicate that the fatty acid methyl esters concentration trajectory converges to the desired batch trajectory within four batches for uncertainty in activation energy and six batches for uncertainty in both inlet concentration of triglyceride and in activation energy even in the presence of process disturbances. The proposed approach was compared to the heuristic-based approach and constraint iterative learning control approach to showcase its efficacy.