SimeMobileCity 0.1
  • API
  • Workflow
  • Site
    • Page
        • Optimize.run

    Optimize.run¶

    Optimize.run(file_out, traj, crit={'dist': 0.15, 'occ': 0.15}, max_cp=2, min_dist=150, trials=1000)¶

    Run optimization.

    Parameters:
    file_out : string

    file link for output object file

    traj : dictionary

    Simulation trajectory of the mc code - includes the cs and dist entry

    crit : dictionary, optional

    Critical values of failures at which to optimize charging station capacities

    max_cp : integer, optional

    Maximal number of charging stations to add to a node

    min_dist : float, optional

    Minimal distance for adding new charging stations

    trials : integer, optional

    Number of trials for choosing random node

    Returns:
    cs : dictionary

    Dictionary of node ids and capacity for the charging stations

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 1.6.6.