1 Introduction

There is little doubt that the Sun’s coronal magnetic field does not simply evolve through a sequence of current-free equilibria as assumed by the traditional Potential Field Source Surface, or PFSS model (Altschuler and Newkirk, 1969; Schatten, Wilcox, and Ness, 1969). Indirect evidence for low coronal currents includes the presence of sheared filament channels (e.g., Martin, 1998; Mackay et al., 2010; Sheeley et al., 2013), the twisted shape of extreme-ultraviolet or X-ray loops (e.g., Pevtsov, 2002; Malanushenko et al., 2014), and the presence of coronal flux rope cavities (e.g., Rumińska et al., 2022).

On theoretical grounds one expects free magnetic energy – above that of a current-free configuration – to build up only in regions of closed magnetic field. This is because when an open field region is sheared by moving the field line footpoints on the solar surface, the lack of line-tying at the outer end means that this open field is free to relax back to a minimum-energy (current-free) configuration. But in a closed-field region the field lines are line-tied on the photosphere at both ends and will retain the shear.

What prevents free energy building up indefinitely in the corona? There are three factors to consider (Mikić and Linker, 1994):

  1. i)

    As coronal arcades are sheared, they expand and more of the field becomes open, subsequently relaxing to potential and thus releasing energy.

  2. ii)

    If strong enough current sheets form in the corona then these can support magnetic reconnection allowing reconfiguration of the magnetic field to a lower energy state (and possibly also the loss of magnetic energy through ohmic heating). This can be gradual or sudden.

  3. iii)

    If the magnetic field becomes too sheared or twisted, it can lose equilibrium leading to an eruption that removes energy through the outer boundary. This is thought to be the origin of coronal mass ejections.

One can obtain a feeling for how the free energy varies over the solar cycle by looking at the observed rates of solar flares (e.g., Hathaway, 2015) or coronal mass ejections (Webb and Howard, 2012; Lamy et al., 2019). These indices of solar activity tend to follow (roughly) the observed sunspot number, because most of these events originate from active regions. For active regions, non-potential magnetic field extrapolations are now routinely made (Wiegelmann and Sakurai, 2021), giving local estimates of free energy albeit with some uncertainty (e.g., Régnier and Priest, 2007; DeRosa et al., 2015; Thalmann, Gupta, and Veronig, 2022). But the magnetic flux from active regions spreads out gradually as they decay and interact, and the effect of this process on free energy is harder to pin down. Indirect observations show that there is indeed free energy stored outside of active regions, in concentrated filament channels or even large-scale sheared arcades. But to date there have been relatively few quantitative studies of how the free energy in the global solar corona varies over the solar cycle, two exceptions being Yeates, Constable, and Martens (2010) and Chifu, Inhester, and Wiegelmann (2022).

Chifu, Inhester, and Wiegelmann (2022) used static nonlinear force-free field (NLFFF) extrapolations from synoptic vector magnetograms, once per 27-day Carrington rotation, to follow the evolution of the coronal magnetic field over Solar Cycle 24 (from 2010 to 2019). They found a peak of free energy of about \(2.5\times 10^{33}~\mathrm{erg}\) – occurring in late 2014 which is the time when observed magnetic flux and flare activity peaked for that cycle. These authors did not indicate the relative magnitude of this free energy compared to the current-free field; however, for a single similar extrapolation, Tadesse et al. (2014) previously obtained a figure of \(15\%\). On the other hand, this earlier work illustrated – as confirmed in the model comparison study by Yeates et al. (2018) – that these global NLFFF extrapolations from present-day vector magnetogram observations are unable to accurately recover currents outside active regions, such as in filament channels.

The study by Yeates, Constable, and Martens (2010) used an alternative, magneto-frictional model with surface driving. This gives less accurate results for the detailed structure within active regions but is better able to reproduce the formation of filament channels and other non-potential structures outside them. A similar model will be used in the present paper and discussed further in Section 2. Unlike Chifu, Inhester, and Wiegelmann (2022), the study of Yeates, Constable, and Martens (2010) covered Solar Cycle 23, looking at six different periods over the cycle. They found that the free magnetic energy increased by a factor of 15 between Solar Minimum and Solar Maximum, while the total magnetic energy increased by a factor of 8. The actual value of free energy during Maximum was around \(2\times 10^{33}~\mathrm{erg}\), a little below that found by Chifu, Inhester, and Wiegelmann (2022) for Solar Cycle 24.

The time-dependent magneto-frictional models also have the advantage of including the formation and eruption of magnetic flux ropes (Mackay and van Ballegooijen, 2006; Yeates and Mackay, 2009a). Yeates, Constable, and Martens (2010) defined flux ropes using the magnetic pressure and tension forces, then identified ejections by looking at the outward velocity. They found that the number of ejections increased from Minimum to Maximum by a factor of 8, proportional to the sunspot number as in the observations of coronal mass ejections. Lowder and Yeates (2017) analysed a continuous magneto-frictional simulation from 1996 to 2014, with a new methodology for flux rope identification based on thresholding of field line helicity. Again, they found that the eruption rate followed solar activity. In addition, the model predicted a non-zero number of eruptions during the very weak Minimum between Cycles 23 and 24, which also seems to be consistent with observations. Both of these previous magneto-frictional models were driven by idealised bipolar active regions derived from US National Solar Observatory synoptic magnetograms.

Whilst the general trend of increasing non-potentiality from Solar Minimum to Solar Maximum is well established, the aim of this paper is to be more quantitative. We use a model that is able to approximate the evolution of non-potential structure on a global scale, rather than treating individual active regions in isolation. In particular, we update our earlier findings on solar cycle variation of non-potentiality during Cycle 23 to new magneto-frictional simulations of Cycle 24 based on HMI data. After describing the model and implementation (Section 2), we will consider in Section 3 a reference simulation where all active regions emerge untwisted. Given the presence of magnetic reconnection and outflow in our model, we would expect this to be a practical lower bound for the amount of free energy in the corona. In Section 4, we will then discuss the effect of emerging twisted active regions, before giving our conclusions in Section 5.

This study benefits from two technical advances. The first is the emergence of active regions with observed shapes rather than idealised magnetic bipoles (Yeates and Bhowmik, 2022). The surface flux transport study by Yeates (2020b) showed that in Cycle 24 the idealised bipoles lead to a 24% overestimate of the overall axial dipole moment, but the effect on the non-potential coronal magnetic field has not yet been investigated. The second advance is the development of field line helicity as an additional tool for probing the non-potential structure of the coronal magnetic field (Berger, 1988; Yeates and Hornig, 2016; Lowder and Yeates, 2017; Yeates, 2020c; Moraitis, Patsourakos, and Nindos, 2021).

2 Model Setup

We simulate the corona using a magneto-frictional model for the mean (large-scale) magnetic field \({\boldsymbol {B}}\), coupled to an evolving surface flux transport model on the solar surface. This approach was introduced by van Ballegooijen, Priest, and Mackay (2000) and extended to the global corona by Yeates, Mackay, and van Ballegooijen (2008). It has since been applied in numerous studies, including investigations of filament formation (e.g, Mackay, Gaizauskas, and van Ballegooijen, 2000; Yeates and Mackay, 2009b; Mackay et al., 2018), coronal mass ejections (e.g., Mackay and van Ballegooijen, 2006; Yeates and Mackay, 2009a; Lowder and Yeates, 2017; Bhowmik and Yeates, 2021), sympathetic flares (Schrijver et al., 2013), the middle corona (Meyer et al., 2020), or the interplanetary magnetic field/solar wind (Yeates et al., 2010; Edwards et al., 2015). It has also been applied to other stars (e.g., Lehmann et al., 2017), by other researchers (Hoeksema et al., 2020), and coupled to full magnetohydrodynamic simulations (e.g., Yardley et al., 2021; Hayashi et al., 2021). This experience has guided our choice of reference parameter values; the effect of varying these parameters is considered in Appendix B.

2.1 Magneto-Frictional Model

Our magneto-frictional model for the mean/large-scale magnetic field is based on the following main assumptions:

  1. i)

    The mean magnetic field \({\boldsymbol {B}}\) in the corona originates from the emergence of macroscopic active regions. In this paper we neglect small-scale ephemeral regions although they do contribute to the total magnetic energy in the real corona and potentially even to the magnetic helicity on large-scales, through an inverse cascade (Mackay, DeVore, and Antiochos, 2014). Our treatment of emerging regions is described in Section 2.4.

  2. ii)

    The high magnetic Reynolds number implies a near-ideal evolution of \({\boldsymbol {B}}\), so it is important to retain the mean-field induction equation

    $$ \frac{\partial {\boldsymbol {B}}}{\partial t} = -\nabla \times{\boldsymbol {E}}, \qquad \boldsymbol{E} = - {\boldsymbol {v}}\times{\boldsymbol {B}} + {\boldsymbol {N}}, $$
    (1)

    where the non-ideal term \({\boldsymbol {N}}\) is small. This means in particular that \({\boldsymbol {B}}\) holds a memory of previous interactions, allowing topological structure to build over time.

  3. iii)

    The high Alfvén speed in the corona makes \({\boldsymbol {B}}\) respond rapidly to boundary motions on the solar surface (Section 2.3), and flux emergence from the solar interior (Section 2.4). Accordingly, we neglect plasma forces and magnetohydrodynamic waves, and approximate the fluid momentum equation with an artificial velocity

    $$ {\boldsymbol {v}} = \frac{{\boldsymbol {J}}\times{\boldsymbol {B}}}{\nu B^{2}} + v_{\mathrm{out}}(r) \hat{\boldsymbol {r}}, \qquad {\boldsymbol {J}} = \nabla \times{\boldsymbol {B}}. $$
    (2)

    The first term represents the magneto-frictional assumption (Chodura and Schlüter, 1981; Yang, Sturrock, and Antiochos, 1986) and ensures relaxation towards a force-free equilibrium \({\boldsymbol {J}}\times{\boldsymbol {B}}={\boldsymbol {0}}\), albeit modified here by the second term. We also assume low plasma-beta and neglect plasma pressure and gravity, although this is a simplification compared to reality (cf. Chen, Rempel, and Fan, 2022).

  4. iv)

    In the outer corona, the solar wind starts to influence \({\boldsymbol {B}}\), preventing it from being force-free. This is accounted for by the radial outflow \(v_{\mathrm{out}}(r)=v_{w}(r/R_{1})^{11.5}\) in Equation 2, which models the radially distending effect of the solar wind on closed-field arcades (Mackay and van Ballegooijen, 2006), and reduces the solution’s sensitivity to the particular choice of outer boundary height, \(R_{1}\) (Rice and Yeates, 2021). We set \(R_{1}=2.5R_{\odot}\) and fix the outflow speed \(v_{w}=100~\mathrm{km}\,\mathrm{s}^{-1}\) in our reference model.

  5. v)

    The coronal \({\boldsymbol {B}}\) relaxes with respect to a rest frame rotating with the Sun. Our simulations use the Carrington frame.

The non-ideal electric field, \({\boldsymbol {N}}\), in Equation 1 represents turbulent diffusion – the net effect of unresolved small-scale fluctuations on the mean magnetic field. Here we assume the hyperdiffusive form

$$ {\boldsymbol {N}} = -\eta _{h}\frac{{\boldsymbol {B}}}{B^{2}}\nabla \cdot \left [B^{2} \nabla \left (\frac{{\boldsymbol {J}}\cdot \boldsymbol{B}}{B^{2}}\right )\right ], $$
(3)

which prevents volume dissipation of relative helicity (with respect to a potential field) since the corresponding volume dissipation term \(\int _{V}{\boldsymbol {E}}\cdot{\boldsymbol {B}}\,dV\) (Berger and Field, 1984) becomes a boundary integral (Boozer, 1986; van Ballegooijen and Cranmer, 2008). We set the reference value \(\eta _{h}=10^{11}~\mathrm{km}^{4}\,\mathrm{s}^{-1}\) following van Ballegooijen and Mackay (2007). The recent study of Mackay and Upton (2022) suggests that hyperdiffusion gives quite a conservative estimate of the amount of free energy in the corona, compared to other possible forms for \({\boldsymbol {N}}\), although further observational comparison is needed to be sure of the most realistic approach.

The “friction” coefficient \(\nu \) in Equation 2 controls the speed of relaxation relative to hyperdiffusion and boundary driving. To reduce computational cost, we follow Mackay, Gaizauskas, and van Ballegooijen (2000) and reduce the relaxation rate near the poles, setting \(\nu = \nu _{0} (r\cos \lambda )^{-2}\), where \(\lambda \) denotes latitude. In our reference model the amplitude is set to \(\nu _{0}=2.8\times 10^{5}~\mathrm{s}\).

In our numerical implementation, we write \({\boldsymbol {B}}=\nabla \times{\boldsymbol {A}}\) and solve the uncurled version of Equation 1 for the vector potential \({\boldsymbol {A}}\), using a finite volume method with a staggered mesh so as to conserve magnetic flux. The mesh has equally spaced points in \(\log (r/R_{\odot})\), sine latitude and longitude, with a resolution of \((60,180,360)\) cells. The equations are discretised using second-order “mimetic” spatial differences (discretising Stokes’ Theorem), with a modified stencil at the polar grid points. Upwinding is used for the radial outflow term. Time-stepping uses a second-order Runge–Kutta method. The simulations run from 12 June 2010 to 31 December 2019.

2.2 Initial Conditions

To initialise the simulation, we use a potential field source surface (PFSS) extrapolation taken from an imposed \(B_{r}\) distribution on \(r=R_{\odot}\), assuming \({\boldsymbol {J}}={\boldsymbol {0}}\) in the corona with \({\boldsymbol {B}}\times \hat{\boldsymbol {r}}={\boldsymbol {0}}\) on the outer source surface boundary, \(r=R_{1}\). For the imposed \(B_{r}\) distribution, we use the radial component, pole-filled HMI map for Carrington rotation CR 2097 from the hmi.synoptic_mr_polfil_720s series (Sun, 2018). To reduce its resolution to be comparable to our simulations of the mean field, this map is first smoothed by multiplying the spherical harmonic coefficients by a Gaussian filter \(\mathrm{e}^{-c_{w}l(l+1)}\), with \(c_{w}=5\times 10^{-4}\).

The initial potential field extrapolation is computed using the author’s finite difference code (Yeates, 2018; Stansby, Yeates, and Badman, 2020), which ensures that \({\boldsymbol {J}}={\boldsymbol {0}}\) to machine precision for our particular discretisation scheme.

2.3 Boundary Conditions

At the inner boundary the horizontal electric field from Equation 1 is replaced by

$$ {\boldsymbol {E}}_{\perp}\big|_{r=R_{\odot}} = {\boldsymbol {E}}_{\perp}^{\mathrm{em}} -{\boldsymbol {v}}_{s} \times \big(B_{r}\hat{\boldsymbol {r}}\big) + \eta _{0}\nabla \times \big(B_{r} \hat{\boldsymbol {r}}\big). $$
(4)

The first term, \({\boldsymbol {E}}_{\perp}^{\mathrm{em}}\), represents emergence of new active regions and will be described in Section 2.4. The final two terms represent, respectively, advection by large-scale surface flows and supergranular diffusion (the net effect of small-scale surface motions). The large-scale flow velocity is assumed to take the steady form \({\boldsymbol {v}}_{s} = v_{\theta}(\theta )\hat{\boldsymbol{\theta}} + R_{\odot}\sin \theta \,\Omega (\theta )\hat{\boldsymbol{\phi}}\), where \(v_{\theta}\) denotes the meridional (poleward) flow and \(\Omega (\theta )\) is the angular velocity of differential rotation. In this study we neglect any additional injection of magnetic helicity into the mean field from small-scale photospheric flows, although this could be included in parameterised form (see Mackay, DeVore, and Antiochos, 2014).

The surface flux transport parameters \({\boldsymbol {v}}_{s}\) and \(\eta _{0}\) were previously calibrated for the same emerging regions by Yeates (2020b) to ensure a reasonable match to the observed time series of axial dipole strength. This led to \(v_{\theta}(\theta ) = D_{u}\cos \theta \sin ^{p_{0}}\theta \), with \(p_{0}=2.33\) and \(D_{u} = 0.041~\mathrm{km}\,\mathrm{s}^{-1}\) (giving a peak flow speed of \(15~\mathrm{m}\,\mathrm{s}^{-1}\)), and \(\eta _{0} = 350~\mathrm{km}^{2}\,\mathrm{s}^{-1}\). The calibration did not constrain the differential rotation, so in this paper we use the established angular velocity profile from Snodgrass and Ulrich (1990) of \(\Omega (\theta ) = 0.18 - 2.396\cos ^{2}\theta - 1.787\cos ^{4} \theta \) (degrees per day in the Carrington frame).

The resulting evolution of \(B_{r}\) on the solar surface was illustrated in Figure 5 of Yeates (2020b). In that paper, it was also determined that if emerging regions are replaced by idealised BMRs, the meridional flow amplitude should be increased to \(D_{u}=0.055~\mathrm{km}\,\mathrm{s}^{-1}\) (giving a peak flow speed of \(20~\mathrm{m}\,\mathrm{s}^{-1}\)), to counter the spurious enhancement in end-of-cycle axial dipole strength resulting from the BMR approximation. This is adopted in our simulation run BMR0 below.

At both inner and outer boundaries, we impose \({\boldsymbol {J}}\times \hat{\boldsymbol {r}}={\boldsymbol {0}}\), so as to avoid any flux of magnetic energy into or out of the domain due to the magneto-friction term in Equation 2. To compute \({\boldsymbol {N}}\) on these boundaries, we impose zero-gradient conditions on the radial component of the hyperdiffusive flux \(B^{2}\nabla ({\boldsymbol {J}}\cdot{\boldsymbol {B}}/B^{2})\).

2.4 Emerging Regions

We use the dataset of active regions extracted by Yeates (2020b) from Spaceweather HMI Active Region Patch (SHARP) data (Bobra et al., 2014). Briefly, a single line-of-sight magnetogram for each region is selected at the time closest to central meridian, and remapped to the simulation grid. The dataset is filtered to remove regions that are (i) too unbalanced in flux; (ii) too small to resolve; or (iii) repeat observations of the same region on an earlier disk passage. This leaves surface \(B_{r}\) maps for 1072 regions during the simulation period. Figure 1(a) shows the time-latitude distribution of regions, coloured by their unsigned magnetic flux, \(\Phi _{0}\) (including both polarities). The distribution of region fluxes is shown in Figure 1(b).

Figure 1
figure 1

Emerging regions determined from the HMI/SHARPs data, shown in a time-latitude “butterfly” plot and coloured by either (a) unsigned flux, \(\Phi _{0}\) or (c) observed twist, \(\alpha _{0}\). Panel (b) shows a histogram of the \(\Phi _{0}\) values, while (d) shows the mean and standard deviation of the \(\alpha _{0}\) values in equal sine-latitude bins. There is a hemispheric tendency in \(\alpha _{0}\) with \(\langle \alpha _{0}\rangle _{\lambda _{0}>0}=-0.0147~\mathrm{Mm}^{-1}\) and \(\langle \alpha _{0}\rangle _{\lambda _{0}<0}=0.00510~\mathrm{Mm}^{-1}\). The percentage of regions obeying the hemispheric rule is 75.9% in the North and 60.6% in the South.

Figure 1(c) shows the same SHARP regions but coloured instead by the observed “twist” parameter \(\alpha _{0} = \sum J_{z}B_{z}/(\sum B_{z}^{2})\) from the SHARP metadata (MEANALP in Table 3 of Bobra et al., 2014). Here the sum is taken over all observed pixels within the SHARP mask. This incorporates vector magnetogram information through \(J_{z}\), and will be used here to set the helicity of emerging regions in two simulation runs. There is considerable scatter in the observed \(\alpha _{0}\) values. Some of this is likely real – resulting from the variation in helicity between different active regions (e.g., Georgoulis et al., 2009) – but some is likely due to measurement error. In addition, it must be remembered that the \(\alpha _{0}\) parameter does not correspond directly with the full current helicity, or the magnetic helicity which is the underlying conserved quantity (cf. Russell et al., 2019). Nevertheless, the latitude distribution in Figure 1(d) shows that \(\alpha _{0}\) recovers the expected hemispheric helicity trend of negative in the North and positive in the South (Pevtsov and Balasubramaniam, 2003; Liu, Hoeksema, and Sun, 2014).

Our technique for emerging each region in the three-dimensional simulation was motivated, described, and illustrated in detail by Yeates and Bhowmik (2022). Briefly, for a fixed time interval \(T_{\mathrm{em}}=24~\mathrm{hr}\) we impose a steady (surface) electric field

$$ {\boldsymbol {E}}^{\mathrm{em}}_{\perp}(\theta ,\phi ) = {\boldsymbol {E}}^{0}_{\perp}(\theta , \phi ) - \nabla \frac{\Psi (\theta ,\phi )}{T_{\mathrm{em}}}. $$
(5)

The first term \({\boldsymbol {E}}^{0}_{\perp}\) is the local inductive electric field, which generates the given \(B_{r}\) distribution while producing a coronal magnetic field with minimum possible complexity (close to potential). This is termed “local” because we fix \({\boldsymbol {E}}^{0}_{\perp}={\boldsymbol {0}}\) outside of the emerging region.

The second term in Equation 5 does not change the final \(B_{r}\) distribution but generates additional helicity in the three-dimensional field, allowing us to account for active regions that emerge in a non-potential state. In the reference run T0, this additional twisting is omitted, generating coronal active regions that are close to potential with low internal helicity. An example is shown in Figure 2(a).

Figure 2
figure 2

Three-dimensional renderings of an emerging region (SHARP 187/NOAA 11109 on 2010-09-28), immediately after completion of emergence in three of the simulation runs. The twist parameter is \(\tau =0\) in (a,c) and \(\tau =-0.1\) in (b). Grayscale pixels show \(B_{r}\) on \(r=R_{\odot}\) (white positive/black negative, saturated at \(\pm 25~\mathrm{G}\)), while magnetic field lines are coloured by field line helicity (red positive/blue negative, saturated at \(\pm 10^{22}~\mathrm{Mx}\)).

In runs where additional twisting is included, we follow Yeates and Bhowmik (2022) and set the twisting potential to

$$ \Psi (\theta ,\phi ) = \tau b_{0}\langle f_{\mathrm{pil}}\rangle \overline{B}_{r}. $$
(6)

Here \(\overline{B}_{r}\) is a smoothed magnetogram used to identify the polarity inversion lines, and \(\langle f_{\mathrm{pil}}\rangle \) is a function which localises the twist near to them. The normalisation factor \(b_{0}\) is chosen to ensure that the horizontal magnetic field generated by twisting is \(\approx |\tau B_{r}|\). The single dimensionless “twist” parameter \(\tau \) then controls the helicity injection within the emerging region, with \(\tau >0\) leading to positive helicity and \(\tau <0\) to negative helicity. Figure 2(b) shows the same region as Figure 2(a), but emerged with \(\tau =-0.1\) giving it negative helicity – a reverse-S shaped twist.

Since the optimum value of \(\tau \) to model each active region is unknown, we follow Yeates and Bhowmik (2022) and vary \(\tau \) in a parameter study. The simulation runs are summarised in Table 1. In TU0.05 and TU0.1, we simply fix a uniform \(\tau \) value for all regions in each hemisphere. In some sense this maximises the energisation since it minimises cancellation between positive and negative helicity during the relaxation. The largest value of \(|\tau |=0.1\) is chosen because larger values lead to unrealistically twisted coronal field lines (Yeates and Bhowmik, 2022). In order to consider the effect of varying helicity between active regions, runs TOb5 and TOb10 use different values of \(\tau \) for each emerging region, chosen proportional to the observed twist values \(\alpha _{0}\). Since the dimensions of \(\tau \) and \(\alpha _{0}\) are different, the proportionality constant \(\ell \) in Table 1 has dimensions of length. The values of \(\ell \) are chosen so that the two runs have a comparable overall helicity to the two runs with uniform \(\tau \).

Table 1 Model runs with different emerging regions. Coronal parameters take values in all of these runs, namely \(\nu _{0}=2.8\times 10^{5}~\mathrm{s}\), \(\eta _{h}=10^{11}~\mathrm{km}^{4}\,\mathrm{s}^{-1}\), \(v_{w}=100~\mathrm{km}\,\mathrm{s}^{-1}\).

Finally, for most runs, we use the observed SHARP active region shapes. For run BMR0, the regions are replaced by equivalent, idealised BMRs (bipolar magnetic regions), according to the prescription in Yeates (2020b). We take these to be untwisted, as illustrated in Figure 2(c).

2.5 Cycle Variation of the Photospheric Magnetic Field

The distribution of \(B_{r}\) on the solar surface is unaffected by the choice of coronal parameters or emerging region twist. The longitude-averaged \(B_{r}\) was shown as a function of time and latitude in Figure 5 of Yeates (2020b). Here, in Figures 3(a)–(c), we show the emergence rate (number of emerging regions in 27-day bins), total unsigned magnetic flux,

$$ \Phi _{0} = \oint _{r=R_{\odot}}|B_{r}|\,\mathrm{d}S, $$
(7)

and total polarity inversion line (PIL) length. The darker curves show the reference run T0 (or equivalently, TU0.05, TU0.1, TOb5, or TOb10). The fainter curves show run BMR0. This has the same emergence rate. However, whilst the BMR approximation does not change \(\Phi _{0}\) for individual regions, it does slightly increase \(\Phi _{0}\) around Solar Maximum because of differences in flux cancellation between regions, and the modified \(B_{r}\) pattern also slightly increases the PIL length.

Figure 3
figure 3

Cycle variation of the solar surface magnetic field in runs T0 (original region shapes) and BMR0 (idealised bipoles). Panels (a)–(c) show the quantities with their original units, while panel (d) shows all curves normalised to their mean value during 2018 and 2019 (to right of the vertical dashed line). Grey shading shows the 13-month smoothed monthly International Sunspot Number, normalised in the same way. (Source: WDC-SILSO, Royal Observatory of Belgium, Brussels.)

Figure 3(d) shows the same three quantities but normalised to their mean values during 2018 and 2019 (to the right of the vertical dashed line). This period is chosen to represent Solar Minimum rather than the start of the simulation because the HMI dataset driving the simulation does not extend all the way back to Solar Minimum. Similar to Yeates, Constable, and Martens (2010), we observe that (i) \(\Phi _{0}\) is about 4–5 times higher at Maximum than Minimum, and (ii) the emergence rate in the simulation is about 7–8 times higher at Maximum than Minimum. Note that the increase in observed sunspot number is rather higher than in the previous study, perhaps 20 times more at Maximum than Minimum. This is likely because the SHARP regions can contain multiple spots.

At the resolution considered, the PIL length shows a much more modest increase of less than a factor 2 from Minimum to Maximum, although the length fluctuates substantially over 2018 and 2019. This modest increase is again in line with Yeates, Constable, and Martens (2010).

3 Reference Simulation

In this section we analyse the solar cycle variation of the reference simulation: run T0 in Table 1. This represents a conservative model where all active regions emerge with no internal twist/helicity. As evidenced by the selected snapshots in Figure 4, this still leads to a corona that is non-potential with concentrations of magnetic helicity in sheared arcades or twisted flux ropes (cf. Yeates and Hornig, 2016; Bhowmik and Yeates, 2021). The associated free energy can build up at active latitudes, as in Figure 4(c), but it can also be stored in closed-field arcades at higher latitudes, as seen on the Northern polar crown in Figure 4(d). In the following subsections we will consider how quantitative properties of the simulated magnetic field vary between Solar Minimum and Solar Maximum.

Figure 4
figure 4

Four snapshots from the reference simulation, run T0, viewed from the direction of the Earth at the corresponding time. Magnetic field lines are coloured by their field line helicity (Section 3.2): red positive/blue negative, saturated at \(\pm 10^{22}~\mathrm{Mx}\). Gray shading shows \(B_{r}\) on the solar surface, black negative/white positive, saturated at \(\pm 15~\mathrm{G}\).

3.1 Energy

Figure 5(a) shows total magnetic energy,

$$ E = \int _{V}\frac{B^{2}}{8\pi}\,\mathrm{d}V, $$
(8)

along with the energy of a corresponding PFSS extrapolation. The cyan curve shows free energy,

$$ E_{\mathrm{free}} = E - E_{\mathrm{p}}, \qquad E_{\mathrm{p}}= \int _{V} \frac{(B_{\mathrm{p}})^{2}}{8\pi}\,\mathrm{d}V, $$
(9)

where \({\boldsymbol {B}}_{\mathrm{p}}\) is the current-free magnetic field in the coronal volume matching \(B_{{\mathrm{p}}r}=B_{r}\) on both \(r=R_{\odot}\) and \(r=R_{1}\). Whilst this reference potential field technically differs from the PFSS field shown in Figure 5(a), their energies are indistinguishable on the scale of the plot. The peak around late 2014/early 2015 arises from a particularly strong activity complex – the “Great Solar Active Region” NOAA 12192 (Sun et al., 2015) which was the largest since 1990. This already causes a substantial peak of magnetic energy in the PFSS model, and coincides with the peak of solar activity as noted by Chifu, Inhester, and Wiegelmann (2022).

Figure 5
figure 5

Cycle variation of the coronal magnetic energy in run T0, computed at 27-day intervals. Dark blue curves show the total energy, \(E\), blue-grey the energy of a corresponding PFSS extrapolation, \(E_{\mathrm{p}}\), and cyan the free energy, \(E_{\mathrm{free}}\). Panel (a) shows the original values while (b) shows the relative free energy, \(E_{\mathrm{free}}/E_{\mathrm{p}}\). Panel (c) shows the same curves as (a) but normalised as in Figure 3 and compared to the observed sunspot number.

To measure the overall energisation, Figure 5(b) shows relative free energy, \(E_{\mathrm{free}}/E_{\mathrm{p}}\). This fluctuates from one snapshot to the next, but on average is about \(13.8\%\) over much of the cycle. This is rather lower than many of the non-potential models compared by Yeates et al. (2018), where the ratio \(E_{\mathrm{free}}/E_{\mathrm{p}}\) was in the range \(40-50\%\). However, we will see in Section 4 that \(E_{\mathrm{free}}\) is substantially increased if the active regions emerge twisted.

Figure 5(c) shows how the three energies vary over the solar cycle, compared to the 2018–2019 period. Since energy is quadratic in \({\boldsymbol {B}}\), by comparing to the variation of photospheric flux in Figure 3(d) one would expect roughly a factor \(16-25\) increase from Minimum to Maximum, and this is indeed the order of magnitude found. Note that \(E\) and \(E_{\mathrm{p}}\) show a similar relative increase, as does \(E_{\mathrm{free}}\) albeit a little higher. However, one has to bear in mind that these are snapshots rather than running means; in particular, since \(E_{\mathrm{free}}\) tends to lag \(E_{\mathrm{p}}\) (because of the time taken for differential rotation to shear the field), the two energies – which are fluctuating on a faster timescale – are not necessarily sampled in phase. Thus we should not read too much into the precise heights of the peaks.

We note that Yeates, Constable, and Martens (2010) found \(E_{\mathrm{free}}\) to increase rather more from Minimum to Maximum compared to \(E\), but here we find it much closer. However, this is again an effect of assuming the emerging regions to be untwisted, as we will see in Section 4.

3.2 Current and Helicity

Free energy is not the only way to characterise the complexity of the coronal magnetic field. Figure 6 shows two further measures: mean current density and unsigned helicity.

Figure 6
figure 6

Cycle variation of (a) the mean current density \(\langle J\rangle \) and (b) the unsigned helicity \(\overline{H}\), in run T0, computed at 27-day intervals. Panel (c) shows the same curves as (a) and (b) but normalised as in Figure 3 and compared to the observed sunspot number. The faint line in (b) shows \(\overline{H}\) for corresponding PFSS extrapolations from the same surface \(B_{r}\) distribution.

Mean current density – shown in Figure 6(a) is defined as

$$ \langle{J\rangle} = \frac{\int _{V}|\nabla \times{\boldsymbol {B}}|\,\mathrm{d}V}{\int _{V}\,\mathrm{d}V}, $$
(10)

where \(V\) is the full simulation volume. Figure 6(c) shows that it follows a similar 4–5-fold increase to the magnetic flux from Figure 3.

Unsigned helicity – shown in Figure 6(b) – is a measure of the topological complexity of the coronal magnetic field. It is defined as

$$ \overline{H} = \frac{1}{2}\int _{\partial V}\big|\mathcal{A}B_{r} \big|\,\mathrm{d}S, $$
(11)

where \(\mathcal{A}\) is the field line helicity

$$ \mathcal{A}(L) = \int _{L}{\boldsymbol {A}}^{*}\cdot \mathrm{d}{\boldsymbol {l}}, $$
(12)

for a magnetic field line \(L\) traced from a given point on \(\partial V\), and \({\boldsymbol {A}}^{*}\) is an appropriate vector potential. Figure 6(c) shows a similar rate of increase in \(\overline{H}\) from Minimum to Maximum compared to \(\langle J\rangle \), albeit a rather different time profile, relatively lower in the increasing phase of the cycle. Like magnetic energy, \(\overline{H}\) also shows a peak in late 2014. This peak is present even in the PFSS model (as explained by Yeates, 2020c), but is significantly enhanced in the non-potential model – even in run T0 – because the strong active region acts a seed for shearing by differential rotation.

Our rationale for using \(\overline{H}\) rather than the simpler-to-compute \(\int _{V}|{\boldsymbol {A}}\cdot{\boldsymbol {B}}|\,\mathrm{d}V\) is that \(\overline{H}\) is a topological invariant: it is unchanged under ideal deformations within the domain that fix the field line footpoints on the boundary, whereas the latter is not (and neither is \(\langle J\rangle \)). Thus it is a more robust measure than \(\int _{V}|{\boldsymbol {A}}\cdot{\boldsymbol {B}}|\,\mathrm{d}V\). Our rationale for using \(\overline{H}\) rather than the commonly-used relative helicity invariant (Berger and Field, 1984) is the fact that relative helicity is a signed quantity. It would be a poor measure of topology for our global model because it would incorporate cancellation between regions of positive and negative helicity, even if these regions are remotely located on the Sun and do not interact in reality. This departure from what has become routine practice in solar physics is further discussed in Appendix A.

The specific values of \(\mathcal{A}(L)\) and hence of \(\overline{H}\) depend on the chosen gauge of \({\boldsymbol {A}}^{*}\). However, recent work suggests that there is a meaningful “canonical” choice of gauge (Berger and Hornig, 2018; Yeates, 2020c; Xiao, Prior, and Yeates, 2023), having the form \({\boldsymbol {A}}^{*}=\nabla \times (P\hat{\boldsymbol {r}}) + T\hat{\boldsymbol {r}}\) for suitable \(P\) and \(T\). Since \({\boldsymbol {A}}^{*}\) differs from the gauge of \({\boldsymbol {A}}\) used to solve Equation 1, we compute \({\boldsymbol {A}}^{*}\) numerically to find \(\mathcal{A}\) and \(\overline{H}\). Whilst not unique, using this gauge consistently for all of our calculations allows us to compare different time snapshots and different runs. Moreover, as we will see in Section 4, this gauge choice leads to a meaningful correlation between \(\overline{H}\) and free energy.

Note that even potential fields can have non-zero \(\overline{H}\) if their boundary \(B_{r}\) distribution lacks axisymmetry – this behaviour was demonstrated for typical solar-like configurations in Yeates (2020c). For run T0, the faint curve in Figure 6(b) shows that \(\overline{H}\) in the PFSS model is approximately \(33\%\) of \(\overline{H}\), following a similar cycle trend. Correlation between them arises because sub-structure in the PFSS field acts as a seed for subsequent shearing by differential rotation, which amplifies \(\overline{H}\) in run T0. However, \(\overline{H}\) also fluctuates more rapidly in the magneto-frictional simulation due to sudden reconfigurations such as flux rope ejections.

3.3 Eruptivity

In this paper we avoid identifying individual magnetic flux ropes, as this is a significant task in itself and the statistics would depend on the method used and definition of a flux rope (but for two possible approaches, see Yeates and Mackay, 2009a; Lowder and Yeates, 2017). Instead, we have identified a proxy for the eruption rate that can be computed without the need to identify individual structures or track them over time. Importantly, this proxy can be computed from global diagnostics which can be saved at high time cadence, rather than requiring three-dimensional magnetic snapshots.

Our chosen eruptivity proxy is the second time derivative of unsigned open magnetic flux,

$$ \Phi _{1} = \oint _{r=R_{1}}|B_{r}|\,\mathrm{d}S. $$
(13)

As illustrated by Bhowmik and Yeates (2021), eruptions of individual structures in the model lead to temporary enhancements in \(\Phi _{1}\). Taking the second time derivative, \(\ddot{\Phi}_{1}\), removes the underlying secular variation and extracts these peaks. The evolution of this quantity is illustrated for run T0 in Figures 7(a)–(d).

Figure 7
figure 7

Time series used to compute the eruptivity proxy, \(\langle \ddot{\Phi}_{1}\rangle \), shown for run T0. Panel (a) shows the open magnetic flux, \(\Phi _{1}\) over the full simulation, with enlargement of a selected period in (b). Panels (c)–(d) show the second time derivative, \(\ddot{\Phi}_{1}\). For comparison, panels (e)–(f) show the Poynting flux, \(S_{1}\), through the outer boundary, with dots in (f) indicating peaks. Panel (g) shows the 27-day mean \(\langle \ddot{\Phi}_{1}\rangle \), overlayed with the number of \(S_{1}\) peaks in 27-day bins, both normalised to their maximum values. Panel (h) shows \(\langle \ddot{\Phi}_{1}\rangle \) normalised as in Figure 3 and compared to the observed sunspot number.

Another signature of eruptions are short “bursts” in the Poynting flux of magnetic energy through the outer boundary. From Equations 13, and our boundary conditions, this takes the form

$$ S_{1} = -\frac{1}{4\pi}\oint _{r=R_{1}}{\boldsymbol {E}}\times{\boldsymbol {B}}\cdot \hat{\boldsymbol {r}}\,dS = -\frac{v_{\mathrm{out}}(R_{1})}{4\pi}\oint _{r=R_{1}}|{ \boldsymbol {B}}\times \hat{\boldsymbol {r}}|^{2}\,dS. $$
(14)

Due to the radial outflow, the energy flux is purely outward (negative). Moreover, it depends only on the horizontal magnetic field, so is negligible in equilibrium, spiking only during eruptive events. It is shown for run T0 in Figures 7(e)–(f). Comparing the enlarged Figures 7(d) and 7(e) shows that the timings of peaks in \(S_{1}\) (labelled with small circles) correspond well to peaks in \(\ddot{\Phi}_{1}\).

For clearer comparison over the full solar cycle, we take our eruptivity proxy to be the 27-day average, \(\langle \ddot{\Phi}_{1}\rangle \). This is shown by the green curve in Figure 7(g). The purple curve shows the number of peaks in \(S_{1}\) in 27-day bins, which is seen to follow a similar variation over the cycle. The peaks were counted requiring a minimum-to-maximum height of at least the mean value \(2\times 10^{24}~\mathrm{erg}\,\mathrm{s}^{-1}\), but varying this threshold changes only the overall normalisation in Figure 7(g) and not the relative variation over the cycle. Thus \(\langle \ddot{\Phi}_{1}\rangle \) gives a meaningful proxy for the normalised eruption rate. Note that \(S_{1}\) itself would peak more strongly at Maximum because it is quadratic in \({\mathbf{B}}\). Our chosen measure instead counts the rate of eruptions, with less regard to size. This is simpler to compare with observations.

For run T0, Figure 7(h) shows the cycle variation of \(\langle \ddot{\Phi}_{1}\rangle \) when normalised by its values in 2018 and 2019, as for previous quantities. We observe an increase from Minimum to Maximum by a factor comparable with \(\Phi _{0}\), \(\langle J\rangle \), or \(\overline{H}\), but rather less than \(E_{\mathrm{free}}\). This contrasts with Yeates, Constable, and Martens (2010) where the rate of eruptions was found to increase more substantially over the cycle, more akin to the sunspot number or total energy. Furthermore, \(\langle \ddot{\Phi}_{1}\rangle \) does not follow the shape of the sunspot curve, peaking in late 2014 but weaker before 2014. In particular, the eruptions themselves do not correlate with the timing of individual active region emergences – some are caused more-or-less directly by emergence, but others arise from the longer term shearing of remnant flux, as in previous magneto-frictional models (e.g., Mackay and van Ballegooijen, 2006). However, we will see in the next section that the eruptivity is also affected by the helicity of emerging regions.

4 Effect of Emerging Region Properties

We have repeated the analysis of coronal properties for each simulation run in Table 1.

4.1 Emerging Region Twist – Cycle Variation

To investigate the effect of injecting helicity in the emerging regions, we compare runs TU0.05, TU0.1, TOb5 and TOb10 to the reference run T0. All of these runs share the same evolution of \(B_{r}\) on the solar surface as run T0, with the only difference being the non-zero twist parameters \(\tau \).

Figure 8 compares the time evolution of \(E_{\mathrm{free}}\) and \(\overline{H}\) for the different runs. Both quantities are enhanced in all of the runs with \(\tau \neq 0\), compared to T0. Again, this is clearly related to periods of active region emergence, as one would expect given that the additional free energy is coming from the twisting of emerging regions. Figure 8(a) for \(E_{\mathrm{free}}\) can be compared with the NLFFF extrapolations in Figure 8 of Chifu, Inhester, and Wiegelmann (2022). Even in run TOb10, our \(E_{\mathrm{free}}\) looks to be perhaps \(50\%\) lower on average, likely due at least in part to the lower resolution – Chifu, Inhester, and Wiegelmann (2022) use \((180,280,720)\) cells for analysis, and their \(E_{\mathrm{free}}\) peaks at about \(2.5\times 10^{33}~\mathrm{erg}\) in late 2014. On the other hand, we do see a similar overall pattern of short-term enhancements, with most of our models peaking similarly in late 2014. Our \(E_{\mathrm{free}}\) shows sharper fluctuations, during which the magnitude can be comparable to Chifu, Inhester, and Wiegelmann (2022). On the other hand, our \(E_{\mathrm{free}}\) values around March 2015 look broadly consistent with those obtained by Mackay and Upton (2022) in their magneto-frictional runs with hyperdiffusion.

Figure 8
figure 8

Time evolution of (a) \(E_{\mathrm{free}}\) and (b) \(\overline{H}\), in the coronal simulations with different emerging region properties. Here colours distinguish the different runs, with symbols indicating the peaks. The curves for run T0 are repeated from Figures 5(a) and 6(b).

Figures 9(b,c,e,f) show the normalised cycle variation of \(E_{\mathrm{free}}\) and \(\overline{H}\) for each run, as well as the eruptivity \(\langle \ddot{\Phi}_{1}\rangle \). Again we see that, as we increase \(|\tau |\) – either the uniform value in runs TU0.05 and TU0.1 or the factor multiplying \(\alpha _{0}\) for each region in runs TOb5 and TOb10 – there is a greater contrast in non-potentiality of the corona from Minimum to Maximum. This is particularly seen in \(E_{\mathrm{free}}\), which now shows a greater increase than the sunspot number. The pattern of variation in \(\langle \ddot{\Phi}_{1}\rangle \) is also brought more into line with that of the sunspot number, in particular being enhanced during the rising phase of the cycle. Both of these findings bring the results into line with Yeates, Constable, and Martens (2010), removing the discrepancies seen in run T0.

Figure 9
figure 9

Cycle variation of parameters in the coronal simulations with different emerging region properties. Each panel corresponds to a different simulation run (Table 1), with all curves normalised as in Figure 3 and compared to the observed sunspot number.

4.2 Emerging Region Twist – Cycle Averages

Figure 10 shows some interesting scatter plots for the simulations in Table 1, namely cycle-averaged free energy and eruptivity against cycle-averaged \(\overline{H}\). In Figure 10(a), we see a clear power-law relation between the cycle-averages of \(E_{\mathrm{free}}\) and \(\overline{H}\), which holds for all of the runs (including BMR0). It is also clear how both quantities increase as the emerging region twist \(\tau \) is increased. The intermediate runs TU0.05 and TOb5 are roughly comparable to one another in both \(\overline{H}\) and \(E_{\mathrm{free}}\). Compared to the reference run T0, these two runs have approximately \(20\%\) more unsigned helicity and \(55\%\) more free energy.

Figure 10
figure 10

Relation between cycle-averaged unsigned helicity, \(\overline{H}\) and (a) free energy, \(E_{\mathrm{free}}\); or (b) eruptivity, \(\langle \ddot{\Phi}_{1}\rangle \). Each symbol denotes a run with different emerging region properties. In (a) the dashed line shows a power-law fit with the given coefficients (in the indicated units), while in (b) separate dashed lines guide the eye between runs with uniform \(\tau \) (red) and \(\tau \propto \alpha _{0}\) (blue).

A similar relation between free energy and magnetic helicity has been found for data-driven force-free models of solar active regions (Tziotziou, Georgoulis, and Raouafi, 2012). Those authors found a fit of \(|H_{R}|=1.37\times 10^{14}\, E_{\mathrm{free}}^{0.897}\), where \(E_{\mathrm{free}}\) is in ergs and \(H_{R}\) is the usual relative magnetic helicity in \(\mathrm{Mx}^{2}\). If this is extrapolated to a global value of \(H_{R}=1.5\times 10^{44}~\mathrm{Mx}^{2}\) – approximately the cycle mean of \(\overline{H}\) for run TU0.05 – it predicts \(E_{\mathrm{free}} \approx 3\times 10^{33}~\mathrm{erg}\), which is an order of magnitude greater than our simulations. One possible explanation for the difference is the fact that \(|H_{R}|\leq \overline{H}\), with equality only if \(\mathcal{A}\) is uniform in sign throughout the region. Another possibility is that active regions have free energy further above the helicity threshold than the corona does as a whole.

Figure 11 shows that when the time averaging is removed from Figure 10(a), there is more scatter in the relation between unsigned helicity and free energy. For run T0, the relation is still approximately linear for all time snapshots, but when emerging regions are twisted, there is more variation. In this case, the value for run T0 seems to act as an approximate lower bound on the free energy, at a given level of unsigned helicity.

Figure 11
figure 11

Relation between unsigned helicity, \(\overline{H}\) and free energy, \(E_{\mathrm{free}}\), for individual time snapshots with no cycle averaging. Each symbol denotes a run with different emerging region properties, separately for (a) runs where all regions have the same twist and (b) runs with varying amplitudes and signs of twist.

Figure 10(b) shows that the eruptivity seems to depend not only on \(\overline{H}\) but also on whether all regions have the same twist (runs TU0.05 and TU0.1) or have varying amplitudes and signs of twist (runs TOb5 and TOb10). Specifically, for a given overall unsigned helicity, there are more eruptions when \(\tau \) varies between regions rather than being uniform. This effect is also visible by comparing Figures 9(b) and 9(e). We speculate that the cause could be the distribution of many different magnitudes \(|\tau |\) (of both signs), with a sizeable tail of regions having \(|\tau |>0.1\), namely 714 out of 1072 regions in run TOb10, even though the overall average helicity is less than run TU0.1 where all regions have \(|\tau |=0.1\). The most twisted of these regions are likely to erupt rapidly, before the magnetic field has a chance to relax or dissipate strong currents.

4.3 Idealised Bipole Approximation

Figures 9 and 10 also show the run BMR0 where the emerging regions were replaced with idealised bipolar magnetic regions (BMRs). The corresponding values of \(\overline{H}\) and \(E_{\mathrm{free}}\) are approximately \(8\%\) and \(18\%\) higher than run T0, and this increase is consistent with the increase in surface flux \(\Phi _{0}\) seen in Figure 3(b). In Figure 10(b), we see that despite the increase \(\overline{H}\) the eruptivity \(\langle \ddot{\Phi}_{1}\rangle \) in run BMR0 is comparable to run T0. This suggests that the additional helicity is well distributed and not leading to the more concentrated flux rope structures that would generate more eruptions.

5 Conclusions

In this paper we have presented a picture of how the global coronal magnetic field may have varied over Solar Cycle 24, based on a simplified model that nevertheless retains some of the key physics discarded by the PFSS model. Our model confirms the finding of Chifu, Inhester, and Wiegelmann (2022) that free energy peaked in late 2014, and we have shown that this is also true of (unsigned) magnetic helicity. It also confirms the result of Yeates, Constable, and Martens (2010) that the magneto-frictional model can reproduce the observed pattern of eruptivity varying roughly like the sunspot number. On the other hand, we have shown that this pattern of eruptivity relies on active regions emerging twisted (i.e., with magnetic helicity). This is consistent with previous modelling of active region formation by emerging magnetic flux tubes, which are found to emerge more readily if they are twisted (Cheung and Isobe, 2014). Interestingly, Mackay and Upton (2022) show that one can obtain similar coronal energisation if there is sufficient small-scale helicity injection which accumulates along PILs in the mean field.

We caution that the actual numbers obtained for many of the quantities in our study are still likely to be model dependent. The comparison study by Yeates et al. (2018) makes clear that different non-potential models have widely differing \(E_{\mathrm{free}}/E_{\mathrm{p}}\), due to the inclusion of different forms of electric current. Even within the scope of the magneto-frictional model, Mackay and Upton (2022) have shown how different formulations of the non-ideal term \({\boldsymbol {N}}\) can have a substantial effect on the free energy, with fully ideal simulations (\({\boldsymbol {N}}={\boldsymbol {0}}\)) having \(E_{\mathrm{free}}/E_{\mathrm{p}}\) in excess of \(60\%\). Compared to this, our simulations are rather conservative in the amount of free energy (the cycle-average ratio \(E_{\mathrm{free}}/E_{\mathrm{p}}\) is about \(20\%\) in TU0.05 or TOb5, and about \(25\%\) in TU0.1 or TOb10). Mackay and Upton (2022) also showed that assimilating active regions at their time of maximum flux rather than central meridian crossing leads to substantial increases in \(\Phi _{0}\) and \(E\), though not always in \(E_{\mathrm{free}}/E_{\mathrm{p}}\).

Another problem is numerical resolution. Appendix B.1 shows that halving the resolution of our simulations still gives reasonable estimates of helicity and free energy in 2014, though it underestimates eruptivity. But in general, the NLFFF modelling of active regions shows that extrapolations at higher resolution typically contain more free energy (DeRosa et al., 2015; Thalmann, Gupta, and Veronig, 2022).

In future, more stringent calibration against observations will likely help to choose between the different models. Other than the surface magnetic field (which was calibrated by Yeates, 2020b), this was beyond the scope of this study because (a) the comparison is necessarily indirect owing to the lack of coronal magnetic observations, so it is difficult to be quantitative; and (b) optimising the coronal parameters in the model is computationally very expensive. Therefore, whilst our model is based on physical principles, it is still only indicative of likely trends. Possible constraints that have previously been used – albeit not for a full solar cycle – include sheared or twisted fields in filament channels (Yeates, Mackay, and van Ballegooijen, 2008; Mackay et al., 2018; Mackay and Upton, 2022), the shapes of coronal streamers in extreme-ultraviolet (Meyer et al., 2020; Mackay and Upton, 2022; Wagner et al., 2022), the locations of coronal holes (Yeates et al., 2018), the total open/heliospheric flux (Linker et al., 2017), or even the timing of specific eruptions (Yardley, Mackay, and Green, 2021). We hope to pursue this in future.