currentdensity: Calculate short-circuit current density

View source: R/currentdensity.R

currentdensityR Documentation

Calculate short-circuit current density

Description

Note that for the sake of following convention this function uses energy (in eV) rather than wavelength as its x-axis.

Usage

currentdensity(energy, photonflux, EQE = 1, bandgap = 1.23)

Arguments

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)

Details

Calculate short-circuit (maximum) current density (Jsc) from the photon flux.

Value

dataframe with 3 columns:

energy

energy/eV, same as input vector

currentdensity

current density/mA cm⁻² (or equivalently, A m⁻²)

currentdensity.fraction

relative current density

Examples

## Not run: 
   currentdensity(
      energy = photoec::sunlight.ASTM(model="AM1.5G")$energy,
      photonflux = photoec::sunlight.ASTM(model="AM1.5G")[["AM1.5G.photonflux"]]
   )

## End(Not run)

chepec/photoec documentation built on July 27, 2023, 11:33 a.m.