Version: 10.2.1c and 10.2.1c SP3 |
ArcFM Desktop > ArcFM > Feeder Manager > Which Feeder Manager should I use? > Configure Feeder Manager 2.0 From Scratch > Step 4: Create CircuitSource Table and Relationship |
To set your circuit source feature classes as sources in ArcCatalog, you must first create the circuit source object class. Then create a relationship class between the feature class you've designated as a source and the CircuitSource object class.
The CircuitSource table is a key object class. It stores information about the source of a circuit and is how Feeder Manager 2.0 begins its search for connected features. You must create a separate relationship class for each feature class in the network that may possibly contain features acting as circuit sources. Feeder Manager 2.0 will only trace circuits that have a matched pair of one CircuitSource object and one junction feature. Substation circuit breakers and reclosers most commonly serve as circuit sources. The relationship cardinality does not require that each circuit source object have a related feature, but each circuit source object that does have a related feature can have no more than one.
Add this table to your geodatabase. Add each of the required fields listed below. You can change the names of the fields, but the field model names assigned later must have the EXACT spelling. There are no required domains for this feature class. Your table may include additional fields.
Field | Data Type |
OperatingVoltage |
Long Integer |
FeederID |
Long Integer or Text |
FeederName |
Text |
SubstationID |
Text |
FeederSourceInfo |
Long Integer |
Use the ArcFM Solution Object Converter to convert the objects to ArcFM objects. If you do not convert, you will not have the autoupdater you need in an upcoming step.
Assign the following model names to the CircuitSource object class, which you just created. Note that the field names shown are from the Minerville data model. Your field names may be different but model names must be exact.
Object Model Name: CIRCUITSOURCE
Field Model Names:
Field | Field Model Name |
FeederID* |
FEEDERID |
FeederName |
FEEDERNAME |
SubstationID |
SUBSTATIONID |
FeederSourceInfo |
FEEDERSOURCEINFO |
*When populating the CircuitSource table, remember that each value in the FeederID field must be unique. This field should have a NOT NULL constraint applied as well. Further, we strongly recommend that you set a unique constraint on the field (in both the CircuitSource table and the CircuitSourceID table). Oracle and SqlServer both have the ability to set a unique constraint. If you set the constraint, uses cannot make the mistake of assigning duplicate FeederIDs to different feeders, which is not supported.
ArcFM automatically maintains the FeederSourceInfo field when the appropriate model name is assigned. Refer to the Appendix topic called Interpretation of FeederSourceInfo Values. |
Assign the ArcFM Internal FeederID Update autoupdater to the On Feature Update event of this table. You can do so via the Object Info tab in the ArcFM Properties Manager.
Feeder Manager 2.0 does not support attributed relationships. |
Feeder Manager 2.0 requires a separate relationship class for each feature class in the network that may possibly contain features serving in the role of a circuit source (i.e., a source of power for the electric distribution network and a starting point for Feeder Manager’s tracing actions).
Feeder Manager 2.0 will only trace circuits that are represented by a matched pair consisting of one CircuitSource object and one junction feature. Many utilities use Circuit Breakers exclusively as the source of a circuit but some also use Reclosers as the source point for a circuit. Also, Circuit Breakers may exist in a distribution system and not be the source of a circuit. For these reasons, having an object that is related to the appropriate feature classes provides the flexibility necessary to model all the possible conditions. Feeder Manager 2.0 builds the list of Feeders by starting with the records in the Circuit Source object and determining the attributes of the feeders. It then traverses all defined relationships to associated features to establish starting points for tracing the network.
The relationship cardinality does not require each circuit source object to have a related feature, but each circuit source object that does have a related feature can have no more than one.
Feeder Manager 2.0 traverses the relationships defined for the Circuit Source object class to acquire the starting location on the geometric network for circuit tracing. You can define relationships between Circuit Source and multiple classes (including ones that don't represent the start of a circuit). Feeder Manager 2.0 checks the following three conditions before traversing the relationship:
The Circuit Source class is the destination of the relationship.
The origin or source of the relationship is a feature class.
The origin or source of the relationship participates in the geometric network.
If all three conditions are satisfied, then Feeder Manager 2.0 treats the associated feature class as a starting feature for a circuit trace.
Things that ensure correct behavior:
There is a relationship between the circuit source feature and the circuit source table
The circuit source object is the destination of the relationship
The source feature is a junction feature class
The source feature class is part of the network
There is at least one instance of this relationship
Each circuit source feature (Circuit Breaker) can have no more than one related object to the circuit source object class.
Notes on Relationship Keys
Feeder Manager 2.0 builds the list of Feeders by starting with the records in the Circuit Source object and determining the attributes of the feeders. It then traverses all defined relationships to associated features to establish starting points for tracing the network.
If only one feature class will be related to the CircuitSource class, then add to the CircuitSource object class a foreign key field to hold ObjectID values from the origin feature class (ObjectID is always the primary key field for a feature class).
In this example, the Tagged Values for the relationship between the DynamicProtectiveDevice and the CircuitSource would designate the OriginForeignKey as DynamicProtectiveDevObjectID. The OriginPrimaryKey would be the ObjectID of the DynamicProtectiveDevice.
If you have defined subtypes for these feature classes, you can specify the relationship rules between them to include minimum and maximum cardinality for the source and destination. In this case, you would define the relationship between the subtypes representing the Circuit Breaker and those for the Circuit Source as a 0..1-to-0..1. This would allow any of the three subtypes for CircuitSource to have up to one DynamicProtectiveDevice associated with it.
To relate more than one feature class to the CircuitSource object class, then you have two choices. You may add to the CircuitSource class a separate foreign key field for each related feature class to hold the feature class ObjectID. This choice entails leaving N-1 of the foreign key fields unused for each CircuitSource object, where N is the number of related feature classes, since each CircuitSource object is allowed to relate to at most one feature. Alternatively you may add to each related feature class a single foreign key field to hold a CircuitSource ObjectID. This choice leaves an unused foreign key field only for those features that have no related CircuitSource object.
Faulty CircuitSource relationships are a leading cause of failure in configuring data for use with Feeder Manager 2.0. You can easily test the validity of a CircuitSource relationship by following these steps: