Function infer_primary_output

Source
fn infer_primary_output(
    map: &IndexMap<CommodityID, ProcessFlow>,
) -> Result<Option<CommodityID>>
Expand description

Infer the primary output.

This is only possible if there is only one output flow for the process.