The free electron model is an application of the particle in a box to the calculation of molecular spectra. It can be applied to polyenes (particle in a box) and aromatic molecules (particle on a circle). It was actually used to predict molecular spectra before the advent of computers.