{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/ModelicaSpecification/issues/255","repository_url":"https://api.github.com/repos/tbeu/ModelicaSpecification","labels_url":"https://api.github.com/repos/tbeu/ModelicaSpecification/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/ModelicaSpecification/issues/255/comments","events_url":"https://api.github.com/repos/tbeu/ModelicaSpecification/issues/255/events","html_url":"https://github.com/tbeu/ModelicaSpecification/issues/255","id":372170623,"node_id":"MDU6SXNzdWUzNzIxNzA2MjM=","number":255,"title":"Extending replaceable models","user":{"login":"modelica-trac-importer","id":22202507,"node_id":"MDQ6VXNlcjIyMjAyNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":1097433293,"node_id":"MDU6TGFiZWwxMDk3NDMzMjkz","url":"https://api.github.com/repos/tbeu/ModelicaSpecification/labels/invalid","name":"invalid","color":"e4e669","default":true},{"id":1097450555,"node_id":"MDU6TGFiZWwxMDk3NDUwNTU1","url":"https://api.github.com/repos/tbeu/ModelicaSpecification/labels/task","name":"task","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":{"login":"tbeu","id":5444067,"node_id":"MDQ6VXNlcjU0NDQwNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/5444067?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false},"assignees":[{"login":"tbeu","id":5444067,"node_id":"MDQ6VXNlcjU0NDQwNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/5444067?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/tbeu/ModelicaSpecification/milestones/2","html_url":"https://github.com/tbeu/ModelicaSpecification/milestone/2","labels_url":"https://api.github.com/repos/tbeu/ModelicaSpecification/milestones/2/labels","id":3752828,"node_id":"MDk6TWlsZXN0b25lMzc1MjgyOA==","number":2,"title":"never","description":"Use this milestone for tickets that are **invalid**, **duplicates** or **wontfix**. ","creator":{"login":"modelica-trac-importer","id":22202507,"node_id":"MDQ6VXNlcjIyMjAyNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":42,"state":"open","created_at":"2018-10-19T18:35:04Z","updated_at":"2018-10-20T04:11:00Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-10-20T04:10:30Z","updated_at":"2018-10-20T04:11:41Z","closed_at":"2018-10-20T04:11:00Z","author_association":"COLLABORATOR","body":"**Reported by anonymous on 30 May 2012 15:21 UTC**\nIn Modelica 2.2 it was allowed to extend a replaceable model in order to set a model with a drop-down menu, which includes all models extending from the base class of the replaceable model.\n\nExample:\n\npartial record T1\nextends Modelica.Icons.Record;\nend T1;\n\n----\n\nrecord T2\n extends Choice;\n\n  replaceable record Choice =\n      Dummy\n    constrainedby \n    T1\n    annotation (choicesFromPackage = true, choicesAllMatching = true);\n\nend T2;\n\n----\n\nrecord Dummy\n  extends \n    T1;\n...\n.\n...\n.\n...\n.\n...\nend Dummy;\n\n----\n\nrecord Dummy1\n  extends \n    T1;\n...\n.\n...\n.\n...\n.\n...\nend Dummy1;\n\n----\n\nrecord Dummy2\n  extends \n    T1;\n...\n.\n...\n.\n...\n.\n...\nend Dummy2;\n\n----\n\nrecord Dummy3\n  extends \n    T1;\n...\n.\n...\n.\n...\n.\n...\nend Dummy3;\n\n----\n\nHow could the same model with drop-down menu in Modelica 3 created?\n\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/755"},"comment":{"url":"https://api.github.com/repos/tbeu/ModelicaSpecification/issues/comments/431546789","html_url":"https://github.com/tbeu/ModelicaSpecification/issues/255#issuecomment-431546789","issue_url":"https://api.github.com/repos/tbeu/ModelicaSpecification/issues/255","id":431546789,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTU0Njc4OQ==","user":{"login":"modelica-trac-importer","id":22202507,"node_id":"MDQ6VXNlcjIyMjAyNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/22202507?v=4","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2018-10-20T04:11:41Z","updated_at":"2018-10-20T04:11:41Z","author_association":"COLLABORATOR","body":"**Comment by anonymous on 31 May 2012 07:52 UTC**\nWhen using the code stated in the above example it translates and simulated correctly, but with a warning message that \"Base Class Choice is Replaceable\". My question was: how to build the same model and elimintae this warning message. Weather by using a software option like disable warning or by modelling the same system with another code."}}
{"actor":{"display_login":"modelica-trac-importer"}}