A power-balance model of the density limit in fusion plasmas: application to the L-mode tokamak. (26th September 2019)