Solution of transport equations in a mixed conductor––a generic approach