A generalized model of an irreversible thermal Brownian refrigerator and its performance