In NetSim, any Layer_3 device can be a SDN Controller and a network can contain multiple SDN Controllers.
Let us take the example of a WSN / IOT network with 4 sensors:
You can set Wireless_Sensor_2 and Wireless_Sensor_4 as SDN Controllers. To set go to application layer properties of Wireless_Sensor_2 & Wireless_Sensor_4 and set Is_SDN_Controller as TRUE and Enable Open Flow protocol.
Once a SDN Controller is configured, go to other nodes (lets say Wireless_Sensor_1 and Wireless_Sensor_3) and enable Open Flow protocol. Enter SDN Controller’s device name in SDN_Controller_DeviceName field.
You can enter Wireless_Sensor_2 as a SDN controller for Wireless_Sensor_1, and Wireless_Sensor_4 as a SDN controller for Wireless_Sensor_3.