density_of_water

lumicks.pylake.density_of_water

density_of_water(temperature, molarity, pressure=0.101325)

Determine the density of water with NaCl.

This model is based on [1].

Parameters:
  • temperature (array_like) – Temperature in C

  • molarity (float) – Molarity NaCl [mol/L]

  • pressure (float, optional) – Pressure (default: 0.101325) [MPa].

Raises:

ValueError – When the provided values are outside the valid range of this model. The valid ranges are: Temperature (20°C <= T < 150°C), pressure <= 35 MPa and molality <= 6 mol/kg.

References