Title: How can the binary parameters _epsilon_k_ab_ and _kappa_ab_ be explicitly submitted for a mixture? · Issue #325 · feos-org/feos · GitHub
Open Graph Title: How can the binary parameters _epsilon_k_ab_ and _kappa_ab_ be explicitly submitted for a mixture? · Issue #325 · feos-org/feos
X Title: How can the binary parameters _epsilon_k_ab_ and _kappa_ab_ be explicitly submitted for a mixture? · Issue #325 · feos-org/feos
Description: Dear all, we are developing a Python program for calculating LLE using FeOs for PC-SAFT calculations of chemical potential. In our case: One component has both a negative and positive association site. The other component only has a nega...
Open Graph Description: Dear all, we are developing a Python program for calculating LLE using FeOs for PC-SAFT calculations of chemical potential. In our case: One component has both a negative and positive association s...
X Description: Dear all, we are developing a Python program for calculating LLE using FeOs for PC-SAFT calculations of chemical potential. In our case: One component has both a negative and positive association s...
Opengraph URL: https://github.com/feos-org/feos/issues/325
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How can the binary parameters _epsilon_k_ab_ and _kappa_ab_ be explicitly submitted for a mixture?","articleBody":"Dear all,\n\nwe are developing a Python program for calculating LLE using FeOs for PC-SAFT calculations of chemical potential. In our case: One component has both a negative and positive association site. The other component only has a negative association site. \n\nShort Python example:\n`hmf = PureRecord(identifier=Identifier(name=\"HMF\"), molarweight=126.11, model_record=PcSaftRecord(m=2.72266, sigma=3.83791, epsilon_k=433.125, kappa_ab=0.0052651, epsilon_k_ab=2524.61, na=1, nb=1))`\n`mthf = PureRecord(identifier=Identifier(name=\"MTHF\"), molarweight=86.132, model_record=PcSaftRecord(m=2.7191, sigma=3.6567, epsilon_k=265.09, kappa_ab=0, epsilon_k_ab=0, na=0, nb=1))`\n`pures = [hmf, mthf]`\n\nIn order to take the induced association in the mixture into account, we would like to explicitly specify _epsilon_k_ab_ and _kappa_ab_ as parameters for the mixture between the two components. However, when creating the equation of state we were not able to find a way for submitting _epsilon_k_ab_ and _kappa_ab_ to the PcSaftParameters object.\n\nShort Python example (unfortunately, this formulation didnt work and only adopts k_ij and not the other two parameters):\n`binary = BinaryRecord(id1=Identifier(name=\"HMF\"),\tid2=Identifier(name=\"MTHF\"),model_record=PcSaftBinaryRecord(k_ij=0.015, kappa_ab=0.50, epsilon_k_ab=1800.0))`\n`params = PcSaftParameters.from_records(pures, [binary])`\n`eos = EquationOfState.pcsaft(params)`\n\nHow can we access the modelRecord constructor to submit the binary parameters _epsilon_k_ab_ and _kappa_ab_ for a mixture to the PC-SAFT EoS?\n\nThanks for your help!\n\nBest regards,\nMoritz","author":{"url":"https://github.com/moritzhs6","@type":"Person","name":"moritzhs6"},"datePublished":"2025-12-03T13:30:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/325/feos/issues/325"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1dfc3aba-fd0c-bdba-7db8-6c71614e7b70 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCEA:92505:1700F51:1F770F6:698F1EFC |
| html-safe-nonce | e08ba58472bf693fcfe65da5d311d296f52fb46b2519e1a28a7682253e0922bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0VBOjkyNTA1OjE3MDBGNTE6MUY3NzBGNjo2OThGMUVGQyIsInZpc2l0b3JfaWQiOiI3MjUzNjI5MTYxMTI5ODQ0NDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e727cac743e7598bf5b18a355607f0ab15f2e963cb2a73a15ab35d1b2b997d86 |
| hovercard-subject-tag | issue:3690259663 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feos-org/feos/325/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7603640022f8377cd2b6d977ff63372663ca47693ebce997588ef350b731cc6d/feos-org/feos/issues/325 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7603640022f8377cd2b6d977ff63372663ca47693ebce997588ef350b731cc6d/feos-org/feos/issues/325 |
| og:image:alt | Dear all, we are developing a Python program for calculating LLE using FeOs for PC-SAFT calculations of chemical potential. In our case: One component has both a negative and positive association s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | moritzhs6 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/feos-org/feos git https://github.com/feos-org/feos.git |
| octolytics-dimension-user_id | 87855701 |
| octolytics-dimension-user_login | feos-org |
| octolytics-dimension-repository_id | 424905104 |
| octolytics-dimension-repository_nwo | feos-org/feos |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 424905104 |
| octolytics-dimension-repository_network_root_nwo | feos-org/feos |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1f991dff419ee6d80807c889c647c151386ba074 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width