Quantum Theory
Different situations for the electron, like being in the hydrogen atom, will show up in Schrodinger’s Equation in the PE part.
Different PE functions (like PE = -ke2/r for the hydrogen atom) will cause the solution to Schrodinger’s equation to be different, just like different PE functions in the normal Conservation of Energy will cause different speeds to result for the particles.