Skip to content

Commit

Permalink
small clean
Browse files Browse the repository at this point in the history
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
  • Loading branch information
p-arvy committed Jan 3, 2025
1 parent e45363f commit ab5e468
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion open-reac/src/main/resources/openreac/acopf.mod
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ var Red_Tran_Rea_Inv{(qq,m,n) in BRANCHCC } =

var Red_Tran_Act_Dir_Side_2_Opened{(qq,m,n) in BRANCHCC_WITH_SIDE_2_OPENED} =
(branch_Ror[qq,m,n])**2 * V[m] * (branch_Gor_mod[qq,m,n] + (branch_admi[qq,m,n])**2 * branch_Gex_mod[qq,m,n] / ( (branch_Gex_mod[qq,m,n] + branch_admi[qq,m,n] * sin(branch_angper[qq,m,n]))**2
+ (- branch_Bex_mod[qq,m,n] + branch_admi[qq,m,n] * cos(branch_angper[qq,m,n]))**2 )
+ (- branch_Bex_mod[qq,m,n] + branch_admi[qq,m,n] * cos(branch_angper[qq,m,n]))**2 )
+ ((branch_Bex_mod[qq,m,n])**2 + (branch_Gex_mod[qq,m,n])**2) * branch_admi[qq,m,n] * sin(branch_angper[qq,m,n]) / ( (branch_Gex_mod[qq,m,n] + branch_admi[qq,m,n] * sin(branch_angper[qq,m,n]))**2
+ (- branch_Bex_mod[qq,m,n] + branch_admi[qq,m,n] * cos(branch_angper[qq,m,n]))**2 ))
;
Expand Down
4 changes: 2 additions & 2 deletions open-reac/src/main/resources/openreac/commons.mod
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ check {vsc in VSCCONV_NUM}: vscconv_targetP[vsc] != NaN;
#
set VSCCONVON := setof{(t,v,n) in VSCCONV:
n in BUSCC
and abs(vscconv_targetP[v] ) <= PQmax
and abs(vscconv_targetP[v]) <= PQmax
and abs(vscconv_Pmin[t,v,n]) <= PQmax
and abs(vscconv_Pmax[t,v,n]) <= PQmax
and vscconv_targetP[v] >= vscconv_Pmin[t,v,n]
Expand All @@ -121,7 +121,7 @@ set VSCCONVON := setof{(t,v,n) in VSCCONV:
set LCCCONVON := setof{(t,l,n) in LCCCONV:
n in BUSCC
and abs(lccconv_targetP[l]) <= PQmax
and abs(lccconv_q0[1,l,n]) <= PQmax
and abs(lccconv_q0[1,l,n]) <= PQmax
} (l,n);


Expand Down

0 comments on commit ab5e468

Please sign in to comment.