Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop custom logic on directus : Calculate #6

Open
ChialiT opened this issue Oct 16, 2024 · 1 comment
Open

Develop custom logic on directus : Calculate #6

ChialiT opened this issue Oct 16, 2024 · 1 comment

Comments

@ChialiT
Copy link
Contributor

ChialiT commented Oct 16, 2024

After linking the input and output event, calculate the percentage of the plastic from each port into the Kayak making.
Will need to collab with Product QR webpage

During Pelletization

A pelletization event is normally outputting 10 tons, of which 20% are generally ocean plastics, but we still need to make the calculation as follow to insure accuracy.

During Manufacturing

Kayak manufacturing will possibly use multiple pellet batches and because some batch might not be used completely, the manufacturing user will have entered weights used per batches.

  1. X= sum weights used as entered by user for each pellet batches input_qr
  2. (X/(output_weight*batch_quantity))*100 = percentage of ocean plastics used for this Kayak batch.
@ChialiT ChialiT converted this from a draft issue Oct 16, 2024
@Thatsocool
Copy link

Please disregard previous calculation as they are erroneous, instead refer to the following WIP calcualtion in Figjam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Up next
Development

No branches or pull requests

3 participants