Title: Fix interconnect type conversion bug for StateSpace systems by murrayrm · Pull Request #788 · python-control/python-control · GitHub
Open Graph Title: Fix interconnect type conversion bug for StateSpace systems by murrayrm · Pull Request #788 · python-control/python-control
X Title: Fix interconnect type conversion bug for StateSpace systems by murrayrm · Pull Request #788 · python-control/python-control
Description: This PR fixes a problem that was identified in PR #785, where interconnecting a LinearIOSystem with a StateSpace system via the interconnect function did not work correctly. In particular, if you created a mixed system of this type you would get back an InterconnectedSystem that would generate an error is you tried to simulate it or evaluate the dynamics. This was fixed by adding a few lines of code to interconnect() that convert StateSpace and TransferFunction objects to LinearIOSystems, mimicking what is done with operator overloading. In addition, there was a bug where the param keyword was not allowed in the dynamics and output functions. This is now fixed and tested with a unit test.
Open Graph Description: This PR fixes a problem that was identified in PR #785, where interconnecting a LinearIOSystem with a StateSpace system via the interconnect function did not work correctly. In particular, if you ...
X Description: This PR fixes a problem that was identified in PR #785, where interconnecting a LinearIOSystem with a StateSpace system via the interconnect function did not work correctly. In particular, if you ...
Opengraph URL: https://github.com/python-control/python-control/pull/788
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cf1f071e-1f5f-2080-1132-530453581e1a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4E0:708E1:E77B82:132B6E1:697C06CF |
| html-safe-nonce | d4d6cf5569c62c9133ca6d56812da99b0af13d4596fdcc8788e4a58f54bc942a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEUwOjcwOEUxOkU3N0I4MjoxMzJCNkUxOjY5N0MwNkNGIiwidmlzaXRvcl9pZCI6IjI2NDI5MDQ5ODM0NDcyNzUyMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c6a40a2ec50b23340517b14e828b92b4b64543002d8ab3ebe42ec9544b49b7bb |
| hovercard-subject-tag | pull_request:1120148799 |
| 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/788/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 fixes a problem that was identified in PR #785, where interconnecting a LinearIOSystem with a StateSpace system via the interconnect function did not work correctly. In particular, if you ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | da4f0ee56809799586f8ee546b27f94fe9b5893edfbf87732e82be45be013b52 |
| 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 | 2d0972e08a3f8dfff1c4bf1f3d026a7d3a209c26 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width