Configure Cathodic Protection Systems
You can use ArcFM Solution to model your cathodic protection systems. Each cathodic protection system defines an electrically protected network of gas or water features. A single CP system contains a network of features with unbroken electrical conductivity.
The core of ArcFM's CP model is a special line type feature class that does not itself belong to the gas or water network, but which contains features derived from the gas or water network via tracing. Each feature in this class represents a single cathodic protection system and so possesses, within a single feature, the combined shape of the electrically continuous network features that compose the system. Use the corresponding ArcFM tool to view and analyze the contents of the CP system feature class with a view to the overall mission of cathodic protection, and to keep the contents of the feature class consistent with the underlying gas network features when they undergo editing.
To configure this functionality in ArcFM, you must create the CP table and assign an autoupdater
Create Cathodic Protection Systems Table
- During its analysis of your gas network, ArcFM uses the
CPPIPE object class model name to populate the CP system table (which
is named CPSystems in the sample data). Assign this object class model
name to all edge feature classes in your gas or water dataset whose
features can act as discrete CP systems, or be combined with other
edge feature classes belonging to a single CP system. The CPPIPE model
name indicates to ArcFM which edges should be included in CP system
length calculations. This model name is typically assigned to, at
least, the feature class which models the distribution mains in your
gas or water network. In this fashion you can choose whether, for
example, to include service pipes in your CP system. The following
example describes this process using the sample data:
- Right-click the distribution main feature class in your gas or water geometric network and select ArcFM Properties Manager.
- Click the Model Names tab.
- From the Model Name Domain menu, select the Gas Object Class Model Name (or Water Object Class Model Name) domain.
- Double click the CPPIPE model name in the Available pane.
- Click OK.
- In the same fashion as the previous step, ensure that the
edge feature classes you want to belong to your CP systems are also
assigned the GASNETWORKEDGE or WATERNETWORKEDGE class model name.
Additionally, be sure the feature classes representing anodes, rectifiers,
and test points have the following fields and associated field model
names assigned, which are required in order for data to display properly
in the Cathodic Protection Systems tool in ArcMap:
CPAnode (or wCPAnode)
CPRectifier (or wCPRectifier)
CPTestPoint (or wCPTestPoint)
DESCRIPTION
AMPS
DESCRIPTION
INSERVICEDATE
DESCRIPTION
INSERVICEDATE
MATERIAL
INSERVICEDATE
VOLTS
- Open the gas or water dataset and locate your Gas Geometric Network or Water Geometric Network. In the Minerville sample data, the gas geometric network is called GasGeomNetwork and the water geometric network is called WaterGeomNetwork.
- Right-click the geometric network and select Create Cathodic Protection Systems:
- Name the new table. Use the Feature type menu to select
the type of objects your database uses. If your geodatabase already
contains Global IDs, check Create GlobalID field. Click OK. TIP:
-
If you model multiple CP networks (e.g., you have both a gas and water CP network) make sure you give this table a unique name. Even when your CP system tables reside in different datasets, they must have different names.
-
This tool runs in the foreground. You cannot use other ArcCatalog functionality while this tool runs.
-
This tool may require many hours to complete. The greater the size and complexity of your gas or water network, the longer it takes.
-
It's possible for the geometric network to regard certain features as connected, but also for those features to be missing from their corresponding tables. If this data condition exists, you will receive an error message similar to the following:
Further, you cannot manually create such CP systems later. To fix the problem, use Esri's Repair Connectivity tool on the Geometric Network Editing toolbar in ArcMap. Schneider Electric recommends that you then delete and recreate the CP system table.
-
- ArcFM creates and populates the new table within the gas or water dataset. If you have CP systems for both gas and water networks, you will need a second CP systems table for the other network.
- Schneider Electric strongly recommends that you use the
Cathodic Protection Systems tool in ArcMap to inspect and manually
refine your CP systems shortly after their initial creation. Delete
CP systems that appear to be incorrect—especially very large
or very small CP systems. By doing so, you can reduce the chance of
users experiencing poor performance.NOTE: When calculating System Length, the Cathodic Protection System tool in ArcMap uses either shape length or, if assigned, the field to which the MEASUREDLENGTH field model name is assigned.
Set database permissions
If you use an SDE geodatabase, you must set database permissions accordingly in order for users to make changes to data affecting the CP System table.
Assign the Detect CP Continuity Change Autoupdater
The CP Continuity Change Autoupdater is a sentinel that can help you to know when the shape or other details of a CP system have been rendered out of date by editing activity on its underlying gas or water network features. The autoupdater monitors edit events on gas or water network features to detect changes affecting the continuity or attributes of CP systems. When it detects such changes, it sets the RefreshNeeded field of the corresponding CP system feature to a non-zero value. This makes it easy to identify CP systems that require updating; systems with a non-zero RefreshNeeded value are marked by an icon in the All Systems view of the Cathodic Protection Systems tool in ArcMap (called Not Current in the tool's status filter).
Assign this AU to the OnCreate, OnUpdate, and OnDelete events in the Object Info tab of all edge and junction feature classes that participate in your cathodic protection system. This may include distribution mains, service lines, anodes, rectifiers, etc.:
-
In ArcCatalog, right-click the feature class participating in your cathodic protection system and select ArcFM Properties Manager.
-
Click the Object Info tab.
-
For the feature properties OnCreate, OnUpdate, and OnDelete, use the menu to select ArcFM Detect CP Continuity Change.
-
Click OK.
-
Repeat this process for every feature participating in your CP system (e.g., anodes, rectifiers, etc.).
Set Map Unit Labels
By default, the Cathodic Protection Systems tool in ArcMap displays the "ft" label, regardless of your map units. To change this label to display your actual map units, you must change a resource file:
-
Navigate to the following installation directory: ...\Program Files (x86)\Miner and Miner\ArcFM Solution\Resources\Miner.FrameworkUI.
-
Open Miner.FrameworkUI.Properties.Resources.resx in an editing application such as Notepad++. You may need to run the editing application as administrator in Windows in order to modify the file.
-
Search that resource file for the "AbbreviatedMeasuredUnits" string name.
-
Change the value of that string from "ft" to that of your map units. Save the file.
-
Change the name of Miner.FrameworkUI.Properties.Resources.resx to include the CultureCode that corresponds to your language. For example, rename it as Miner.FrameworkUI.Properties.Resources.en-US.resx.
Numerous options are available while working with resource (.resx) files.
See the ArcFM Desktop Developer Guide help topic .NET Projects Localization.