I want to create a Calculation that gives a result of a sum over 15 minutes and then resets to 0.

Create a Calculation Tag with the following Calculation.

AVG(IF(MOD([SumCalcs.TotalSeconds.Value],900)=0,-987654321,[SumCalcs.Input.Value]),900)*MOD([SumCalcs.TotalSeconds.Value],900)