Jump to content

Sum of individual totalized fractions within a capsule


Recommended Posts

Hello,

within a batch, there are several moments the feed valve opens to add feed. 

it's easy to calculate the amount added every time the valve opens. But i'd like to have a formula that follows these additions (step changes), cumulative through the batch (if i do sum, i only get the last value

 

thanks

 

Edited by MArgarida
Link to comment
Share on other sites

  • Seeq Team

Hi Margarida,

You can use the runningSum function in formula tools. For example:

$signal.runningSum($condition.setMaximumDuration(7d))

The $signal here is the amount of feed added everytime the valve is open, and the $condition is the batch condition. You can set the maximum duration based on the capsule duration of batch but in this example here I just used 7 days. It should give you something like this:

image.thumb.png.5b4b06dca21113602946c9f400da7e8f.png

 

Let me know if this answered your question or you need further clarification. 

 

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