/************************************************************************* * This file format is based on http://www.dejazzer.com/reds.html with some * minor modification: * - one optional column is added to the branch data to identify * the branch rating. * - one optional column is added to the tie switch data to identify * the branch rating. * - the placement of each buses was removed * * The details are explained below using the 16-bus test case as an example /************************************************************************* .PU 1 // 0 if branch R and X are in ohms, 1 if in p.u. .V_base 23 // base voltage in kV .S_base 100 // base power in MVA .Branch_count 16 // Total number of branches .Sectionalizing_count 13 // Number of sectionalizing branches .Tie_count 3 // Number of tie switches .Nodes 16 // Number of nodes .Feeders 3 // Number of feeder buses .Feeder_node_ids 0 1 2 // IDs of the feeder buses (the number of item must match the previous line) // The next lines contains the branch data which include in order: // Branch the index of the branch // Src_bus the bus ID at the source end // Rec_bus the bus ID at the receiving end // R the branch resistance (Ohms or p.u.) // X the branch reactance (Ohms or p.u.) // PL real power load at receiving bus (kW) // QL reactive power load at receiving bus (kVAR) // Br_rating_a [optional] the branch rating (A) .Branch Src_bus Rec_bus R X PL_kw QL_kvar Br_rating_a(optional) S_NS 0 1 4 0.075 0.1 2000 1600 S 1 4 5 0.08 0.11 3000 400 S 2 4 6 0.09 0.18 2000 -400 S 3 6 7 0.04 0.04 1500 1200 S 4 2 8 0.11 0.11 4000 2700 S 5 8 9 0.08 0.11 5000 1800 S 6 8 10 0.11 0.11 1000 900 S 7 9 11 0.11 0.11 600 -500 S 8 9 12 0.08 0.11 4500 -1700 S 9 3 13 0.11 0.11 1000 900 S 10 13 14 0.09 0.12 1000 -1100 S 11 13 15 0.08 0.11 1000 900 S 12 15 16 0.04 0.04 2100 -800 S // The next lines contains the tie switches data which include in order: // Tie the index of the branch // Src_bus the bus ID at the source end // Rec_bus the bus ID at the receiving end // R the branch resistance (Ohms or p.u.) // X the branch reactance (Ohms or p.u.) // Br_rating_a [optional] the branch rating (A) .Tie Src_bus Rec_bus R X Br_rating_a(optional) 13 5 11 0.04 0.04 14 10 14 0.04 0.04 15 7 16 0.12 0.12