The Web Utility provides an platform which can run thousands of simulated outstation devices. The source code provides a good example of how to use the DNP3 stack implemented as part of this project.
Wiki: Home