altdss.YMatrix#

Module Contents#

Classes#

IYMatrix

API#

class altdss.YMatrix.IYMatrix(api_util, prefer_lists=False)#

Bases: altdss.common.Base

AddInAuxCurrents(SType)#
BuildYMatrixD(BuildOps: int, AllocateVI: bool)#
CheckConvergence() bool#
GetCompressedYMatrix(factor: bool = True) Tuple[altdss.types.ComplexArray, altdss.types.Int32Array, altdss.types.Int32Array]#

Return as (data, indices, indptr) that can fed into scipy.sparse.csc_matrix

GetIPointer()#

Get access to the internal Current pointer

GetPCInjCurr()#
GetSourceInjCurrents()#
GetVPointer()#

Get access to the internal Voltage pointer

property Iteration: int#
property LoadsNeedUpdating: bool#
SetGeneratordQdV()#
property SolutionInitialized: bool#
SolveSystem(NodeV=None) int#
property SolverOptions: int#

Sparse solver options. See the enumeration SparseSolverOptions

property SystemYChanged: bool#
property UseAuxCurrents: bool#
ZeroInjCurr()#
__init__(api_util, prefer_lists=False)#
getI() List[float]#

Get the data from the internal Current pointer

getV() List[float]#

Get the data from the internal Voltage pointer

getYSparse#

None