Title: FeOs: Defining parameters including kij for general fitting of cubic EoS · Issue #91 · feos-org/feos · GitHub
Open Graph Title: FeOs: Defining parameters including kij for general fitting of cubic EoS · Issue #91 · feos-org/feos
X Title: FeOs: Defining parameters including kij for general fitting of cubic EoS · Issue #91 · feos-org/feos
Description: Hello, I would like to fit other cubic EoS to experimental data using FeOs. For this I have used as a starting point core_user_define_eos.ipynb and binary_parameter_optimization.ipynb. This works fine for PC-SAFT, but reading multiple *....
Open Graph Description: Hello, I would like to fit other cubic EoS to experimental data using FeOs. For this I have used as a starting point core_user_define_eos.ipynb and binary_parameter_optimization.ipynb. This works f...
X Description: Hello, I would like to fit other cubic EoS to experimental data using FeOs. For this I have used as a starting point core_user_define_eos.ipynb and binary_parameter_optimization.ipynb. This works f...
Opengraph URL: https://github.com/feos-org/feos/issues/91
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"FeOs: Defining parameters including kij for general fitting of cubic EoS","articleBody":"Hello,\r\n\r\nI would like to fit other cubic EoS to experimental data using FeOs. For this I have used as a starting point [core_user_define_eos.ipynb ](https://github.com/feos-org/feos/blob/main/docs/tutorials/eos/python/core_user_defined_eos.ipynb) and binary_parameter_optimization.ipynb. This works fine for PC-SAFT, but reading multiple *.json files including binary parameters for a general EoS is causing an error which I do not understand. Do you have any insights? I am working with the Peng-Robinson example to start. Please refer to the attachment and the following section of code.\r\n\r\n**Code**\r\n---------------------------------------------------------------------------\r\nparameters = PengRobinsonParameters.from_multiple_json(\r\n [\r\n (['argon'], file_pure),\r\n (['ammonia'], file_pure)\r\n ],\r\n binary_path=file_binary,\r\n)\r\nparameters\r\n\r\n**Code-generated Error**\r\n---------------------------------------------------------------------------\r\nRuntimeError Traceback (most recent call last)\r\n~\\AppData\\Local\\Temp\\ipykernel_3844\\3446048090.py in \u003cmodule\u003e\r\n----\u003e 1 parameters = PengRobinsonParameters.from_multiple_json(\r\n 2 [\r\n 3 (['argon'], file_pure),\r\n 4 (['ammonia'], file_pure)\r\n 5 ],\r\n\r\nRuntimeError: invalid type: map, expected f64 at line 19 column 25\r\n\r\n\r\n\r\n[T=374K.zip](https://github.com/feos-org/feos/files/10235487/T.374K.zip)\r\n\r\n\r\n","author":{"url":"https://github.com/ErichMace","@type":"Person","name":"ErichMace"},"datePublished":"2022-12-15T09:02:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/91/feos/issues/91"}
| 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:672c3cdc-9613-89f4-fcaf-a34678ae7c19 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB96:333A6:10999A0:15405C2:6990CD35 |
| html-safe-nonce | 193baa15f8a7baec890acd074fe4e916f4fd241f4429cac8d855d48bc05df563 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjk2OjMzM0E2OjEwOTk5QTA6MTU0MDVDMjo2OTkwQ0QzNSIsInZpc2l0b3JfaWQiOiI0OTYxOTcyNzA4MDY3ODIyOTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b3ccaf1d37bf3ef67cbd1cb1812697041ec6bfc24a5a4ba1381c38fff000629f |
| hovercard-subject-tag | issue:1498049657 |
| 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/91/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c6118be36a6f6c348832370414f215252d913c26e4ce8042066f50bfeb7f783/feos-org/feos/issues/91 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c6118be36a6f6c348832370414f215252d913c26e4ce8042066f50bfeb7f783/feos-org/feos/issues/91 |
| og:image:alt | Hello, I would like to fit other cubic EoS to experimental data using FeOs. For this I have used as a starting point core_user_define_eos.ipynb and binary_parameter_optimization.ipynb. This works f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ErichMace |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width