The melt front advances from the heated outer wall toward the centre (Stefan problem). The right-hand bar shows the sensible/latent split of stored energy.
$$Q_{stored} = m \cdot c_p \cdot \Delta T + m \cdot L_f,\quad \rho_E = \frac{Q}{V}$$
m = PCM mass, c_p = specific heat, L_f = latent heat of fusion, Q = total stored energy, V = volume. Total storage is the sum of sensible (cp·ΔT) and latent (L_f) heat; ρ_E is the volumetric storage density.
$$Q_{latent} = m \cdot L_f \cdot \eta_{enc},\quad Q_{sensible} = m\,c_{p,s}(T_m-T_c) + m\,c_{p,l}(T_h-T_m)$$
η_enc: encapsulation fraction, c_{p,s} / c_{p,l}: solid- and liquid-phase specific heats, T_m: melting point, T_c: cold side, T_h: hot side.