{"action":"closed","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/1180","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/1180/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/1180/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/1180/events","html_url":"https://github.com/tbeu/Modelica/issues/1180","id":197095406,"number":1180,"title":"Quantities of sensor outputs","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":504692710,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":504701589,"url":"https://api.github.com/repos/tbeu/Modelica/labels/P:%20highest","name":"P: highest","color":"aa8888","default":false}],"state":"closed","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":{"url":"https://api.github.com/repos/tbeu/Modelica/milestones/47","html_url":"https://github.com/tbeu/Modelica/milestone/47","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/47/labels","id":2209218,"number":47,"title":"MSL3.2.1","description":"Backward compatible bug-fix release.","creator":{"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},"open_issues":0,"closed_issues":303,"state":"closed","created_at":"2016-12-21T08:16:13Z","updated_at":"2016-12-22T05:05:41Z","due_on":"2013-03-31T07:00:00Z","closed_at":"2016-12-21T08:16:13Z"},"comments":3,"created_at":"2016-12-22T05:04:51Z","updated_at":"2016-12-22T05:05:41Z","closed_at":"2016-12-22T05:05:41Z","body":"**Reported by ahaumer on 26 Jun 2013 13:48 UTC**\nIt seems quite dangerous to define the quantities of sensor outputs, at least Dymola shows an ERROR with the enclosed example, although Voltage and PotentialDifference are the same (ElectricPotential). \nOn the other hand, is Dymola's check too strict?\n\n```\npackage Test\n  model Test\n    extends Modelica.Electrical.Analog.Interfaces.TwoPin;\n    Modelica.Electrical.Analog.Sensors.VoltageSensor voltageSensor\n      annotation (Placement(transformation(extent={{-10,-10},{10,10}})));\n    Bus bus annotation (Placement(transformation(extent={{-20,-120},{20,-80}})));\n  equation \n    connect(p, voltageSensor.p) annotation (Line(\n        points={{-100,0},{-10,0}},\n        color={0,0,255},\n        smooth=Smooth.None));\n    connect(voltageSensor.n, n) annotation (Line(\n        points={{10,0},{100,0}},\n        color={0,0,255},\n        smooth=Smooth.None));\n    connect(voltageSensor.v, bus.v) annotation (Line(\n        points={{0,-10},{0,-100}},\n        color={0,0,127},\n        smooth=Smooth.None), Text(\n        string=\"%second\",\n        index=1,\n        extent={{6,3},{6,3}}));\n  end Test;\n\n  expandable connector Bus\n    extends Modelica.Icons.SignalBus;\n    Modelica.SIunits.Voltage v;\n  end Bus;\n  annotation (uses(Modelica(version=\"3.2.1\")));\nend Test;\n```\n\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1180"}}
{"actor":{"display_login":"modelica-trac-importer"}}