Main Content

Array of Electrical Nodes

Concatenate arrays of electrical nodes into single array of electrical nodes port

Since R2024b

  • Array of Electrical Nodes block

Libraries:
Simscape / Electrical / Connectors & References

Description

The Array of Electrical Nodes block concatenates different arrays of electrical nodes into a single array of electrical nodes. This block acts as a mux for the Simscape™ electrical domain by concatenating all input array of nodes into a single 1-D array.

To specify the number of arrays of electrical nodes that you want to concatenate, set the Number of Input Connections parameter. This action enables a number of ports and parameters equal to the value of the Number of Input Connections parameter. This block supports from one to 50 different connections from different battery modules with different ElectricalNodes properties.

To specify the number of elements in each connection node, set the Number of Elements in Node k parameter, where k is an integer in the range [1, Number of Input Connections].

Ports

Conserving

expand all

Array of electrical nodes k that you want to concatenate, where k is an integer in the range [1, Number of Input Connections]. The number of ports of this type is equal to the value to which you set the Number of Input Connections parameter.

Concatenated array of electrical nodes.

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Number of array of electrical nodes that you want to concatenate. You can specify any value between one and fifty.

Number of elements in connection node k, where k is an integer in the range [1, Number of Input Connections]. The number of parameters of this type is equal to the value to which you set the Number of Input Connections parameter.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2024b