Skip to content

Commit

Permalink
doc: docfix
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil committed Jan 5, 2025
1 parent 3ece80c commit 9189d0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import neqsim.util.exception.InvalidInputException;

/**
* Types of PhysicalPropertyModel. This is used when initializing PhysicalPropertyhandler.
* Types of PhysicalPropertyModel, relating to different kind of phaseTypes. This is used when
* initializing PhysicalPropertyhandler. Available types are DEFAULT, WATER, GLYCOL, AMINE,
* CO2WATER, BASIC
*
* @author ASMF
*/
Expand Down Expand Up @@ -38,10 +40,10 @@ public int getValue() {
}

/**
* Get PhysicalPropertyType by name.
* Get PhysicalPropertyModel by name.
*
* @param name Name to get PhysicalPropertyType for.
* @return PhysicalPropertyType object
* @param name Name to get PhysicalPropertyModel for.
* @return PhysicalPropertyModel object
*/
public static PhysicalPropertyModel byName(String name) {
for (PhysicalPropertyModel pt : copyOfValues) {
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/neqsim/thermo/system/SystemThermo.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@
* @author Even Solbraa
*/
public abstract class SystemThermo implements SystemInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(SystemThermo.class);

// Class variables
private static final int MAX_PHASES = 6;

/** Serialization version UID. */
private static final long serialVersionUID = 1000;

protected int a;
protected boolean allowPhaseShift = true;
protected int attractiveTermNumber = 0;

// Fraction of moles_in_phase / moles_in_system.
/** Fraction of moles_in_phase / moles_in_system. Cached. */
protected double[] beta = new double[MAX_PHASES];
protected String[] CapeOpenProperties10 = {"molecularWeight", "speedOfSound",
"jouleThomsonCoefficient", "energy", "energy.Dtemperature", "gibbsFreeEnergy",
Expand Down Expand Up @@ -106,7 +106,7 @@ public abstract class SystemThermo implements SystemInterface {
// Initialization
boolean isInitialized = false;

/** Maximum allowed number of phases . */
/** Maximum allowed number of phases. */
public int maxNumberOfPhases = 2;
private int mixingRule = 1;
protected String modelName = "Default";
Expand Down

0 comments on commit 9189d0b

Please sign in to comment.