  Recent years have seen an enormously revived interest in the study of
thermodynamic notions in the quantum regime. This applies both to the study of
notions of work extraction in thermal machines in the quantum regime, as well
as to questions of equilibration and thermalisation of interacting quantum
many-body systems as such. In this work we bring together these two lines of
research by studying work extraction in a closed system that undergoes a
sequence of quenches and equilibration steps concomitant with free evolutions.
In this way, we incorporate an important insight from the study of the dynamics
of quantum many body systems: the evolution of closed systems is expected to be
well described, for relevant observables and most times, by a suitable
equilibrium state. We will consider three kinds of equilibration, namely to (i)
the time averaged state, (ii) the Gibbs ensemble and (iii) the generalised
Gibbs ensemble (GGE), reflecting further constants of motion in integrable
models. For each effective description, we investigate notions of entropy
production, the validity of the minimal work principle and properties of
optimal work extraction protocols. While we keep the discussion general, much
room is dedicated to the discussion of paradigmatic non-interacting fermionic
quantum many-body systems, for which we identify significant differences with
respect to the role of the minimal work principle. Our work not only has
implications for experiments with cold atoms, but also can be viewed as
suggesting a mindset for quantum thermodynamics where the role of the external
heat baths is instead played by the system itself, with its internal degrees of
freedom bringing coarse-grained observables to equilibrium.
