Refine function

Refine or extend the result of PowerGrid