Title: "Interconnect" input specification. · Issue #1015 · python-control/python-control · GitHub
Open Graph Title: "Interconnect" input specification. · Issue #1015 · python-control/python-control
X Title: "Interconnect" input specification. · Issue #1015 · python-control/python-control
Description: Hi, In this code I want "interconnect" to build a system with just one input "sys.u1". It tries to create two inputs and as a result catches an exception. Am I getting it wrong? import numpy as np import control as ct f = np.array([[-35,...
Open Graph Description: Hi, In this code I want "interconnect" to build a system with just one input "sys.u1". It tries to create two inputs and as a result catches an exception. Am I getting it wrong? import numpy as np ...
X Description: Hi, In this code I want "interconnect" to build a system with just one input "sys.u1". It tries to create two inputs and as a result catches an exception. Am I getting it wrong?...
Opengraph URL: https://github.com/python-control/python-control/issues/1015
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Interconnect\" input specification.","articleBody":"Hi,\r\n\r\nIn this code I want \"interconnect\" to build a system with just one input \"sys.u1\". It tries to create two inputs and as a result catches an exception. Am I getting it wrong?\r\n\r\n```\r\nimport numpy as np\r\nimport control as ct\r\n\r\nf = np.array([[-35, 1], [-225, -5]])\r\nj = np.array([[0], [5]])\r\ng = np.array([[-965], [-8775]])\r\ncobs = np.eye(2)\r\ndobs = np.zeros((2, 2))\r\n\r\na = np.array([[0, 1, 0], [0, -1, 1], [0, 0, -5]])\r\nb = np.array([[0], [0], [5]])\r\nc = np.array([[1, 0, 0]])\r\nd = 0\r\n\r\nplant = ct.ss(a, b, c, d,\r\n inputs=[\"u1\"], outputs=[\"y1\"], name=\"plant\")\r\nobserver = ct.ss(f, np.hstack((g, j)), cobs, dobs,\r\n inputs=[\"u1\", \"u2\"], outputs=[\"y1\", \"y2\"], name=\"observer\")\r\n\r\nsys = ct.interconnect([plant, observer],\r\n connections=[[\"observer.u1\", \"plant.y1\"]],\r\n inplist=[[\"plant.u1\", \"observer.u2\"]],\r\n outlist=[[\"plant.y1\"], [\"observer.y1\"], [\"observer.y2\"]],\r\n inputs=[\"u1\"],\r\n outputs=[\"y1\", \"y2\", \"y3\"],\r\n debug=True)\r\n```","author":{"url":"https://github.com/bonidydy","@type":"Person","name":"bonidydy"},"datePublished":"2024-06-29T07:39:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1015/python-control/issues/1015"}
| 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:e6c40323-9d4f-b6dd-bcd1-9fba1e1b70fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4F0:2DF2F1:369D71E:4CC6DFF:69792D05 |
| html-safe-nonce | c482b4e7c81ebd5a33b22767ac54f24402aa6ea54c9224657041cb2ea173c6bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEYwOjJERjJGMTozNjlENzFFOjRDQzZERkY6Njk3OTJEMDUiLCJ2aXNpdG9yX2lkIjoiNTUzNzE4NDUxODIzOTc1OTYyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1f6973d67144428d56db89d8e01ea2ac59750105485d9b169531228f464dbd90 |
| hovercard-subject-tag | issue:2381557236 |
| 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/1015/issue_layout |
| twitter:image | https://opengraph.githubassets.com/056de2f10637b30f3d794651381ca231c5225ff2f96ced629d9d14062ab11681/python-control/python-control/issues/1015 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/056de2f10637b30f3d794651381ca231c5225ff2f96ced629d9d14062ab11681/python-control/python-control/issues/1015 |
| og:image:alt | Hi, In this code I want "interconnect" to build a system with just one input "sys.u1". It tries to create two inputs and as a result catches an exception. Am I getting it wrong? import numpy as np ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bonidydy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 15417fb272585d09f7c894f2a869ba34cc4c7ded898af9dccaa85542b9adb711 |
| 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 | 535f4866a7b2e3d762bd599bffe50a3cfb0702b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width