Declared in FuelBus

Declaration

void AddSignedFlowBetween(
    UniverseObject from,
    FuelPort fromPort,
    UniverseObject to,
    FuelPort toPort,
    double flowRate
);

Description

Adds signed flow to the edge between two components. Positive flow is stored in the → direction when that edge exists; otherwise flow is stored as negative on the reverse-oriented edge.

Parameters

NameDescription
from
fromPort
to
toPort
flowRate