Changes between Version 6 and Version 7 of doc/tec/mas/agent_preprocessing


Ignore:
Timestamp:
Aug 31, 2018 12:31:42 PM (6 years ago)
Author:
sward
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/mas/agent_preprocessing

    v6 v7  
    33
    44= Visibility graph =
    5 Prior to a simulation using the MAS navigation information for the agents must be preprocessed. The result is a navigation mesh (visibility graph) that agents can use to find their way around obstacles toward their target.
     5Prior to a simulation using the MAS navigation information for the agents must be preprocessed. The result is a navigation mesh (visibility graph) that agents can use to find their way around obstacles toward their target.\\
     6
     7== Creating the visibility graph ==
     8A tool separate from PALM (Agent Preprocessing Tool for PALM - APT-P) has been developed to calculate the visibility graph.\\
     9It is a standalone Fortran program (find it [browser:palm/trunk/UTIL/agent_preprocessing/agent_preprocessing.f90 here] or at {{{trunk/UTIL/agent_preprocessing/agent_preprocessing.f90}}} in your local PALM installation). \\
     10To use it,\\\\
     111) navigate to the {{{INPUT}}}-folder of your JOB.\\
     122) Make sure your Input folder contains the relevant topography information in either an ASCII- or NetCDF-file ([wiki:doc/app/iofiles/pids#topo see here]).\\
     133) Make sure your Input folder contains the {{{_p3d}}}-file. In it, if necessary, specify the namelist {{{&prepro_par}}} with the parameters [#flag_2d flag_2d], [#internal_buildings internal_buildings] and [#tolerance_dp tolerance_dp].\\
     144) Execute the APT-P by typing
     15{{{
     16agent_preprocessing
     17}}}
     18This will create a file {{{<job_identifier>_nav}}}. This is a Fortran binary file that contains the polygon and visibility graph data and will be read by PALM during the simulation. As long as the area and resulution of the model domain do not change this file can be reused. \\
     19
    620
    721== Concept ==
     
    28424) '''Connections''' are established between each pair of nodes that are visible by each other. The associated cost is set to the direct distance.\\
    29435) The polygon and graph data is '''output''' to a [wiki:doc/app/iofiles#NAVIGATION_DATA Fortran binary file] that can be read by PALM.\\
    30 
    31 
    32 == Creating the visibility graph ==
    33 A tool separate from PALM (Agent Preprocessing Tool for PALM - APT-P) has been developed to calculate the visibility graph.\\
    34 It is a standalone Fortran program (find it [browser:palm/trunk/UTIL/agent_preprocessing/agent_preprocessing.f90 here] or at {{{trunk/UTIL/agent_preprocessing/agent_preprocessing.f90}}} in your local PALM installation). \\
    35 To use it,
    36 1) navigate to the {{{INPUT}}}-folder of your JOB.\\
    37 2) Make sure your Input folder contains the relevant topography information in either an ASCII- or NetCDF-file ([wiki:doc/app/iofiles/pids#topo see here]).\\
    38 3) Make sure your Input folder contains the {{{_p3d}}}-file. In it, if necessary, specify the namelist {{{&prepro_par}}} with the parameters [#flag_2d flag_2d], [#internal_buildings internal_buildings] and [#tolerance_dp tolerance_dp].\\
    39 4) Execute the APT-P by typing
    40 {{{
    41 agent_preprocessing
    42 }}}
    43 This will create a file {{{<job_identifier>_nav}}}. This is a Fortran binary file that contains the polygon and visibility graph data and will be read by PALM during the simulation. As long as the area and resulution of the model domain do not change this file can be reused.
    4444
    4545== NAMELIST group name: {{{prepro_par}}}==