The Swiss city of Schlieren operates a gas grid to cover the energy needs of the city. However, the framework conditions have changed considerably in recent years, which means that operation of a significant part of the grid will not be economically feasible in the long term. We developed a reliable basis for decision-making, while working with politicians and the administration to formulate a transition strategy.