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
| Name | Description |
|---|---|
| from | The component the edge originates from. |
| fromPort | The port on . |
| to | The component the edge terminates at. |
| toPort | The port on . |