Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Timeleft In Day for Equation

$
0
0

Hello,

 

I'm hoping someone could help me try and figure out part of my dataset equation.

I want to calculate the target tonnes per hour based on the hours left in the day and the tonnes already processed.
I have a cap of 13000 tonnes in a day, and production days go from 6am - 6am. 

 

if hour('*') < 6 then (13000 - tagtot('TAG1','t-18h','*')*24)/TIMELEFT  else  (13000 - tagtot('TAG1','t+6h','*')*24)/TIMELEFT

 

TAG1 has units of tph

 

Any help would be appreciated!

 

Thanks


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>