### Refine

#### Keywords

- Oscillator ensembles (2) (remove)

We consider general heterogeneous ensembles of phase oscillators, sine coupled to arbitrary external fields. Starting with the infinitely large ensembles, we extend the Watanabe-Strogatz theory, valid for identical oscillators, to cover the case of an arbitrary parameter distribution. The obtained equations yield the description of the ensemble dynamics in terms of collective variables and constants of motion. As a particular case of the general setup we consider hierarchically organized ensembles, consisting of a finite number of subpopulations, whereas the number of elements in a subpopulation can be both finite or infinite. Next, we link the Watanabe-Strogatz and Ott-Antonsen theories and demonstrate that the latter one corresponds to a particular choice of constants of motion. The approach is applied to the standard Kuramoto-Sakaguchi model, to its extension for the case of nonlinear coupling, and to the description of two interacting subpopulations, exhibiting a chimera state. With these examples we illustrate that, although the asymptotic dynamics can be found within the framework of the Ott-Antonsen theory, the transients depend on the constants of motion. The most dramatic effect is the dependence of the basins of attraction of different synchronous regimes on the initial configuration of phases.

We consider the nonlinear extension of the Kuramoto model of globally coupled phase oscillators where the phase shift in the coupling function depends on the order parameter. A bifurcation analysis of the transition from fully synchronous state to partial synchrony is performed. We demonstrate that for small ensembles it is typically mediated by stable cluster states, that disappear with creation of heteroclinic cycles, while for a larger number of oscillators a direct transition from full synchrony to a periodic or a quasiperiodic regime occurs.