Skip to content

Commit

Permalink
Reverted some new fixes on main
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-nunn committed Jan 8, 2025
1 parent 7d7359c commit bb1f726
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions process/pfcoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ def ohcalc(self):
# Allowable coil overall current density at EOF
# (superconducting coils only)

(jcritwp, pfv.jcableoh_eof, pfv.jscoh_eof, tmarg1) = self.superconpf(
jcritwp, pfv.jcableoh_eof, pfv.jscoh_eof, tmarg1 = self.superconpf(
pfv.bmaxoh,
pfv.vfohc,
pfv.fcuohsu,
Expand All @@ -1211,7 +1211,7 @@ def ohcalc(self):

# Allowable coil overall current density at BOP

(jcritwp, pfv.jcableoh_bop, pfv.jscoh_bop, tmarg2) = self.superconpf(
jcritwp, pfv.jcableoh_bop, pfv.jscoh_bop, tmarg2 = self.superconpf(
pfv.bmaxoh0,
pfv.vfohc,
pfv.fcuohsu,
Expand Down
16 changes: 8 additions & 8 deletions tests/integration/test_pfcoil_int.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_pfcoil(monkeypatch, pfcoil):
monkeypatch.setattr(pv, "vsind", 3.497e2)
monkeypatch.setattr(pv, "aspect", 3.1)
monkeypatch.setattr(pv, "itart", 0)
monkeypatch.setattr(pv, "betap", 6.313e-1)
monkeypatch.setattr(pv, "beta_poloidal", 6.313e-1)
monkeypatch.setattr(tfv, "tftmp", 4.750)
monkeypatch.setattr(tfv, "dcond", np.full(9, 9.0e3))
monkeypatch.setattr(tfv, "i_tf_sup", 1)
Expand Down Expand Up @@ -2430,13 +2430,13 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil):
pfv,
"curpfb",
np.array([
0.067422231232391661,
-2.9167273287450968,
-8.1098913365453491,
-8.1098913365453491,
-5.5984385047179153,
-5.5984385047179153,
-186.98751599968148,
14.742063826112622,
20.032681634901664,
0.58040662653667285,
0.58040662653667285,
0.42974674788703021,
0.42974674788703021,
174.22748790786324,
0,
0,
0,
Expand Down

0 comments on commit bb1f726

Please sign in to comment.