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

Doing a PCE for simulations with non-uniform simulation times #429

Open
oarcelus opened this issue Sep 9, 2024 · 3 comments
Open

Doing a PCE for simulations with non-uniform simulation times #429

oarcelus opened this issue Sep 9, 2024 · 3 comments
Labels

Comments

@oarcelus
Copy link

oarcelus commented Sep 9, 2024

The question is simple. Is there a way of doing a PCE of a simulation where the simulations resulting from the different parameter samples result in simulations with different times?

The simulated time may be 60s before some cutoff is reached for example, in other cases, this cutoff is reached at 70s. Is there a proper way to treat this with chaospy?

@jonathf
Copy link
Owner

jonathf commented Sep 9, 2024

Am I understanding the problem correctly that you have a simulator that converges, but is costly enough that you want early stopping? Your idea here is to incorporate this cutoff value into a PCE somehow as a parameter to determine how much you can get away with?

I think the answer is no, but I might have misunderstood your question.

@oarcelus
Copy link
Author

oarcelus commented Sep 9, 2024

Hi, sorry, I might have not explained myself correctly. My simulations have some cutoff values for some parameters. When the parameter value hit this cutoff the simulation stops because it is reaching a limit where the calculations diverges if I continue to apply a load to it (lets say the system is failing above a given parameter limit).

This means that different runs for different parameter combinations will result in model responses that take different times to reach this cutoff value. Thus, it is not clear to me whether PCE is built to handle this. I can always try to normalize the simulation time and I know that the model response will still be different, but I do not know if it is the best approach.

@jonathf
Copy link
Owner

jonathf commented Sep 10, 2024

Are you saying that the response generated by the simulator is inconsistent?

So the short answer is then no, that is not handled by itself. You will need olto normalize and/or align the data manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants