Skip to content

Commit

Permalink
align projector to powsybl v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CBiasuzzi authored and sylvlecl committed Nov 2, 2018
1 parent 9faedcb commit a9bd589
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ printf {(s,n) in SHUNTCC}
###########################################################################

printf '#"num" "bus" "v_regul" "targetV(pu)" "Q(MVar)"\n'
> projector_results_svc.txt;
> projector_results_static_var_compensators.txt;
printf {(s,n) in SVCCC}
"%i %i %s %f %f\n",
s,n,
if (s,n) in SVC_V then "true" else "false",
V[n],
if (s,n) in SVC_V then -100*svc_b[s,n]*V[n]^2 # signe '-' car homogene a une consommation de reactif
else if (s,n) in SVC_FIXE then svc_Q0[s,n]
> projector_results_svc.txt;
> projector_results_static_var_compensators.txt;


###########################################################################
Expand All @@ -184,7 +184,7 @@ printf {(s,n) in SVCCC}
###########################################################################

printf '#"num" "bus" "P(MW)" "Q(MVar)"\n'
> projector_results_lcc.txt;
> projector_results_lcc_converter_stations.txt;


###########################################################################
Expand All @@ -194,11 +194,11 @@ printf '#"num" "bus" "P(MW)" "Q(MVar)"\n'
###########################################################################

printf '#"num" "bus" "v_regul" "targetV(pu)" "targetQ(MVar)" "P(MW)" "Q(MVar)"\n'
> projector_results_vsc.txt;
> projector_results_vsc_converter_stations.txt;
printf {(sc,n) in VSCCONV}
"%i %i %s %f %f %f %f\n",
sc,n,vscconv_vregul[sc,n],V[n],vscconv_Q[sc,n],vscconv_P[sc,n],vscconv_Q[sc,n]
> projector_results_vsc.txt;
> projector_results_vsc_converter_stations.txt;


###########################################################################
Expand Down

0 comments on commit a9bd589

Please sign in to comment.