Title: I/O system improvements: linearize, interconnect, docstrings by murrayrm · Pull Request #497 · python-control/python-control · GitHub
Open Graph Title: I/O system improvements: linearize, interconnect, docstrings by murrayrm · Pull Request #497 · python-control/python-control
X Title: I/O system improvements: linearize, interconnect, docstrings by murrayrm · Pull Request #497 · python-control/python-control
Description: This PR implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you can use signal names when forming and InterconnectedSystem. Interconnections of LinearIOSystems are now treated as LinearICSystems (a subclass of InterconnectedSystem and LinearIOSystem) so that StateSpace functions will still work on them and they still keep track of the underlying interconnection structure. There is now an interconnect function that allows the construction of an LinearICSystems or a InterconnectedSystem depending on whether the subsystems are all linear or not. This basically serves as a replacement for the connect function for LTI systems and allows named interconnection of linear or nonlinear systems. In addition, I cleaned up the description for how to specify interconnections so that tuples are only used for the lowest level signal descriptions; everything else is a list. (Tuples will still work, but there are some ambiguities when you use tuples since outlist=(3, 2, 1) could be interpreted as a signal description for a single signal (subsystem 3, signal 2, with gain 1) or as a list of signals for SISO systems (the single outputs from subsystems 3, 2, and 1). Additional small changes: The rss and drss functions now allow the strictly_proper keyword, which sets the D matrix to zero. (I needed this to avoid occasional errors in unit tests for the interconnect function. Added some configuration variables that allow you to change the way that states in interconnected systems are named (default was sys.state but is sys_state for 0.9+) and the way that duplicate systems are named (default was copy of sys but is sys$copy for 0.9+). Added unit tests for all of the above. Updated examples to match the newly documented conventions for signal list specification.
Open Graph Description: This PR implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you ...
X Description: This PR implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you ...
Opengraph URL: https://github.com/python-control/python-control/pull/497
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:7d8f683c-0b95-a25b-81f0-e97d50e532ef |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DADA:13B4AC:2607020:339361D:6979AA3A |
| html-safe-nonce | 5874a5c7cb92e8efaed48e4870b8ca37f3a5999445ff4da02069d3d61dc9f16c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQURBOjEzQjRBQzoyNjA3MDIwOjMzOTM2MUQ6Njk3OUFBM0EiLCJ2aXNpdG9yX2lkIjoiMTc3MTQ4MzAwMTI4OTAyNjEwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 90ace95cecdf3c9826fd818b1f9113dd5f3c5451c631c5892a3960e4241b9ef5 |
| hovercard-subject-tag | pull_request:547770495 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/497/checks |
| 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 implements a couple of enhancements for the I/O systems package, mainly related to linear systems: The linearize command now preserves signal names for the linearized system, so that you ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87b137883e35e2766c3d0f6a257c4044f6390b83 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width