gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnucap-devel] temperature and simulation


From: Felix Salfelder
Subject: [Gnucap-devel] temperature and simulation
Date: Tue, 12 Feb 2013 13:14:42 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Al.

there are some issues with temperature which i'm not sure how to fix.
the results i get when running the attached files seem wrong.

there is a temperature dependent resistor
rtemp 2 0 t1 (w=1 l=1)
.model t1 r tnom=0 rsh=1 tc2=0 tc1=1

and a command like
.dc temp=2

as it seems, the temperature within rtemp is computed during
_sim->init(), which is called from s__init.cc _before_ setup().
that said, a workaround might be to call setup first, and also change
DC::setup to set _sim->_temp_c after the options() call.

appearently something different is intended within s_dc.cc, when it
comes to sweeps over temperture ranges or to fixing the set__value
pointer hack.

i doubt it is appropriate to call init() before each invocation of
solve_with_homotopy. but what about (ab?)using precalc_last for
parameter placements like this? better ideas?

thanks for your help
felix

PS: yes i've found that old thread from 2011 about the missing
precalc_first call. that seems fix a different issue.

Attachment: dc_temp.gc
Description: Text document

Attachment: tran_temp.gc
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]