So am I overlooking something here or what? Not that it really matters because both of them can be calculated from the other but still. We want to know the number of accumulators / number of panels. Thirdly, you are trying to work out with the ratio of total solar output in kW relative to the total capacity of the accumulators which is not what we want to know.
We invented the division operator for that. Secondly, what your program is doing is just guessing and adjusting 2 numbers until one of them is 0.85 * the other. This is quick programming there is problems.if it can't find the the exact value it will keep looping between the else if's but oh well it works for my purpose.įirst of all, the ratio is accum/solar panels being 0.84.
Ziron999 wrote:original ratio guess = 0.84ħ0.9(71) to every 100 accumulators is 0.8508 pretty close.honestly it's so minor that 7 to every 10 should be fine even if 0.85 is right.