Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using 2D scan if point starts outside feasible region for solver get misprints in OUT.DAT #3581

Open
kj5248 opened this issue Mar 11, 2025 · 0 comments
Labels
Bug Something isn't working

Comments

@kj5248
Copy link
Collaborator

kj5248 commented Mar 11, 2025

Describe the bug

When using 2D scan on large_tokamak.IN.DAT with addition of:

scan_dim = 2
* DESCRIPTION:   Number of dimensions for variable scan
* JUSTIFICATION: 1-D or 2-D scan switch (1=1D, 2=2D)

nsweep = 1
* DESCRIPTION:   aspect ratio

nsweep_2 = 3
* DESCRIPTION:   pnetelin

isweep = 1

isweep_2 = 1

sweep = 3.0
sweep_2 = 400

it will fail on scan point 2 with following error: ValueError: x is initially in an infeasible region because at least one x is greater than an upper bound. When checking the OUT.DAT for the value pushing it out of bounds you find the following: rmajor = 8.0 is at or below its lower bound: 9.0 where in the IN.DAT the lower bound is 8.0 and the upper bound is 9.0. Likely that when printing it has switched them round and the message should be 8.0 is at or below its lower bound: 8.0

@kj5248 kj5248 added the Bug Something isn't working label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant