ADAPT - Load / LoadDestination Discussion

Load

See the ADAPT - LoggedData / OperationData / Section / Meter Discussion: each instance of a Load is valid inside the context of a single OperationData instance.

How does this work in the context of non-mechanical harvest? In the context of Summary? (Relegating non-mechanical load discussions for version 2).

AttributeTypeMultiplicityDescription
IdCompoundIdentifier1Unique identifier
DescriptionString0..1
TimeScopeIdsInteger0..1

When was the load created? This is useful for summary-only situations.

Note how it can also include a geographical location.

TimeScopesTimeScope0..*
LoadNumberString0..1Think about use cases: cotton modules
LoadTypeLoadTypeEnum1

Will ultimately become an EnumeratedRepresentationValue

LoadQuantityNumericRepresentationValue0..1
DestinationIdsInteger0..*Destination(s) to which the load is shipped.
ContextItemsContextItem0..*
ObservationsIdInteger0..1
ObsCollectionIdInteger0..1



NEED TO ADD WHAT IS CONTAINED IN THE LOAD!


LoadTypeEnum

  • Unknown
  • Tank
  • Field
  • Truck
  • Bale
  • Module

LoadDestination [Not Implemented]

AttributeTypeMultiplicityDescription
IdCompoundIdentifier1Unique identifier
NameString1Note text
DestinationTypeEnumeratedRepresentation1Unspecified, Bin, Elevator, Terminal, etc.
GLNUri0..1Global Location Number
ContactInfoInteger0..1 Address, phones, etc. Defined in ADAPT - Grower / Farm / Field / Cropzone / ContactInfo / Location / Facility / FacilityTypeEnum Discussion

Additional Discussion


Use cases to use for testing our ideas:

Product coming off the field

  • Single load goes from combine to truck
  • Multiple loads go from combine to truck
  • Single load goes from truck to single bin
  • Multiple loads go from truck to single bin
  • Single load goes from truck to multiple bins
  • Multiple loads go from truck to multiple bins

Product going on the field

  • Instantiation of a disposable container with product in it
  • Instantiation of a reusable container with product in it
  • Application of a product from a contain to the field ("coarse granularity")
  • Application of a product from a container to a specific section (e.g., seed box; "fine granularity")


20160405 Attempt to unify ContainerUse, Load and ProductAllocation

Attrib / typeConceptLoadContainerUseProdAllComment

Load.Id: CompoundIdentifier

ProductAllocation: CompoundIdentifier

Identify standalone instances(tick)(error)(tick)

ContainerUse does NOT have a unique Id because it is owned by the corresponding LoggedData?

Do Loads, ProductAllocations, etc. need to stand alone?

ProductAllocation.OriginContainerIdOrigin of the movement
(question)(tick)

This is implicit in ContainerUse, and explicit in ProductAllocation. Do not have clear semantics in ContainerUse of how to link a succession of container movements: we have to sort through them with timestamps, etc. Need to tighten the causality for the purposes of traceability.

An interesting assumption in ProductAllocation is that products always flow among containers. So does ContainerUse, for that matter.

ProductAllocation.DestinationContainerIdDestination of the movement
(question)(tick)

This is implicit in ContainerUse, and explicit in ProductAllocation. Do not have clear semantics in ContainerUse of how to link a succession of container movements: we have to sort through them with timestamps, etc. Need to tighten the causality for the purposes of traceability.

An interesting assumption in ProductAllocation is that products always flow among containers. So does ContainerUse, for that matter.

Load.DestinationIds[0..*]: IntegerList of destinations(tick)(warning)

A destination is a separate class, an ad-hoc mashup of Location and Facility, with a unique Id and a description.

Note that as of   ContainerUse does not resolve where things go / where they come from.

Load.LoadNumber[0..1]: StringHuman-readable identifier of the load.(tick)(warning)
As of  ContainerUse needs a description or LoadNumber or similar.
ProductAllocation.LoadIdId of the Load that the ProductAllocation is in the context of.

(tick)Used in conjuction with Load, ProductAllocation identifies the product and the amount involved, and Load allows giving that particular instance of an amount of a product an identity.
Load.Description[0..1]: String
(tick)(warning)
As of    ContainerUse needs a description or LoadNumber or similar.

Load.TimeScopes[0..*]:Integer

ContainerUse.TimeScopeIds[0..*]:Integer

ProductAllocation.TimeScopeIds[0..*]:Integer

Meaningful timestamps & locations for when the movement took place.(tick)(tick)(tick)No need to use TimeScopes by reference.
LoadType: EnumerationEnumeration: Unknown, Tank, Field, Truck, Bale, Module(tick)

A little unclear

Load.LoadQuantity[0..1]: NumericRepresentationValue

ContainerUse.AmountUsed: NumericRepresentationValue

ProductAllocation.ProductAmount: NumericRepresentation

Amount of product/commodity(tick)(tick)(tick)Note that it was optional in Load, but required in ContainerUse. Unclear why it would be optional.
ContainerUse.ContainerIdWhat container was the subject
(tick)

ContainerUse.ProductId

ProductAllocation.ProductId

Identifying what product is being handled
(tick)(tick)Based on latest work on the matter, harvestedCommodity is a specialization of Product, so this ProductId would allow us to identify both products going to the field and commodities coming back from the field.
ContainerUse.ContainerAction: ContainerActionEnumTells us what is being done with the container
(tick)

ContextItems[0..*]

(warning)

Container has ContextItems that could be used to reflect things like:

  • GTIN of a package
  • Modele ID of a cotton module. This requires the mindset that the module is the container as opposed to the module being the "load". The latter could be modified via the ContainerUse having ContextItems.
DocumentIDs[0..*]: IntegerIdentify the document(s) this "load" is associated with. Such documents could include Work Records, Weight Certificates / Scale Tickets, etc.
(tick)


User Stories:

  • From the field:
    • Commodity from the field: Removing a load of grain from the field, taking it to a storage facility going through combine, cart and semi.
  • To the field:
    • Amounts of bulk product A (water) and a reusable-container-mediated product B (a herbicide from a mini-bulk) get blended together on a tank in a transport vehicle, sent to the field, where the product is transferred to the tank on a sprayer, a third product C (from a disposable container) is added, and the subsequent product is applied to the field.  Look at it under the perspectives where the mixing takes place in the shop, and where the mixing takes place in the field.
    • Seed treatment 1: A seed treatment is applied to a crop variety product. The seed treatment rate is specified in units of mass per individual seed, and delivered (by mass) in a disposable container. The seed is delivered in a reusable container with a specified number of seeds in it.
    • Seed treatment 2: A seed treatment is applied to a crop variety product. The seed treatment rate is specified in units of mass per individual seed, and delivered (by volume) in a disposable container. (Density and active ingredient fraction mediate conversion to amount of seed treatment per unit volume.) The seed is delivered in a reusable container with a specified number of seeds in it.
    • Seed treatment 3: A seed treatment is applied to a crop variety product. The seed treatment rate is specified in units of mass per individual seed, and delivered (by mass) in a disposable container. The seed is delivered in a reusable container with a specified mass of seeds. (The number of seeds in the container is derived from a lot-specific test weight  e.g., "2200 seeds per pound").
    • Seed treatment 4: A seed treatment is applied to a crop variety product. The seed treatment rate is specified in units of mass per individual seed, and delivered (by volume) in a disposable container. (Density and active ingredient fraction mediate conversion to amount of seed treatment per unit volume.) The seed is delivered in a reusable container with a specified mass of seeds. (The number of seeds in the container is derived from a lot-specific test weight  e.g., "2200 seeds per pound").
  • In the shop:
    • We create a product out of others. We consider that it is now a lot (i.e., "Load") X of stuff that will go out to the field.
      • Analyze this in case where the user cases / does not care about individual containers.
  • Non-specific
    • How do we capture in ADAPT the ISO PAN use case of making a product available to a task?
    • How do we capture in ADAPT the more subtle aspects of PAN that specify an ISO mask and ISO name?
  • FSMA "One step forward, one step back"
    • Standing on any given lot/ batch/load, be able to trace back 1 (and therefore by induction, n) step, and trace forward 1 (and therefore n) step.
      • Does this include a container-centric view, where we need to know what was in a givven container before / next?
        • Seems like the answer is YES