Multiphysics pore network simulation of electrochemical devices as a design tool