If i ∈ D, b(i) is set to the negative of the normalized demand frequency, −f D (i), since demand is indicated by a value less than zero.
i may be part of both the supply and demand profiles, and then b(i) must be set to the net supply/demand at node i.