Skip to content

Conversation

@dtsteene
Copy link
Contributor

@dtsteene dtsteene commented Dec 8, 2025

Resolves #42.

Default Parameter Overhaul:
Addressed the unstable default parameters noted in the issue. While the original suggestion was to use values from the Regazzoni paper, those were also found to be suboptimal. Instead, we optimized the model to match a specific healthy physiological baseline (BP ~120/80, SV ~70mL) and set these as the new defaults.

Documentation & Examples:

  • Added optimize_healthy_baseline.py: Demonstrates the derivation of the new default parameters.
  • Added optimize_pulmonary_hypertension.py: Illustrates parameter tuning for pathological cases.
  • Added regazzoni_vco_experiment.py: Analyzes effects of virtual vena cava occlusion.

Technical Fixes:

  • base.py: Fixed a bug where initial_state retained units even when add_units=False (previously only applied to parameters).
  • _config.yml: Added .venv to exclude patterns.

dtsteene and others added 4 commits December 8, 2025 20:25
…ples

Resolves ComputationalPhysiology#42.

**Default Parameter Overhaul:**
Addressed the unstable default parameters noted in the issue. While the original suggestion was to use values from the Regazzoni paper, those were also found to be suboptimal. Instead, we optimized the model to match a specific healthy physiological baseline (BP ~120/80, SV ~70mL) and set these as the new defaults.

**Documentation & Examples:**
- Added `optimize_healthy_baseline.py`: Demonstrates the derivation of the new default parameters.
- Added `optimize_pulmonary_hypertension.py`: Illustrates parameter tuning for pathological cases.
- Added `regazzoni_vco_experiment.py`: Analyzes effects of virtual vena cava occlusion.

**Technical Fixes:**
- `base.py`: Fixed a bug where `initial_state` retained units even when `add_units=False` (previously only applied to parameters).
- `_config.yml`: Added `.venv` to exclude patterns.
@finsberg
Copy link
Member

finsberg commented Dec 9, 2025

Thanks @dtsteene. This looks really great! 🤩

@finsberg finsberg merged commit 2aa4a9c into ComputationalPhysiology:main Dec 9, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: Update default parameters and timings in Regazzoni (2022)

2 participants