You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
In the current model you can't specify the starting "configuration" of a Vehicle, or in other words did the vehicle already have loaded items or attached trailers at the start. You can have a trailer attached or detached through an action, but you can't specify whether the vehicle starts on a trip already with an attached trailer. So basically there is always an action needed which is related to a certain moment in time.
Secondly the OTM model also doesn't allow you to describe the configuration of the vehicle (after multiple attach/detach/load/unload actions) at any moment in time.
Sample:
You have a vehicle, you attach two transportEquipment and load 4 loadcarriers. Next you unload 2 loadcarriers and detach one transportEquipment. How can you describe in the OTM model the current setup / configuration of the Vehicle.
Describe the solution you'd like
We would like to add the property containedGoods to the vehicle, which can describe the configuration / load of the vehicle. This would be an array of the Goods entity.
In this way you consider the Vehicle also a transportEquipment being able to contain goods, where goods can be either transportEquipment or items, just like it is within the transportEquipment itself.
Describe alternatives you've considered
Did you try to solve it with the current specification? If so, how? Please be as clear and concise as possible.
Alternatives considered are:
adding only transportEquipment as is done inside the actions.
Pro: it is clear much more clear a trailer or other transportEquipment is expected in this array.
Cons: you have to add another array for items, which are both in the end Goods. Goods are already an official entity and transportEquipment is a subset.
This also enables the model to describe the items in a vehicle at any point of time.
adding a Vehicles (or secondary or additional) array to the Vehicle entity. To contain have our initial wish trailers predefined.
Pro: A trailer has more properties which are similar to a vehicle (like sensors).
Cons: The entire OTM5 model now models trailers as transportEquipment. This could be a breaking change.
Making the Vehicle property an array of vehicle entities.
Pro: -
Cons: We can consider that there is only one primary vehicle. The vehicle operated by the (main) driver. Also changing an existing object into an array would be a breaking change.
Additional context
Adding the initial configuration using containedGoods:
keeps the proposed solution as close to the current OTM5 model, where trailers are described in the Goods entity with type transportEquipment
choosing the property name containedGoods keeps the definition inline with the way it is described in the transportEquipment itself.
this solution enables to model a Vehicle (truck) with a trailer, containing multiple loadcarriers, with boxes of items. But also for instance a pusher boat with multiple barges.
The text was updated successfully, but these errors were encountered:
We have been reconsidering this request. We found an other alternative:
Using the Actions on a Vehicle, where the action is registered without any timestamp to indicate a initial setup of the vehicle (at the beginning of a trip for instance).
A challenge in this case is when multiple actions without timestamp are registered on the vehicle (eg. multiple attach / detach actions) to determine the proper order of them. Or to now whether the start- and ending time have been forgotten. The pre trip configuration of a vehicle can only be done with actions on the Vehicle. If the action without timestamp are added to a trip or stop, then the timestamps of the trip / stop are considered the times of the actions.
So, this solution can work but requires some unambiguous agreements between the parties using the solution. Or a very clear instruction within the OTM5 specification.
We will use it in a carrier-enrichment call with the agreement that if two or more consecutive calls are received we only treat the last one as the valid one. (Meaning the later ones will override the information of the prior ones)
Type of request
Is your feature request related to a problem?
In the current model you can't specify the starting "configuration" of a Vehicle, or in other words did the vehicle already have loaded items or attached trailers at the start. You can have a trailer attached or detached through an action, but you can't specify whether the vehicle starts on a trip already with an attached trailer. So basically there is always an action needed which is related to a certain moment in time.
Secondly the OTM model also doesn't allow you to describe the configuration of the vehicle (after multiple attach/detach/load/unload actions) at any moment in time.
Sample:
You have a vehicle, you attach two transportEquipment and load 4 loadcarriers. Next you unload 2 loadcarriers and detach one transportEquipment. How can you describe in the OTM model the current setup / configuration of the Vehicle.
Describe the solution you'd like
We would like to add the property
containedGoods
to the vehicle, which can describe the configuration / load of the vehicle. This would be an array of theGoods
entity.Example:
In this way you consider the Vehicle also a transportEquipment being able to contain goods, where goods can be either transportEquipment or items, just like it is within the transportEquipment itself.
Describe alternatives you've considered
Did you try to solve it with the current specification? If so, how? Please be as clear and concise as possible.
Alternatives considered are:
Pro: it is clear much more clear a trailer or other transportEquipment is expected in this array.
Cons: you have to add another array for items, which are both in the end Goods. Goods are already an official entity and transportEquipment is a subset.
This also enables the model to describe the items in a vehicle at any point of time.
adding a
Vehicles
(or secondary or additional) array to the Vehicle entity. To contain have our initial wish trailers predefined.Pro: A trailer has more properties which are similar to a vehicle (like sensors).
Cons: The entire OTM5 model now models trailers as transportEquipment. This could be a breaking change.
Making the Vehicle property an array of vehicle entities.
Pro: -
Cons: We can consider that there is only one primary vehicle. The vehicle operated by the (main) driver. Also changing an existing object into an array would be a breaking change.
Additional context
Adding the initial configuration using
containedGoods
:containedGoods
keeps the definition inline with the way it is described in thetransportEquipment
itself.The text was updated successfully, but these errors were encountered: