A practical approach for modelling optical WDM networks using POOSL