{"action":"created","issue":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/956","repository_url":"https://api.github.com/repos/CoolProp/CoolProp","labels_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/956/labels{/name}","comments_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/956/comments","events_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/956/events","html_url":"https://github.com/CoolProp/CoolProp/issues/956","id":131231776,"number":956,"title":"TS/HS issues on OSX","user":{"login":"ragnar2015","id":11840318,"avatar_url":"https://avatars.githubusercontent.com/u/11840318?v=3","gravatar_id":"","url":"https://api.github.com/users/ragnar2015","html_url":"https://github.com/ragnar2015","followers_url":"https://api.github.com/users/ragnar2015/followers","following_url":"https://api.github.com/users/ragnar2015/following{/other_user}","gists_url":"https://api.github.com/users/ragnar2015/gists{/gist_id}","starred_url":"https://api.github.com/users/ragnar2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragnar2015/subscriptions","organizations_url":"https://api.github.com/users/ragnar2015/orgs","repos_url":"https://api.github.com/users/ragnar2015/repos","events_url":"https://api.github.com/users/ragnar2015/events{/privacy}","received_events_url":"https://api.github.com/users/ragnar2015/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2016-02-04T03:49:25Z","updated_at":"2016-02-17T16:55:54Z","closed_at":"2016-02-16T00:07:36Z","body":"Hello,\r\n\r\nI just installed python 2.7.11 on a Mac with OS X 10.9.5 (Maverick).\r\nAlso installed CoolProp 2.4.5 after using CoolProp 3.2 previously.\r\n\r\nCoolprop imports into python with no errors.\r\n\r\nI have a call to CoolProp.Props as follows:\r\ntt_iter = CoolProp.CoolProp.Props('T','H',hval,'S',sval,fluid)  \r\nAccording to 4.0.0 CoolProp documentation, H is KJ/kg and S is KJ/kg/K\r\nT should return as deg Kelvin.\r\n\r\nWith:\r\nhval = 4.221842e+02    (KJ/kg)\r\nsval = 1.570949e+00         (KJ/kg/K)\r\nfluid='co2'\r\n\r\nCoolProp should return T~389.57 K\r\n\r\nFor reference: REFPROP returns T=389.57 F for the same H and S values and units above.\r\n\r\nBut I ran into this CoolProp error:\r\n   \r\n  File \"CoolProp.pyx\", line 229, in CoolProp.CoolProp.Props (build/temp.macosx-10.9-x86_64-2.7/pyrex/CoolProp/CoolProp.cpp:10955)\r\n  File \"CoolProp.pyx\", line 324, in CoolProp.CoolProp.Props (build/temp.macosx-10.9-x86_64-2.7/pyrex/CoolProp/CoolProp.cpp:10350)\r\n  File \"CoolProp.pyx\", line 225, in CoolProp.CoolProp.__Props_err2 (build/temp.macosx-10.9-x86_64-2.7/pyrex/CoolProp/CoolProp.cpp:9875)\r\nValueError: CoolProp error: Inputs in Brent [216.592000,248.694824] do not bracket the root.  Function values are [8234.327964,14875.948759] :: inputs were:\"T\",\"H\",4.2218415582488927e+02,\"S\",1.5709497973539026e+00,\"co2\"\r\n\r\n\r\nThis error appears similar to a prior github issue: issue #439 dated Jan 29, 2015.\r\n\r\nIs there a fix or workaround??\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/comments/185295991","html_url":"https://github.com/CoolProp/CoolProp/issues/956#issuecomment-185295991","issue_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/956","id":185295991,"user":{"login":"ragnar2015","id":11840318,"avatar_url":"https://avatars.githubusercontent.com/u/11840318?v=3","gravatar_id":"","url":"https://api.github.com/users/ragnar2015","html_url":"https://github.com/ragnar2015","followers_url":"https://api.github.com/users/ragnar2015/followers","following_url":"https://api.github.com/users/ragnar2015/following{/other_user}","gists_url":"https://api.github.com/users/ragnar2015/gists{/gist_id}","starred_url":"https://api.github.com/users/ragnar2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragnar2015/subscriptions","organizations_url":"https://api.github.com/users/ragnar2015/orgs","repos_url":"https://api.github.com/users/ragnar2015/repos","events_url":"https://api.github.com/users/ragnar2015/events{/privacy}","received_events_url":"https://api.github.com/users/ragnar2015/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T16:55:54Z","updated_at":"2016-02-17T16:55:54Z","body":"Thanks again for the tip about Conda. It is a great way to manage python and coolprop updates!"}}