An architecture of MAN using packet over WDM technology is introduced. Related MAC protocols are also analyzed. The S Function in MATLAB which is used during simulation is described. Finally, the requirements to the whole simulation system are given.