I am trying to create a loop calculation program using anemone component.

This is my first time using the anemone component.

・Perform the first half of the calculation 20 times.

・Once every 5 times, add the calculation results of the past 5 times.

・Output the added result.

I created a program like the one attached to perform the above calculations, but it doesn’t output the results I want.

test_cl.gh (10.0 KB

I think the program after the attached red part is wrong, but I don’t know how to fix it.

If you have any good ideas, I would appreciate it if you could let me know.

Eventually, I would like to create a program that adds up all the hourly calculations every 24 hours and outputs the results for one year (365 days).

Thank you in advance.