NumParam.to_array#

NumParam.to_array()[source]#

Converts field v to the NumPy array type. to enable array-based calculation.

Must be called after adding all elements. Store a copy of original input values to field vin. Set pu_coeff to all ones.

Warning

After this call, add will not be allowed to avoid unexpected issues.