Re: Re[2]: Fwd: common_component and eval_bm_acton_base

al davis <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Monday 08 November 2010, [email protected] wrote:
> ad> This is incorrect because EVAL_BM_MODEL contains no
> information,  ad> only placeholders.  The correct values are
> in the daughter ad> object, which would be wiped out when
> the placeholder is copied ad> over it.
> 
> May be we speak about different things.
> I speak about _temp_c value (as an example).
> 
> It is initialized for EVAL_BM_MODEL during precalc_first()
> and then it is lost when EVAL_BM_MODEL is converted into
> EVAL_BM_SEMI_RESISTOR during expand().
> 
> please test that.

I don't see it.

_temp_c in EVAL_BM_MODEL is not used, because EVAL_BM_MODEL is 
only a placeholder.

The test cases I have show that the parameters are evaluated 
correctly.

Can you post a test case that illustrates the problem?

_______________________________________________
Gnucap-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnucap-devel
bmm_res.3p.ckt (text/plain, 205 B)
# semiconductor "resistor" test
.param pw=2u pl=1u pt=37
v1 1 0 dc 2 ac 5
r1 1 2 1k
r2 2 0 t1 (w=pw l=pl temp=pt)
.model t1 r rsh=1k tc2=.01
.print op v(nodes) r(r*)
.print ac v(nodes) 
.op
.ac
.list
.end
bmm_res.2p.ckt (text/plain, 204 B)
# semiconductor "resistor" test
.param pw=2u pl=1u pt=37
v1 1 0 dc 2 ac 5
r1 1 2 1k
r2 2 0 t1 (w=pw l=pl temp=pt)
.model t1 r rsh=1k tc1=.1
.print op v(nodes) r(r*)
.print ac v(nodes) 
.op
.ac
.list
.end
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.