-
Notifications
You must be signed in to change notification settings - Fork 16
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
Missing Model switches and Variables in bluemira.codes.process #3030
Labels
bug
Something isn't working
Comments
3 tasks
je-cook
added a commit
that referenced
this issue
Feb 29, 2024
* ✅ Add some missing model switches for process * 🐛 fix model_mapping * ✅ Organise newly added input parameters * 🐛 Delete "likely duplicated" mapping but change the return value in the existing mapping * ✅ add model mapping for Stellerator Blanket Model * ✅ Add missing variables in inputs.py * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * ✅ Add further info in () * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * 🐛 remove extra "," in model mapping --------- Co-authored-by: Athoy Nilima <athoy.nilima@ukaea.uk> Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com>
OceanNuclear
pushed a commit
that referenced
this issue
Jun 17, 2024
* ✅ Add some missing model switches for process * 🐛 fix model_mapping * ✅ Organise newly added input parameters * 🐛 Delete "likely duplicated" mapping but change the return value in the existing mapping * ✅ add model mapping for Stellerator Blanket Model * ✅ Add missing variables in inputs.py * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * ✅ Add further info in () * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/_inputs.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * Update bluemira/codes/process/model_mapping.py Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com> * 🐛 remove extra "," in model mapping --------- Co-authored-by: Athoy Nilima <athoy.nilima@ukaea.uk> Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The following switches are missing in
bluemira.codes.process.model_mapping
:ipump
(Switch for whether the FW and BB are on the same pump system)fwcoolant
(switch for first wall coolant)iblanket
(switch for blanket model)iblnkith
(switch for inboard blanket)ims
(switch for multi/single module segment)i_bb_liq
(switch for liquid metal breeder material)icooldual
(switch to specify whether breeding blanket is single-cooled or dual coolant)ifci
(switch for flow channel Insert type if liquid metal breeder blanket)Also missing the Scan Variable functionality:
scan_dim
Steps to reproduce
with
template_builder = PROCESSTemplateBuilder()
, Try to usetemplate_builder.set_model()
ortemplate_builder.add variable()
to set the above switches/variablesExpected behaviour
You will get error that the above model switches/variables does not exist/are not known
Screenshots / Tracebacks
N/A
Environment (please complete the following information)
Additional context
None
The text was updated successfully, but these errors were encountered: