Techniques for the automatic optimisation of active shields