Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addchargemonitor

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

Adds a charge monitor to the simulation environment.  This command requires the presence of a CHARGE solver region in the objects tree.

 

Supported Product: DEVICE

 

Syntax

Description

addchargemonitor;

Adds a charge monitor to the simulation environment.

This function does not return any data.

 

Example

The following script commands will add a 2D y-normal charge monitor to the simulation environment, set its dimension, and enable saving the charge data in a .mat file.

addchargemonitor;

set("name","charge");

set("monitor type",6);  #  2 = linear x, 3 = linear y, 4 = linear z, 5 = 2D x-normal, 6 = 2D y-normal, 7 = 2D z-normal, 8 = 3D

set("x",0);

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

set("y",0);

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

set("z",0);

set("save data",1);

filename = "charge_data.mat";

set("filename",filename);

 

See Also

Adding Objects, set, addbandstructuremonitor, addefieldmonitor, addjfluxmonitor

Copyright Lumerical Inc. | Privacy | Site Map