Hello,
I am having a bit of a conundrum.
I need excel to calculate the number of capacitors in series and parallel to equal a certain capacitance, as well as be greater than some other criteria.
Right now i have some circular references between two simple equations. one telling me number in parallel,and one telling me number in series. Each are based off each other, and based off the value of the capacitors, and the desired over all capacitance.
Looks like this
Series=("individual capacitance")*("Parallel")/("Desired capacitance")
Parallel=("Desired Capacitance")*("Series")/("Individual Capacitance")
And here is my problem. It is too good at what it does. Yes, it runs threw the iterations and calculates exactly how many i need in series and parallel. But i don't need it to be that exact. as in an effort to match the total capacitance parameter, it requires way more capacitors than I can afford.
So here is my question, How would I go about telling excel, to do the iterations, but to stop doing them once the answer was within say +-10% of the actual value.
or to do all the iterations, but find the lowest combination of series and parallel that still sit the initial conditions within a the tolerence?
I need this to be cell based, because I want to run the same thing for hundreds of different capacitor types, and then a separate thing tells me which capacitor is the most cost effective for my given set of parameters.
Any ideas, or even hits of where i can look for an answer?
Many thanks
Bookmarks