A general model for coal dissolution reactions