Dynamic modeling of reversible solid oxide cell stack and control strategy development