An energy-based model of gas–solid transport in a riser