Author Topic: Bias point  (Read 3467 times)

0 Members and 1 Guest are viewing this topic.

Offline meena

  • Heavy QuantumATK user
  • ***
  • Posts: 37
  • Country: in
  • Reputation: 0
    • View Profile
Bias point
« on: September 13, 2016, 14:03 »
Hello
 
I'd put a job file  on putty (ATK cluster) with 4 bias points..  If simulation is done for 3 bias points and  if the cluster is stopped due to some reason  the simulation starts from 0 bias.. Is there any way by which we can start from the last bias point only instead of starting all over again from 0 bias..


Thanks & Regards

Offline zh

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1141
  • Reputation: 24
    • View Profile
Re: Bias point
« Reply #1 on: September 14, 2016, 01:58 »
You need to change the script file to  adjust the starting point  in the  loop of bias.

Offline meena

  • Heavy QuantumATK user
  • ***
  • Posts: 37
  • Country: in
  • Reputation: 0
    • View Profile
Re: Bias point
« Reply #2 on: September 14, 2016, 08:00 »
Hello

In the py file I'd changed the bias points to 1.2 V , still it is starting from 0 V and then 1.2 V


Thanks & Regards

Offline Daniele Stradi

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 286
  • Country: dk
  • Reputation: 3
    • View Profile
Re: Bias point
« Reply #3 on: September 14, 2016, 16:00 »
Hello,

take the example in:
http://docs.quantumwise.com/manuals/Types/IVCurve/IVCurve.html#ivcurve-c

Restart of an IV curve is easily done in ATK 2016. You can calculate the IV curve from V=0.0V to V=1.0V, and then restart from the self-consistent configuration at V=1.0V contained in the file "ivcurve_selfconsistent_configuration_1.00000V.nc" using the script:

device_configuration = nlread('ivcurve_selfconsistent_configuration_1.00000V.nc',DeviceConfiguration)[-1]

# -------------------------------------------------------------
# IV Curve
# -------------------------------------------------------------
biases = [1.200000, 1.400000, 1.600000, 1.800000, 2.000000]*Volt

iv_curve = IVCurve(
    configuration=device_configuration,
    biases=biases,
    energies=numpy.linspace(-2,2,101)*eV,
    kpoints=MonkhorstPackGrid(1,1),
    self_energy_calculator=RecursionSelfEnergy(),
    energy_zero_parameter=AverageFermiLevel,
    infinitesimal=1e-06*eV,
    selfconsistent_configurations_filename_prefix="ivcurve_selfconsistent_configuration_",
    log_filename_prefix="ivcurve_"
    )
nlsave('ivcurve.nc', iv_curve)
nlprint(iv_curve)

Regards,
Daniele.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Bias point
« Reply #4 on: September 14, 2016, 16:06 »
Just remember to update all parameters as needed - k-points for instance.