-
-
January 9, 2025 at 6:55 am232221001Subscriber
hii everyone
i am trying tom generate the photo current with the script, but i am not able to creat the graph with script.
althrought i have checked the generation rate , which is well establish in .
the script is-#########################################################
#
# Simulate the electrical simulation response under dark
# and illuminated conditions.
#
# (c) Lumerical Solutions
#########################################################
Â
load("dark current simulation.Idev");
Â
Â
# reverse bias, light
switchtolayout;
setnamed('CHARGE::ogr','enabled',1);
select('CHARGE::boundary conditions::cathode');
set('bc mode','steady state');
set('sweep type','range');
set('range start',0);
set('range stop',-2);
set('range num points',1334);
run;
anode = getresult("CHARGE","anode");
Vrr = -flip(pinch(anode.V_cathode),1);
Irr = 2*flip(pinch(anode.I),1);
Â
# forward bias, light
switchtolayout;
setnamed('CHARGE::ogr','enabled',1);
select('CHARGE::boundary conditions::cathode');
set('bc mode','steady state');
set('sweep type','range');
set('range start',0);
set('range stop',2);
set('range num points',1334);
run;
anode = getresult("CHARGE","anode");
Vrf = -pinch(anode.V_cathode); Vrf = Vrf(2:length(Vrf));
Irf = pinch(anode.I); Irf = 2*Irf(2:length(Irf));
Â
plotxy([Vdr; Vdf], abs([Idr; Idf]),
[Vrr; Vrf], abs([Irr; Irf]),
"V (V)", "I (A)");
give me the solution on this -
January 10, 2025 at 8:16 amNiki PapachristouAnsys Employee
Hi Subscriber,
Thank you for reaching out to us! May I ask you which example from our online contents you are trying to run? If you are using it for one of your own built up simulations make sure that you are modifying it accordingly to accomodate your results.
Kind Regards,
Niki
-
- You must be logged in to reply to this topic.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
- Edge Coupler EME Example Issue
-
1882
-
802
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.