Connecting Equipment with Material Streams in DPSIM

We now have two essential elements on the DPSIM flowsheet:

a defined material feed

and

a process equipment model

But simply placing them next to each other does not create a process.

The units must be connected by a material stream.

Streams define the path followed by solids, water, particle size distributions and components through the simulation.

In this tutorial, we will create the first process connection and explore how streams define the flowsheet structure.

In this tutorial you will learn how to:

  • understand input and output ports;
  • create a material stream between two units;
  • understand stream direction;
  • connect equipment with multiple products;
  • recognize invalid connections;
  • understand what information travels through a DPSIM stream.
Connecting Equipment with Material Streams in DPSIM
Figure 1. Editable Feed and Crusher positioned near each other before connection.

Streams define the process topology

In the previous tutorial, we positioned an Editable Feed and a process unit beside each other.

For example:

Editable Feed Crusher

Their graphical position suggests a process sequence, but DPSIM does not use position to determine how material flows.

Only an explicit stream connection creates the relationship:

Editable Feed → Crusher

Connecting Equipment with Material Streams in DPSIM
Figure 2. before and after connecting Feed to Crusher.

This distinction is important.

Two equipment objects may be positioned beside each other without being connected.

Likewise, units located far apart on the canvas can still be part of the same process if a stream connects them.

Therefore:

equipment position defines the drawing

while:

stream connections define the process

Input and output ports

Each process unit has one or more connection points called ports.

Ports have a defined direction.

An input port receives material from an upstream stream.

An output port generates a stream that can be sent to another unit.

For a simple process unit:

Feed → Equipment → Product

the equipment normally contains:

Feed — input port

and

Product — output port

Connecting Equipment with Material Streams in DPSIM
Figure 3. simple equipment icon with Feed and Product ports highlighted.

Other equipment can contain more than one output.

A screen, for example, may have:

Feed

Oversize

Undersize

Connecting Equipment with Material Streams in DPSIM
Figure 4. screen showing Feed, Oversize and Undersize connectors.

A separator may instead use outputs such as:

Concentrate

and

Tail

The port names therefore carry process meaning. They identify what each connection represents physically.

Creating a stream

To connect two units, locate the output connector of the upstream equipment.

For our example, use the Product output of the Editable Feed.

Click and hold the connector, then drag the connection toward the Feed input connector of the downstream equipment.

Release the mouse over the input connector.

Connecting Equipment with Material Streams in DPSIM
Figure 5. sequence showing the cursor starting at the Feed Product connector.
Connecting Equipment with Material Streams in DPSIM
Figure 6. connection being dragged toward the crusher.
Connecting Equipment with Material Streams in DPSIM
Figure 7. completed Feed → Crusher connection.

DPSIM creates the material stream between the two units.

The flowsheet now represents:

Editable Feed → Crusher

The stream is associated with the output port of the upstream unit and its destination becomes the selected input port of the downstream unit.

Stream direction matters

A DPSIM stream always has a process direction:

Source → Destination

For a valid connection, start from an output port and connect to an input port.

For example:

Product → Feed

is valid.

Trying to create the connection in the opposite direction:

Feed → Product

is not valid.

Connecting Equipment with Material Streams in DPSIM
Figure 8. valid Product → Feed connection beside invalid Feed → Product attempt.

DPSIM validates this automatically.

A feed/input port cannot be used as the origin of a process stream, and an output port cannot be used as its destination.

This prevents connections that would contradict the process direction.

The arrow represents material flow

The stream line includes a direction indicating the material flow through the flowsheet.

For example:

Feed → Crusher → Product

Connecting Equipment with Material Streams in DPSIM
Figure 9. stream arrow highlighted.

When building larger flowsheets, this makes it possible to visually follow the material from the plant feed through each unit operation to the final products.

A well-organized flowsheet should make this direction easy to understand without requiring the user to inspect every individual connection.

What does a stream carry?

A DPSIM stream is much more than a line between two icons.

It carries the complete material description calculated by the simulator.

Depending on the project and simulation state, a stream can contain information such as:

  • solids flowrate;
  • water flowrate;
  • total mass flowrate;
  • percent solids;
  • solids density;
  • pulp density;
  • volumetric flowrate;
  • particle size distribution;
  • P80;
  • component grades;
  • component mass flowrates;
  • component distribution by particle size.
Connecting Equipment with Material Streams in DPSIM
Figure 10. conceptual stream with arrows pointing to Mass, Water, PSD and Components.

This is why the definitions created in the previous tutorials are important.

The stream transports the same structured material representation through every process model.

Conceptually:

Mass + Water + Size + Composition

moves from one unit operation to the next.

What happens inside a process unit?

Once an incoming stream reaches a process unit, the associated mathematical model operates on that stream.

For example:

Crusher

The incoming stream contains:

Feed mass + Feed PSD + Feed components

The crusher model calculates a new product state.

The output stream then contains:

Product mass + Product PSD + Product components

Connecting Equipment with Material Streams in DPSIM
Figure 11. Feed Stream → Crusher Model → Product Stream.

Depending on the model, some stream properties may remain unchanged while others are transformed.

A crusher primarily changes the particle size distribution.

A separator redistributes material between two products.

A thickener redistributes solids and water.

A mixer combines several incoming streams.

The same stream structure allows different unit-operation models to be connected into a complete process flowsheet.

Connecting another process unit

Add another equipment item to the right of the first process unit.

For example, add a screen after the crusher.

The flowsheet initially appears as:

Editable Feed → Crusher Screen

Now connect the crusher Product port to the screen Feed port.

Connecting Equipment with Material Streams in DPSIM
Figure 12. Crusher Product connector being dragged to Screen Feed connector.

The flowsheet becomes:

Editable Feed → Crusher → Screen

Connecting Equipment with Material Streams in DPSIM
Figure 13. completed Feed → Crusher → Screen flowsheet.

Material can now travel from the feed through the crusher and into the screen.

The process topology is beginning to resemble an actual mineral processing circuit.

Equipment with multiple outputs

Some models produce more than one process stream.

Consider a screen.

It receives one feed:

Feed

and produces two products:

Oversize

and

Undersize

Conceptually:

         **→ Oversize**

Feed → Screen

         **→ Undersize**
Connecting Equipment with Material Streams in DPSIM
Figure 14. screen with both output connectors highlighted.

Each output port has its own stream.

The screen model determines how the incoming material is distributed between these outputs.

Once calculated, each stream can have a different:

  • solids flowrate;
  • water flowrate;
  • PSD;
  • component distribution;
  • grade.

The two streams can then be connected to different downstream equipment.

For example:

Oversize → Crusher

and:

Undersize → Product

Connecting Equipment with Material Streams in DPSIM
Figure 15. simple screen circuit with Oversize and Undersize taking different paths.

This is how branching flowsheets are constructed.

An output stream has one destination

A normal equipment output represents a single process stream.

Therefore, the same output cannot simply be connected independently to two different downstream units.

For example, this is not the correct way to represent a physical split:

         **→ Equipment A**

Product

         **→ Equipment B**

Instead, when one process stream needs to be divided between two destinations, use an appropriate Splitter model.

Conceptually:

                 **→ Equipment A**

Product → Splitter

                 **→ Equipment B**
Connecting Equipment with Material Streams in DPSIM
Figure 16. incorrect duplicated output compared with correct use of a Splitter.

This is an important modeling principle.

A branch in the graphical flowsheet should correspond to a defined process operation that determines how the material is divided.

DPSIM also prevents a standard output stream that is already connected from being connected again to another destination.

Multiple incoming streams

The opposite situation is also common.

Two or more process streams may need to be combined.

For example:

Fresh Feed ──┐

             **→ Mixer → Combined Feed**

Recycle ─────┘

Connecting Equipment with Material Streams in DPSIM
Figure 17. Mixer receiving fresh feed and recycle.

A Mixer provides an explicit process location where those streams are combined.

The resulting output stream represents the combined mass, water, PSD and component composition of the incoming streams.

This will become particularly important when we build closed grinding and crushing circuits later in the series.

Stream connectivity is stored with the project

DPSIM does not store a connection merely as a drawn line.

The project records:

  • the source equipment;
  • the source port;
  • the destination equipment;
  • the destination port.
Connecting Equipment with Material Streams in DPSIM
Figure 18. conceptual representation: Equipment A / Product → Stream → Equipment B / Feed.

This allows the flowsheet topology to be reconstructed when the project is reopened.

The graphical stream therefore represents an actual relationship in the simulation model.

The code also preserves the port role, direction and connection information when structured project files are saved and restored.

Streams and equipment numbering

As connections are created, DPSIM manages the flowsheet stream and unit identification internally.

These identifiers help distinguish streams throughout the project and are used by simulation, reporting and export functions.

Connecting Equipment with Material Streams in DPSIM
Figure 19. flowsheet with equipment and stream identifiers visible.

For larger flowsheets, clear equipment names remain important even when numerical identifiers are available.

A stream number tells us which stream is being referenced.

A descriptive equipment label helps us understand what the stream means in the process.

Removing or changing a connection

During flowsheet development, process connections often need to change.

A stream can be selected on the flowsheet and removed when the circuit topology needs to be modified.

The upstream and downstream equipment remain in the project, but the process relationship between them is removed.

You can then create a new connection between the appropriate ports.

Connecting Equipment with Material Streams in DPSIM
Figure 20. selected stream before deletion.
Connecting Equipment with Material Streams in DPSIM
Figure 21. same equipment after removing the connection.

This makes it easy to test alternative flowsheet configurations without recreating every process unit.

After changing the topology, always verify that each stream reaches the intended destination.

Keep the process direction visually clear

DPSIM allows flexible equipment positioning, but a flowsheet is easier to understand when the graphical arrangement generally follows the material direction.

A useful convention is:

Feed on the left

Process units progressing toward the right

Products toward the right or bottom

Recycle streams returning clearly to upstream equipment

Connecting Equipment with Material Streams in DPSIM
Figure 22. clean left-to-right flowsheet.

Compare this with a flowsheet where streams cross unnecessarily and equipment is positioned without following the process sequence.

Connecting Equipment with Material Streams in DPSIM
Figure 23. clean flowsheet beside unnecessarily tangled flowsheet.

Both could represent exactly the same mathematical topology.

But the cleaner layout is much easier to:

  • review;
  • troubleshoot;
  • present;
  • modify;
  • communicate to another engineer.

Engineering note

Flowsheet organization does not change the mass balance.

But it strongly affects the probability of human error when building and reviewing the model.

Good simulation practice includes making the process topology visually obvious.

Our first connected process

Using the example developed throughout this tutorial series, we can now construct:

Editable Feed → Crusher → Screen

The feed carries the material definition established earlier.

The crusher receives that material through its Feed port.

Its Product stream becomes the feed to the screen.

The screen will eventually generate Oversize and Undersize streams.

Connecting Equipment with Material Streams in DPSIM
Figure 24. complete Feed → Crusher → Screen sequence.

We now have the basic structure required for a process simulation:

Material

↓

Streams

↓

Process Models

↓

New Streams

This structure can be repeated to build circuits ranging from a single unit operation to a complete mineral processing plant.

From connectivity to flowsheet organization

As the circuit becomes larger, straight connections between neighboring equipment are no longer enough to keep the flowsheet readable.

Recycle streams, parallel process routes and multiple products may require streams to be routed around other equipment.

DPSIM allows additional routing points to be inserted into streams so their paths can be organized without changing the underlying process connection.

In the next tutorial, we will work with stream nodes and show how to organize complex flowsheets while preserving the same process topology.

Connecting Equipment with Material Streams in DPSIM
Figure 25. preview of one stream before and after adding routing nodes.