A two-stage model with nitrogen and silicon limitation enhances lipid productivity and biodiesel features of the marine bloom-forming diatom Skeletonema costatum.