{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/224","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/224/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/224/events","html_url":"https://github.com/tbeu/Modelica/issues/224","id":196484232,"number":224,"title":"dpT calculation in waterBaseProp_dT","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":503534431,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":503544914,"url":"https://api.github.com/repos/tbeu/Modelica/labels/Media","name":"Media","color":"0000aa","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-19T18:16:02Z","updated_at":"2016-12-19T18:17:22Z","closed_at":"2016-12-19T18:17:11Z","body":"**Reported by m&#x2e;g&#114;a&#101;ber&#x40;t&#x75;-bs&#46;&#x64;e on 22 Oct 2009 10:15 UTC**\nI suppose there is a bug in the calculation of dpT in\n\nModelica.Media.Water.IF97_Utilities.waterBaseProp_dT\n\nFor Region 4 there are to different lines where dpT is calculated:\n\n```\naux.dpT := BaseIF97.Basic.dptofT(T);\n```\n\n\nand some lines below\n\n```\naux.dpT := (vap.s - liq.s)*(if (liq.d <> vap.d) \n\tthen (vap.s - liq.s)*liq.d*vap.d/(liq.d - vap.d)\n\telse BaseIF97.Basic.dptofT(aux.T));\n```\nThe first algorithm should be the right one.\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/224"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/268037151","html_url":"https://github.com/tbeu/Modelica/issues/224#issuecomment-268037151","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/224","id":268037151,"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-19T18:17:22Z","updated_at":"2016-12-19T18:17:22Z","body":"**Modified by dietmarw on 26 Oct 2009 07:17 UTC**"}}
{"actor":{"display_login":"modelica-trac-importer"}}