Skip to main content

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

Metadata

Release files for nephrosim 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nephrosim 0.1.0
File Size Uploaded Provenance
nephrosim-0.1.0.tar.gz 27.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nephrosim 0.1.0
File Interpreter ABI Platform
nephrosim-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 55.2 kB

Release files / nephrosim-0.1.0.tar.gz

Download URL nephrosim-0.1.0.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0fcfd89865c17953d89564654a0310699d378709e76555ce1d158bb4c282d925
BLAKE2b-256 checksum
How to use checksums
25f92d5a7aa682935484d4cd71a31f9231d40987fd44fa0e5d751255731a3f98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Release files / nephrosim-0.1.0-py3-none-any.whl

Download URL nephrosim-0.1.0-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86c13e0adc27d7cf9677bb7ecc21cbfc97c865e94aac9c44621f8b658ab87528
BLAKE2b-256 checksum
How to use checksums
b04267ac9bb1b334af90b9cf7c90082fb27b45413c6de003eeb3f3b92475be2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Security for nephrosim 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page