Changes between Version 10 and Version 11 of doc/tec/mas
- Timestamp:
- Aug 30, 2018 9:30:10 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/tec/mas
v10 v11 23 23 24 24 '''Creating the visibility graph'''\\\\ 25 A tool separate from PALM has been developed to calculate the visibility graph. It is a standalone Fortran program (find it at {{{UTIL/agent_preprocessing/agent_preprocessing.f90}}}). \\26 27 1) Navigate to the {{{INPUT}}}-folder of your JOB.\\25 A tool separate from PALM (Agent Preprocessing Tool for PALM - APT-P) has been developed to calculate the visibility graph. It is a standalone Fortran program (find it at {{{UTIL/agent_preprocessing/agent_preprocessing.f90}}}). \\ 26 To use it, 27 1) navigate to the {{{INPUT}}}-folder of your JOB.\\ 28 28 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]).\\ 29 29 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].\\ 30 4) Execute the programby typing30 4) Execute the APT-P by typing 31 31 {{{ 32 32 agent_preprocessing … … 78 78 \end{equation*} 79 79 }}} 80 In the MAS, //U _0// is [wiki:/doc/app/agtpar#repuls_wall repuls_wall] and //R_B// is [wiki:/doc/app/agtpar#sigma_rep_wall sigma_rep_wall].\\\\80 In the MAS, //U,,0,,// is [wiki:/doc/app/agtpar#repuls_wall repuls_wall] and //R,,B,,// is [wiki:/doc/app/agtpar#sigma_rep_wall sigma_rep_wall].\\\\ 81 81 The repulsion by another **pedestrian //β//** is defined as 82 82 {{{ … … 93 93 \end{equation*} 94 94 }}} 95 In the MAS, //U_0// is [wiki:/doc/app/agtpar#repuls_wall repuls_wall] and //R// is [wiki:/doc/app/agtpar#sigma_rep_wall sigma_rep_wall].\\ 95 In the MAS, //V,,0,,// is [wiki:/doc/app/agtpar#repuls_agent repuls_agent] and //R,,β,,// is [wiki:/doc/app/agtpar#sigma_rep_agent sigma_rep_agent]. This agent repulsive force is only used if α and β are already colliding (i.e. two circles with centers at the respective agents' position with radius [wiki:/doc/app/agtpar#radius_agent radius_agent] are intersecting). Otherwise, a collision avoidance force according to ([#karamouzas2014 Karamouzas et. al, 2014]) is calculated: 96 {{{ 97 #!Latex 98 \begin{equation*} 99 \vec{F}_{\alpha} = -\nabla_{\vec{r}_{\alpha \beta}} \left( \frac{k}{\tau^2}e^{-\tau/\tau_0} \right). 100 \end{equation*} 101 }}} 102 Here, τ is the time until, given the current trajectory, a collision between the two pedestrians would occur, τ,,0,, = 3 s and k is a constant to sets the units with a value of 1.5 m^2^ kg.\\\\ 103 The **acceleration force** 104 {{{ 105 #!Latex 106 \begin{equation*} 107 \vec{F_a} = \frac{}{}(v_0\vec{e}_{\alpha} - \vec{v}_{\alpha}) 108 \end{equation*} 109 }}} 110 describes the tendency of a pedestrian to accelerate toward its target. Here, τ,,α,, is a relaxation time ([wiki:/doc/app/agtpar#tau_accel_agent tau_accel_agent]) that describes how quickly the pedestrian approaches v,,0,, its desired walking speed with the direction to its current target, e.\\\\ 111 The pedestrian's walking speed is given by 112 {{{ 113 #!Latex 114 \begin{equation*} 115 \frac{d\vec{v}_{\alpha}}{dt} = \vec{F}_{\alpha}, 116 \end{equation*} 117 }}} 118 with a simple Euler-forward method used for time-integration. 119 120 \\ 96 121 97 122 … … 169 194 This algorithm recursively approximates a polygon section as a straight line connecting the end points of that section. If the greatest distance between this line and any vertex between the end points is smaller than '''tolerance_dp''', the approximation is accepted and all vertices in between are deleted. Otherwise, the segment is split into two segments at the vertex of greatest distance and the process is repeated.\\\\ 170 195 '''tolerance_dp''' is internally multiplied with {{{SQRT( dx*dy )}}}. If a building is left with less than 4 vertices after simplification using '''tolerance_dp(0)''', it is reset and the process is repeated with '''tolerance_dp(1)''', then '''tolerance_dp(2)''', if necessary.\\\\ 171 '''NOTE:''' The NavMesh-toolproduces an ASCII output-file {{{topo.txt}}}. The polygon data is stored in this file. After execution of the tool, please check the polygon representation. If you are not satisfied, adjust '''tolerance_dp''' and rerun the tool.196 '''NOTE:''' The APT-P produces an ASCII output-file {{{topo.txt}}}. The polygon data is stored in this file. After execution of the tool, please check the polygon representation. If you are not satisfied, adjust '''tolerance_dp''' and rerun the tool. 172 197 }}} 173 198