Пример #1
0
def gamma_ramp_n():
    # ramp Gammanox
    ramp.rampparam(device=device,
                   region=region_si,
                   param="Gammanox",
                   stop=1,
                   step_size=0.1,
                   min_step=0.001,
                   solver_params=dg_solver_params)
    #ramp Gamman
    ramp.rampparam(device=device,
                   region=region_si,
                   param="Gamman",
                   stop=3.6,
                   step_size=1,
                   min_step=0.05,
                   solver_params=dg_solver_params)
Пример #2
0
    set_parameter(name=GetContactBiasName("top"), value=vneg)
    devsim.solve(**solver_params)

    def mycb():
        res = simulate_charge(device=device,
                              contact="top",
                              equation="PotentialEquation",
                              solver_params=solver_params)
        cdict['v'].append(res[0])
        cdict['q'].append(res[1])

    ramp.rampparam(device="",
                   region="",
                   param=GetContactBiasName("top"),
                   stop=vstop,
                   step_size=cstep,
                   min_step=0.01,
                   solver_params=solver_params,
                   callback=mycb)

    cdict['Electrons'] = numpy.array(
        get_node_model_values(device=device,
                              region=region_si,
                              name="IntrinsicElectrons"))
    cdict['Holes'] = numpy.array(
        get_node_model_values(device=device,
                              region=region_si,
                              name="IntrinsicHoles"))
    cdict['Potential'] = numpy.array(
        get_node_model_values(device=device,
                              region=region_si,