Shanti is peace or calm—it is not Ananda. There can of course be a calm Ananda.
Peace is a sign of mukti—Ananda moves towards siddhi.
There are two conditions, one of Ananda, another of great calm and equality in which there is no joy or grief. If one attains the latter, afterwards a greater more permanent Ananda becomes possible.
The active Ananda can culminate in the shanta Ananda. Also when the shanta Ananda is established, it is the base from which active Ananda arises without disturbing its calmness.
[Sri Aurobindo: Letters on Yoga]