NRC-Research / SNAP-issues

This repository was created to provide a public location to record and display the status of "issues" for the SNAP application. The SNAP developers will acknowledge, provide (and maybe request) feedback on the reported issues, and in general use the information to improve SNAP code.
3 stars 0 forks source link

SNAP 4.1.0 (Windows 10): Global variables of type "Power" not recognized in Engineering Template Model files #43

Closed fmax85 closed 1 year ago

fmax85 commented 1 year ago

Good morning, I am creating an Engineering template model for comparison between RELAP5 and TRACE models, but I encountered an issue when I try to define a global variable of "Power" type, in that I cannot associate to any interactive "Power" variable of the corresponding RELAP5 reference model (I can though associate to the TRACE reference model interactive "Power" variables!!) For the other variable types in my models, namely "Length", "No-Type" and "Time" (I haven't tried others) threre is no issue. Would it be possible to fix/allow "Power" global variables to RELAP5 reference models?

Thanks in advance!

Best Regards

Fabio

dul-isl commented 1 year ago

The issue you are seeing is related to the fact that your TRACE model's power real numeric is defined in BTU while the one defined in your RELAP5 model is not. When you define your power numeric in the RELAP5 model, make sure to use the power which is defined in BTU (there are two, the incorrect one displays MW next to its name in the creation dialog). If that is done, you should be able to create the global real with both TRACE and RELAP5 power variables. Hope this helps!

fmax85 commented 1 year ago

Dear Don, thanks for the explanation. Indeed, if I define a Power variable in RELAP5 with the "second" entry option of Power (they're both in W when SI units are selected) I can use it in my Eng Tmpl model. Thank you again!

Regards

-- Fabio