FormFlowsheetConnect Method

Connects two simulation objects. If both are unit operations (or recycle blocks) a new material stream is automatically inserted between them; otherwise the objects are connected directly.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
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
Output connector index on objFrom.
toidx  Int32
Input connector index on objTo.

Implements

IFlowsheetConnect(ISimulationObject, ISimulationObject, Int32, Int32)

See Also