Skip to content

add HDPE water pipeline and water booster pump#277

Open
doneachh wants to merge 3 commits into
PyPSA:masterfrom
doneachh:additional-water-data
Open

add HDPE water pipeline and water booster pump#277
doneachh wants to merge 3 commits into
PyPSA:masterfrom
doneachh:additional-water-data

Conversation

@doneachh

@doneachh doneachh commented May 31, 2026

Copy link
Copy Markdown

Closes # (if applicable).

Changes proposed in this Pull Request

Adding costs for HDPE water pipelines and pumps -> needed for integration of desalination and water management in pypsa-earth

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and further explanations may be given in doc.
  • Data source for new technologies is clearly stated.
  • Newly introduced dependencies are added to environment.yaml (if applicable).
  • A note for the release notes doc/release_notes.rst of the upcoming release is included.
  • I consent to the release of this PR's code under the GPLv3 license.

@doneachh

doneachh commented Jun 8, 2026

Copy link
Copy Markdown
Author

Hi @euronion :)
are you able to review this. I would need it for this PR: pypsa-meets-earth/pypsa-earth#1858
Thanks a lot.

@euronion

Copy link
Copy Markdown
Collaborator

Yes, I'll review. Next time feel free to ping me with the PR as soon as you feel like it is ready for review. :)

@euronion euronion self-requested a review June 11, 2026 07:32

@euronion euronion left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, see the comments below and let me know if you have any question!

Comment thread docs/release_notes.rst Outdated
Comment thread inputs/manual_input.csv
Comment on lines +741 to +743
HDPE water pipeline,investment,2023,1588,EUR/(m^3-H2O/h)/km,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf -> Based on pipe diamter 171.65mm and 16 Bars with flow 34.71 kg/s. Considered mass flow rate for 1000 MW Electrolyzer",High-density polyethylene (HDPE) water pipeline cost
HDPE water pipeline,FOM,2023,5,%/year,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",
HDPE water pipeline,lifetime,2023,50,years,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please rename it to "water pipeline HDPE", i.e. that the name reflects broader category -> diameter -> material details. So some of the info that you put in the details should also go into the name

  • Can you add the figure where you extracted the data from in the report? (Probably figure 4-7?) and the date when you accessed the publication.

  • The currency year should be 2022 instead of 2023, can you confirm/check?

  • Are there any insights about the technology year of this data, whether this is from 1981 (like the pump station data)? Else we can keep it as 2023

Comment thread inputs/manual_input.csv
HDPE water pipeline,investment,2023,1588,EUR/(m^3-H2O/h)/km,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf -> Based on pipe diamter 171.65mm and 16 Bars with flow 34.71 kg/s. Considered mass flow rate for 1000 MW Electrolyzer",High-density polyethylene (HDPE) water pipeline cost
HDPE water pipeline,FOM,2023,5,%/year,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",
HDPE water pipeline,lifetime,2023,50,years,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",
water booster pump,investment,2023,4775,EUR/kW,2023,"Calculated based on HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",Cost of water booster pump per horsepower

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar points as for the technology above:

  • rename to something like "water pipeline booster pump"
  • Exact location where the info is taken from the publication (I couldn't locate the origin of the data from the pub)
  • It seems like the publication uses a formula with a scaling exponent != 1, so if you make an assumption on the HP of the pump, add this assumptions and ideally also the calculation to the details.
  • Check technology (1981?) and currency year (2022)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @doneachh and @euronion . I was the one working on this for the PR. So the source of the costs come from the formula (17) in : https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf

And the original sourcce of the formula comes from this report: https://www.countyofmonterey.gov/home/showdocument?id=18882

Where the 15570 USD are from 1981. So I used this formula to convert this number with a constant inflation of 2%:

Pump investment in millions Eur

invest_pumping_station = pump_station_cost_kw(
    power_kw=power_kW,
    usd_to_eur=snakemake.params.costs["default_exchange_rate"],
    a=35768, # 15570 # 35768 with inflation 2% 1981 till 2023
    b=0.558,
)

And the pump_station_cost_kw function is:

def pump_station_cost_kw(power_kw, usd_to_eur, a=35768, b=0.558):

Calculate pump station investment cost from installed power in kW.

Parameters:
-----------
power_kw : float or array
    Installed pump power in kW.
a : float
    Cost factor in Eur/HP (default 35768). Source: Inflation a2023=15570(1.02)**42≈35,768 USD/HP in https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf).
b : float
    Scaling exponent (default 0.558) Source: 1+b = 1-0.442 in https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf).
usd_to_eur : float
    Conversion rate from USD to EUR .

Returns:
--------
cost_eur : float or array
    Pump station cost in million EUR.

# Convert kW to HP
power_hp = power_kw / 0.7457

# Cost formula in USD
cost_usd = a * (power_hp ** b)

# Convert to EUR
cost_eur = cost_usd * usd_to_eur

# Return cost in million EUR
return cost_eur / 1e6

So technology (1981) and currency year (2023)

Comment thread inputs/manual_input.csv
Comment on lines +745 to +746
water booster pump,FOM,2023,2,%/year,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",
water booster pump,lifetime,2023,30,years,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see points above :)

Comment thread inputs/manual_input.csv
water booster pump,investment,2023,4775,EUR/kW,2023,"Calculated based on HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",Cost of water booster pump per horsepower
water booster pump,FOM,2023,2,%/year,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",
water booster pump,lifetime,2023,30,years,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf",
water booster pump,efficiency,2023,0.765,per unit,2023,"HYPAT_WP_Water-Supply-for-Electrolysis-Plants, https://hypat.de/hypat-wAssets/docs/new/publikationen/HYPAT_WP_Water-Supply-for-Electrolysis-Plants.pdf", No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Efficiency is not clear for this technology.

Minimum: Add to the details what the efficiency unit is
Ideally: Change the unit to something more clear, maybe m3 water per kWh or something?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @euronion . The efficiency here is taken from the same source by multiplying the motor efficiency wiith the pump efficiency: 0.85 x 0.9=0.765

Image

I guess we can consider the unit to be m3 water per kWh

Co-authored-by: Johannes HAMPP <42553970+euronion@users.noreply.github.com>
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.

3 participants