View source: R/currentdensity.R
currentdensity | R Documentation |
Note that for the sake of following convention this function uses energy (in eV) rather than wavelength as its x-axis.
currentdensity(energy, photonflux, EQE = 1, bandgap = 1.23)
energy, |
energy/eV, numeric vector |
photonflux, |
cumulative photon flux/s⁻¹ m⁻², vector |
EQE, |
external quantum efficiency, numeric (0 - 1) |
bandgap, |
band gap of photoabsorber, numeric/eV (equivalent to electrode potential) |
Calculate short-circuit (maximum) current density (Jsc) from the photon flux.
dataframe with 3 columns:
energy/eV, same as input vector
current density/mA cm⁻² (or equivalently, A m⁻²)
relative current density
## Not run:
currentdensity(
energy = photoec::sunlight.ASTM(model="AM1.5G")$energy,
photonflux = photoec::sunlight.ASTM(model="AM1.5G")[["AM1.5G.photonflux"]]
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.