Select to view content in your preferred language

Configuring Subnetwork with no Spatial Object

2043
17
Jump to solution
01-05-2023 02:57 AM
chiaramallegni_84
Emerging Contributor

Hi everyone,
I'm working with ESRI Solution Communications Utility Network Foundation which massively uses no spatial Objects, for example Tier communication Circuits and switch are composed only of no Spatial Objects.

I need to generate the feature in the FC Communication Subnetline deriving from the path of the Strands (Edge Object) contained in the Cable (Line), starting from subnetwork Controller Connector and Switch which are No Spatial Object belonging to the Tier Communication Circuit and Switch.

It's possible to do it?

How can I configure the model to get this result when I call GP the update subnetwork?

Thank's a lot!

Chiara

1 Solution

Accepted Solutions
MikeMillerGIS
Esri Frequent Contributor

Here is a version of the subnetwork aggregator that might work for this use case.  

You must create a trace configuration based on the subnetwork definition, but select Include Container.  Add a tag to that Configuration call SubnetworkOverride and then another tag, this one can be anything.

 

This toolbox also has the trace to trace config tool which will help set up the trace config.  Fill out a Subnetwork Trace with the properties you want, make sure to select Include Containers.  Copy that python and you can input that into the trace to trace config tool(in the same attached toolbox).  Make sure to fill out the tags of SubnetworkOverride and something else.  Tags are separated by new lines, not commas.

 

You will select that other tag when you run the tool

MikeMillerGIS_1-1672997131983.png

 

 UtilityDataManagementSupport.atbx

View solution in original post

0 Kudos
17 Replies
MikeMillerGIS
Esri Frequent Contributor

We cannot do this with update subnetwork, but we can do this with a Trace.  You can run a subnetwork trace and select Include Containers and Aggregated Geometry.  This will return a line for the containers, so the cables, the strand is in.

MikeMillerGIS_0-1672918283025.png

 

We have created a tool, that will build the aggregated geometry for your subnetworks, but it does not allow you to override settings of a subnetwork definition, but we could look at exposing that if that will help you

MikeMillerGIS_1-1672918563903.png

We also have a batch trace that might work too, but that uses a trace configuration, so we would need to make a trace configuration per subnetwork definition, that includes content, and then you would need to pass a series of starting points into it.  I am leaning towards providing some overrides in the Subnetwork Aggregator

 

You can find Batch Trace and Subnetwork Aggregator here - https://github.com/Esri/Utility-Data-Management-Support-Tools

chiaramallegni_84
Emerging Contributor

Thanks a lot for the quick response, I appreciate it :).
I tried to use the tool you recommended but, unless I messed something up, the result is a geometry with length 0.
I believe that in the hierarchical communication network that uses strands as non-spatial objects it is really useful to be able to visualize the subnetlines as feature, built with the related strand (cable) containers like trace does. Could be a new idea 🙂

Anyway, Thank's again.

chiaramallegni_84_0-1672930785854.png

 

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

Yes, the tool currently only uses the subnetwork definition, which does not have Include Containers checked because we do not want to burden Update Subnetwork writing all the subnetwork names to the cable.  I have an idea on how to enhance the tool to use a alternative subnetwork definition.  If I get I working, I will update this post with a link to the tool.  For now, you need to run trace.

MikeMillerGIS
Esri Frequent Contributor

Here is a version of the subnetwork aggregator that might work for this use case.  

You must create a trace configuration based on the subnetwork definition, but select Include Container.  Add a tag to that Configuration call SubnetworkOverride and then another tag, this one can be anything.

 

This toolbox also has the trace to trace config tool which will help set up the trace config.  Fill out a Subnetwork Trace with the properties you want, make sure to select Include Containers.  Copy that python and you can input that into the trace to trace config tool(in the same attached toolbox).  Make sure to fill out the tags of SubnetworkOverride and something else.  Tags are separated by new lines, not commas.

 

You will select that other tag when you run the tool

MikeMillerGIS_1-1672997131983.png

 

 UtilityDataManagementSupport.atbx

0 Kudos
FcoJavierRojas
New Contributor

Hi Mike,

We are facing the same issue, with the Trace Tool we are able to see the desired result, then with Subnetwork Aggregator we are able to see the Subnetwork geometry , Points, Polylines in the output GDB , however the Subnetwork inside UN has SHAPE_LENGHT = 0 and No geometry (No vertices).

As from my understanding this is solved by the tool you uploaded to this post using the special tag SubnetworkOverrides, however it is not available now, the URL returns an error.

UtilityDataManagementSupport.atbx

Could you upload it again?.

 

Regards,

 

GIS SME Architect - UN Consultant
0 Kudos
MikeMillerGIS
Esri Frequent Contributor

You can always find the most current versions of USDM here - https://github.com/Esri/Utility-Data-Management-Support-Tools

 

Your subnetline line row is probably correct, it looks like there are no transmission mains in that subnetwork and you are probably only aggregator those.  

0 Kudos
FcoJavierRojas
New Contributor

Hi Mike,

We are using ArcGIS Pro 2.9.12 / AGEnt 10.9.1, the UDMS Tools available in the URL runs on 3.1 and above, so we tested using ArcGIS 3.2.4. (Is there a prior 3.0 version of the UDMS Tool?)

Despite the fact, the trace result is being shown (trace type=Subnetwork), we tried both using only "SubnetworkOverride" tag and adding other, everything runs fine, but the Subnet Line with No Geometry is still the same. 

We must point put that the are working on Water System Tier with the appropiate changes to use the reservoir as network controller.

Also we tried "Downstream" Trace Config, reading other posts they reffer that it should work with subnetwork trace type and Include Containers checked.

Here are some ScreenShots as well the JSON files for both Trace.

Regards,

 

 

GIS SME Architect - UN Consultant
0 Kudos
MikeMillerGIS
Esri Frequent Contributor

What are you trying to achieve?  If you want your subnetline to have geometry, you must update your subnetwork definition to include distribution mains.  You are only aggregating transmission mains now. The Subnetwork Aggregator will not change your subnetline, it will create a new output GDB.  

Also, the Subnetwork Aggregator should be showing a dropdown if it finds the trace configurations, like this:

MikeMillerGIS_0-1751965161773.png

I am not sure why it is not.  You need both the SubnetworkOverride tag and another tag to display.

0 Kudos
chiaramallegni_84
Emerging Contributor

Dear MikeMiller, 

Thanks a lot for your solution. It's really useful. 

Unfortunately the necessary option "include up to first spatial content" which allows to select only cables that contain strands (excluding structure) is avaiable only for Trace configuration tool, not for set Subnetowrk Definition in whitch there is only the "include container" option. The result of your "subnetwok aggregator" tool polyline then includes the structure, not only the cable that is the necessary container.

 

chiaramallegni_84_1-1673260918044.png

chiaramallegni_84_2-1673260956092.png

For better understandig the first is the result of aggregator (green line - 11 part), and the second the trace (selection - 3 cable):

chiaramallegni_84_1-1673282063968.png

 

chiaramallegni_84_0-1673282021913.png

 

 

 

Chiara

 

0 Kudos