This is some of the low level functions implemented in the OpenDSSDirect.YMatrix module.
OpenDSSDirect.YMatrix.AddInAuxCurrentsOpenDSSDirect.YMatrix.BuildYMatrixDOpenDSSDirect.YMatrix.GetPCInjCurrOpenDSSDirect.YMatrix.GetSourceInjCurrentsOpenDSSDirect.YMatrix.SolveSystemOpenDSSDirect.YMatrix.SystemYChangedOpenDSSDirect.YMatrix.UseAuxCurrentsOpenDSSDirect.YMatrix.ZeroInjCurrOpenDSSDirect.YMatrix.getIOpenDSSDirect.YMatrix.getVOpenDSSDirect.YMatrix.getYsparse
OpenDSSDirect.YMatrix.getI — FunctiongetI(dss::DSSContext) -> Vector{ComplexF64}
Get the data from the internal Current pointer
OpenDSSDirect.YMatrix.getV — FunctiongetV(dss::DSSContext) -> Vector{ComplexF64}
Get the data from the internal Voltage pointer
OpenDSSDirect.YMatrix.getYsparse — FunctiongetYsparse(
dss::DSSContext
) -> SparseArrays.SparseMatrixCSC{ComplexF64, Int64}
getYsparse(
dss::DSSContext,
factor::Bool
) -> SparseArrays.SparseMatrixCSC{ComplexF64, Int64}
Return SparseMatrixCSC of ComplexF64
OpenDSSDirect.YMatrix.ZeroInjCurr — FunctionZeroInjCurr(dss::DSSContext)
Zero Current Injections
OpenDSSDirect.YMatrix.GetSourceInjCurrents — FunctionGetSourceInjCurrents(dss::DSSContext)
Get Source Current Injections
OpenDSSDirect.YMatrix.GetPCInjCurr — FunctionGetPCInjCurr(dss::DSSContext)
Get PC Current Injections
OpenDSSDirect.YMatrix.SystemYChanged — FunctionSystemYChanged(dss::DSSContext) -> Bool
SystemY has changed (Getter)
SystemYChanged(dss::DSSContext, Value::Bool)
SystemY has changed (Setter)
OpenDSSDirect.YMatrix.BuildYMatrixD — FunctionBuildYMatrixD(
dss::DSSContext,
BuildOps::Int64,
AllocateVI::Bool
)
Build Y MatrixD
OpenDSSDirect.YMatrix.UseAuxCurrents — FunctionUseAuxCurrents(dss::DSSContext) -> Bool
Use auxiliary currents (Getter)
UseAuxCurrents(dss::DSSContext, Value::Bool)
Use auxiliary currents (Setter)
OpenDSSDirect.YMatrix.AddInAuxCurrents — FunctionAddInAuxCurrents(dss::DSSContext, SType::Int64)
Add in auxiliary currents
OpenDSSDirect.YMatrix.SolveSystem — FunctionSolveSystem(
dss::DSSContext,
NodeV::Vector{ComplexF64}
) -> Int64
Solve System for a given V vector
SolveSystem(dss::DSSContext) -> Int64
Solve System for the internal V vector