Skip to content

Releases: Heineken/BrineProp

Corrected Excel degassing example

21 Nov 16:14

Choose a tag to compare

Added examples to Excel version

16 Nov 18:15

Choose a tag to compare

Added ignore option to resistivity function to make Ucok validation work
Added well hydraulics example
Added salinity inversion example

Bug fixes and unit tests

17 Oct 17:13

Choose a tag to compare

  • harmonized calculation results between VBA and Modelica by enabling extreme cases (pure water evaporation)
  • added unit test sheet (incomplete) and script to run all examples in Modelica, fixed examples
  • added plot scripts to examples
  • added degassing example to Excel
  • removed some hardcoded component assignments

Added electrical resistivity function

30 May 17:16

Choose a tag to compare

Pre-release
  • added resistivity functions by Ucok1980 + mixture ansatz in VBA and Modelica
  • bug fixes in IAPWS functions

Enabled pure NaCl (h, cp)

20 May 10:10

Choose a tag to compare

  • Enabled calculation of h and cp for pure NaCl in VBA and Modelica
  • Fixed non-working detection of wrong mass vector if Xi is passed (VBA)
  • removed some absolute indices in cp functions (didn't work with 3 salts model)

Some bug fixes and new ignore flag management

12 May 15:19

Choose a tag to compare

Changelog:

  • added check to check length of flag vectors
  • Changed flag management so that ignore flags can be set on extend and instantiation
  • Removed absolute salt references to enable Medium with different number of salts
  • Added BrineProp.Brine3salts3gas, which Brine5salts3gas extends now
  • Added a check and ignore flag for Sr in Duan models for density and viscosity
  • Fixed 1phase model and made enthalpy function (more) generic
  • Added info about PedanticMode
  • Small bug fixes in VBA (allow pure gas calculation, check mass vector in solubility functions)

More efficient repeated calculations of one state in Excel

03 Nov 15:18

Choose a tag to compare

With this release, the calculated VLE state can be stored as a string (in JSON format) and then be used as input (alternative to p,T,X) for further calculations, thus skipping the VLE calculation.

Bug fixes

07 Jan 11:10

Choose a tag to compare

v0.4.3

Bugfix in h5_pT

using assertionLevel, bug fix

10 Dec 14:17

Choose a tag to compare

-warnings and errors are thrown using assert and an assertionLevel flag
-fixed: Molality was calculated as mole fractions

Bugfix in VBA, set ignore flags on instantiation

03 Dec 17:29

Choose a tag to compare

  • The flags to ignore p-T range limits or the warning level (off/warning/error) can be set in the model that uses the Medium (instead of changing it in the BrineProp package):
    Medium = BrineProp.Brine5salts3gas(outOfRangeMode=2,ignoreLimitN2_T=true)
  • Added a vacuum gas medium with zero properties
  • Improved compatibility to OpenModelica (still not really running it, though)
  • Bugfixes