-
Notifications
You must be signed in to change notification settings - Fork 77
Procedures
There are a number of procedures in the DrIFtFUSION package - here is a brief overview of what they do:
-
pinParams: Here, the user defines the parameters for the simulation e.g. layer thickness, mobilities etc. The output is a parameters structure.
-
pindrift: This is the core procedure which calls the MATLAB PDEPE. The continuity, transport equations, boundary conditions, and initial conditions can all be accessed and modified here.
-
pinAna: Takes the solution from pindrift, or a user input solution, and outputs calculated values for V OC , currents etc.
-
meshgen_x : Generates the position mesh
-
meshgen_t: Generates the time mesh
-
symmetricise: Generates a mirrored cell solution for open circuit. conditions used the equilibrium solution from closed circuit boundary conditions (BCs)
-
mobsetfun: A function for quickly switching on and off mobilities
-
equilibrate: Runs the solver multiple times from analytical solutions to generate open and closed equilibrium solutions.
-
doJV: Uses the closed circuit equilibrium solutions to run current voltage scans
-
doTPV: Uses the open circuit equilibrium solutions to perform a transient photovoltage measurement