Skip to content

Question about how runpf.m computes the Jacobian matrix without calling newtonpf.m #276

@lmrklz

Description

@lmrklz

The runpf.m function runs the power flow normally without any errors. However, it seems that it does not call the default newtonpf.m function, which is supposed to compute the Jacobian matrix in the Newton-Raphson method.

I even tested by deleting newtonpf.m from the directory, and runpf still ran without any issues, which confused me.

According to the documentation, the default power flow algorithm used by runpf is newtonpf, so I expected the Jacobian matrix calculation to depend directly on this function.

My questions are:

Why does runpf keep running even without the newtonpf.m file?

How is runpf computing the system Jacobian matrix in this case?

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