CoolProp 8.0.0
An open-source fluid property and humid air property database
MixtureParameters.h
Go to the documentation of this file.
1#ifndef MIXTURE_PARAMETERS_H
2#define MIXTURE_PARAMETERS_H
3
5
6namespace CoolProp {
7
13
17bool is_predefined_mixture(const std::string& name, Dictionary& dict);
18
22std::string get_csv_predefined_mixtures();
23
29void set_predefined_mixtures(const std::string& string_data);
30
35std::string get_mixture_binary_pair_data(const std::string& CAS1, const std::string& CAS2, const std::string& param);
36
44void set_mixture_binary_pair_data(const std::string& CAS1, const std::string& CAS2, const std::string& param, const double val);
45
52void apply_simple_mixing_rule(const std::string& identifier1, const std::string& identifier2, const std::string& rule);
53
55{
56 public:
58};
59
65DepartureFunction* get_departure_function(const std::string& Name);
66
69{
70 std::string CAS1, CAS2, model;
72 std::vector<std::string> comments;
73};
76{
77 short Npower = 0, Nspecial = 0, Nterms_power = 0, Nterms_special = 0;
78 std::string model;
79 std::vector<double> a, t, d, e, eta, epsilon, beta, gamma;
80 std::vector<std::string> comments;
81};
82
91void set_departure_functions(const std::string& string_data);
92
98void set_interaction_parameters(const std::string& string_data);
99
100} /* namespace CoolProp */
101#endif