Demonstrates how to simulate the impact of spatial reuse with basic service set (BSS) coloring on the throughput of an IEEE® 802.11ax™ residential scenario network using SimEvents®, Stateflow®, and WLAN Toolbox™. This example simulates non-spatial reuse groups overlapping BSS packet detect (OBSS PD) defined in IEEE® P802.11ax™/D4.1 Amendment [ 1 ]. The fundamental objective of this feature is to increase the network performance in a dense network scenario by maximizing the frequency reuse between BSSs. This is achieved by adjusting OBSS PD threshold in the range [-62, -82] dBm. Each BSS is assigned a unique color code called BSS color. The BSS color enables 802.11ax station (STA) to decide whether the simultaneous use of frequency spectrum along with the OBSS is allowed or not. This results in ignoring the frames from OBSS and enables concurrent transmission of data to multiple devices in a dense network scenario mitigating the exposed node problem. To demonstrate the SR with BSS coloring feature, the example models a network topology consisting of four BSSs in a residential apartment of two floors. Each floor contains two BSSs and each BSS consists of an access point (AP) and a STA. The model enables you to configure the OBSS PD threshold values in the range [-62, -82] dBm and study its impact on the throughput of each BSS. You can also write your own algorithm to control OBSS PD threshold levels dynamically during the simulation.