02-27-2025 11:08 AM
Hi all,
I have an interesting problem I'm trying to figure out.
We're doing a study on incinerators to emulate commercial sized processes and they use a rolling average to keep track of their emissions. I am trying to set up our constant emission monitoring systems to auto calculate the rolling average per hour which I thought was the same as a moving average. My current setup (see screenshots below) is: 1 Hz inputs via modbus. I have modules for the full data collection and the average data is teed off after my scaling module.
The average module is set to "arithmetic mean" and "moving average" with an interval width of 360 (60s * 60m) since I need hourly averages. This is currently giving me 1 second data points in my write file which is odd since I set it to 360.
The other problem is that our lead researcher has told me that the way these facilities calculate their rolling averages is to take the first 60 minutes of data and begin the average at data point # 61. From that point on, they want minute averages of all the past data points for the rest of the run. I know I can take averages from the start of the test but I need to wait to start the average until minute 60. It should be approximately 3 hours of run time. Is there a good way to do this? I've only used some of the mathematic modules so I'm not very familiar with their capabilities. Any help is much appreciated.
Thanks!
Solved! Go to Solution.
02-28-2025 07:07 AM
Please post questions about the DASYLab software on the Digilent forum under Data Acquisition (DAQ) & Data Logging.