Electrical transport in open and closed systems