{"action":"opened","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/2000","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/2000/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/2000/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/2000/events","html_url":"https://github.com/tbeu/Modelica/issues/2000","id":197636078,"number":2000,"title":"Modelica.Fluid.Examples.DrumBoiler: incorrect unit on output p_S","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},{"id":506769233,"url":"https://api.github.com/repos/tbeu/Modelica/labels/L:Fluid","name":"L:Fluid","color":"0000aa","default":false}],"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":0,"created_at":"2016-12-27T02:33:54Z","updated_at":"2016-12-27T02:33:54Z","closed_at":null,"body":"**Reported by dag on 24 May 2016 11:25 UTC**\nThe top-level output `p_S` in Modelica.Fluid.Examples.DrumBoiler.DrumBoiler has incorrect unit. The sensor value (in Pa) is converted to Bar using a gain-block. However, the unit is not adjusted so the unit remains Pa although the value is scaled.\n\nThe minimum update would be to add the appropriate unit on the output of `Pa2bar `with a modifier\n\n```\ny(unit=\"bar\")\n```\nI think an even better change would be to delete the components `Pa2bar `and `K2degC` altogether, because the outputs from the corresponding sensors already have the displayUnits we want.\n\n \n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/2000"}}
{"actor":{"display_login":"modelica-trac-importer"}}