Shizhen,
Which kind of deterministic sampling are you referring to?
If you can give us a context for this need, it would help us to better answer your query.
Diego
To view this discussion on the web visit https://groups.google.com/d/msgid/inl-raven-users/SJ0PR09MB1110784443BB720E043D5F278F7D42%40SJ0PR09MB11107.namprd09.prod.outlook.com.
Shizen,
Unfortunately, as of now we do not have this class of sampling strategies.
I am not sure when this feature can be added to RAVEN.
The closest approach available in RAVERN is to use sparse grid collocation method based sampler.
A possible way to perform deterministic sampling in RAVEN for your application is to follow these steps:
Lastly note that deterministic sampling strategies needs that all simulation runs are performed correctly, i.e., no code crashes are observed.
Hope it helps,
Diego
Shizhen,
At a first look there is an issue with the information being passed from the custom sampler to the RELAP5 interface.
I have created this branch to test it: mandd/editsCustomRelap5.
While I am doing some more testing feel free to test if this branch solves your issue.
Diego
From:
Shizhen Yu <shizh...@gmail.com>
Date: Thursday, December 26, 2024 at 2:34 AM
To: Diego Mandelli <diego.m...@inl.gov>
Cc: INL RAVEN Users Group <inl-rav...@googlegroups.com>, Joshua J. Cogliati <joshua....@inl.gov>
Subject: Re: [EXTERNAL] Deterministic sampling
Hi Diego,
First of all, I wish you together with the RAVEN team all the best for the coming 2025!
Thanks for your last email, I've indeed tried to generate the samples outside RAVEN, then pass them through the custom sampler. I combined the later one with a grid sampler to form an ensemble sampler as you can see in the .xml in the zip file. When I run the .xml, I see from PowerShell (copied in errorMessage.txt in the zip file) that all samples are correctly generated (both from custom and grid), but RAVEN fails to insert them into the RELAP input files, and shows an error about formatting (see screen capture below).
Could you have a look and let me know if anything I should correct in .xml please?
Thanks in advance!
Best regards,
Shizhen
Hi Shizhen,
I am running a modified version of your input file (see attache) on the branch I have indicated earlier and I do not get the same error you mentioned.
Diego
From:
Shizhen Yu <shizh...@gmail.com>
Date: Thursday, December 26, 2024 at 2:34 AM
To: Diego Mandelli <diego.m...@inl.gov>
Cc: INL RAVEN Users Group <inl-rav...@googlegroups.com>, Joshua J. Cogliati <joshua....@inl.gov>
Subject: Re: [EXTERNAL] Deterministic sampling
Hi Diego,
First of all, I wish you together with the RAVEN team all the best for the coming 2025!
Thanks for your last email, I've indeed tried to generate the samples outside RAVEN, then pass them through the custom sampler. I combined the later one with a grid sampler to form an ensemble sampler as you can see in the .xml in the zip file. When I run the .xml, I see from PowerShell (copied in errorMessage.txt in the zip file) that all samples are correctly generated (both from custom and grid), but RAVEN fails to insert them into the RELAP input files, and shows an error about formatting (see screen capture below).
Could you have a look and let me know if anything I should correct in .xml please?
Thanks in advance!
Best regards,
Shizhen
Shizhen,
That element of the code should stay in there.
Bases on your insights let me see if I can recreate the same issue on my machine.
Shizhen,
For some reason I cannot duplicate your error in my machine.
Let me discuss it with the rest of the team next Monday.
Diego