Jump to content

Capsules for grade transitions or product transitions

Recommended Posts

In Seeq's May 25 Webinar, Product Run and Grade Transition Analytics, we received a lot of requests during the Q&A asking to share more details about how the grade transition capsules were created and how they were used to build the histograms presented. So here is your step-by-step guide to building the condition that will make everything else possible! 



Defining your transition condition

Step 1: Identifying product campaigns

The "condition with properties" tool under "identify" can transform a string signal of product or grade code into a single capsule per campaign. In older versions of Seeq this same outcome can be achieved in formula using $gradeCodeStringSignal.toCondition('grade')

Note: if you don't have a signal representing grade code, you're not out of luck, you can make one! Follow the general methodology here to search for set point ranges associated with different grades or combinations of set points that indicate a particular grade is being produced. 


Step 2: Create the transition condition encoded with the starting and ending product as a capsule property


$t = $c.shrink(2min).inverse() 
//2 min is an arbitrary small amound of time to enable the inverse function to 
//capture gaps in the campaigns

$t.removelongerthan(5min) // 5min is an arbitrarily small amount of time to bound calc (that is >2min * 2)
  .transform($capsule -> 
             $capsule.setProperty('Transition Type',
                                  + '-->' 
                                  + $pt.resample(1min).toscalars($capsule).last()))

Step 3: Identify time period before the transition


image.pngStep 4: Identify time period after the transition


Step 5: Optional - for display purposes only - Show the potential transition timeline (helpful for chain view visualizations)


Step 6: Create a condition for on-spec data

Here we use value search against spec limit signals. If you don't have spec limit signals already in Seeq, you can use the splice method discussed in the post linked in step 1 to define them in Seeq. 


Step 7: Combine condition for on-spec data and condition for time period before the transition


Step 8: Combine condition for on-spec data and condition for time period after the transition


Step 9: Join the end of the condition for on-spec before the transition to the start of the condition for on-spec after the transition to identify the full transition duration


Your condition for product transitions is now officially ready for use in downstream applications/calculations!


Working with your transition condition

Option 1: Calculate and display the transition duration

Use Signal from Condition to calculate the duration. The duration timestamp will generate a visual where the length of the line is proportional to the length of the transition. 


Increasing the line width in the customize panel will display the transition duration KPI in a gantt-like view. 


Option 2: Build some histograms

Summarize a count of capsules like the number of times each distinct transition type occurred within the date range.


Summarize a signal during each unique transition type, like the max/min/average transition duration for a distinct transition type.


Option 3: Generate some summary tables

Switch to the table view and toggle "condition" to view each transition as a row in the table with key metrics like total duration and viscosity delta between the two grades. Add the "transition type" property from the "columns" selector. 








If you run into hiccups using this methodology on your data and would like assistance from a Seeq or partner analytics engineer please take advantage of our support portal and daily office hours

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...