Nonequilibrium Induced by Reservoirs: Physico-Mathematical Models and Numerical Tests