Simulation of organic light-emitting diodes