Static and dynamic analysis of repetitive structures