Hi Ravita -
In a situation in which you have both cargo and people transported, what is the primary driver of the energy consumption? If it is the demand for passenger transport, then increasing or decreasing the amount of cargo on the ship will not really impact its energy consumption** - it would have taken the journey anyways, regardless of the amount of cargo being transported. In this way, the transportation of cargo does not give rise to any energy demands, and so it can be left out of the model.
However, if the purpose of the transport ships is equally cargo and passengers (even if they are sometimes transported on the same vessel), you could approach this another way by combining the mass of the passengers and the mass of the cargo. The energy intensity would then be expressed as an energy per kilogramme-kilometer of cargo *or* passenger, and final energy consumption would change in accordance with changes to either cargo or passenger demand, or both. This would of course require you to assign an average mass per passenger.
Hope this is useful,
Taylor
(** Aside: Assuming that the amount of additional cargo weight is not so significant that the vessel actually requires more fuel to make the same journey)