Function simulateAlgebraPoolAction