-
Notifications
You must be signed in to change notification settings - Fork 26
/
SystemUMRPRUMCEos.java
60 lines (54 loc) · 1.38 KB
/
SystemUMRPRUMCEos.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package neqsim.thermo.system;
/**
* This class defines a thermodynamic system using the UMR-PRU with MC paramters equation of state.
*
* @author Even Solbraa
* @version $Id: $Id
*/
public class SystemUMRPRUMCEos extends SystemUMRPRUEos {
private static final long serialVersionUID = 1000;
/**
* <p>
* Constructor for SystemUMRPRUMCEos.
* </p>
*/
public SystemUMRPRUMCEos() {
this(298.15, 1.0, false);
}
/**
* <p>
* Constructor for SystemUMRPRUMCEos.
* </p>
*
* @param T The temperature in unit Kelvin
* @param P The pressure in unit bara (absolute pressure)
*/
public SystemUMRPRUMCEos(double T, double P) {
this(T, P, false);
}
/**
* <p>
* Constructor for SystemUMRPRUMCEos.
* </p>
*
* @param T The temperature in unit Kelvin
* @param P The pressure in unit bara (absolute pressure)
* @param checkForSolids Set true to do solid phase check and calculations
*/
public SystemUMRPRUMCEos(double T, double P, boolean checkForSolids) {
super(T, P, checkForSolids);
modelName = "UMR-PRU-MC-EoS";
attractiveTermNumber = 13;
}
/** {@inheritDoc} */
@Override
public SystemUMRPRUMCEos clone() {
SystemUMRPRUMCEos clonedSystem = null;
try {
clonedSystem = (SystemUMRPRUMCEos) super.clone();
} catch (Exception ex) {
logger.error("Cloning failed.", ex);
}
return clonedSystem;
}
}