block.subcontact.energy.total

Syntax

f = block.subcontact.energy.total(bscp)

Get the sum of all components of energy associated with the subcontact.

Returns:f - energy
Arguments:bscp - block subcontact pointer