Skip to main content

Add Components and Build Model Topology

Model topology consists of components, ports and connection relationships. This page describes how to add components from the component library, connect ports, organize duplicate work sections, and check topology. It is suitable for starting from a blank model or adjusting an existing model.

Before You Begin​

Distinguish Between Simulation Workbench and Workspace​

Simulation Workbench is the page you currently use to edit the model, start calculations, and view results. Workspace is a type of simulation capability configured by the administrator. It specifies the components, global parameters, calculation methods and access scope that can be used by this type of model.

Therefore, the component library may be different in different Simulation Workbench. Whether a component appears, which category it belongs to, and which ports it has are all determined by the configuration of the current workspace. Ordinary users only need to use the component provided by the page and do not need to understand the internal structure defined by the component.

Understand Components, Ports and Connections​

  • Component represents equipment, nodes, or functional units in the model, such as sources, pipes, valves, pumps, and measuring instruments.
  • Port is where the component establishes relationships with other components. When you move the mouse near a port, the page usually displays a highlight tip.
  • Connect is connected to a compatible port to represent the topological relationship between components; it can also be connected to an existing common connection line to form a branch or convergence.

Common types of ports are as follows:

Port TypeCommon Uses
fluid portConnect pipes, valves, pumps and fluid nodes to represent media flow relationships
control portTransmit control signals or establish control logic relationships
Electrical portMake an electrical connection or transmit an electrical signal

Ports of the same type may not all be connected. Ultimately, it depends on whether the canvas allows connection and the model verification results.

Add Component from Component Library​

Browse Component Categories​

The component library is located on the left side of the Simulation Workbench. Click the category name to expand or collapse the category. Common classifications in liquid pipeline models include nodes, pipes, valves, pumps, heat exchange equipment, measuring instruments, controllers and tools; the actual classification is subject to the current page.

component category on the left side of Simulation Workbench
component category on the left side of Simulation Workbench

Hover the mouse over the component icon to view the component name. When the icons are similar, check the names first before dragging them into the canvas to avoid selecting the wrong component.

Hover over the component icon to see the name
Hover over the component icon to see the name

The dividing lines, rectangular boxes, Markdown text and hyperlinks in the "Tools" category are used to organize, illustrate and navigate the canvas and do not participate in the simulation topology. When building a calculation link, you should use the process, control, or electrical components provided by the current simulation type. For the usage and configuration methods of the four tools, please refer to Organize and Navigate the Canvas with Tool Components.

Drag Component to Canvas​

  1. Expand the category where component is located.
  2. Press and hold the desired component icon.
  3. Drag the component to the target location on the canvas.
  4. Release the mouse after seeing the component preview to complete the addition.
Drag component from component library to canvas
Drag component from component library to canvas

It is recommended to roughly place them from left to right or top to bottom according to the actual process, and then align them uniformly after the connection is completed. This makes it easier to judge imports, exports and upstream and downstream relationships.

Check and Modify Component Names​

After a component is added to the canvas, the system usually generates a name based on "component type_serial number", such as 节点_0, 节点_1. After selecting the component, you can modify the name in the parameter panel on the right.

The name should help you locate the device in searches, logs, and results. In larger models, it is recommended to use names that correspond to process locations or equipment numbers rather than retaining a large number of similar automatic numbers for a long time.

Copy the name after component

Copying a component will retain the name of the original component and will not automatically increase the number. The copy name should be modified promptly after pasting to avoid multiple components with the same name.

Connect Component​

Create Connection​

  1. Move your mouse over the port of the starting component.
  2. Once the port is highlighted, hold down the left mouse button and start dragging.
  3. Drag the wire to the target component's port.
  4. Release the mouse when the target port is highlighted.
  5. Check that both ends of the connection fall exactly on the port.

You can also drag a connection from the component port and connect it to another compatible ordinary connection line. The small diamond at the junction indicates that the branch is connected successfully. At this time, the ports connected to the main line and the branch indicate that they are connected to the same connection node. Lines that cross or overlap do not create a connection.

Branch connection on ordinary connection line
Branch connection on ordinary connection line

Determine Whether the Port Can Be Connected​

The following rules need to be followed when connecting:

  • Only compatible ports can establish connections;
  • An already connected port usually cannot be reconnected;
  • You cannot connect the component's port back to the same component to form a self-loop;
  • Illustrative graphics elements and illustrative connections do not participate in simulation topology verification;
  • Control, electrical, and fluid ports are not considered connected simply by being in close proximity.

If no connection is generated after dragging to the target location, first check whether the target is a port, whether the types of both ends are compatible, and whether the target port is already occupied. Don't replace port connections by stacking two component icons on top of each other.

Delete and Reconnect​

After selecting the wrong connection, you can press Delete or delete it through the right-click menu. Then re-drag the connection from the correct port.

When a component is deleted, the connections connected to the component are also deleted. Before deleting, confirm whether these connections still need to be retained; if deleted by mistake, you can immediately use the undo operation to restore them. For complete shortcut keys, please refer to Workbench Keyboard Shortcuts.

Adjust Connection Path​

Automatic paths are used after the wire is created. If a connection obscures a component, text, or other connection, you can adjust it manually:

  1. Click on the connection to make it selected.
  2. Drag the control points on the connection to avoid the content that needs to be avoided.
  3. When you need to add a turning position, double-click the connection line to add a control point.
  4. After adjustment, shrink the canvas and check whether the path is clear and whether it is easy to misidentify the connected objects.

If the manual path becomes confusing, right-click the connection and select Clear Intermediate Waypoints to return the connection to the automatic path and then readjust it.

Path adjustment only changes the shape of the trace on the canvas and does not change the topological relationship between the two ends of the connection. When judging whether a connection is correct, you should check the endpoints, not just which components the line passes through.

Adjust Connection Line Format​

The line style of ordinary topology connecting lines can also be adjusted. After selecting a connection line, open the Format tab on the right and set the Connections area:

SettingsOptional ContentPurpose
Line typesolid line, dashed lineDifferentiate between different uses or highlight connections that need inspection
Line widthEnter appropriate widthImprove the visibility of trunk lines or key connections
colorChoose line colorDifferentiate connections by model convention, but not in place of port type
Route typeNone, Manhattan, OrthogonalControls how wires are automatically routed between two endpoints

The routing type determines the basic shape of the automatic path, and manual control points are used for local detours. After switching routes, you should recheck whether the original control points are still suitable; when the path is confusing, you can first clear the intermediate path points, then select the route and make small adjustments.

When you need to unify multiple connection lines, hold down Ctrl to select the target connection lines in sequence, and then modify them in the Connections format on the right. The new value is applied to all selected connections simultaneously. Before batch modification, make sure that no other branches are selected by mistake.

Multiple-select common topology connection lines and set the format uniformly
Multiple-select common topology connection lines and set the format uniformly
Ordinary connection lines are different from linear components

What is set here is the normal topology connection line between ports. The linear component itself is a model component and may have additional parameters and ports. For configuration methods, see Use Line Components. Changing the color, width, or routing of ordinary connection lines does not change the connection endpoint, port type, or computational meaning.

Copy Repeating Sections​

When there are sections with the same structure in the model, you can first complete the connection and parameter configuration of a set of components, and then copy them as a whole:

  1. Press and hold Ctrl to select components in the section one by one, or drag the frame in the blank area to select.
  2. Confirm that the internal connections in this section are also within the range that needs to be copied.
  3. Use copy and paste operations to create copies.
  4. Move the copy to the target location.
  5. Modify the component name and parameters that need to be changed in the copy.
  6. Connect the inlet and outlet of the copy with other parts of the model.

When you copy multiple connected components, the internal connections between them are usually preserved. After the copy is completed, you should still check it one by one to make sure that no boundary component is missed, the copy is not returned to the original work section, and no duplicate names are left.

Align and Distribute Components​

Once the topological connections are complete, you can organize the canvas to make process directions and connection relationships easier to read.

  1. Multiple-select the components that need to be organized.
  2. Open the Format tab on the right panel.
  3. Choose left, right, top, bottom, or center alignment depending on the layout.
  4. When there are a large number of components, use horizontal distribution or vertical distribution to adjust the spacing.
  5. Check the connection path and readjust the control points if necessary.

When you drag a component close to the edge or center of another component, the canvas displays alignment aids. You can first use auxiliary prompts to complete rough layout, and then use the format panel to unify alignment and distribution.

Alignment and distribution only adjust the canvas layout and do not change component parameters or connection relationships. However, after moving the component, you should still check whether the wire has been pulled to an indiscernible position.

Search and Inspect Large Models​

When the model is large, you can use the search function in the upper right corner of the canvas to quickly locate the component:

  1. Click the search button to expand the search input box.
  2. Enter a component name, component ID, or pin value.
  3. Select the target component from the search results.
  4. The canvas is moved to the target position and the component is brought into view.

It is recommended to use a searchable name as soon as possible after adding the component. When the names are similar, you can narrow down by using the component ID or pin value instead. When checking a large model, you can search for key components in order from upstream to downstream, and then confirm them segment by segment along the connection; do not just judge the topology based on the position of the icon on the reduced canvas.

Verify Model Topology​

Before starting the simulation job, perform a manual check:

  • Whether all required components have been added and there are no redundant test components;
  • Whether the connection starts from and lands on the correct port;
  • Whether all required ports are connected;
  • Whether appropriate types of ports are used for fluid, control, and electrical connections;
  • Are branch and junction locations connected to expected ports or already wired;
  • Whether the copied work section has been renamed and connected to the main model;
  • Whether deleting or moving a component leaves broken connections or illegible paths;
  • Whether illustrative primitives are mistaken as part of the computational topology.

When you click Start Calculation, the system will verify the model again according to the rules of the current workspace. When the verification fails, open the bottom Logs. If the component or connection name in the log is displayed as a clickable link, click the name first; the platform will switch to the target sheet and select the corresponding object. If there is no location link, then use canvas search to find by name or logo. Restart after correction.

Locate and select the problem object from the model verification log
Locate and select the problem object from the model verification log

Missing parameters do not belong to the topological connection itself, but will also cause the model to fail complete verification. For the handling method, see Configure Component and Global Parameters.

Frequently Asked Questions​

There Is No Required Component in Component Library​

First confirm whether you have entered the correct Simulation Workbench and expanded the correct category. The content of component library is determined by the current workspace; if the category is empty or the component required by the business is missing, please contact the administrator to confirm the workspace configuration and access permissions.

The Component Does Not Appear on the Canvas After Dragging It​

Make sure you are holding down the component icon area, drag the mouse to the effective area of the canvas and then release it. If it still doesn't work, save the existing model and refresh the page and try again.

Two Components Cannot Be Connected​

Check in turn whether the port type is compatible, whether the target port is connected, whether it is accurately dragged to the highlighted position of the port, and whether it is trying to create a self-loop. If you are still unsure, check the port label of the current component, or change the port that matches the business relationship.

The Wire Passes Through the Port but Is Not Actually Connected​

Just because a line visually passes through a port does not mean that a connection has been established. Select the connection and inspect its endpoints; delete the connection if necessary and reconnect it from the port highlight.

A Component with the Same Name Appears After Copying the Section​

This is caused by the copy operation retaining the original name. Select the copies one by one, modify the name in the parameter panel on the right, and then use search to confirm that nothing is missing.

The Connection Path Is Difficult to Organize​

First delete unnecessary control points, or use Clear Intermediate Waypoints to restore the automatic path; then adjust the component position and spacing, and finally add a small number of necessary turning points.

After Deleting the Component, the Connection Disappeared​

Deleting a component will also delete the wires connected to it. If you delete it by mistake, undo it immediately; if you really need to replace the component, you need to re-establish the connection after adding the new component.

Next Steps​