Network Adapter > Network Adapter for CIM > Mapping XML > Mapping Methodology |
Version: 10.1 |
This section describes the methology of GIS-CIM mapping with XML tags through concrete examples.
In the CIMMapping.Minerville.DMSv3.2.xml file, scroll down to the cimClass sections. In the simplest case, essentially rename the field name and the ArcFM Object Class for each CIM Property.
In this example, the mRID CIM Property, in the IdentifiedObject abstract class (as a defined CIM Class), corresponds to the ID field from the ArcFM Object Class of CIRCUITSOURCE. Therefore, ultimately, mRID (CIM Property) = ID (ArcFM Field) for the Circuit CIM class.
There are multiple ways to apply Mapping Operators to create expressions from one or more ArcFM fields for a CIM property.
In this example, the Multiply Mapping Operator applies to all the child elements between the Multiply operators. Therefore, the ratedS (CIMProperty) = RatedKva (ArcFM Field) X 1000 for the SynchronousMachine class. See the list of Mapping Operators here to apply to the mapping XML.
An ArcFM field for a CIM property may not always be in the primarySource. Instead, it may exist in a related object.
In this example, the PFCorrectingEquipment object class has a related object of CapacitorUnit, which contains the TotalKvar field that CIM's nomQ property will be replaced with when multiplied by 1000.
CIM classes can have related classes as well. In the example below, Shunt Compensator has related classes of Location, BaseVoltage, and Terminal. Even the related cimClass of Location has its own related class of Coordinate System, which has its related class of PositionPoint.
For the PhaseDesignation field, the value of that is located on CapacitorBank's related object, Capacitor. For the Position_X and Position_Y fields, the value is located directly in the CapacitorBank ArcFM object class.