{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/381","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/381/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/381/events","html_url":"https://github.com/tbeu/Modelica/issues/381","id":197513244,"number":381,"title":"Bug in Modelica.Mechanics.Rotational.Gearbox","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","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":506762997,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false},"assignees":[{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-25T19:51:16Z","updated_at":"2016-12-25T19:51:25Z","closed_at":null,"body":"**Reported by stefanv on 11 Jun 2010 13:54 UTC**\nModelica.Mechanics.Rotational.Gearbox includes a LossyGear, which has useSupport=true. The Gear's support is connected to the Gearbox's support. However, the Gearbox inherits its support from Interfaces.PartialTwoFlangesAndSupport, which by default has useSupport=false. The extends clause does not modify this, but it should.\n\nIn short, the extends clause of Modelica.Mechanics.Rotational.Gearbox **should** read:\n\n**extends** Modelica.Mechanics.Rotational.Interfaces.PartialTwoFlangesAndSupport(useSupport=**true**);\n\nCan someone with the appropriate privileges please correct this (in MSL 3.1 and 3.2)?\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/381"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/269135251","html_url":"https://github.com/tbeu/Modelica/issues/381#issuecomment-269135251","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/381","id":269135251,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","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":"2016-12-25T19:51:25Z","updated_at":"2016-12-25T19:51:25Z","body":"**Comment by stefanv on 11 Jun 2010 18:36 UTC**\nAfter some discussion with my colleagues, I believe I might have been wrong. We still think there is a bug, but that the correct fix is to change the declaration of LossyGear within the model:\n\n      Rotational.Components.LossyGear lossyGear(**final** ratio=ratio, **final** lossTable=lossTable, **final** useSupport=useSupport) annotation ...\n\nPS. The model should have been Modelica.Mechanics.Rotational._Components_.Gearbox (I left out \"Components\" earlier)."}}
{"actor":{"display_login":"modelica-trac-importer"}}