Here I record some computations with the modular curve I did a few years ago. Here's the (affine) equation of the curve:
We check that the (affine) curve has good reduction outside :
These (and also ) are the primes where we may have bad reduction. We check this in each case separately:
Now we know that we have good reduction outside . To understand the reduction at we first move the singularity to the origin.
We see that of the branch points specialized to . In order to see how to separate them by a change of coordinates we look at the Newton polygon of with respect to the -adic valuation. Recall that is the branch locus of the cover given by the -coordinate.
We see that we can separate the branch point by a substitution .
This calculation shows that there are two irreducible components on the special fiber of the model obtained by the substitution , followed by a normalization step. To make the normalization step more explicit, we use valuation on the function field of which extend the base valuation and whose residue field has dimension one.