Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.9 #345

Merged
merged 24 commits into from
Jun 19, 2023
Merged

v0.9 #345

merged 24 commits into from
Jun 19, 2023

Conversation

fhagemann
Copy link
Collaborator

Prepare the release of SolidStateDetectors.jl v0.9.0 with the following breaking changes:

  • Diffusion will now be modelled using the diffusion coefficients in material_properties rather than some effective electric field vectors (Update the diffusion implementation #335). This change is breaking as the format of material_properties changed and the results might be different, as diffusion is not favoured towards the z direction anymore as it used to be before.
  • The method to determine the depletion voltage was changed to yield more reasonable results (Add bisection method for estimate_depletion_voltage #336). This also affected the keyword arguments which makes this a breaking change.
  • The contact IDs cannot be arbitrarily chosen anymore but need to be consecutive numbers (Force the contacts to have consecutive IDs starting from 1 #343). This might cause some previous config files to throw an error when read in. However, the results of those config files should have been buggy anyhow..
  • Updates in documentation, warnings where things have changed.

johannaluehrs and others added 19 commits April 3, 2023 10:16
where `xxx` are `electrons` and `holes` and `x` is `e` and `h`.
This will avoid confusion when people are trying to pass diffusion
COEFFICIENTS instead of effective field vectors to the simulation.
In `_drift_charge!`, diffusion was modelled by adding an effective field vector to
the external electric field and the electric field given by
self-repulsion. For small Δt, the effective field vectors for
diffusion would be very large, resulting in saturated behaviour
in the drift velocity calculation. As the saturation is heavily
dependent on the choice of Δt, diffusion is now modelled by
adding fixed-step vectors after calculating the step vectors
from the physical electric fields.
Update the diffusion implementation
This method only works if the applied potentials are of type `Int`, but
it should also work for floating precision.
Add bisection method for `estimate_depletion_voltage`
Force the contacts to have consecutive IDs starting from 1
Diffusion parameters will be `De` and `Dh` instead of the previous
`diffusion_fieldvector_electrons` and `diffusion_fielvector_holes`.
Add warning when using deprecated material properties format.
@fhagemann fhagemann added this to the v0.9.0 milestone Jun 13, 2023
@fhagemann fhagemann added the breaking Changes syntax to older versions label Jun 13, 2023
@fhagemann fhagemann linked an issue Jun 13, 2023 that may be closed by this pull request
@fhagemann fhagemann assigned oschulz and unassigned oschulz Jun 13, 2023
@fhagemann fhagemann requested a review from oschulz June 13, 2023 19:49
@fhagemann fhagemann marked this pull request as draft June 16, 2023 11:54
Update and add materials in `MaterialProperties.jl`
@fhagemann fhagemann marked this pull request as ready for review June 16, 2023 12:41
@fhagemann fhagemann merged commit dfc97fd into main Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Changes syntax to older versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Charge cloud effects: Diffusion & self-repulsion
4 participants