{Set values of local discrete variables based on state of integer status of breaker. This section sets the breaker status memory discretes to true if the breaker’s analog status value is 3 (closed).}
brk1_s = (brk1 == 3 OR brk1 ==9); brk2_s = (brk2 == 3 OR brk1 ==9); brk3_s = (brk3 == 3 OR brk1 ==9); brk4_s = (brk4 == 3 OR brk1 ==9); brk5_s = (brk5 == 3 OR brk1 ==9); brk6_s = (brk6 == 3 OR brk1 ==9);
{set the bus status for the incoming feeds to the dependent bus above in the distribution hierarchy. This section sets the dependencies of the bus pieces to other sections of the
bus1 = feed1; bus2 = feed2;
{set the bus status for the incoming feeds to the dependent bus above in the distribution hierarchy. This section sets the dependencies of the bus pieces to other sections of the
bus1 = feed1; bus2 = feed2;
{reset internal bus pieces to off for computations }
bus3 = 0; bus4 = 0; bus5 = 0;
{set the bus status for the incoming feeds to the dependent bus above in the distribution hierarchy. This section sets the dependencies of the bus pieces to other sections of the
bus1 = feed1; bus2 = feed2;
{reset internal bus pieces to off for computations }
bus3 = 0; bus4 = 0; bus5 = 0;
Sets the breaker status memory discretes to true if the breaker’s analog status value is 3 (closed).
Sets the dependencies of the bus pieces to other sections of the one- line diagram and resets the pieces of the bus located entirely on this screen to false.
IF…THEN statements traverse the hierarchy from top to bottom, left to right, and then bottom to top, right to left.
59