Jump to content

Adding "Buffer zone" to capsule


Go to solution Solved by Sepide,

Recommended Posts

Posted

Hello all, I am trying to designate start up and shutdown capsules for a data set, so my initial thought is to use a value for the main flow when it is between 0 and the final value. However, I would like to add several hours on the front and back end of this window to include other system changes that may be occurring at that time. 

Is there a way to create a capsule condition and then essentially add time on the beginning and end of it automatically?

 

Thanks in advance!

  • Seeq Team
  • Solution
Posted

Hi, 

You can use the move function in Formula to add hours to the front and back of your shutdown capsule. 

Here is an example of move function:

Move $condition starts back by 2 hour, and ends forward by 1 hour.

  • $condition.move(-2h, +1h)

If you prefer to grow both side of the shutdown capsule you can use the grow function in the Formula. 

Here is an example of grow function: 

Grow each capsule in $condition by 2 hours in both direction:

  • $condition.grow(2h)

Please let me know if you have any follow up questions. 

Thank you,

Sepide

Posted (edited)
12 hours ago, Sepide said:

Move $condition starts back by 2 hour, and ends forward by 1 hour.

  • $condition.move(-2h, +1h)

The Move condition is exactly what I was looking for, thanks!

Small correction, I had to drop the "+" on the second parameter, I guess the function assumes to move forward unless a "-" is specified.

Edited by kmcin

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...