• Chinese Journal of Ship Research
  • Vol. 19, Issue 6, 161 (2024)
Zhiyao YANG, Hongshuo ZHANG, and Yan LIN
Author Affiliations
  • School of Naval Architecture Engineering, Dalian University of Technology, Dalian 116024, China
  • show less
    DOI: 10.19693/j.issn.1673-3185.03946 Cite this Article
    Zhiyao YANG, Hongshuo ZHANG, Yan LIN. Ship pipeline collaborative layout optimization based on EPA-star algorithm[J]. Chinese Journal of Ship Research, 2024, 19(6): 161 Copy Citation Text show less
    [in Chinese]
    Fig. 1. [in Chinese]
    [in Chinese]
    Fig. 2. [in Chinese]
    [in Chinese]
    Fig. 3. [in Chinese]
    [in Chinese]
    Fig. 4. [in Chinese]
    [in Chinese]
    Fig. 5. [in Chinese]
    [in Chinese]
    Fig. 6. [in Chinese]
    [in Chinese]
    Fig. 7. [in Chinese]
    [in Chinese]
    Fig. 8. [in Chinese]
    [in Chinese]
    Fig. 9. [in Chinese]
    [in Chinese]
    Fig. 10. [in Chinese]
    [in Chinese]
    Fig. 11. [in Chinese]
    [in Chinese]
    Fig. 12. [in Chinese]
    [in Chinese]
    Fig. 13. [in Chinese]
    [in Chinese]
    Fig. 14. [in Chinese]
    [in Chinese]
    Fig. 15. [in Chinese]
    [in Chinese]
    Fig. 16. [in Chinese]
    [in Chinese]
    Fig. 17. [in Chinese]
    输入$ [n_1[x_1,y_1,\text{z}_1],n_2[x_2,y_2,\text{z}_2],...,n_n[x_n,y_n,\text{z}_n]] $
    输出$ [S[x_s,y_s,\text{z}_s],b_1[x_1,y_1,\text{z}_1],...,E[x_e,y_e,\text{z}_e]] $
    1if len(path) >= 3:
    2for i in range(1,len(path)-1):
    3last_node = path[i-1]
    4now_node = path[i]
    5next_node = path[i+1]
    6v1= now_node - last_node
    7v2= next_node - now_node
    8if v1v2在3个方向上的乘积之和为0,
    9path[i]为弯头点
    10else
    11不形成折弯
    12end for
    13end if
    Table 1. The pseudocode of path elbow point judgment
    标号对应点邻接表
    1P1P1→2→4→5
    2P2P2→1→3→6
    3P3P3→2→4→7
    4P4P4→1→3→8
    5P5P5→1→6→8
    6P6P6→2→5→7
    7P7P7→3→6→8
    8P8P8→4→5→7
    Table 2. Schematic diagram of adjacency table
    输入path, obstacles
    输出pruning_path
    1pruning_path= [path[0]]
    2line_start = path[0]
    3for i in range(1,len(path)):
    4line_end = path[i]
    5if line_startline_end的连线与障碍物发生干涉,
    6line_end加入pruning_path
    8line_start = path[i]
    9else
    10pass
    11end if
    12end for
    Table 3. The pseudocode of the path pruning
    编号类型接口坐标延伸距离/mm
    Pipe1分支(3 000,3 800,200)x+100
    (7 800,3 410,500)y+100
    (5 600,3 410,500)0
    Pipe2分支(3 000,2 400,250)x+100
    (4 050,2 000,600)x-100
    (4 050,1 000,600)x-100
    Pipe3单管(4 400,2 000,600)x+100
    (5 350,1 700,500)x-100
    Pipe4单管(4 400,1 000,600)x+100
    (7 550,1 700,500)x-100
    Pipe5分支(5 900,1 550,950)y-350
    (8 500,1 150,950)y-350
    (1 100,50,4 400)x+100
    (9 300,50,4 400)x+100
    Pipe6分支(6 200,1 550,950)y-100
    (8 200,1 150,950)y-200
    (3 150,550,5 000)x+100
    (7 150,550,5 000)x+100
    Pipe7分支(6 500,1 550,950)y-100
    (7 900,1 550,950)y-100
    (5 350,300,5 250)x+100
    Table 4. Pipe interface information sheet for case 1
    编号对比目标A-starGA-A-starEPA-star
    Pipe1长度5 7005 7006 400
    弯头数目333
    Pipe2长度4 7504 7503 000
    弯头数目653
    Pipe3长度1 4001 4001 350
    弯头数目332
    Pipe4长度4 0004 0003 950
    弯头数目332
    Pipe5长度18 45018 45018 450
    弯头数目666
    Pipe6长度15 40015 40015 350
    弯头数目844
    Pipe7长度8 3008 3009 800
    弯头数目543
    总计长度58 00058 00058 300
    弯头数目342823
    Table 5. Optimization results of case 1 by different algorithms.
    设备编号最小对角坐标最大对角坐标
    E1(2 200,5 400,550)(4 400,7 600,2 700)
    E2(500,375,2 800)(2 500,925,3 300)
    E3(2 800,1 800,150)(3 900,2 400,600)
    E4(1 700,800,100)(2 100,1 200,300)
    E5(1 650,300,1 900)(4 200,600,2 400)
    E6(1 350,5 050,1 800)(1 650,8 000,3 250)
    E7(4 950,6 350,1 050)(5 150,6 550,1 350)
    E8(2 900,7 950,1 450)(3 200,9 400,1 750)
    E9(650,6250,600)(1 050,6 900,800)
    E10(2 350,2 550,800)(2 500,2 700,950)
    E11(2 900,2 550,700)(3 050,2 700,850)
    E12(1 150,800,1 450)(1 250,950,1 600)
    E13(1 250,1 550,1 450)(1 650,2 100,22 00)
    E14(2 500,750,3 550)(3 250,950,4 000)
    E15(3 600,750,3 550)(4 350,950,4 000)
    E16(1 100,2 700,1 400)(1 400,3 100,1 700)
    E17(2 200,2 650,2 000)(2 700,3 150,2 450)
    E18(1 150,1 100,1 450)(1 250,1 250,1 600)
    E19(2 600,100,1 400)(2 850,300,1 700)
    E20(3 000,100,1 400)(3 250,300,1 700)
    E21(3 750,8 100,1 400)(4 000,8 300,1 600)
    Table 6. Diagonal coordinates of the device obstacles
    编号类型接口坐标延伸距离/mm
    Pipe1单管(2 700,2 100,200)x -100
    (2 000,1 200,200)y -100
    Pipe2单管(5 000,6 500,1 400)z -100
    (4 600,5 400,2 400)x -100
    Pipe3单管(1 750,5 200,3 200)x -100
    (1 900,1 300,150)y -100
    Pipe4单管(2 800,2 900,2 200)x -100
    (2 975,2 625,950)z -100
    Pipe5单管(2 600,700,3 700)y+100
    (1 850,450,2 500)z-100
    Pipe6单管(3 800,700,3 600)y+100
    (4 000,450,2 500)z-100
    Pipe7单管(3 250,8 200,1 650)x-50
    (3 050,6 550,750)y-50
    Pipe8单管(2 800,8 300,1 500)x+100
    (1 500,7 400,1 700)z+100
    Pipe9分支(2 150,5 400,900)x+100
    (1 900,1 300,250)y-100
    (2 700,2100,400)x+100
    (1 100,6 500,500)x-50
    Pipe10分支(2 900,2 100,700)z-100
    (1 500,525,2 700)z+100
    (1 300,900,1 500)x-50
    Pipe11分支(2 425,2 625,1 050)z-100
    (1 500,2 800,1 500)x-100
    (1 700,1 800,1 700)x-100
    Table 7. Pipe interface information sheet for case 2
    编号对比目标优化前优化后
    Pipe1长度1 700925
    弯头数目12
    Pipe2长度2 700490
    弯头数目21
    Pipe3长度7 3005 480
    弯头数目33
    Pipe4长度1 900395
    弯头数目21
    Pipe5长度2 400650
    弯头数目21
    Pipe6长度3 350785
    弯头数目22
    Pipe7长度2 9501 520
    弯头数目22
    Pipe8长度2 6001 720
    弯头数目22
    Pipe9长度11 5508 590
    弯头数目77
    Pipe10长度5 8006 075
    弯头数目44
    Pipe11长度3 0502 630
    弯头数目44
    总计长度45 30029 260
    弯头数目3129
    Table 8. Optimization results of case 2
    Zhiyao YANG, Hongshuo ZHANG, Yan LIN. Ship pipeline collaborative layout optimization based on EPA-star algorithm[J]. Chinese Journal of Ship Research, 2024, 19(6): 161
    Download Citation