Surge is a global flow instability occurring in centrifugal compressors at low mass-flow rate operation. Due to its violent nature, it is the limiting factor for operability. To enhance the operating range, understanding of the flow instability inception when approaching surge is essential. Therefore, the flow evolution along a speed line is analysed by performing unsteady, three-dimensional flow simulations using a centrifugal compressor geometry with ported shroud. A stable operating condition, at high mass-flow rates, is compared to lower mass-flow rate operating conditions close to and at surge. The particularities of the flow-fields are analysed and described. A smooth flow-field is observed for the stable operating condition, whereas flow reversal manifesting as tip leakage at the outer periphery of the impeller occurs for all o↵-design operating conditions. The reversed flow exhibits swirling motion in the impeller rotation direction. This induces a globally swirling flow upstream of the impeller, which influences the flow incidence angles at the blades and hence, their e ciency. Proper orthogonal decomposition and dynamic mode decomposition have been performed to analyse the flow structures appearing with surge more thoroughly. For the lowest mass-flow rate operating condition, low frequency modes describing the filling and emptying processes during surge have been found.