Hi,
Parameters are not saved in the devsim format. Currently, the ability
to save and restart a simulation for a file requires an additional
file to store parameter and circuit values.
Parameters can be iterated over using devsim.get_parameter_list:
https://devsim.net/CommandReference.html#devsim.get_parameter_list
That is what I do in the test for restarting simulations. At the
bottom of "testing/mos2d.py", the parameters are written to a file,
"mos_2d_params.py". This file is then imported in
"testing/mos2d_restart2.py" using.
import mos_2d_params
I do not recommend using "import" in general, because it is a security
risk. It should be possible however to use devsim.get_parameter_list
and devsim.get_parameter, to generate some kind of file to store your
data.
To get the drain bias from an existing file, you can load it and use:
https://devsim.net/CommandReference.html#devsim.get_node_model_values
to get the values of "Potential" and get the node indexes of the
"drain" contact using:
https://devsim.net/CommandReference.html#devsim.get_element_node_list
which will give you a list of tuples containing the node indexes of
each edge on the contact.
Unfortunately, you will not have any of the other physical parameters.
If you are using extended precision, you will also be missing some
digits of precision. This is since the devsim writer and reader only
writes out 15 digits of precision (64 bit double precision). However
the data will be a good initial guess for a final 128 bit floating
point solution.
Regards,
Juan
> it, send an email to
dev...@googlegroups.com <javascript:>.
> <
https://groups.google.com/d/msgid/devsim/b2aa69f0-80dc-488c-b8e5-87634f6a6481%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "DEVSIM TCAD" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
devsim+un...@googlegroups.com
> <mailto:
devsim+un...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/devsim/09ebbb05-7b17-4576-a1a3-1420a89813d6%40googlegroups.com
> <
https://groups.google.com/d/msgid/devsim/09ebbb05-7b17-4576-a1a3-1420a89813d6%40googlegroups.com?utm_medium=email&utm_source=footer>.