{"id":39436533,"url":"https://github.com/omega1x/wsif97","last_synced_at":"2026-01-18T04:14:19.346Z","repository":{"id":177311478,"uuid":"358900183","full_name":"omega1x/wsif97","owner":"omega1x","description":"Fast calculation of thermophysical properties of water and steam in R","archived":false,"fork":false,"pushed_at":"2023-09-17T15:30:17.000Z","size":215,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T13:00:02.158Z","etag":null,"topics":["enthalpy","entropy","heat-capacity","iapws","saturation","steam","water"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omega1x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-04-17T14:29:28.000Z","updated_at":"2021-12-06T09:41:48.000Z","dependencies_parsed_at":"2023-09-25T00:58:35.705Z","dependency_job_id":null,"html_url":"https://github.com/omega1x/wsif97","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"adedbaca05eebc630e1a4ea3a005a18658c6f1ee"},"previous_names":["omega1x/wsif97"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/omega1x/wsif97","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omega1x%2Fwsif97","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omega1x%2Fwsif97/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omega1x%2Fwsif97/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omega1x%2Fwsif97/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omega1x","download_url":"https://codeload.github.com/omega1x/wsif97/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omega1x%2Fwsif97/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28529462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["enthalpy","entropy","heat-capacity","iapws","saturation","steam","water"],"created_at":"2026-01-18T04:14:18.750Z","updated_at":"2026-01-18T04:14:19.341Z","avatar_url":"https://github.com/omega1x.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![GitHub R package version](https://img.shields.io/github/r-package/v/omega1x/wsif97) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/wsif97)](https://cran.r-project.org/package=wsif97) [![wsif97 status badge](https://omega1x.r-universe.dev/badges/wsif97)](https://omega1x.r-universe.dev) [![CodeFactor](https://www.codefactor.io/repository/github/omega1x/wsif97/badge)](https://www.codefactor.io/repository/github/omega1x/wsif97) [![Codecov test coverage](https://codecov.io/gh/omega1x/wsif97/branch/master/graph/badge.svg)](https://codecov.io/gh/omega1x/wsif97?branch=master)\n\n[R-package](https://cran.r-project.org/package=wsif97) for fast calculation of thermophysical properties of water and steam as formulated by *International Association for the Properties of Water and Steam* ([IAPWS](http://iapws.org)).\n\n------------------------------------------------------------------------\n\u003e \u0026#9888; The development and support of this package has been finally discontinued. Use *CRAN*-package [iapws](https://cran.r-project.org/web/packages/iapws/index.html) instead.\n\n# Intro\n\nThe package is inspired by [Java IF97](https://www.if97.software/) library and *python's* [iapws](https://iapws.readthedocs.io/en/latest/index.html) module and tries to bring similar functionality to *R-community* without unwanted external dependencies. At present the package grows in functionality smoothly as needed in conjunction with analytic requirements of the author's company.\n\n# Installation\n\nFor the present only [r-universe](https://omega1x.r-universe.dev/) version can be installed:\n\n```r\ninstall.packages('wsif97', repos = 'https://omega1x.r-universe.dev')\n```\n\u003e \u0026#8505; The package is linked to and imports [Rcpp](https://cran.r-project.org/package=Rcpp)-package as the only dependency.\n\n# Usage\n\nThe usage of [wsif97](https://github.com/omega1x/wsif97) package is rather straightforward. Most of thermophysical properties are calculated by *direct* vectorized functions of appropriate arguments:\n\n``` r\n## Calculate density (kg/m^3) of ordinary water at different temperatures\n## and pressures:\n\u003e t \u003c- c(300,500,300,700,1500,1500,2000)  # [K]\n\u003e p \u003c- c(3,3,.35e-2,30,.5,30,30)          # [MPa]\n\u003e density \u003c- tpr(t, p)                    # [kg/m^3]\n\u003e print(density)\n[1] 997.85294010 831.65754105   0.02532198 184.18016876   0.72225586  43.33482271\n[7]  32.11456228\n```\n\nFor the present time the next thermophysical properties can be calculated.\n\n| Property                           | Designation  | Units |(*T-p*)-space|\n|------------------------------------|--------------|-------|-------------|\n|Temperature                         |*T*           |K      | -           | \n|Pressure                            |*p*           |MPa    | -           |\n|Specific volume                     |*v*           |m³/kg  |`tpv`        |\n|Specific internal energy            |*u*           |kJ/kg  |`tpu`        |\n|Specific entropy                    |*s*           |kJ/kg/K|`tps`        |\n|Specific enthalpy                   |*h*           |kJ/kg  |`tph`        |\n|Specific isobaric heat capacity     |*c\u003csub\u003ep*     |kJ/kg/K|`tpcp`       |\n|Specific isohoric heat capacity     |*c\u003csub\u003ev*     |kJ/kg/K|`tpcv`       |\n|Speed of sound                      |*w*           |m/s    |`tpw`        |\n|Isobaric cubic expansion coefficient|*\u0026#945;\u003csub\u003ev*|1/K    |`tpe`        |\n|Isothermal compressibility          |*K\u003csub\u003eT*     |1/MPa  |`tpi`        |\n|Mass density                        |*\u0026#961;*      |kg/m³  |`tpr`        |\n\nSince [Industrial Formulation](http://iapws.org/relguide/IF97-Rev.html) abandons usage of iteration algorithms we similarly avoid using them in contrast to *pythonic* [iapws](https://iapws.readthedocs.io/en/latest/index.html). So be ready to meet some inconsistencies when compare those results with [wsif97](https://github.com/omega1x/wsif97).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomega1x%2Fwsif97","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomega1x%2Fwsif97","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomega1x%2Fwsif97/lists"}