Simulating a Versatile Plant for Biodiesel Production