In this paper, we study sensitivity indices for independent groups of variables and we look at the particular case of block-additive models. We show in this case that most of the Sobol indices are equal to zero and that Shapley effects can be estimated more efficiently. We then apply this study to Gaussian linear models, and we provide an efficient algorithm to compute the theoretical sensitivity indices. In numerical experiments, we show that this algorithm compares favourably to other existing methods. We also use the theoretical results to improve the estimation of the Shapley effects for general models, when the inputs form independent groups of variables