# Error in running solar cell FOM script

Other file in device, after running it and run the script, this error appears.
What is the problem in it?

Thanks,
Yara

Hi. The error message mentions that it failed to find the “base” result in the CHARGE solver region. The “base” result corresponds to the result from the “base” electrical contact (boundary condition). The script assumes that you have an electrical contact named base in your setup. If you have used some other name for your contact then the script will produce an error. It this is the case then simply edit the script as follows so that it tries to read the right result,

base = getresult("CHARGE","your_contact_name");