From 6ce32528eaebf724ae450b4ceefc7022d0677687 Mon Sep 17 00:00:00 2001 From: Ray Zimmerman Date: Tue, 31 Oct 2023 17:42:14 -0600 Subject: [PATCH] Remove extraneous trailing ; from end of function lines. --- lib/+mp/dmce_gen_mpc2.m | 2 +- lib/+mp/dmce_line3p_mpc2.m | 2 +- lib/+mp/math_model_pf_acps.m | 4 ++-- lib/+mp/mme_gen_opf_ac.m | 4 ++-- lib/+mp/task_cpf_legacy.m | 2 +- lib/+mp/task_opf_legacy.m | 2 +- lib/+mp/task_pf_legacy.m | 2 +- lib/makeLODF.m | 2 +- lib/opf_branch_ang_fcn.m | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/+mp/dmce_gen_mpc2.m b/lib/+mp/dmce_gen_mpc2.m index 23b4dc9f0..3c34f18ce 100644 --- a/lib/+mp/dmce_gen_mpc2.m +++ b/lib/+mp/dmce_gen_mpc2.m @@ -185,7 +185,7 @@ end end - function tab = gencost2cost_table(obj, gencost); + function tab = gencost2cost_table(obj, gencost) % %% define named indices into data matrices diff --git a/lib/+mp/dmce_line3p_mpc2.m b/lib/+mp/dmce_line3p_mpc2.m index 84dd0a09d..c7289b4d2 100644 --- a/lib/+mp/dmce_line3p_mpc2.m +++ b/lib/+mp/dmce_line3p_mpc2.m @@ -50,7 +50,7 @@ vmap.ql3_to = {'num', 0}; %% zeros end - function tab = create_line_construction_table(obj, lc); + function tab = create_line_construction_table(obj, lc) % id = lc(:, 1); r = lc(:, 2:7); diff --git a/lib/+mp/math_model_pf_acps.m b/lib/+mp/math_model_pf_acps.m index 7977a7439..b8c4167ca 100644 --- a/lib/+mp/math_model_pf_acps.m +++ b/lib/+mp/math_model_pf_acps.m @@ -50,7 +50,7 @@ obj.add_nln_constraint({'Pmis', 'Qmis'}, [ad.npv+ad.npq;ad.npq], 1, fcn, []); end - function x = gs_x_update(obj, x, f, nm, dm, mpopt); + function x = gs_x_update(obj, x, f, nm, dm, mpopt) % alg = mpopt.pf.alg; @@ -87,7 +87,7 @@ x = [angle(v_([pv; pq])); abs(v_(pq))]; end - function x = zg_x_update(obj, x, f, nm, dm, mpopt); + function x = zg_x_update(obj, x, f, nm, dm, mpopt) % alg = mpopt.pf.alg; diff --git a/lib/+mp/mme_gen_opf_ac.m b/lib/+mp/mme_gen_opf_ac.m index c64129f3b..1393afc3b 100644 --- a/lib/+mp/mme_gen_opf_ac.m +++ b/lib/+mp/mme_gen_opf_ac.m @@ -57,7 +57,7 @@ end %% from makeApq() - function [Ah, uh, Al, ul, data] = pq_capability_constraint(obj, dme, base_mva); + function [Ah, uh, Al, ul, data] = pq_capability_constraint(obj, dme, base_mva) gen = dme.tab(dme.on, :); %% data dimensions @@ -172,7 +172,7 @@ end %% from makeAvl() - function [A, l, u] = disp_load_constant_pf_constraint(obj, dm); + function [A, l, u] = disp_load_constant_pf_constraint(obj, dm) dme = obj.data_model_element(dm); %% data dimensions diff --git a/lib/+mp/task_cpf_legacy.m b/lib/+mp/task_cpf_legacy.m index 5632030ef..5d8daae61 100644 --- a/lib/+mp/task_cpf_legacy.m +++ b/lib/+mp/task_cpf_legacy.m @@ -29,7 +29,7 @@ [d, mpopt] = run_pre@mp.task_cpf(obj, d, mpopt); end - function obj = run_post(obj, mm, nm, dm, mpopt); + function obj = run_post(obj, mm, nm, dm, mpopt) if obj.nm.np ~= 0 obj.dm.source = obj.dmc.export(obj.dm, obj.dm.source); end diff --git a/lib/+mp/task_opf_legacy.m b/lib/+mp/task_opf_legacy.m index 45d43710a..429700e0a 100644 --- a/lib/+mp/task_opf_legacy.m +++ b/lib/+mp/task_opf_legacy.m @@ -28,7 +28,7 @@ [d, mpopt] = run_pre@mp.task_opf(obj, d, mpopt); end - function obj = run_post(obj, mm, nm, dm, mpopt); + function obj = run_post(obj, mm, nm, dm, mpopt) if obj.nm.np ~= 0 obj.dm.source = obj.dmc.export(obj.dm, obj.dm.source); end diff --git a/lib/+mp/task_pf_legacy.m b/lib/+mp/task_pf_legacy.m index 4b018d7e4..6385d6a2d 100644 --- a/lib/+mp/task_pf_legacy.m +++ b/lib/+mp/task_pf_legacy.m @@ -28,7 +28,7 @@ [d, mpopt] = run_pre@mp.task_pf(obj, d, mpopt); end - function obj = run_post(obj, mm, nm, dm, mpopt); + function obj = run_post(obj, mm, nm, dm, mpopt) if obj.nm.np ~= 0 obj.dm.source = obj.dmc.export(obj.dm, obj.dm.source); end diff --git a/lib/makeLODF.m b/lib/makeLODF.m index 7323e21a1..7468240d0 100644 --- a/lib/makeLODF.m +++ b/lib/makeLODF.m @@ -1,4 +1,4 @@ -function LODF = makeLODF(branch, PTDF, mask_bridge); +function LODF = makeLODF(branch, PTDF, mask_bridge) %MAKELODF Builds the line outage distribution factor matrix. % LODF = MAKELODF(BRANCH, PTDF) % LODF = MAKELODF(MPC, PTDF) diff --git a/lib/opf_branch_ang_fcn.m b/lib/opf_branch_ang_fcn.m index fe1f2b46a..432e23ba0 100644 --- a/lib/opf_branch_ang_fcn.m +++ b/lib/opf_branch_ang_fcn.m @@ -1,4 +1,4 @@ -function [VaDif, dVaDif] = opf_branch_ang_fcn(x, Aang, lang, uang); +function [VaDif, dVaDif] = opf_branch_ang_fcn(x, Aang, lang, uang) %OPF_BRANCH_ANG_FCN Evaluates branch angle difference constraints and gradients. % [VADIF, DVADIF] = OPF_BRANCH_ANG_FCN(X, AANG, LANG, UANG); %