Title: add summing junction + implicit signal interconnection by murrayrm · Pull Request #517 · python-control/python-control · GitHub
Open Graph Title: add summing junction + implicit signal interconnection by murrayrm · Pull Request #517 · python-control/python-control
X Title: add summing junction + implicit signal interconnection by murrayrm · Pull Request #517 · python-control/python-control
Description: This PR addresses the enhancement describe in issue #516 where signals with the same name are automatically interconnected by the interconnect function. It also defines a new function summation_block that addresses the request in issue #493. Together, these capabilities allow the following code to work for setting up a simple feedback system: P = ct.ss2io( ct.rss(2, 1, 1, strictly_proper=True), inputs='u', outputs='y', name='P') kp = ct.tf(random.uniform(1, 10), [1]) ki = ct.tf(random.uniform(1, 10), [1, 0]) C = ct.tf2io(kp + ki, inputs='e', outputs='u', name='C') sumblk = ct.summation_block(inputs=['r', '-y'], output='e', name="sum") Tio_sum = ct.interconnect( (C, P, sumblk), inplist=['r'], outlist=['y']) Other minor changes: Added code to allow the iosys.feedback function to accept a float_like for the feedback system (so that feedback(P * C, 1) now works.
Open Graph Description: This PR addresses the enhancement describe in issue #516 where signals with the same name are automatically interconnected by the interconnect function. It also defines a new function summation_bl...
X Description: This PR addresses the enhancement describe in issue #516 where signals with the same name are automatically interconnected by the interconnect function. It also defines a new function summation_bl...
Opengraph URL: https://github.com/python-control/python-control/pull/517
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:afd0df8e-8d13-7646-6c9f-47f3f8eda89c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDB6:EE14C:C9BB48:1110239:69796079 |
| html-safe-nonce | 06583e08528cd08ff1412621e066cb314edc68c0c36e7b8e3d92bd704b70bcb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREI2OkVFMTRDOkM5QkI0ODoxMTEwMjM5OjY5Nzk2MDc5IiwidmlzaXRvcl9pZCI6Ijc2MTQzODM5NTEzMTM0NjEzNjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | acb099ea959bee336eb455e8d11981d6ea5f3b270bec6d0d3bf2f722928c1bf7 |
| hovercard-subject-tag | pull_request:560476160 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/517/files |
| twitter:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| og:image:alt | This PR addresses the enhancement describe in issue #516 where signals with the same name are automatically interconnected by the interconnect function. It also defines a new function summation_bl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a8bf5f945fd86e846085fae394d6ac589cd2b86e05b57ef553a6b80c16b1a62 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9288b06021ef9d084f8b8be8a0cb129d8dc9b93a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width