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

Cache components in DeviceModel during a simulation #1171

Open
daniel-thom opened this issue Nov 6, 2024 · 1 comment
Open

Cache components in DeviceModel during a simulation #1171

daniel-thom opened this issue Nov 6, 2024 · 1 comment
Assignees

Comments

@daniel-thom
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When parameters are updated in a simulation, the code has to call get_available_components and then filter those for components with time series data. The latter is currently a bit slow. We can speed all of this up by caching the components inside the model for the duration of the simulation.

@jd-lara
Copy link
Member

jd-lara commented Nov 11, 2024

This should also apply to the EventModel being developed in the jd/outages branch

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

No branches or pull requests

2 participants