evaluate_effect function

Evaluate a component effect