Quantcast
Viewing all articles
Browse latest Browse all 3988

Iterative solving utilizing local variables to avoid circular variables

Hello all,

I have a circular variable issue for local variables, and am interested in knowing if there is an iterative solver that can solve this issue.
Ex of problem:
(int1 is an interpolation table that uses T as the argument)
C = int1(T)
T = C * y

Can an iterative solver be used to first evaluate a solution using a constant value for a local variable, in place of a function that creates a circular dependency, then reevaluate the solution using a function that uses the previous solution for a local variable?

ex:
1st run: C = 1500
T = C * y
2nd run: C_new = int1(T)
T_new1 = C * y
3rd run: C_new = int1(T_new1)
T_new2 = C * y

with this process running until T_new_n = T_new_n-1 i.e. until the new solution and previous solution converge?

Can/how could this be implemented?

Thank you in advance.

Viewing all articles
Browse latest Browse all 3988

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>