{"action":"created","issue":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/908","labels_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/908/comments","events_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/908/events","html_url":"https://github.com/CoolProp/CoolProp/issues/908","id":123992436,"number":908,"title":"dew/bubble densities","user":{"login":"adex987","id":16449800,"avatar_url":"https://avatars.githubusercontent.com/u/16449800?v=3","gravatar_id":"","url":"https://api.github.com/users/adex987","html_url":"https://github.com/adex987","followers_url":"https://api.github.com/users/adex987/followers","following_url":"https://api.github.com/users/adex987/following{/other_user}","gists_url":"https://api.github.com/users/adex987/gists{/gist_id}","starred_url":"https://api.github.com/users/adex987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adex987/subscriptions","organizations_url":"https://api.github.com/users/adex987/orgs","repos_url":"https://api.github.com/users/adex987/repos","events_url":"https://api.github.com/users/adex987/events{/privacy}","received_events_url":"https://api.github.com/users/adex987/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-27T18:54:31Z","updated_at":"2015-12-28T00:10:33Z","closed_at":null,"body":"I just started using coolprop, MATLAB Wrapper. I have difficulty, how to define bubble and dew properties.\r\n\r\nFor saturated liquid: I defined \"CoolProp.PropsSI('D', 'P', p, 'Q', 0, 'Water')\"- this works but for buble, I defined: CoolProp.PropsSI('dl', 'P', p, 'Q', 0, 'Water'), this one didn't works.\r\n\r\nHow I can define for dew and bubble properties? saturated liquid/ vapor properties are different from bubble/dew.\r\n\r\nThank you,"},"comment":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/comments/167449667","html_url":"https://github.com/CoolProp/CoolProp/issues/908#issuecomment-167449667","issue_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/908","id":167449667,"user":{"login":"JonWel","id":11057909,"avatar_url":"https://avatars.githubusercontent.com/u/11057909?v=3","gravatar_id":"","url":"https://api.github.com/users/JonWel","html_url":"https://github.com/JonWel","followers_url":"https://api.github.com/users/JonWel/followers","following_url":"https://api.github.com/users/JonWel/following{/other_user}","gists_url":"https://api.github.com/users/JonWel/gists{/gist_id}","starred_url":"https://api.github.com/users/JonWel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonWel/subscriptions","organizations_url":"https://api.github.com/users/JonWel/orgs","repos_url":"https://api.github.com/users/JonWel/repos","events_url":"https://api.github.com/users/JonWel/events{/privacy}","received_events_url":"https://api.github.com/users/JonWel/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T00:10:33Z","updated_at":"2015-12-28T00:10:33Z","body":"The bubble density is the one at the limit between liquid and boiling liquid, so it is the last point where the quality is still 0:\r\n``` matlab\r\ndl = CoolProp.PropsSI('D', 'T', 373, 'Q', 0, 'Water')\r\n```\r\nThe dew density is the one at the limit between boiling liquid and full gas, so the first point where the quality is one:\r\n``` matlab\r\ndv = CoolProp.PropsSI('D', 'T', 373, 'Q', 1, 'Water')\r\n```\r\n\r\nWhich is only valid for pure fluid (constant temperature during the phase change).\r\nUsing the saturation pressure instead of the temperature gives a more general approach."}}