Taylor Posted December 20, 2023 Share Posted December 20, 2023 I'm hoping to get some help to use Seeq to find my daily slowdown weighted duration. In the below signals you can see the Setpoint (upper line), the Trigger (lower line) and the Rate (fluctuating signal). The weighted duration time would be calculated as follows: Loss = When Rate<Trigger then [Totalize(Target) - Totalize(Actual)] Weighted duration = Loss/Target Link to comment Share on other sites More sharing options...
Solution Kristopher Wiggins Posted December 20, 2023 Solution Share Posted December 20, 2023 Hi Taylor, below are some steps to achieve this. Feel free to sign up for Office Hours if you'd like help implementing this. Use Value Search to determine when your Rate < Trigger Use Signal from Condition to totalize your Target during the output of Step 1. Repeat for Actual. Note your tags have unrecognized units of Metric Tons/hour. If you'd like to make these into units Seeq recognizes, you can include a Step 1b where you use Formula and $tag.setUnits('t/hr') to apply these units. The outputs of Step 2 would then have units of metric tons. Subtract outputs of Step 2 to find your loss and divide by the target to get weighted duration 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