René's URL Explorer Experiment


Title: Error when computing vle of polyethylene + supercritical ethylene · feos-org/feos · Discussion #234 · GitHub

Open Graph Title: Error when computing vle of polyethylene + supercritical ethylene · feos-org/feos · Discussion #234

X Title: Error when computing vle of polyethylene + supercritical ethylene · feos-org/feos · Discussion #234

Description: Error when computing vle of polyethylene + supercritical ethylene

Open Graph Description: I tried to compute the phase equilibrium of PE and ethylene with PC-SAFT EOS to reproduce the results of [T. Spyriouni, I.G. Economou / Polymer 46 (2005) 10772–10781] I modified the code in example...

X Description: I tried to compute the phase equilibrium of PE and ethylene with PC-SAFT EOS to reproduce the results of [T. Spyriouni, I.G. Economou / Polymer 46 (2005) 10772–10781] I modified the code in example...

Opengraph URL: https://github.com/feos-org/feos/discussions/234

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Error when computing vle of polyethylene + supercritical ethylene","text":"

I tried to compute the phase equilibrium of PE and ethylene with PC-SAFT EOS to reproduce the results of [T. Spyriouni, I.G. Economou / Polymer 46 (2005) 10772–10781]
\n\"Spyiouni\"
\nI modified the code in examples/pcsaft/PhaseDiagrmBinary.ipynb for supercritical mixture and is like this:

\n
from feos.si import *\nfrom feos.pcsaft import *\nfrom feos.eos import *\n\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nethylene = PureRecord(\n    identifier=Identifier(\n        cas='74-85-1',\n        name='ethylene',\n        iupac_name='ethene',\n        smiles='C=C',\n        inchi='InChI=1/C2H4/c1-2/h1-2H2',\n        formula='C2H4'\n    ),\n    molarweight=28.05,\n    model_record=PcSaftRecord(\n        m=1.593,\n        sigma=3.445,\n        epsilon_k=176.47,\n    )\n)\n\npolyethylene = PureRecord(\n    identifier=Identifier(\n        cas='9002-88-4\"',\n        name='polyethylene',\n        iupac_name='whatever',\n        smiles='whatever',\n        inchi='Whatever',\n        formula='[C2H4]n'\n    ),\n    molarweight=99000,\n    model_record=PcSaftRecord(\n        m=2603.7,\n        sigma=3.75,\n        epsilon_k=252.00,\n    )\n)\n\nparams = PcSaftParameters.new_binary([ethylene, polyethylene], binary_record=0.0427)\n\nsaft = EquationOfState.pcsaft(params)\ndia_p = PhaseDiagram.binary_vle(saft, 423.15*KELVIN)\n
\n

But I got a error that

\n
dia_p = PhaseDiagram.binary_vle(saft, 423.15*KELVIN)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: System is supercritical.\n
\n

I also tried the mixture of supercritical ethylene with shorter alkanes, FeOs pcsaft works well. Is it a error solving equations for polymer’s properties?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Thank you for bringing this to our attention and the comprehensive example! While PC-SAFT can and has been used to describe properties of polymers, it was not a high priority of ours during the development of FeOs. The special circumstances like the high pressures and the extremely low (molar) concentrations of the polymer pose challenges on standard phase equilibrium calculations. The calculation of properties (e.g. activity or fugacity coefficients) can be expected to work perfectly fine for polymers. However, you would need a dedicated algorithm to determine the cloud or shadow points of polymer/monomer mixtures.

","upvoteCount":1,"url":"https://github.com/feos-org/feos/discussions/234#discussioncomment-9057601"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:0b884e90-1478-2230-be26-a87c14529893
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idAB26:D2DF1:6C0094:76FAF3:698FA1A9
html-safe-nonce44647109dcc79e74ee5fde2f7b6edac0b28476bf503209ba659013570c640010
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjI2OkQyREYxOjZDMDA5NDo3NkZBRjM6Njk4RkExQTkiLCJ2aXNpdG9yX2lkIjoiMzY2MjM3MTcxNjgwNTE4NTY5IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0=
visitor-hmacf1d34fe21f97e8d715f349fb7a4f94ebb944e41529a85e1b483a8f8bd7a18cb2
hovercard-subject-tagdiscussion:6482053
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/feos-org/feos/234/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/e44cfc1d02f04b8f5d253dc0fc3b1a1f78807360a9186286d87534a13b5d5a72/feos-org/feos/discussions/234
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e44cfc1d02f04b8f5d253dc0fc3b1a1f78807360a9186286d87534a13b5d5a72/feos-org/feos/discussions/234
og:image:altI tried to compute the phase equilibrium of PE and ethylene with PC-SAFT EOS to reproduce the results of [T. Spyriouni, I.G. Economou / Polymer 46 (2005) 10772–10781] I modified the code in example...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f47eb8d0aaafbfcb6a8220a40bd81431acf688857c575e6489670c394cfa36f
turbo-cache-controlno-preview
go-importgithub.com/feos-org/feos git https://github.com/feos-org/feos.git
octolytics-dimension-user_id87855701
octolytics-dimension-user_loginfeos-org
octolytics-dimension-repository_id424905104
octolytics-dimension-repository_nwofeos-org/feos
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id424905104
octolytics-dimension-repository_network_root_nwofeos-org/feos
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release17aba3d160d69b8c2b37695ebd174d8101af8896
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeos-org%2Ffeos%2Fdiscussions%2F234
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeos-org%2Ffeos%2Fdiscussions%2F234
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=feos-org%2Ffeos
Reloadhttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
Reloadhttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
Reloadhttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
feos-org https://patch-diff.githubusercontent.com/feos-org
feoshttps://patch-diff.githubusercontent.com/feos-org/feos
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffeos-org%2Ffeos
Fork 30 https://patch-diff.githubusercontent.com/login?return_to=%2Ffeos-org%2Ffeos
Star 177 https://patch-diff.githubusercontent.com/login?return_to=%2Ffeos-org%2Ffeos
Code https://patch-diff.githubusercontent.com/feos-org/feos
Issues 22 https://patch-diff.githubusercontent.com/feos-org/feos/issues
Pull requests 6 https://patch-diff.githubusercontent.com/feos-org/feos/pulls
Discussions https://patch-diff.githubusercontent.com/feos-org/feos/discussions
Actions https://patch-diff.githubusercontent.com/feos-org/feos/actions
Projects 0 https://patch-diff.githubusercontent.com/feos-org/feos/projects
Security 0 https://patch-diff.githubusercontent.com/feos-org/feos/security
Insights https://patch-diff.githubusercontent.com/feos-org/feos/pulse
Code https://patch-diff.githubusercontent.com/feos-org/feos
Issues https://patch-diff.githubusercontent.com/feos-org/feos/issues
Pull requests https://patch-diff.githubusercontent.com/feos-org/feos/pulls
Discussions https://patch-diff.githubusercontent.com/feos-org/feos/discussions
Actions https://patch-diff.githubusercontent.com/feos-org/feos/actions
Projects https://patch-diff.githubusercontent.com/feos-org/feos/projects
Security https://patch-diff.githubusercontent.com/feos-org/feos/security
Insights https://patch-diff.githubusercontent.com/feos-org/feos/pulse
Answered https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#discussioncomment-9057601
prehnerhttps://patch-diff.githubusercontent.com/prehner
Paiding https://patch-diff.githubusercontent.com/Paiding
Q&Ahttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/categories/q-a
Error when computing vle of polyethylene + supercritical ethylene https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#top
Paiding https://patch-diff.githubusercontent.com/Paiding
Answered https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#discussioncomment-9057601
prehnerhttps://patch-diff.githubusercontent.com/prehner
Return to tophttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#top
Please reload this pagehttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
Paiding https://patch-diff.githubusercontent.com/Paiding
Apr 9, 2024 https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#discussion-6482053
https://private-user-images.githubusercontent.com/19275664/320783059-acc70694-9167-4c57-a934-0f8dceea45c6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzEwMjEwMTMsIm5iZiI6MTc3MTAyMDcxMywicGF0aCI6Ii8xOTI3NTY2NC8zMjA3ODMwNTktYWNjNzA2OTQtOTE2Ny00YzU3LWE5MzQtMGY4ZGNlZWE0NWM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjEzVDIyMTE1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU4NDI1YjU2YTY5ZTZiY2ZhYTZiMTNlZDRiNDc0YmEyMzI1NjBiMjg1MjA0Y2E0ZjliNTI3NjU3NDRjYmQwYmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mqZi1XClfGVoMfzf8NF6hChLL3LZGa73h5zzVVUi7Iw
Give feedback.https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
prehner https://patch-diff.githubusercontent.com/prehner
Apr 9, 2024 https://github.com/feos-org/feos/discussions/234#discussioncomment-9057601
View full answer https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#discussioncomment-9057601
Oldest https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234?sort=old
Newest https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234?sort=new
Top https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
prehner https://patch-diff.githubusercontent.com/prehner
Apr 9, 2024 https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#discussioncomment-9057601
Give feedback.https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
https://patch-diff.githubusercontent.com/Paiding
Please reload this pagehttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
Paidinghttps://patch-diff.githubusercontent.com/Paiding
Apr 13, 2024 https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#discussioncomment-9101051
Give feedback.https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
https://patch-diff.githubusercontent.com/g-bauer
Please reload this pagehttps://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
g-bauerhttps://patch-diff.githubusercontent.com/g-bauer
Apr 13, 2024 https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234#discussioncomment-9102897
herehttps://github.com/feos-org/feos/blob/main/examples/pcsaft_working_with_parameters.ipynb
Give feedback.https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
Paidinghttps://patch-diff.githubusercontent.com/Paiding
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeos-org%2Ffeos%2Fdiscussions%2F234
🙏 Q&A https://patch-diff.githubusercontent.com/feos-org/feos/discussions/categories/q-a
https://patch-diff.githubusercontent.com/Paiding
https://patch-diff.githubusercontent.com/g-bauer
https://patch-diff.githubusercontent.com/prehner
https://patch-diff.githubusercontent.com/feos-org/feos/discussions/234
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.