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

Can wntr realize the stride method just like pyswmm ? #322

Open
Pu-nk opened this issue Jan 6, 2023 · 2 comments
Open

Can wntr realize the stride method just like pyswmm ? #322

Pu-nk opened this issue Jan 6, 2023 · 2 comments
Assignees

Comments

@Pu-nk
Copy link

Pu-nk commented Jan 6, 2023

It seems that wntr simulator realized the run_sim() using

while time < duration:
  run_signle_step()

So can I realied a method only run one step each time, may be there exists some problems?

@kaklise
Copy link
Collaborator

kaklise commented Jan 17, 2023

Thanks for posting this suggestion. We are working on simulators that operate in stepwise and realtime mode. This will allow you to use a stride. Right now, this feature is on a branch (https://github.com/dbhart/WNTR/tree/initial_cond). Once we finish tests and documentation, this will be added to a future release.

@Pu-nk
Copy link
Author

Pu-nk commented Feb 28, 2023

good works

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

3 participants