Skip to main content

Gymnasium environments for reinforcement learning in hemodialysis optimization

Project description

NephroSim

Gymnasium environments for reinforcement learning in hemodialysis optimization.

Installation

pip install nephrosim

Quick Start

import gymnasium as gym
import nephrosim

env = gym.make("nephrosim/UreaClearing-v0")
obs, info = env.reset()

for _ in range(240):
    action = env.action_space.sample()
    obs, reward, terminated, truncated, info = env.step(action)
    if terminated or truncated:
        break

Environments

Environment Observation Action Objective
UreaClearing-v0 7-dim 2-dim (Qb, Qd) Maximize Kt/V
UltrafiltrationControl-v0 8-dim 1-dim (UF rate) Remove fluid safely
PhosphateMgmt-v0 6-dim 1-dim (binder dose) Weekly phosphate control
FullDialysisSession-v0 11-dim 3-dim (Qb, Qd, UF) Multi-objective

Citation

@article{dhia2026nephrosim,
  title={NephroSim: Gymnasium Environments for Reinforcement Learning in Hemodialysis Optimization},
  author={Dhia, Hass},
  year={2026},
  institution={Smart Technology Investments Research Institute}
}

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nephrosim-0.1.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nephrosim-0.1.0-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file nephrosim-0.1.0.tar.gz.

File metadata

  • Download URL: nephrosim-0.1.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for nephrosim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fcfd89865c17953d89564654a0310699d378709e76555ce1d158bb4c282d925
MD5 378b7a619630405c8eb7835fcf6f64e1
BLAKE2b-256 25f92d5a7aa682935484d4cd71a31f9231d40987fd44fa0e5d751255731a3f98

See more details on using hashes here.

File details

Details for the file nephrosim-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nephrosim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for nephrosim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86c13e0adc27d7cf9677bb7ecc21cbfc97c865e94aac9c44621f8b658ab87528
MD5 28169cc74518cd03f01723fd0f963ccd
BLAKE2b-256 b04267ac9bb1b334af90b9cf7c90082fb27b45413c6de003eeb3f3b92475be2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page