power grid: teorema de kirchoff + Valajan e Vinay