Update equations with electrical variables