flow diagram of a whims plant