robin Posted February 9, 2021 Share Posted February 9, 2021 (edited) Period, last 30 days I want to know, per product ID, no not just B335 (now a capsule) but for each change in product ID The total during that product ID for KWh, m3 gas and total product produced…. screen 1 - month of data screen 2 - zoom of 1 week Edited February 9, 2021 by robin add pic Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted February 9, 2021 Share Posted February 9, 2021 Hi Robin, you can use toCondition() on the Product ID Signal. This will create a condition with capsules each time the value changes. Then you can use Signal from Condition to get the desired values for each capsule. In the following example I calculate the used energy during each compressor stage: Regards, Thorsten 1 Link to comment Share on other sites More sharing options...
robin Posted February 9, 2021 Author Share Posted February 9, 2021 Getting there... the Product ID capsule works good.... but the totalize calculation is.... the raw data is a counter (TOTAL since.... ) and not m3/h ..... --> it is m3 Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted February 9, 2021 Share Posted February 9, 2021 In this case you may change the aggregation function from totalized() to delta(). 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now