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

AttributeError:'Simulation' object has no attribute 'save_hotstart' #20

Open
maiyiyi opened this issue Jul 5, 2021 · 3 comments
Open

Comments

@maiyiyi
Copy link

maiyiyi commented Jul 5, 2021

Hi!
I'm trying to run your sample code. But I have some problems and want to communicate with you.

First, in SWMM_ MPC module
line118 pyswmm.lib.use('libswmm5_ hs.so')

The error is,
AttributeError: module 'pyswmm' has no attribute 'lib'

Second, in SWMM_ MPC module
line140 sim.save_ hotstart(dt_ hs_ path)

The error is,
AttributeError: 'Simulation' object has no attribute 'save_ hotstart'

I can't solve this problem. Can you give me some help?

@maiyiyi
Copy link
Author

maiyiyi commented Jul 5, 2021

I use Python 3.8.10 to run my codes.
Look forward to your reply.

@Ahad-Hasan-Tanim10
Copy link

same issues I face as well. I assume the 'Simulation' object has a function called 'save_hotstart'. Any update?

@PabArb
Copy link

PabArb commented Mar 14, 2024

I'm facing the same problem right now, any help?

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

No branches or pull requests

3 participants