Declared in FuelBus

Declaration

double GetFlowBetween(
    UniverseObject from,
    FuelPort fromPort,
    UniverseObject to,
    FuelPort toPort
);

Description

Returns the signed flow rate through the edge between two components on the specified ports. Positive flow means flow from to . Returns 0 if the edge does not exist in the network.

Parameters

NameDescription
fromThe component the edge originates from.
fromPortThe port on .
toThe component the edge terminates at.
toPortThe port on .