Title: create_statefbk_iosystem sets system name incorrectly · Issue #848 · python-control/python-control · GitHub
Open Graph Title: create_statefbk_iosystem sets system name incorrectly · Issue #848 · python-control/python-control
X Title: create_statefbk_iosystem sets system name incorrectly · Issue #848 · python-control/python-control
Description: The create_statefbk_iosystem sets the name of the closed loop system that it creates to one of the system inputs. For example: import numpy as np import control as ct sys = ct.ss([[0, 10], [-1, 0]], [[0], [1]], np.eye(2), 0, name='sys') ...
Open Graph Description: The create_statefbk_iosystem sets the name of the closed loop system that it creates to one of the system inputs. For example: import numpy as np import control as ct sys = ct.ss([[0, 10], [-1, 0]]...
X Description: The create_statefbk_iosystem sets the name of the closed loop system that it creates to one of the system inputs. For example: import numpy as np import control as ct sys = ct.ss([[0, 10], [-1, 0]]...
Opengraph URL: https://github.com/python-control/python-control/issues/848
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"create_statefbk_iosystem sets system name incorrectly","articleBody":"The `create_statefbk_iosystem` sets the name of the closed loop system that it creates to one of the system inputs. For example:\r\n```\r\nimport numpy as np\r\nimport control as ct\r\nsys = ct.ss([[0, 10], [-1, 0]], [[0], [1]], np.eye(2), 0, name='sys')\r\nK, _, _ = ct.lqr(sys, np.eye(sys.nstates), np.eye(sys.ninputs))\r\nctrl, clsys = ct.create_statefbk_iosystem(sys, K)\r\nprint(clsys)\r\n```\r\ngives\r\n```\r\n\u003cLinearICSystem\u003e: u[0]\r\nInputs (3): ['xd[0]', 'xd[1]', 'ud[0]']\r\nOutputs (3): ['y[0]', 'y[1]', 'u[0]']\r\nStates (2): ['sys_x[0]', 'sys_x[1]']\r\n```\r\nwhich has the name of the system as `u[0]` instead of something like `sys[3]`.","author":{"url":"https://github.com/murrayrm","@type":"Person","name":"murrayrm"},"datePublished":"2023-01-14T17:49:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/848/python-control/issues/848"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bc1c607f-6033-4f50-9bcd-c394eb4e58ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C152:155498:230A680:2F23061:6979A141 |
| html-safe-nonce | 4f041fa30f3092bce4ed09043e687a42fae7062a3c0bd98c0509a4e9a661b9a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTUyOjE1NTQ5ODoyMzBBNjgwOjJGMjMwNjE6Njk3OUExNDEiLCJ2aXNpdG9yX2lkIjoiMjA2MTg3NDU5MjA5OTE4MDg2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f726ae244896f22ec41af10a71d717d979593043a00939032a7eb854f646877d |
| hovercard-subject-tag | issue:1533396508 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python-control/python-control/848/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac88e9663f5c6c5e0aca9d61cfab1ce46fdd87e44388cc9743b5f6fe4990b890/python-control/python-control/issues/848 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac88e9663f5c6c5e0aca9d61cfab1ce46fdd87e44388cc9743b5f6fe4990b890/python-control/python-control/issues/848 |
| og:image:alt | The create_statefbk_iosystem sets the name of the closed loop system that it creates to one of the system inputs. For example: import numpy as np import control as ct sys = ct.ss([[0, 10], [-1, 0]]... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | murrayrm |
| 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 |
| 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