Creating Electric Circuits
Electrical circuits are conducting loops of interconnected electrical components, such as batteries, power sources, resistors, and inductors. You specify the circuit elements and the connections between them to define the conducting path and account for mutual interactions.
You can create electric circuits using the Circuit Editor, or set them up directly in the simulation tree.
- Using the Circuit Editor—The Circuit Editor provides a graphical interface for creating circuits. You can use simple drag and drop functions to create the necessary circuit elements and define connections between them. This method can be quicker and easier than setting up your circuits directly in the simulation tree.
- Using the simulation tree—You create the necessary circuit elements under the Circuit Elements node and define the connections under the Circuit Connections node.
To define an electrical circuit, you create connections between circuit elements. It is possible to connect circuit elements in parallel and in series. In a series connection, the positive terminal of one circuit element is connected with the negative terminal of another. In a parallel connection, the circuit connection contains three or more terminals, depending on the layout of the circuit.
When you create connections in a circuit, the following conditions apply:
- A battery module can be used once only in a simulation: you cannot use the same battery module in two or more circuits.
- A program file can be used in multiple circuits.
- The maximum number of grounded connections in a circuit is specified in the Number of Allowed Groundings property of the circuit. By default, this value is 1.
To create an electric circuit:
-
In the physics continuum, activate the following models:
Group Box
Model
Time
Implicit Unsteady
Material
Solid or Multi-Part Solid
Optional Models
Battery or Electromagnetism
Circuit Model (selected automatically when the Battery model is activated)
The Circuits node is added to the simulation tree. This node contains a default circuit, Circuit 1. See Circuit Model Reference.
-
For each additional circuit that you want to add, right-click the
Circuits node and select New.
The new [circuit] node is added under the Circuits node.
-
Select the [circuit] node and set the circuit
properties.
You set the properties independently for each circuit. See Circuit Properties.
These settings are used by the Circuit Solver. See Circuit Solver.
-
Create the circuit elements and connections that you require:
- If you want to use the Circuit Editor, right-click the
[circuit] node and select Open Circuit
Editor.
The Circuit Editor provides a graphical interface for creating and modifying circuits. Using the Circuit Editor to create circuit elements and connections can be quicker and easier than setting up your circuits directly in the simulation tree.
- If you want to use the simulation tree, see Using the Simulation Tree.
- If you want to use the Circuit Editor, right-click the
[circuit] node and select Open Circuit
Editor.
-
Set the circuit element properties. For each circuit element:
- Select the node.
- In the Properties panel, specify the appropriate values.
- If necessary, specify the initial current or voltage.
Mutual inductance connections account for the mutual interaction between the inductances of the connected circuit elements. You can create mutual inductance connections between the following:
- Two inductance elements. That is, any two scalar circuit elements that have the Load Type set to Inductance.
- Two excitation coil circuit elements, when the Load Type of each element is set to Compound.
-
Create any necessary mutual inductance connections. For each connection:
-
For each mutual inductance connection, specify the mutual inductance.
- For a connection between two inductance elements:
Select the
node and specify the Mutual Inductance property value. - For a connection between two excitation coil elements:
In the physics continua associated with the coil regions, activate the Excitation Coil Lumped Parameter model.
Simcenter STAR-CCM+ automatically calculates the mutual inductance from the inductances of each coil region. See Excitation Coil Lumped Parameter Model Reference.
- For a connection between two inductance elements:
-
For each circuit element for which you want to create a report:
-
For each excitation coil circuit element for which you want to create
reports:
- Save the simulation.