The model (written in basic Matlab, convertable to Octave) provides proof-of-concept for a sensor network system for tracking WiFi users in outdoor urban environments. Sensors are fixed, and are capable of measuring signal power from users’ WiFi devices. The location algorithm takes into account the effects of power control, and is self-calibrating in that the signal power model used by the algorithm is adjusted and improved as part of the operation of the network.
The Matlab code includes testbench files to generate simulation results which verify the system’s performance. The simulation scenario is based on a 1.5 km2 area of lower Manhattan, The self-calibration mechanism was verified for initial rms (root mean square) errors of up to 12 dB in the channel power estimates: rms errors were reduced by over 60% in 300 track-hours, in systems with limited power control. Under typical operating conditions with (without) power control, location rms errors are about 8.5 (5) meters with 90% accuracy within 9 (13) meters, for both pedestrian and vehicular users. The distance error distributions for smaller distances (<30 m) are well-approximated by an exponential distribution, while the distributions for large distance errors have fat tails.
Also included is an Octave program which utilizes an integer linear programming algorithm to determine sensor placement for networks with reduced number of sensors. In our test case, the algorithm produces a network with 18.5% fewer sensors with comparable accuracy estimation performance.

This is a companion discussion topic for the original entry at https://www.comses.net/codebases/5611/releases/1.0.0/