Solar cell simulations using the STACK solver