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 sweep_2 variable value prints to 0.0 in terminal irrelevant of actual value #3577

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 the value for the second variable is printed as 0.0, for example:

Starting scan point 1:  Aspect_ratio, aspect = 3.0 and Net_electric_power_(MW), pnetelin = 0.0 

This only happens for the initial point, if you use multiple points for nsweep_2 the value that returns 0.0 is the first value in the list rather than the first scan point. Note this does not impact the actual value which is used correctly and outputs without issue.

Steps to reproduce

Run 2D scan using scan_dim = 2, and any variable for nsweep = 1 and nsweep = 2. For example used:

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
@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