{"id":22293889,"url":"https://github.com/rtbo/rkz","last_synced_at":"2025-10-29T20:19:46.802Z","repository":{"id":71972776,"uuid":"407555075","full_name":"rtbo/rkz","owner":"rtbo","description":"Redlich-Kwong Z-factor calculator","archived":false,"fork":false,"pushed_at":"2022-09-07T16:13:47.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T19:26:37.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtbo.png","metadata":{"files":{"readme":"ReadMe.txt","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-17T13:42:13.000Z","updated_at":"2021-10-11T12:10:06.000Z","dependencies_parsed_at":"2023-03-07T16:15:25.916Z","dependency_job_id":null,"html_url":"https://github.com/rtbo/rkz","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtbo%2Frkz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtbo%2Frkz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtbo%2Frkz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtbo%2Frkz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtbo","download_url":"https://codeload.github.com/rtbo/rkz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245550681,"owners_count":20633883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T17:32:51.036Z","updated_at":"2025-10-18T07:09:57.264Z","avatar_url":"https://github.com/rtbo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"rkz 1.2.0\nRémi Thebault \u003cremi.thebault@gmail.com\u003e\n\nComputes compression factor of several gases and mixtures in conditions of\npressure and temperature using the either of the following equations of state:\n  - Van der Waals\n  - Redlich-Kwong (default)\n  - Soave-Redlich-Kwong\n  - Peng-Robinson\n\n                                                           PV\nThe compression factor for a mole of gas is defined as Z = --.\n                                                           RT\n\nA range can be provided instead of scalar values for pressure or temperature. In\nsuch case, the result is written in CSV format with one Z value per combination\nof pressure and temperature (1 row per pressure condition, 1 column per\ntemperature condition).\nRange are provided in the form of min:max[:step] (e.g. '20:800' or '20:800:10').\nIf step is omitted, it is assumed to be equal to one.\n\nMixture for option --gas|-g can be specified in the form of\nmolar_fraction%gas_id+[molar_fraction%gas_id]. Mixture molar fractions can only\nbe specified as percentage or be omitted. Gases without molar fraction evenly\ntake the rest of the mixture. Examples:\n  - '80%N2+20%O2' =\u003e 80% Nitrogen and 20% Oxygen\n  - '80%N2+O2' =\u003e 80% Nitrogen and 20% Oxygen\n  - '80%N2+O2+CO2' =\u003e 80% Nitrogen, 10% Oxygen and 10% Carbon dioxide\n  - '78%N2+21%O2+Ar' =\u003e air composition (more or less)\n  - 'N2+O2' =\u003e 50% Nitrogen and 50% Oxygen\n\nDISCLAIMER: rkz is provided \"as is\" without any warranty. See the --license\noption for details.\n\nUSAGE:\n    rkz [FLAGS] [OPTIONS]\n\nFLAGS:\n    -h, --help        Prints help information\n        --license     Prints the license text and exits\n        --list-gas    Prints a list of referenced gases\n    -V, --version     Prints version information\n\nOPTIONS:\n    -e, --eos \u003cequation\u003e\n            Specify the equation of state (case insensitive). Choices are VdW\n            for Van-der-Waals, RK for Redlich-Kwong, SRK for Soave-Redlich-Kwong\n            and PR for Peng-Robinson. [default: RK]\n    -g, --gas \u003cgas\u003e\n            Specify the gas by id or by mixture spec (see above)\n\n    -p, --pressure \u003cpressure\u003e\n            Specify the pressure in bar. By default absolute unless --relative\n            is used. A range can be specified in the form of start:stop[:step].\n    -r, --relative \u003crelative\u003e\n            Specify that the pressure is relative to the pressure indicated in\n            this parameter (in hPa). \"stdatm\" can be used for 1013.25.\n    -t, --temperature \u003ctemperature\u003e\n            Specify the temperature in °C. A range can be specified in the form\n            of start:stop[:step].\n\nEXAMPLES:\n    rkz --list-gas\n        Print a list of all gases referenced in RKZ\n    rkz -g N2 -p 200 -t 20\n        Z-factor of Nitrogen at 200bar and 20°C\n    rkz -g 78%N2+21%O2+Ar -p 200 -t 50 -e PR\n        Z-factor of air at 200bar and 50°C with Peng-Robinson equation of state\n    rkz -g H2 -p 0:1000:10 -t -40:80 -r stdatm\n        Z-factor CSV table of Hydrogen from 0 to 1000barG and -40 to +80°C\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtbo%2Frkz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtbo%2Frkz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtbo%2Frkz/lists"}