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

Aliquotation of items #151

Open
3 of 5 tasks
flange-ipb opened this issue Jan 31, 2022 · 0 comments
Open
3 of 5 tasks

Aliquotation of items #151

flange-ipb opened this issue Jan 31, 2022 · 0 comments

Comments

@flange-ipb
Copy link
Contributor

flange-ipb commented Jan 31, 2022

What we already have:

  • table items has a column parent_id to model inheritance

Features:

  • aliquotation strategies:
    • user defines number of aliquots and amount per aliquot (use cases: fill liquids from one container to another; weigh out solids)
    • consume whole amount of original item with a certain number of aliquots, i.e. autocalulate each aliquots' amount
    • create a solution: (technically not an aliquot, but it should reflect the child-parent relationship)
      • user defines targets: a (molar/mass) concentration and a volume
      • program calculates the required mass and error margins (+/-20%, adjustable?)
        • if the material is a structure and has a molecular weight: can use molar or mass concentration
        • else: can use mass concentration only
      • user inputs the weighed mass
      • program calculates the final concentration (or the volume needed? ... difficult to measure)
      • (optional?) user defines a sample container size (volume) and type
      • (optional?) user chooses a place for the new item
      • Could be done with a PrimeFaces wizard to define the steps?
    • ...
  • Upon aliquot creation, the amount of the original item should be reduced. A negative amount should result in an error. (Could be tricky, because operations on doubles may not be exact.)
  • Users should be able to see a list of all aliquots for a given item.
  • Users should be able to see the parent of a given item.

Thoughs and ideas

  • aliquotation profiles (user-specific)
    • example: For the strategy 'create a solution' the user defines values for the target concentration and volume and the container properties. An aliquotation profile is chosen before entering the 'create a solution' view and the profile's values are applied to the bean values.
FabianMauz added a commit that referenced this issue Mar 23, 2022
Create solutions from existing items (part of #151)
FabianMauz added a commit that referenced this issue Mar 30, 2022
Create aliquots from existing items (part of #151)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant