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: 'DynamicalSystem' object has no attribute 'num_events' #24

Open
al116 opened this issue Feb 3, 2022 · 4 comments
Open

Comments

@al116
Copy link

al116 commented Feb 3, 2022

Downgraded Sympy to 1.0, changed 'from fractions import gcd' to 'from math import gcd' within egyptian_fraction.py to get over that error, but then received this error on the pendulum example.

@XxxuLimei
Copy link

I've received the same error, it seems that the class "DynamicalSystem" has the fatal error in the attribute.

@FLSP
Copy link

FLSP commented Oct 16, 2022

I doubt the author have not test his examples since Oct.27.2021. On this day he upgraded this project with note about num_events, and add something about it in block_diagram.py. After that, this problem existed.
I have a try to retrieve to a version before this day, and the examples all worked will. I hope the author can repair it. @sixpearls

@Malipour14
Copy link

I still get this error while running the pendulum example or any other example containing DynamicalSystem. I uninstalled the simupy and tried to install it using the development model in github and downgraded Sympy, but still I face the same error.

@eric-silk
Copy link

I'm also getting this error. This looks like a very promising library, and I've reverted to the commit just before Oct. 27th (a7f0aec) to play around with it; however, it'd be great if the developer could at least acknowledge the issue to provide some indication it may get fixed.

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

5 participants