Accepts the flow into the connected FluidExit block. Is designed to set up flow networks dynamically, for example, when the network configuration is read from a database, or when dynamic re-routing is needed between multiple parts of the network, such as replicated fragments, which may not be well managed by FluidSelectOutput and FluidSelectInput blocks.
The connections are set on the FluidExit block side, FluidEnter blocks passively accept them.
A FluidEnter block can be connected to at most one FluidExit block at a time, and vice versa.
Demo model: FluidEnter and FluidExit
double amountPassed() - Returns the total amount passed through the block since the start of the simulation.
double amountPassed(AmountUnits units) - Returns the total amount (in given units) passed through the block since the start of the simulation.
double currentRate() - Returns the current flow rate of fluid that goes in.
double currentRate(FlowRateUnits units) - Returns the current flow rate (in given units) of fluid through the block.
void resetStats() - Resets statistics collected for this block, including the statistics collected for its ports.
boolean isConnected() - Tests if the block is currently connected to a FluidExit block. Returns true if the block is connected, and false otherwise.
FluidExit getConnection() - Returns the connected FluidExit block, or null if not connected.