Hi all,
I’ve been trying to figure out how to plot a Weighting Potential using AllPix. So far I haven’t had much success so I wanted to start a thread and ask a few of the questions I’ve come up with.
First things’ first. I have a pair of TCAD files that one of my colleagues generated that contains data for a variable called “WeightingPotential”. When I try to run over this variable I get a pretty standard error:
|07:04:46.877| (FATAL) Fatal internal error
No matching region with observable “WeightingPotential” found in field file
Cannot continue.
My colleague and I investigated this, and we found that mesh_converter doesn’t have any mechanism for handling this variable. The source code has a list of conditional statements that pick out things like “ElectrostaticPotential” and “ElectricField”, but if it encounters a variable that isn’t listed it just spits out an error. The manual corroborates this with the same list of accepted variables.
I’ve also heard (from Simon as well as others) that TCAD files don’t usually contain weighting potentials at all. This still seems a bit weird to me, since there is a “WeightingPotentialReader” module in AllPix, which would imply that you are able to read it out of a converted TCAD file, no?
So my question is, how do I calculate and plot it in AllPix-Squared? My colleague has given me a simple explanation of how the weighting potential is defined; it’s the difference between two potentials at different applied voltages. However, this doesn’t seem to agree with the explanation in the manual, which talks about using a 3D map to calculate it.
Cheers,
Damir