Rate of production #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MSTERUP — 11:49 PM
Allright.
Another one could be: We consumed, say 1000 lifesupports in the last 7 days, assuming consumption is constant, we we run out of lifesupports in 3 days
Mr Donke — 11:50 PM
Oh good idea......... But how would we do that.......
MSTERUP — 11:50 PM
Sum inputs to jobs started in the last 7 days.
That way we dont really need to consider what items we are making in the future, just keep doing what we are doing, and supply at the same (or 10% rates)
That way we can also see if an input suddenly has 2k days of supply, prolly sell it or something.
Mr Donke — 11:52 PM
Right we can know how much of something we produce by the jobs
But how do we know how much of it we consume... Some of it is sold and I guess we don't care about that? Since that's just an infinite sink
So I guess we could just count up the jobs that are started and their reagents...
hum
MSTERUP — 11:53 PM
That would be my first shot
Mr Donke — 11:53 PM
I'm thinking whether or not we want to compute this on the spot (ie. some sort of query on the frontend) or snapshot it like all the other tables and run it on a schedule in n8n