# Set the path to the simulation setup file
cwd = os.path.abspath('..')
session_path = os.path.join(cwd, 'SIMsalabim','ZimT')
zimt_device_parameters = os.path.join(session_path, 'simulation_setup.txt')
# Set the impedance simulation parameters
tVG_name = os.path.join(session_path,'tVG.txt')
f_min = 1e-1
f_max = 1e6
f_steps = 20
V_0 = 0
del_V = 0.01
G_frac = 0
# Run the impedance simulation
ret, mess = run_impedance_simu(zimt_device_parameters, session_path, f_min, f_max, f_steps, V_0, G_frac, del_V, run_mode=False, tVG_name = tVG_name, output_file = 'freqZ.dat', tj_name = 'tj.dat')