Skip to content

Modelica Media models for p-h-T-rho-eta properties of aqueous solutions of multiple salts and gases

License

Notifications You must be signed in to change notification settings

modelica-3rdparty/BrineProp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrineProp

BrineProp is a modelica package that calculates the thermodynamic properties of a specified brine, i.e., an aqueous solution of salts (NaCl,KCl,CaCl2) and gases (CO2,N2,CH4,H2), with a potential gas phase, including degassing/evaporation and solution/condensation.

An Excel version is available in the download section. Its VBA code can also be found in /VBA.

Compatibility

  • Works in Dymola 2014 FD01/2015 with MSL 3.2.1

  • Works in Dymola 2013/2014 FD01 with MSL 3.2 (changes needed, see "Installation" below)

  • Works in OpenModelica 1.9.1Beta2 and JModelica 1.14 via FMU.

  • Works partly in OpenModelica, for details see Library documentation (in code).

Installation

Download, unzip and open BrineProp/package.mo

For use with MSL 3.2 you need to make changes marked with "MSL 3.2.1" in PartialMixtureTwoPhaseMedium.

Getting started

Run models from BrineProp.Examples.*.

Documentation

Development and contribution

Feedback and contributions are welcome by mail to the francke@gfz-potsdam.de or as pull request (for GFZ GitLab users), access to a forked repo elsewhere or a Git patchfile.

License

Licensed by Helmholtz Centre Potsdam, GFZ German Research Centre for Geosciences under the Modelica License 2 or newer.

Copyright © 2009-2014 Henning Francke

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2 or newer. For license conditions (including the disclaimer of warranty) visit https://www.modelica.org/licenses/.

About

Modelica Media models for p-h-T-rho-eta properties of aqueous solutions of multiple salts and gases

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Modelica 59.3%
  • VBA 25.6%
  • FreeBasic 13.5%
  • BASIC 1.6%