One of the simplest ways (although definitely not the most elegant) to model slotted ALOHA in opnet is to take one of the available IEEE 802.15.4 models, modify the Clear Channel Assessment to always return 'Idle channel' and modify the 'aUnitBackoffPeriod' to correspond to your entire slot size.
The OPNET consists of two node models (one for transmitter and one for receiver node) and each node model is made up of process models, which define the behavior of each node.
OPNET steps:
- Create a transmitter process model and specify the characteristic of transmitter node
- Create a node for transmitter in node model
- Create a receiver process model and specify the characteristic of receiver node
- Create a node for receiver in node model
- Create a bus link model for shared environment
- Create a network model by using the created transmitter and receiver nodes
- Choose the simulation parameters to observe and vary
I dont think anyone uses OPNET anymore, since the company was bought over in 2012 and the new company riverbed doesnt focus much on modeling and simulation.