Skip to content

Bug in object::calculateDisplacement #111

Description

@HugoPotgieser

I have found a bug that causes some issues for very low electric fields (also for low N_events)

In getSteadyCurrentDensity, the sum of the displacements of individual carriers is used to calculate the steady current density. The z-displacement of an individual carrier is calculated by 'calculateDisplacement', case 3. I have noticed that it takes the absolute value of this displacement, before all the displacements are summed. Carriers that go in the -z direction are counted as if they move in the +z direction. Ofcourse, for most simulations all carriers will have moved in the +z direction after some time, but still (I don't want to cause alarm). Maybe I have the directions reversed, but you get the point.

I have replicated some data from a paper by Bobbert et al. and Excimontec gets identical results (which is very nice), except at low E-fields. I suspect this is due to the bug.

I have done some other tests with the bug fixed (and they give the correct results). If you want I can send some details

best, Hugo Potgieser (Koster group)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions