Quantifying individual and joint module impact in modular optimization frameworks