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

WIP- new example simple pendulum #66

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

jonas-amr
Copy link
Contributor

The files as i received them. Not my work, just uploading. Example not ready to run, needs some fixes.

jonas-amr and others added 6 commits September 8, 2017 15:20
- the files as i received them
new settings file, imaginary values
copied main from 'BallBeam', original seems to have unportable
modifications
added settings file that actually belongs to the example
the example does not run flawlessly, some structural changes might be
the reason. Small changes towards problem solving
This error was caused by subtracting the closest equilibrium `eq` from
the copy of the state vector `x`. Due tu explicitly casting `eq` into a
2D-Array (`np.atleast_2d(eq)`) numpy's broadcasting rules got triggered
which would broadcast the shapes 4x1 (x) and 1x4 (eq.T) to 4x4.
After matrix multiplication with the gain vector `k` (1x4) one would
come up with a resulting output `u` 1x4.

Since the controller output is propagated to the model input, this is
these are the weird `input_values` that occurred in the model equations.
removed print command to speed up simulation process
@jonas-amr
Copy link
Contributor Author

Reading complex eigenvalues from .sreg file seems not to be working. Complex values loaded from regimes get turned into strings, while complex default values of the controller class itself are recognized correctly (same syntax).

- deleting unnecessary main
- turning lines of code into comments that are  unnecessary for tutorial
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

Successfully merging this pull request may close these issues.

None yet

2 participants