In this section, we present our proposed algorithm Priority-Based Agent Cooperation (PriBAC) for man- aging the information collected by a WSAN deployed at a substation. The contribution of our work lies in the ability to transform data into direct actions and to extract correlated information through decentralized analysis and agent cooperation. PriBAC is a priority- based communication scheme which employs two steps to achieve its objectives:
1) Data evaluation: consists of evaluating the priority associated with each detected value;
2) Communicationpolicyselection:dependingonthe priority of the value, the appropriate communica- tion policy is selected.
A. Data evaluation and policy selection
PriBAC currently defines three priority levels {Pri- 1, Pri-2, Pri-3}, Pri-1 being the most important. Each priority is associated with a communication policy as shown in Table I.