A logistic model for the stability of a symbiotic system for the coal and electricity industries