Amplitude and phase of voltage are given in both nodes. The powerflow depends essentially on the phase difference between the nodes and also on the voltage amplitudes.
See for example:
sensor.p[1:2] active and reactive power
up users guide