Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addbulkgen

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Adds a bulk (optical) generation region to the simulation environment.  The bulk generation (source) object can be used to create an analytic solar generation profile.  This command requires a CHARGE solver region to be present in the objects tree.

 

Supported Product: DEVICE

 

Syntax

Description

addbulkgen;

Add a bulk (optical) generation region.

This function does not return any data.

 

Example

The following script commands will add a bulk generation (source) object to the CHARGE solver region.  The object is set up to calculate the solar generation rate in silicon considering the AM1.5G solar spectrum.

addbulkgen;

set("name","solar");

 

# set dimension

set("x",0);

set("x span",2e-6);

set("y",0);

set("y span",1e-6);

set("z",5e-6);

set("z span",1e-6);

 

# set parameters for analytic profile

set("illumination face",6);  #  1 = lower x, 2 = upper x, 3 = lower y, 4 = upper y, 5 = lower z, 6 = upper z

set("spectrum",0);  # 0 = AM1.5G, 1 = AM1, 2 = AM0

set("material",0);  # 0 = silicon,  1 = cadmium telluride

set("interface reflection",1);  # 0 = none, 1 = air interface

 

See Also

Adding Objects, set, addimportgen

Copyright Lumerical Inc. | Privacy | Site Map