Skip to content

graceful exit when there is no capacitance associated with a node #29

Open
@onurbakir

Description

@onurbakir

When C matrix has zero rows (such as when user accidentally defines resistive elements to disconnected ports) This matrix is not invertible. And in return julia returns a singularity error. Diagonal entries of this matrix (C should have a non zero diagonal if am I not mistaken) can be checked and user can be warned here.

M = collect([C Z; Z I]) \ collect([-G -K; I Z])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions