Skip to content

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

@maiyiyi

Description

@maiyiyi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions