FlowsheetBaseConnect Method

Connects two simulation objects. If both are unit operations, an intermediate material stream is created automatically and positioned between them.

Definition

Namespace: DWSIM.FlowsheetBase
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
public void Connect(
	ISimulationObject objFrom,
	ISimulationObject objTo,
	int fromidx,
	int toidx
)

Parameters

objFrom  ISimulationObject
The upstream simulation object.
objTo  ISimulationObject
The downstream simulation object.
fromidx  Int32
The output connector index on the upstream object.
toidx  Int32
The input connector index on the downstream object.

Implements

IFlowsheetConnect(ISimulationObject, ISimulationObject, Int32, Int32)

See Also