Skip to content

Errors in BaselineJ_experiment.m #2

@YxRicardo

Description

@YxRicardo

I got this error when executing the BaselineJ_experiment.m:
Error using run_se
Too many input arguments.

Error in SE_unit (line 15)
run_se(baseMVA, bus, gen, branch, measure, idx, sigma, type_initialguess);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in BaselineJ_experiment (line 27)
[success_NA, V_SE_NA, z_SEest_NA, z_SEuse_NA, if_bad_NA, J_NA, t_J_NA, rW_NA,rN_NA,gen_est_NA]= SE_unit(baseMVA, bus, gen, branch, measure, idx, sigma, alpha, init_option);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I notice that input and output arguments don't match the source code of run_se function in the matpower7.0 folder:

function [baseMVA, bus, gen, branch, success, et, z, z_est, error_sqrsum] = ...
run_se(casename, measure, idx, sigma, type_initialguess, V0)

How to solve this problem? Is there any other version of run_se function? I really appreciate your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions