From: Stefan J. <st...@gr...> - 2005-07-29 06:42:43
|
On Fr, 29.07.2005, 08:23, Mic...@al... wrote: > Hello, Hi! >>>>> Concerning the point 2, I will try to elaborate: I need to simulate >>>>> a coil L(I) where the value of >>>>> the coil depends on the value of a current calculated in the >>>>> circuit. How do I make it with the equation module? >>>> >>>> I just want to clarify my TODO list item. So I ask who listens: >>>> >>>> It is straight forward to implement a feature which enables qucsator >>>> to >>>> take a equation variable's content and fill it into the property of >>>> some component if: >>>> >>>> 1) the variable is a constant (the result) >>>> 2) the variable depends on a sweep variable >>>> 3) the variable depends on another components property >>>> >>>> But problems occur (as in the above mentioned case) when >>>> >>>> 4) the variable depends on another components operating point >>>> 5) the variable depends on a simulation result (e.g. node voltage >>>> or branch current) >>>> >>>> Is it necessary for these two cases to simulate, apply property, >>>> simulate, apply property, simulate, etc. ... until no (or little) >>>> change in simulation results occurs? We need to repeat single >>>> simulations until results converge? Or am I on the wrong track? >>>> >>>> Please help me clarifying! >>>> >>>> Thanks in advance, >>>> Stefan. >>> >>> I would like to put in my opinion on that issue: >>> I think the above-mentioned method is not very usefull! >> >> But points 1) through 3) may be useful? > > Yes, indeed. But could lead to infinite recursion. Can you give an example? In fact the equation solver finds out about recursions, e.g. a=1 b=2+a c=3-d d=c is detected, and an appropriate error message thrown... Stefan. |