Skip to content

Commit

Permalink
Correct constraint equation 30 to be <
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-nunn committed Feb 8, 2024
1 parent 8e12bdd commit 64885c2
Show file tree
Hide file tree
Showing 3 changed files with 1,409 additions and 1,408 deletions.
6 changes: 3 additions & 3 deletions source/fortran/constraint_equations.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1508,9 +1508,9 @@ subroutine constraint_eqn_030(tmp_cc, tmp_con, tmp_err, tmp_symbol, tmp_units)
character(len=1), intent(out) :: tmp_symbol
character(len=10), intent(out) :: tmp_units

tmp_cc = 1.0D0 - pinjmw / (fpinj * pinjalw)
tmp_cc = 1.0D0 - fpinj*pinjalw/pinjmw
tmp_con = pinjalw
tmp_err = pinjalw - pinjmw * fpinj
tmp_err = pinjalw - pinjmw / fpinj
tmp_symbol = '<'
tmp_units = 'MW'

Expand Down Expand Up @@ -2859,7 +2859,7 @@ subroutine constraint_eqn_075(tmp_cc, tmp_con, tmp_err, tmp_symbol, tmp_units)
!! #=#=# f_coppera_m2, copperA_m2_max
!! and hence also optional here.
!! Logic change during pre-factoring: err, symbol, units will be assigned only if present.
!! copperA_m2 : input real : TF coil current / copper area (A/m2)
!! copperA_m2 : input real : TF coil current / copper area (A/m2)
!! copperA_m2_max : input real : Maximum TF coil current / copper area (A/m2)
!! f_coppera_m2 : input real : f-value for TF coil current / copper area < copperA_m2_max
use rebco_variables, only: copperA_m2, copperA_m2_max, f_coppera_m2
Expand Down
Loading

0 comments on commit 64885c2

Please sign in to comment.