Skip to content

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

@kj5248

Description

@kj5248

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions