Define shortage in oemof

Thanks @uwe.krien for the explanation! that means the shortage source should always be the most expensive source in the system right?
However this depends generally on the kind of the optimisation problem not? for example if the target is consisting of the optimising of the capacities of component’s based on the costs the shortage source becomes in this case not relevant because it’s 0 isn’t?