add_id_to_component#

MaxwellCircuitComponents.add_id_to_component(id)#

Add an ID to a component.

Parameters:
idint

ID to assign to the component.

Returns:
int

Number of components.