Code accompanying the manuscript Convex Formulation of the Maritime Fleet Size and Mix Problem Considering Battery Electric Ships is available on Google Colab.