CUBE VOYAGER- SKIMMING

Hello 

My aim is to find the total travel time of a network. I plan to do this by performing highway skimming and find the travel time matrix. 

I am performing skimming using the existing skimming template in the highway step (GUI) in the cube. 

This is the image of the network. I included 5 zones and connectors. I even checked by building paths between 5 zones. All the zones are connected.

But after running highway skimming, The matrix result is showing same value as shown below. Can anyone help me with this?

Thank you

  • Hi Vishnupriya,
    It looks like the network links are disconnected from each other and everything is returned a default 1000,000 value. I suggest checking the connectivity at each intersection. A quick way of debugging this to Build paths using GUI:

    Go to Analysis > Build Path > enter the attribute used to build paths (like distance or travel time) > Done

    Then, enter the origin/destination which includes zones or node numbers and click Display.

    If its say No path, that means there is something wrong in the network connectivity and you need to fix the network. I think this is what is happening with your network at the moment. If it shows you the path, then all seems to be OK.

    Could you please check this? I hope this helps.

    Thank you.
    Vipul

  • Thank you very much for your reply. I build paths as you suggested, as there are 5 zones I considered between 1-5 od pairs and except between same nodes (eg-1-1, 2-2) rest all displayed paths as shown in the image below.

  • Could you post the template script which you are using? And may be the output print file?

  • Thank you for your reply. I apologize for the delay in my reply. Here is the script file. I used the scripting application directly.

    script file-

    ;;<<PROCESS TEMPLATE>><<HIGHWAY>><<Network>><<Highway>><<Skimming>>;;
    ;{Title,note,12,"Estimate Matrices of Highway Time and Distance"}>>>
    ;{note2,note,10,"Input / Output Specification"}>>>
    ;Input Highway Network File: {neti,filename,"Enter Input Highway Network File Name",x,"C:\USERS\JVISH\ONEDRIVE\DESKTOP\TRANSPORTATION SIMULATION\6\6OUTNET.NET","Network File (*.net)|*.net"}
    ;Output LOS Matrix File: {mato,filename,"Enter Output LOS Matrix File Name",x,"C:\USERS\JVISH\ONEDRIVE\DESKTOP\TRANSPORTATION SIMULATION\6\6SKIMOUT.MAT","Matrix File (*.mat)|*.mat"}
    ;{note3,note,10,"Intrazonal time is set to half the nearest neighbor method"}
    ;{note4,note,10,"Intrazonal distances are set to 0"}
    ;;<<End Parameters>>;;

    ; Do not change filenames or add or remove FILEI/FILEO statements using an editor. Use Cube/Application Manager.
    RUN PGM=HIGHWAY PRNFILE="C:\USERS\JVISH\ONEDRIVE\DESKTOP\TRANSPORTATION SIMULATION\6\01HWY00A.PRN"

    FILEI NETI = {NETI.Q}
    FILEO MATO[1] = {MATO.Q},
    MO=1-2, NAME=TIME,DISTANCE
    PROCESS PHASE=ILOOP
    PATHLOAD PATH=COST, MW[1]=pathtrace(TIME), MW[2]=pathtrace(LI.DISTANCE)
    MW[1][I] = ROWMIN(1) * 0.5 ; Intrazonal time
    MW[2][I] = 0 ; Set Intrazonal Dist = 0

    ENDPROCESS

    ENDRUN

    print file- 

    HIGHWAY (v.07/30/2020 [6.5.0 x64]) Thu Jun 16 20:17:29 2022


    FILEI NETI = "C:\USERS\JVISH\ONEDRIVE\DESKTOP\TRANSPORTATION SIMULATION\6\6OUTNET.NET"
    FILEO MATO[1] = "C:\USERS\JVISH\ONEDRIVE\DESKTOP\TRANSPORTATION SIMULATION\6\6SKIMOUT.MAT",
    MO=1-2, NAME=TIME,DISTANCE
    PROCESS PHASE=ILOOP
    PATHLOAD PATH=COST, MW[1]=pathtrace(TIME), MW[2]=pathtrace(LI.DISTANCE)
    MW[1][I] = ROWMIN(1) * 0.5 ; Intrazonal time
    MW[2][I] = 0 ; Set Intrazonal Dist = 0

    ENDPROCESS


    HIGHWAY Stack Size = 586 bytes.
    ................................................................................


    NETI 6OUTNET.NET Opened
    NET PGM=CUBE DATE=Fri Jun 10 04:14:52 2022
    ID=Internal Run
    PAR Zones=5 Nodes=692 Links=1478 NodeRecs=687
    NVR: N X Y
    LVR: A B OBJECTID FCLASS URBAN_CODE ROUNDED_SP VOLUME CAPACITY
    VCR ARTIFICIAL SHAPE_LENG MODE_TYPE=4 MILES DISTANCE


    M(724): The NETI variables can not provide LinkClass directly, PHASE=LINKREAD is required.
    M(727): 1478 links for which default value for LinkClass was provided.
    M(727): 1478 links for which default value for T0 was provided.
    M(727): 1478 links for which default value for T1 was provided.

    6SKIMOUT.MAT Opened Page 2 (VOYAGER HIGHWAY)
    Temporary North American Student License
    ----------------------------------------

    --------------------------------- Iteration 1 ----------------------------------


    Totals after Iteration 1 I loop:

    MW[1] : 22,500,000 @J=I: 2,500,000
    MW[2] : 20,000,000 @J=I: --
    MO.1.1 : 22,500,000
    MO.1.2 : 20,000,000

    Variable Values at end of Iteration 1 I loop:

    STORAGE: 1,541.59853

    Phase Seconds Count
    --------- -----------
    LinkInput -- 1
    Estm Processing -- 1

    HIGHWAY ReturnCode = 0 Elapsed Time = 00:00:00
    ################################################################################

  • This template script requires that you have a TIME and DISTANCE attribute in your network. I noticed that you have a DISTANCE attribute in your network but not a TIME attribute. You need to add a TIME attribute with link travel time values to get the correct highway time skims.