A latent-heat-coupled wellbore heat-transfer model with phase-change materials | Synapse