diff --git a/src/main/java/neqsim/chemicalreactions/ChemicalReactionOperations.java b/src/main/java/neqsim/chemicalreactions/ChemicalReactionOperations.java
index be76c01767..4d59a3b48a 100644
--- a/src/main/java/neqsim/chemicalreactions/ChemicalReactionOperations.java
+++ b/src/main/java/neqsim/chemicalreactions/ChemicalReactionOperations.java
@@ -29,7 +29,9 @@
*/
public class ChemicalReactionOperations
implements neqsim.thermo.ThermodynamicConstantsInterface, Cloneable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ChemicalReactionOperations.class);
SystemInterface system;
diff --git a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemEq.java b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemEq.java
index 7a2474d224..e1574ee8db 100644
--- a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemEq.java
+++ b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemEq.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class ChemEq implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int NSPEC = 10;
int NELE = 3;
diff --git a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemicalEquilibrium.java b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemicalEquilibrium.java
index 62499ec238..6cbe6cfecf 100644
--- a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemicalEquilibrium.java
+++ b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ChemicalEquilibrium.java
@@ -16,7 +16,9 @@
* @version $Id: $Id
*/
public class ChemicalEquilibrium implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ChemicalEquilibrium.class);
SystemInterface system;
diff --git a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/LinearProgrammingChemicalEquilibrium.java b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/LinearProgrammingChemicalEquilibrium.java
index bdf101c550..c2c13edae7 100644
--- a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/LinearProgrammingChemicalEquilibrium.java
+++ b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/LinearProgrammingChemicalEquilibrium.java
@@ -36,7 +36,9 @@
*/
public class LinearProgrammingChemicalEquilibrium
implements neqsim.thermo.ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LinearProgrammingChemicalEquilibrium.class);
double[] xEts = null;
diff --git a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ReferencePotComparator.java b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ReferencePotComparator.java
index 112d73dba5..3517b2ccf9 100644
--- a/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ReferencePotComparator.java
+++ b/src/main/java/neqsim/chemicalreactions/chemicalequilibrium/ReferencePotComparator.java
@@ -19,6 +19,7 @@
*/
public class ReferencePotComparator
implements Comparator
diff --git a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/Packing.java b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/Packing.java index fa133c824f..27d5b6ab71 100644 --- a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/Packing.java +++ b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/Packing.java @@ -19,7 +19,9 @@ * @version $Id: $Id */ public abstract class Packing extends NamedBaseClass implements PackingInterface { - private static final long serialVersionUID = 1L; + /** Serialization version UID. */ + private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(Packing.class); double voidFractionPacking = 0.951; diff --git a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/PallRingPacking.java b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/PallRingPacking.java index 39b950fcb3..de84c1f906 100644 --- a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/PallRingPacking.java +++ b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/PallRingPacking.java @@ -15,7 +15,8 @@ * @version $Id: $Id */ public class PallRingPacking extends Packing { - private static final long serialVersionUID = 1L; + /** Serialization version UID. */ + private static final long serialVersionUID = 1000; /** *
diff --git a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/RachigRingPacking.java b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/RachigRingPacking.java index 9a80381090..3d092761ab 100644 --- a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/RachigRingPacking.java +++ b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/internalgeometry/packings/RachigRingPacking.java @@ -9,7 +9,8 @@ * @version $Id: $Id */ public class RachigRingPacking extends Packing { - private static final long serialVersionUID = 1L; + /** Serialization version UID. */ + private static final long serialVersionUID = 1000; /** *
diff --git a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/pipe/PipeData.java b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/pipe/PipeData.java
index d9b9249ce8..593485aeaa 100644
--- a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/pipe/PipeData.java
+++ b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/pipe/PipeData.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class PipeData extends GeometryDefinition {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PipeData.class);
/**
diff --git a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/reactor/ReactorData.java b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/reactor/ReactorData.java
index 3cac7318f0..66bb4a7d2e 100644
--- a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/reactor/ReactorData.java
+++ b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/reactor/ReactorData.java
@@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class ReactorData extends GeometryDefinition {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ReactorData.class);
/**
diff --git a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/stirredcell/StirredCell.java b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/stirredcell/StirredCell.java
index ca6268da5d..0a18e3b249 100644
--- a/src/main/java/neqsim/fluidmechanics/geometrydefinitions/stirredcell/StirredCell.java
+++ b/src/main/java/neqsim/fluidmechanics/geometrydefinitions/stirredcell/StirredCell.java
@@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class StirredCell extends GeometryDefinition {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(StirredCell.class);
/**
diff --git a/src/main/java/neqsim/fluidmechanics/util/timeseries/TimeSeries.java b/src/main/java/neqsim/fluidmechanics/util/timeseries/TimeSeries.java
index e509bc20d8..7d7d409e1f 100644
--- a/src/main/java/neqsim/fluidmechanics/util/timeseries/TimeSeries.java
+++ b/src/main/java/neqsim/fluidmechanics/util/timeseries/TimeSeries.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class TimeSeries implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
protected double[] timeSeries, outletMolarFlowRate, outletMolarFlowRates;
diff --git a/src/main/java/neqsim/mathlib/nonlinearsolver/NewtonRhapson.java b/src/main/java/neqsim/mathlib/nonlinearsolver/NewtonRhapson.java
index 82f47acb86..a6195e78e4 100644
--- a/src/main/java/neqsim/mathlib/nonlinearsolver/NewtonRhapson.java
+++ b/src/main/java/neqsim/mathlib/nonlinearsolver/NewtonRhapson.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class NewtonRhapson implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int order;
diff --git a/src/main/java/neqsim/mathlib/nonlinearsolver/NumericalDerivative.java b/src/main/java/neqsim/mathlib/nonlinearsolver/NumericalDerivative.java
index 8cb732b1b2..8e3b63d117 100644
--- a/src/main/java/neqsim/mathlib/nonlinearsolver/NumericalDerivative.java
+++ b/src/main/java/neqsim/mathlib/nonlinearsolver/NumericalDerivative.java
@@ -19,6 +19,7 @@
* @version $Id: $Id
*/
public final class NumericalDerivative implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
static final double CON = 1.4;
diff --git a/src/main/java/neqsim/mathlib/nonlinearsolver/SysNewtonRhapson.java b/src/main/java/neqsim/mathlib/nonlinearsolver/SysNewtonRhapson.java
index 2d4f867199..8e4750f331 100644
--- a/src/main/java/neqsim/mathlib/nonlinearsolver/SysNewtonRhapson.java
+++ b/src/main/java/neqsim/mathlib/nonlinearsolver/SysNewtonRhapson.java
@@ -14,6 +14,7 @@
* @version $Id: $Id
*/
public class SysNewtonRhapson implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int neq = 0;
int iter = 0;
diff --git a/src/main/java/neqsim/physicalproperties/PhysicalPropertyHandler.java b/src/main/java/neqsim/physicalproperties/PhysicalPropertyHandler.java
index 27365ccd74..7c61ab8c64 100644
--- a/src/main/java/neqsim/physicalproperties/PhysicalPropertyHandler.java
+++ b/src/main/java/neqsim/physicalproperties/PhysicalPropertyHandler.java
@@ -23,7 +23,9 @@
* @version $Id: $Id
*/
public class PhysicalPropertyHandler implements Cloneable, java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PhysicalPropertyHandler.class);
private PhysicalProperties gasPhysicalProperties = null;
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/InterfaceProperties.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/InterfaceProperties.java
index 72cc63329f..44dc1c7f54 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/InterfaceProperties.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/InterfaceProperties.java
@@ -28,7 +28,9 @@
* @version $Id: $Id
*/
public class InterfaceProperties implements InterphasePropertiesInterface, java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(InterfaceProperties.class);
SystemInterface system;
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/solidadsorption/PotentialTheoryAdsorption.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/solidadsorption/PotentialTheoryAdsorption.java
index f303a72f17..26d75da665 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/solidadsorption/PotentialTheoryAdsorption.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/solidadsorption/PotentialTheoryAdsorption.java
@@ -13,7 +13,9 @@
* @version $Id: $Id
*/
public class PotentialTheoryAdsorption implements AdsorptionInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PotentialTheoryAdsorption.class);
SystemInterface system;
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/FirozabadiRamleyInterfaceTension.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/FirozabadiRamleyInterfaceTension.java
index 42c5ebdbee..87cb171cd8 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/FirozabadiRamleyInterfaceTension.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/FirozabadiRamleyInterfaceTension.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class FirozabadiRamleyInterfaceTension extends SurfaceTension {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTension.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTension.java
index 426f3de4b7..439531f222 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTension.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTension.java
@@ -69,6 +69,7 @@
* @version $Id: $Id
*/
public class GTSurfaceTension extends SurfaceTension {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int useFullGT = 1; // 1 will use full gradient theory 0 - will use ODE solver and one component
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionFullGT.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionFullGT.java
index 0dae58a86a..a284014c66 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionFullGT.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionFullGT.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class GTSurfaceTensionFullGT {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(GTSurfaceTensionFullGT.class);
private int ncomp; // Number of components.
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionODE.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionODE.java
index f80990924b..222cd23365 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionODE.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionODE.java
@@ -28,6 +28,7 @@
* @version $Id: $Id
*/
public class GTSurfaceTensionODE implements FirstOrderDifferentialEquations {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(GTSurfaceTensionODE.class);
private boolean initialized = false;
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionSimple.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionSimple.java
index 29ea5a41b1..63540f0918 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionSimple.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/GTSurfaceTensionSimple.java
@@ -17,7 +17,9 @@
* @version $Id: $Id
*/
public class GTSurfaceTensionSimple extends SurfaceTension {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(GTSurfaceTensionSimple.class);
int ite_step = 200;
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/LGTSurfaceTension.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/LGTSurfaceTension.java
index bb4eb6d737..0bda10d933 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/LGTSurfaceTension.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/LGTSurfaceTension.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class LGTSurfaceTension extends SurfaceTension {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int ite_step = 200;
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/ParachorSurfaceTension.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/ParachorSurfaceTension.java
index 0e36241e77..d513b2b98b 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/ParachorSurfaceTension.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/ParachorSurfaceTension.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class ParachorSurfaceTension extends SurfaceTension {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
@@ -40,11 +41,10 @@ public ParachorSurfaceTension(SystemInterface system) {
*/
@Override
public double calcPureComponentSurfaceTension(int componentNumber) {
- return 1.0e-3 * Math.pow(system.getPhases()[0].getComponents()[componentNumber]
- .getParachorParameter()
- * 1.0e-6
- * (system.getPhases()[1].getPhysicalProperties().getDensity()
- / system.getPhases()[1].getMolarMass()
+ return 1.0e-3 * Math
+ .pow(system.getPhases()[0].getComponents()[componentNumber].getParachorParameter() * 1.0e-6
+ * (system.getPhases()[1].getPhysicalProperties().getDensity()
+ / system.getPhases()[1].getMolarMass()
* system.getPhases()[1].getComponents()[componentNumber].getx()
- system.getPhases()[0].getPhysicalProperties().getDensity()
/ system.getPhases()[0].getMolarMass()
diff --git a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/SurfaceTension.java b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/SurfaceTension.java
index dcd19105c1..59e1225988 100644
--- a/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/SurfaceTension.java
+++ b/src/main/java/neqsim/physicalproperties/interfaceproperties/surfacetension/SurfaceTension.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class SurfaceTension extends InterfaceProperties implements SurfaceTensionInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
protected SystemInterface system;
diff --git a/src/main/java/neqsim/physicalproperties/methods/PhysicalPropertyMethod.java b/src/main/java/neqsim/physicalproperties/methods/PhysicalPropertyMethod.java
index a35fceb9a2..48df5fd785 100644
--- a/src/main/java/neqsim/physicalproperties/methods/PhysicalPropertyMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/PhysicalPropertyMethod.java
@@ -19,7 +19,9 @@
* @version $Id: $Id
*/
public abstract class PhysicalPropertyMethod implements PhysicalPropertyMethodInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PhysicalPropertyMethod.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/CommonPhysicalPropertyMethod.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/CommonPhysicalPropertyMethod.java
index c3964368e2..3c48c8c4cf 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/CommonPhysicalPropertyMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/CommonPhysicalPropertyMethod.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public abstract class CommonPhysicalPropertyMethod extends PhysicalPropertyMethod {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
protected PhysicalProperties phase;
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/Conductivity.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/Conductivity.java
index 4a88d97126..2beb363c08 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/Conductivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/Conductivity.java
@@ -13,7 +13,9 @@
*/
public abstract class Conductivity extends CommonPhysicalPropertyMethod
implements ConductivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Conductivity.class);
double conductivity = 0;
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/PFCTConductivityMethodMod86.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/PFCTConductivityMethodMod86.java
index 1ed649637f..ffb4a2da63 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/PFCTConductivityMethodMod86.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/conductivity/PFCTConductivityMethodMod86.java
@@ -14,6 +14,7 @@
* @version Method was revised by Even Solbraa 21.01.2019
*/
public class PFCTConductivityMethodMod86 extends Conductivity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Constant referenceSystem
. */
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/CorrespondingStatesDiffusivity.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/CorrespondingStatesDiffusivity.java
index 6f6018617f..446735052d 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/CorrespondingStatesDiffusivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/CorrespondingStatesDiffusivity.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class CorrespondingStatesDiffusivity extends Diffusivity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
double[][] binaryDiffusionCoefficients;
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/Diffusivity.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/Diffusivity.java
index 2fa6d305ce..2e3a00c69a 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/Diffusivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/diffusivity/Diffusivity.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class Diffusivity extends CommonPhysicalPropertyMethod implements DiffusivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Diffusivity.class);
double[][] binaryDiffusionCoefficients;
@@ -113,9 +115,8 @@ public double getEffectiveDiffusionCoefficient(int i) {
public double getMaxwellStefanBinaryDiffusionCoefficient(int i, int j) {
/*
* double temp = (i==j)? 1.0: 0.0; double nonIdealCorrection = temp +
- * gasPhase.getPhase().getComponent(i).getx() *
- * gasPhase.getPhase().getComponent(i).getdfugdn(j) *
- * gasPhase.getPhase().getNumberOfMolesInPhase(); if (Double.isNaN(nonIdealCorrection))
+ * gasPhase.getPhase().getComponent(i).getx() * gasPhase.getPhase().getComponent(i).getdfugdn(j)
+ * * gasPhase.getPhase().getNumberOfMolesInPhase(); if (Double.isNaN(nonIdealCorrection))
* nonIdealCorrection=1.0; return binaryDiffusionCoefficients[i][j]/nonIdealCorrection; // shuld
* be divided by non ideality factor
*/
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/FrictionTheoryViscosityMethod.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/FrictionTheoryViscosityMethod.java
index 84c54b952a..612c62fcff 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/FrictionTheoryViscosityMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/FrictionTheoryViscosityMethod.java
@@ -14,7 +14,9 @@
*/
public class FrictionTheoryViscosityMethod extends Viscosity
implements neqsim.thermo.ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FrictionTheoryViscosityMethod.class);
public double[] pureComponentViscosity;
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/LBCViscosityMethod.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/LBCViscosityMethod.java
index d593db718f..efdf8bc506 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/LBCViscosityMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/LBCViscosityMethod.java
@@ -13,7 +13,9 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class LBCViscosityMethod extends Viscosity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LBCViscosityMethod.class);
double[] a = {0.10230, 0.023364, 0.058533, -0.040758, 0.0093324};
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethod.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethod.java
index e6d40eea1c..8289b0b142 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethod.java
@@ -20,6 +20,7 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class PFCTViscosityMethod extends Viscosity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
// todo: is this parameter required?
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodHeavyOil.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodHeavyOil.java
index 3b21867b06..079b9ef20b 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodHeavyOil.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodHeavyOil.java
@@ -14,6 +14,7 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class PFCTViscosityMethodHeavyOil extends Viscosity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
// SystemInterface referenceSystem = new SystemBWRSEos(273.15,
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodMod86.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodMod86.java
index 58e2b462e6..11f2d632d3 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodMod86.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/PFCTViscosityMethodMod86.java
@@ -14,6 +14,7 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class PFCTViscosityMethodMod86 extends Viscosity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
// SystemInterface referenceSystem = new SystemBWRSEos(273.15,
diff --git a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/Viscosity.java b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/Viscosity.java
index 3981f8a968..b631ff0d97 100644
--- a/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/Viscosity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/commonphasephysicalproperties/viscosity/Viscosity.java
@@ -12,7 +12,9 @@
* @author Even Solbraa
*/
public abstract class Viscosity extends CommonPhysicalPropertyMethod implements ViscosityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Viscosity.class);
public double[] pureComponentViscosity;
@@ -40,10 +42,9 @@ public void calcPureComponentViscosity() {
if (phase.getPhase().getTemperature() > phase.getPhase().getComponent(i).getTC()) {
pureComponentViscosity[i] = 5.0e-1;
} else if (phase.getPhase().getComponent(i).getLiquidViscosityModel() == 1) {
- pureComponentViscosity[i] =
- phase.getPhase().getComponent(i).getLiquidViscosityParameter(0)
- * Math.pow(phase.getPhase().getTemperature(),
- phase.getPhase().getComponent(i).getLiquidViscosityParameter(1));
+ pureComponentViscosity[i] = phase.getPhase().getComponent(i).getLiquidViscosityParameter(0)
+ * Math.pow(phase.getPhase().getTemperature(),
+ phase.getPhase().getComponent(i).getLiquidViscosityParameter(1));
} else if (phase.getPhase().getComponent(i).getLiquidViscosityModel() == 2) {
} else if (phase.getPhase().getComponent(i).getLiquidViscosityModel() == 3) {
pureComponentViscosity[i] =
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/GasPhysicalPropertyMethod.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/GasPhysicalPropertyMethod.java
index d883dfc411..b5248c2fd8 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/GasPhysicalPropertyMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/GasPhysicalPropertyMethod.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public abstract class GasPhysicalPropertyMethod extends PhysicalPropertyMethod {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
protected PhysicalProperties gasPhase;
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/ChungConductivityMethod.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/ChungConductivityMethod.java
index 3e359b4418..bdbe5c8011 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/ChungConductivityMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/ChungConductivityMethod.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class ChungConductivityMethod extends Conductivity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
double conductivity = 0;
public double[] pureComponentConductivity;
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/Conductivity.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/Conductivity.java
index 20765be306..868a710dd2 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/Conductivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/conductivity/Conductivity.java
@@ -19,7 +19,9 @@
*/
public abstract class Conductivity extends GasPhysicalPropertyMethod
implements ConductivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Conductivity.class);
double conductivity = 0;
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/density/Density.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/density/Density.java
index 2540f633cb..7d611a9d9f 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/density/Density.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/density/Density.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class Density extends GasPhysicalPropertyMethod implements DensityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Density.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/Diffusivity.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/Diffusivity.java
index bd6fce823c..bdf3e9f435 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/Diffusivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/Diffusivity.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class Diffusivity extends GasPhysicalPropertyMethod implements DiffusivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Diffusivity.class);
double[][] binaryDiffusionCoefficients;
@@ -114,8 +116,7 @@ public void calcEffectiveDiffusionCoefficients() {
sum += gasPhase.getPhase().getComponent(j).getx() / binaryDiffusionCoefficients[i][j];
}
}
- effectiveDiffusionCoefficient[i] =
- (1.0 - gasPhase.getPhase().getComponent(i).getx()) / sum;
+ effectiveDiffusionCoefficient[i] = (1.0 - gasPhase.getPhase().getComponent(i).getx()) / sum;
}
}
@@ -136,9 +137,8 @@ public double getEffectiveDiffusionCoefficient(int i) {
public double getMaxwellStefanBinaryDiffusionCoefficient(int i, int j) {
/*
* double temp = (i==j)? 1.0: 0.0; double nonIdealCorrection = temp +
- * gasPhase.getPhase().getComponent(i).getx() *
- * gasPhase.getPhase().getComponent(i).getdfugdn(j) *
- * gasPhase.getPhase().getNumberOfMolesInPhase(); if (Double.isNaN(nonIdealCorrection))
+ * gasPhase.getPhase().getComponent(i).getx() * gasPhase.getPhase().getComponent(i).getdfugdn(j)
+ * * gasPhase.getPhase().getNumberOfMolesInPhase(); if (Double.isNaN(nonIdealCorrection))
* nonIdealCorrection=1.0; return binaryDiffusionCoefficients[i][j]/nonIdealCorrection; // shuld
* be divided by non ideality factor
*/
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/WilkeLeeDiffusivity.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/WilkeLeeDiffusivity.java
index ae1b46d8d9..37c254f3ae 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/WilkeLeeDiffusivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/diffusivity/WilkeLeeDiffusivity.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class WilkeLeeDiffusivity extends Diffusivity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
double[][] binaryDiffusionCoefficients;
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/ChungViscosityMethod.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/ChungViscosityMethod.java
index b728e89e0a..db77885bf6 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/ChungViscosityMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/ChungViscosityMethod.java
@@ -17,6 +17,7 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class ChungViscosityMethod extends Viscosity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
public double[] pureComponentViscosity;
diff --git a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/Viscosity.java b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/Viscosity.java
index b73c4eb79c..2f8baf1a35 100644
--- a/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/Viscosity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/gasphysicalproperties/viscosity/Viscosity.java
@@ -12,7 +12,9 @@
* @author Even Solbraa
*/
public abstract class Viscosity extends GasPhysicalPropertyMethod implements ViscosityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Viscosity.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/LiquidPhysicalPropertyMethod.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/LiquidPhysicalPropertyMethod.java
index 8d74315996..a9b5842722 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/LiquidPhysicalPropertyMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/LiquidPhysicalPropertyMethod.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public abstract class LiquidPhysicalPropertyMethod extends PhysicalPropertyMethod {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
protected PhysicalProperties liquidPhase;
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/Conductivity.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/Conductivity.java
index ef534f0dfd..62b04f5ffd 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/Conductivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/conductivity/Conductivity.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class Conductivity extends LiquidPhysicalPropertyMethod implements ConductivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Conductivity.class);
double conductivity = 0;
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Costald.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Costald.java
index e83a047267..3b869f9584 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Costald.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Costald.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class Costald extends LiquidPhysicalPropertyMethod implements DensityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Density.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Density.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Density.java
index cbe28174eb..ccd9a93b68 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Density.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/density/Density.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class Density extends LiquidPhysicalPropertyMethod implements DensityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Density.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/AmineDiffusivity.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/AmineDiffusivity.java
index cd7c78b444..de8de51fb7 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/AmineDiffusivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/AmineDiffusivity.java
@@ -13,7 +13,9 @@
* @version $Id: $Id
*/
public class AmineDiffusivity extends SiddiqiLucasMethod {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(AmineDiffusivity.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/CO2water.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/CO2water.java
index f2bf8a768c..66ac79afe5 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/CO2water.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/CO2water.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class CO2water extends Diffusivity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/Diffusivity.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/Diffusivity.java
index ec36626704..51ad9f1d1e 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/Diffusivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/Diffusivity.java
@@ -12,7 +12,9 @@
* @author Even Solbraa
*/
abstract class Diffusivity extends LiquidPhysicalPropertyMethod implements DiffusivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Diffusivity.class);
double[][] binaryDiffusionCoefficients;
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/SiddiqiLucasMethod.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/SiddiqiLucasMethod.java
index b91e3fb37d..3dadd09937 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/SiddiqiLucasMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/diffusivity/SiddiqiLucasMethod.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class SiddiqiLucasMethod extends Diffusivity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/AmineViscosity.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/AmineViscosity.java
index dd2bb2253b..6f417b8ed1 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/AmineViscosity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/AmineViscosity.java
@@ -11,6 +11,7 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class AmineViscosity extends Viscosity {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/Viscosity.java b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/Viscosity.java
index 5e10ed5cc5..2d7a9c45cc 100644
--- a/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/Viscosity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/liquidphysicalproperties/viscosity/Viscosity.java
@@ -15,7 +15,9 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class Viscosity extends LiquidPhysicalPropertyMethod implements ViscosityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Viscosity.class);
public double[] pureComponentViscosity;
diff --git a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/SolidPhysicalPropertyMethod.java b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/SolidPhysicalPropertyMethod.java
index 57859df9ac..ee1273dd46 100644
--- a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/SolidPhysicalPropertyMethod.java
+++ b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/SolidPhysicalPropertyMethod.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public abstract class SolidPhysicalPropertyMethod extends PhysicalPropertyMethod {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
protected PhysicalProperties solidPhase;
diff --git a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/conductivity/Conductivity.java b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/conductivity/Conductivity.java
index bae6fd4b16..25e3a4eecd 100644
--- a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/conductivity/Conductivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/conductivity/Conductivity.java
@@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class Conductivity extends SolidPhysicalPropertyMethod implements ConductivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Conductivity.class);
double conductivity = 0;
diff --git a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/density/Density.java b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/density/Density.java
index 2aa4d68fa5..f7a6253653 100644
--- a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/density/Density.java
+++ b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/density/Density.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class Density extends SolidPhysicalPropertyMethod implements DensityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Density.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/Diffusivity.java b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/Diffusivity.java
index 3dd3ff1785..734cd3a298 100644
--- a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/Diffusivity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/diffusivity/Diffusivity.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class Diffusivity extends SolidPhysicalPropertyMethod implements DiffusivityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Diffusivity.class);
double[][] binaryDiffusionCoefficients;
diff --git a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/viscosity/Viscosity.java b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/viscosity/Viscosity.java
index 3e63cc1e9e..519d8db575 100644
--- a/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/viscosity/Viscosity.java
+++ b/src/main/java/neqsim/physicalproperties/methods/solidphysicalproperties/viscosity/Viscosity.java
@@ -16,7 +16,9 @@
* @version Method was checked on 2.8.2001 - seems to be correct - Even Solbraa
*/
public class Viscosity extends SolidPhysicalPropertyMethod implements ViscosityInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Viscosity.class);
public double[] pureComponentViscosity;
diff --git a/src/main/java/neqsim/physicalproperties/mixingrule/PhysicalPropertyMixingRule.java b/src/main/java/neqsim/physicalproperties/mixingrule/PhysicalPropertyMixingRule.java
index 019deda316..95df4034da 100644
--- a/src/main/java/neqsim/physicalproperties/mixingrule/PhysicalPropertyMixingRule.java
+++ b/src/main/java/neqsim/physicalproperties/mixingrule/PhysicalPropertyMixingRule.java
@@ -21,7 +21,9 @@
*/
public class PhysicalPropertyMixingRule
implements PhysicalPropertyMixingRuleInterface, ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PhysicalPropertyMixingRule.class);
public double[][] Gij;
diff --git a/src/main/java/neqsim/physicalproperties/system/PhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/PhysicalProperties.java
index 47d97814e6..4978dfe131 100644
--- a/src/main/java/neqsim/physicalproperties/system/PhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/PhysicalProperties.java
@@ -37,7 +37,9 @@
* @version $Id: $Id
*/
public abstract class PhysicalProperties implements Cloneable, ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PhysicalProperties.class);
protected PhaseInterface phase;
diff --git a/src/main/java/neqsim/physicalproperties/system/commonphasephysicalproperties/DefaultPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/commonphasephysicalproperties/DefaultPhysicalProperties.java
index 284bb36954..18644e162d 100644
--- a/src/main/java/neqsim/physicalproperties/system/commonphasephysicalproperties/DefaultPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/commonphasephysicalproperties/DefaultPhysicalProperties.java
@@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public class DefaultPhysicalProperties extends PhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/AirPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/AirPhysicalProperties.java
index e45d589a00..75907dff43 100644
--- a/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/AirPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/AirPhysicalProperties.java
@@ -19,6 +19,7 @@
* @version $Id: $Id
*/
public class AirPhysicalProperties extends GasPhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/GasPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/GasPhysicalProperties.java
index c96b3a7add..9a44def856 100644
--- a/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/GasPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/GasPhysicalProperties.java
@@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class GasPhysicalProperties extends PhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(GasPhysicalProperties.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/NaturalGasPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/NaturalGasPhysicalProperties.java
index f6dbd388cb..ddf6322240 100644
--- a/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/NaturalGasPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/gasphysicalproperties/NaturalGasPhysicalProperties.java
@@ -19,6 +19,7 @@
* @version $Id: $Id
*/
public class NaturalGasPhysicalProperties extends GasPhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/AminePhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/AminePhysicalProperties.java
index b776fb8689..fa69a95111 100644
--- a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/AminePhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/AminePhysicalProperties.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class AminePhysicalProperties extends LiquidPhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/CO2waterPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/CO2waterPhysicalProperties.java
index c79ecdebd5..63567892e9 100644
--- a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/CO2waterPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/CO2waterPhysicalProperties.java
@@ -18,7 +18,9 @@
* @version $Id: $Id
*/
public class CO2waterPhysicalProperties extends PhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CO2waterPhysicalProperties.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/GlycolPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/GlycolPhysicalProperties.java
index ed3e35c366..3d80f35d0f 100644
--- a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/GlycolPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/GlycolPhysicalProperties.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class GlycolPhysicalProperties extends LiquidPhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/LiquidPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/LiquidPhysicalProperties.java
index 62d749b6a1..3f4d07ef14 100644
--- a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/LiquidPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/LiquidPhysicalProperties.java
@@ -24,7 +24,9 @@
* @version $Id: $Id
*/
public class LiquidPhysicalProperties extends PhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LiquidPhysicalProperties.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/WaterPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/WaterPhysicalProperties.java
index f66c46e6f3..0d8bbee872 100644
--- a/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/WaterPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/liquidphysicalproperties/WaterPhysicalProperties.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class WaterPhysicalProperties extends LiquidPhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/system/solidphysicalproperties/SolidPhysicalProperties.java b/src/main/java/neqsim/physicalproperties/system/solidphysicalproperties/SolidPhysicalProperties.java
index 7d5e5e3eca..a4bbab9f5b 100644
--- a/src/main/java/neqsim/physicalproperties/system/solidphysicalproperties/SolidPhysicalProperties.java
+++ b/src/main/java/neqsim/physicalproperties/system/solidphysicalproperties/SolidPhysicalProperties.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class SolidPhysicalProperties extends PhysicalProperties {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/ParachorFunction.java b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/ParachorFunction.java
index 53b513eb06..e53918b24f 100644
--- a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/ParachorFunction.java
+++ b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/ParachorFunction.java
@@ -13,6 +13,7 @@
* @version $Id: $Id
*/
public class ParachorFunction extends LevenbergMarquardtFunction {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ParachorFunction.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/TestParachorFit.java b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/TestParachorFit.java
index 62cf8e3b47..d1fa274a05 100644
--- a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/TestParachorFit.java
+++ b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/TestParachorFit.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class TestParachorFit {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestParachorFit.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/TestChungFit.java b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/TestChungFit.java
index bf555c1a56..55bde01e77 100644
--- a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/TestChungFit.java
+++ b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/TestChungFit.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class TestChungFit {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestChungFit.class);
/**
diff --git a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/TestViscosityFit.java b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/TestViscosityFit.java
index c1c5e445b7..c90efa222d 100644
--- a/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/TestViscosityFit.java
+++ b/src/main/java/neqsim/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/TestViscosityFit.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class TestViscosityFit {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestViscosityFit.class);
/**
diff --git a/src/main/java/neqsim/process/SimulationBaseClass.java b/src/main/java/neqsim/process/SimulationBaseClass.java
index 63b776867e..46f53b3ac4 100644
--- a/src/main/java/neqsim/process/SimulationBaseClass.java
+++ b/src/main/java/neqsim/process/SimulationBaseClass.java
@@ -11,7 +11,8 @@
* @version $Id: $Id
*/
public abstract class SimulationBaseClass extends NamedBaseClass implements SimulationInterface {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
/**
* Unique identifier of which solve/run call was last called successfully.
diff --git a/src/main/java/neqsim/process/conditionmonitor/ConditionMonitor.java b/src/main/java/neqsim/process/conditionmonitor/ConditionMonitor.java
index cfb1dd09a7..3c3fca6a5e 100644
--- a/src/main/java/neqsim/process/conditionmonitor/ConditionMonitor.java
+++ b/src/main/java/neqsim/process/conditionmonitor/ConditionMonitor.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class ConditionMonitor implements java.io.Serializable, Runnable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
ProcessSystem refprocess = null;
ProcessSystem process = null;
@@ -45,12 +46,11 @@ public ConditionMonitor(ProcessSystem refprocess) {
*/
public void conditionAnalysis(String unitName) {
neqsim.process.equipment.ProcessEquipmentBaseClass refUn =
- (neqsim.process.equipment.ProcessEquipmentBaseClass) refprocess
- .getUnit(unitName);
- ((neqsim.process.equipment.ProcessEquipmentInterface) process
- .getUnit(unitName)).runConditionAnalysis(refUn);
- report += ((neqsim.process.equipment.ProcessEquipmentInterface) process
- .getUnit(unitName)).getConditionAnalysisMessage();
+ (neqsim.process.equipment.ProcessEquipmentBaseClass) refprocess.getUnit(unitName);
+ ((neqsim.process.equipment.ProcessEquipmentInterface) process.getUnit(unitName))
+ .runConditionAnalysis(refUn);
+ report += ((neqsim.process.equipment.ProcessEquipmentInterface) process.getUnit(unitName))
+ .getConditionAnalysisMessage();
}
/**
diff --git a/src/main/java/neqsim/process/controllerdevice/ControllerDeviceBaseClass.java b/src/main/java/neqsim/process/controllerdevice/ControllerDeviceBaseClass.java
index 28f0c1c444..50459eccf6 100644
--- a/src/main/java/neqsim/process/controllerdevice/ControllerDeviceBaseClass.java
+++ b/src/main/java/neqsim/process/controllerdevice/ControllerDeviceBaseClass.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class ControllerDeviceBaseClass extends NamedBaseClass implements ControllerDeviceInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ControllerDeviceBaseClass.class);
/**
diff --git a/src/main/java/neqsim/process/costestimation/CostEstimateBaseClass.java b/src/main/java/neqsim/process/costestimation/CostEstimateBaseClass.java
index 7510c75e25..74aeaf5130 100644
--- a/src/main/java/neqsim/process/costestimation/CostEstimateBaseClass.java
+++ b/src/main/java/neqsim/process/costestimation/CostEstimateBaseClass.java
@@ -16,7 +16,9 @@
* @version $Id: $Id
*/
public class CostEstimateBaseClass implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CostEstimateBaseClass.class);
private SystemMechanicalDesign processdesign;
@@ -27,8 +29,7 @@ public class CostEstimateBaseClass implements java.io.Serializable {
* Constructor for CostEstimateBaseClass.
*
CompressorChartAlternativeMapLookupExtrapolate class.
+ *+ * CompressorChartAlternativeMapLookupExtrapolate class. + *
* * @author ASMF */ public class CompressorChartAlternativeMapLookupExtrapolate extends CompressorChartAlternativeMapLookup { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(CompressorChartAlternativeMapLookupExtrapolate.class); diff --git a/src/main/java/neqsim/process/equipment/compressor/CompressorCurve.java b/src/main/java/neqsim/process/equipment/compressor/CompressorCurve.java index 9afba438cd..c18897a5c8 100644 --- a/src/main/java/neqsim/process/equipment/compressor/CompressorCurve.java +++ b/src/main/java/neqsim/process/equipment/compressor/CompressorCurve.java @@ -12,6 +12,7 @@ * @version $Id: $Id */ public class CompressorCurve implements java.io.Serializable { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; public double[] flow; public double[] flowPolytropicEfficiency; diff --git a/src/main/java/neqsim/process/equipment/compressor/CompressorPropertyProfile.java b/src/main/java/neqsim/process/equipment/compressor/CompressorPropertyProfile.java index 1b26b2c184..d413f0b2aa 100644 --- a/src/main/java/neqsim/process/equipment/compressor/CompressorPropertyProfile.java +++ b/src/main/java/neqsim/process/equipment/compressor/CompressorPropertyProfile.java @@ -13,7 +13,8 @@ * @version $Id: $Id */ public class CompressorPropertyProfile implements Serializable { - private static final long serialVersionUID = 1L; + /** Serialization version UID. */ + private static final long serialVersionUID = 1000; private ArrayListpipeline
.
*
*
- * @return a {@link neqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe}
- * object
+ * @return a {@link neqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe} object
*/
public AdiabaticTwoPhasePipe getPipeline() {
return pipeline;
diff --git a/src/main/java/neqsim/process/equipment/subsea/SubseaWell.java b/src/main/java/neqsim/process/equipment/subsea/SubseaWell.java
index ff66433fe9..a0db40dfd1 100644
--- a/src/main/java/neqsim/process/equipment/subsea/SubseaWell.java
+++ b/src/main/java/neqsim/process/equipment/subsea/SubseaWell.java
@@ -20,6 +20,7 @@
* @version $Id: $Id
*/
public class SubseaWell extends TwoPortEquipment {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
public double height = 1000.0;
diff --git a/src/main/java/neqsim/process/equipment/tank/Tank.java b/src/main/java/neqsim/process/equipment/tank/Tank.java
index 119f02e090..ae6012ba03 100644
--- a/src/main/java/neqsim/process/equipment/tank/Tank.java
+++ b/src/main/java/neqsim/process/equipment/tank/Tank.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class Tank extends ProcessEquipmentBaseClass {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
SystemInterface thermoSystem;
diff --git a/src/main/java/neqsim/process/equipment/util/Adjuster.java b/src/main/java/neqsim/process/equipment/util/Adjuster.java
index 98f0da49d8..29b1d4a2d7 100644
--- a/src/main/java/neqsim/process/equipment/util/Adjuster.java
+++ b/src/main/java/neqsim/process/equipment/util/Adjuster.java
@@ -17,7 +17,9 @@
* @version $Id: $Id
*/
public class Adjuster extends ProcessEquipmentBaseClass {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Adjuster.class);
ProcessEquipmentInterface adjustedEquipment = null;
diff --git a/src/main/java/neqsim/process/equipment/util/Calculator.java b/src/main/java/neqsim/process/equipment/util/Calculator.java
index a64952a59d..6f2fccef5e 100644
--- a/src/main/java/neqsim/process/equipment/util/Calculator.java
+++ b/src/main/java/neqsim/process/equipment/util/Calculator.java
@@ -19,7 +19,9 @@
* @version $Id: $Id
*/
public class Calculator extends ProcessEquipmentBaseClass {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Calculator.class);
ArrayListoutputVariable
.
*
*
- * @param outputVariable a
- * {@link neqsim.process.equipment.ProcessEquipmentInterface}
- * object
+ * @param outputVariable a {@link neqsim.process.equipment.ProcessEquipmentInterface} object
*/
public void setOutputVariable(ProcessEquipmentInterface outputVariable) {
this.outputVariable = outputVariable;
diff --git a/src/main/java/neqsim/process/equipment/util/FlowRateAdjuster.java b/src/main/java/neqsim/process/equipment/util/FlowRateAdjuster.java
index 74d5268a6a..33cbb70eef 100644
--- a/src/main/java/neqsim/process/equipment/util/FlowRateAdjuster.java
+++ b/src/main/java/neqsim/process/equipment/util/FlowRateAdjuster.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class FlowRateAdjuster extends TwoPortEquipment {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FlowRateAdjuster.class);
String name = "Flow Rate Adjuster";
@@ -72,8 +74,7 @@ public FlowRateAdjuster(String name) {
*
*
* @param name a {@link java.lang.String} object
- * @param inStream a {@link neqsim.process.equipment.stream.StreamInterface}
- * object
+ * @param inStream a {@link neqsim.process.equipment.stream.StreamInterface} object
*/
public FlowRateAdjuster(String name, StreamInterface inStream) {
super(name, inStream);
diff --git a/src/main/java/neqsim/process/equipment/util/FlowSetter.java b/src/main/java/neqsim/process/equipment/util/FlowSetter.java
index 4e4c393ab4..ba7286fa2f 100644
--- a/src/main/java/neqsim/process/equipment/util/FlowSetter.java
+++ b/src/main/java/neqsim/process/equipment/util/FlowSetter.java
@@ -24,6 +24,7 @@
* @version $Id: $Id
*/
public class FlowSetter extends TwoPortEquipment {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
private static final Logger logger = LogManager.getLogger(FlowSetter.class);
double[] pressure = new double[] {1.01325};
@@ -303,8 +304,7 @@ public void run(UUID id) {
* createReferenceProcess.
*
*
- * @param feedStream a {@link neqsim.process.equipment.stream.StreamInterface}
- * object
+ * @param feedStream a {@link neqsim.process.equipment.stream.StreamInterface} object
* @return a {@link neqsim.process.processmodel.ProcessSystem} object
*/
public ProcessSystem createReferenceProcess(StreamInterface feedStream) {
diff --git a/src/main/java/neqsim/process/equipment/util/GORfitter.java b/src/main/java/neqsim/process/equipment/util/GORfitter.java
index 2c59b542b0..0eaa937b67 100644
--- a/src/main/java/neqsim/process/equipment/util/GORfitter.java
+++ b/src/main/java/neqsim/process/equipment/util/GORfitter.java
@@ -19,7 +19,9 @@
* @version $Id: $Id
*/
public class GORfitter extends TwoPortEquipment {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(GORfitter.class);
double pressure = ThermodynamicConstantsInterface.referencePressure;
diff --git a/src/main/java/neqsim/process/equipment/util/MPFMfitter.java b/src/main/java/neqsim/process/equipment/util/MPFMfitter.java
index 0d57764ba2..ed25e1b9cd 100644
--- a/src/main/java/neqsim/process/equipment/util/MPFMfitter.java
+++ b/src/main/java/neqsim/process/equipment/util/MPFMfitter.java
@@ -19,7 +19,9 @@
* @version $Id: $Id
*/
public class MPFMfitter extends TwoPortEquipment {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(MPFMfitter.class);
double pressure = ThermodynamicConstantsInterface.referencePressure;
diff --git a/src/main/java/neqsim/process/equipment/util/MoleFractionControllerUtil.java b/src/main/java/neqsim/process/equipment/util/MoleFractionControllerUtil.java
index 6860f1ff9c..e576605c70 100644
--- a/src/main/java/neqsim/process/equipment/util/MoleFractionControllerUtil.java
+++ b/src/main/java/neqsim/process/equipment/util/MoleFractionControllerUtil.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class MoleFractionControllerUtil extends TwoPortEquipment {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
SystemInterface thermoSystem;
diff --git a/src/main/java/neqsim/process/equipment/util/NeqSimUnit.java b/src/main/java/neqsim/process/equipment/util/NeqSimUnit.java
index e6476464d6..03bd7c015a 100644
--- a/src/main/java/neqsim/process/equipment/util/NeqSimUnit.java
+++ b/src/main/java/neqsim/process/equipment/util/NeqSimUnit.java
@@ -20,6 +20,7 @@
* @version $Id: $Id
*/
public class NeqSimUnit extends TwoPortEquipment {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
SystemInterface thermoSystem;
diff --git a/src/main/java/neqsim/process/equipment/util/PressureDrop.java b/src/main/java/neqsim/process/equipment/util/PressureDrop.java
index fb5534c594..510e94aca7 100644
--- a/src/main/java/neqsim/process/equipment/util/PressureDrop.java
+++ b/src/main/java/neqsim/process/equipment/util/PressureDrop.java
@@ -19,7 +19,9 @@
* @version $Id: $Id
*/
public class PressureDrop extends ThrottlingValve {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PressureDrop.class);
SystemInterface thermoSystem;
@@ -37,7 +39,9 @@ public PressureDrop(String name) {
}
/**
- * Setter for the field pressureDrop
.
+ * Setter for the field pressureDrop
.
+ *
diff --git a/src/main/java/neqsim/process/equipment/valve/SafetyValve.java b/src/main/java/neqsim/process/equipment/valve/SafetyValve.java
index 1d8fce0b6e..e597795788 100644
--- a/src/main/java/neqsim/process/equipment/valve/SafetyValve.java
+++ b/src/main/java/neqsim/process/equipment/valve/SafetyValve.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class SafetyValve extends ThrottlingValve {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
private double pressureSpec = 10.0;
diff --git a/src/main/java/neqsim/process/equipment/valve/ThrottlingValve.java b/src/main/java/neqsim/process/equipment/valve/ThrottlingValve.java
index 79152a3984..174fb732d9 100644
--- a/src/main/java/neqsim/process/equipment/valve/ThrottlingValve.java
+++ b/src/main/java/neqsim/process/equipment/valve/ThrottlingValve.java
@@ -23,7 +23,9 @@
* @version $Id: $Id
*/
public class ThrottlingValve extends TwoPortEquipment implements ValveInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ThrottlingValve.class);
SystemInterface thermoSystem;
diff --git a/src/main/java/neqsim/process/measurementdevice/CombustionEmissionsCalculator.java b/src/main/java/neqsim/process/measurementdevice/CombustionEmissionsCalculator.java
index 6ed55f82ef..8adaa470c4 100644
--- a/src/main/java/neqsim/process/measurementdevice/CombustionEmissionsCalculator.java
+++ b/src/main/java/neqsim/process/measurementdevice/CombustionEmissionsCalculator.java
@@ -12,7 +12,8 @@
* @author Even Solbraa
*/
public class CombustionEmissionsCalculator extends StreamMeasurementDeviceBaseClass {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
// Composition of natural gas (in mole percent)
private static final Map
diff --git a/src/main/java/neqsim/standards/gasquality/Standard_ISO6976.java b/src/main/java/neqsim/standards/gasquality/Standard_ISO6976.java
index 4198aee662..1df4d2deba 100644
--- a/src/main/java/neqsim/standards/gasquality/Standard_ISO6976.java
+++ b/src/main/java/neqsim/standards/gasquality/Standard_ISO6976.java
@@ -18,7 +18,9 @@
*/
public class Standard_ISO6976 extends neqsim.standards.Standard
implements neqsim.thermo.ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Standard_ISO6976.class);
// metering conditions
diff --git a/src/main/java/neqsim/standards/gasquality/Standard_ISO6976_2016.java b/src/main/java/neqsim/standards/gasquality/Standard_ISO6976_2016.java
index 62ea3b471d..67a2b15723 100644
--- a/src/main/java/neqsim/standards/gasquality/Standard_ISO6976_2016.java
+++ b/src/main/java/neqsim/standards/gasquality/Standard_ISO6976_2016.java
@@ -13,7 +13,9 @@
* @version $Id: $Id
*/
public class Standard_ISO6976_2016 extends Standard_ISO6976 {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Standard_ISO6976_2016.class);
// metering conditions
diff --git a/src/main/java/neqsim/standards/gasquality/SulfurSpecificationMethod.java b/src/main/java/neqsim/standards/gasquality/SulfurSpecificationMethod.java
index 7468939fb0..0c444e1df9 100644
--- a/src/main/java/neqsim/standards/gasquality/SulfurSpecificationMethod.java
+++ b/src/main/java/neqsim/standards/gasquality/SulfurSpecificationMethod.java
@@ -11,7 +11,8 @@
* @version $Id: $Id
*/
public class SulfurSpecificationMethod extends neqsim.standards.Standard {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
String unit = "ppm";
double H2Scontent = 0.0;
diff --git a/src/main/java/neqsim/standards/gasquality/UKspecifications_ICF_SI.java b/src/main/java/neqsim/standards/gasquality/UKspecifications_ICF_SI.java
index f325981fc0..4e58ff24d5 100644
--- a/src/main/java/neqsim/standards/gasquality/UKspecifications_ICF_SI.java
+++ b/src/main/java/neqsim/standards/gasquality/UKspecifications_ICF_SI.java
@@ -16,7 +16,9 @@
* @version $Id: $Id
*/
public class UKspecifications_ICF_SI extends neqsim.standards.Standard {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(UKspecifications_ICF_SI.class);
String componentName = "";
diff --git a/src/main/java/neqsim/standards/oilquality/Standard_ASTM_D6377.java b/src/main/java/neqsim/standards/oilquality/Standard_ASTM_D6377.java
index 6baacf2b6b..217e99082e 100644
--- a/src/main/java/neqsim/standards/oilquality/Standard_ASTM_D6377.java
+++ b/src/main/java/neqsim/standards/oilquality/Standard_ASTM_D6377.java
@@ -17,7 +17,9 @@
* @version $Id: $Id
*/
public class Standard_ASTM_D6377 extends neqsim.standards.Standard {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Standard_ASTM_D6377.class);
String unit = "bara";
diff --git a/src/main/java/neqsim/standards/salescontract/BaseContract.java b/src/main/java/neqsim/standards/salescontract/BaseContract.java
index c4875193c9..ea15a74181 100644
--- a/src/main/java/neqsim/standards/salescontract/BaseContract.java
+++ b/src/main/java/neqsim/standards/salescontract/BaseContract.java
@@ -34,6 +34,7 @@
* @version $Id: $Id
*/
public class BaseContract implements ContractInterface {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(BaseContract.class);
private String[][] resultTable = new String[50][9];
diff --git a/src/main/java/neqsim/standards/salescontract/ContractSpecification.java b/src/main/java/neqsim/standards/salescontract/ContractSpecification.java
index 61fa1b255a..25e57a60d2 100644
--- a/src/main/java/neqsim/standards/salescontract/ContractSpecification.java
+++ b/src/main/java/neqsim/standards/salescontract/ContractSpecification.java
@@ -18,7 +18,8 @@
* @version $Id: $Id
*/
public class ContractSpecification extends NamedBaseClass {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
StandardInterface standard = null;
String specification = "dew point temperature specification";
private String country = "";
diff --git a/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/DataReader.java b/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/DataReader.java
index e42ccd81ee..37037731fe 100644
--- a/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/DataReader.java
+++ b/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/DataReader.java
@@ -22,6 +22,7 @@
* @version $Id: $Id
*/
public class DataReader implements DataReaderInterface {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(DataReader.class);
protected String fileName;
diff --git a/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/WettedWallDataReader.java b/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/WettedWallDataReader.java
index 8c67be7619..cfd8a4124a 100644
--- a/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/WettedWallDataReader.java
+++ b/src/main/java/neqsim/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/WettedWallDataReader.java
@@ -22,6 +22,7 @@
* @version $Id: $Id
*/
public class WettedWallDataReader extends DataReader {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(WettedWallDataReader.class);
/**
diff --git a/src/main/java/neqsim/statistics/parameterfitting/BaseFunction.java b/src/main/java/neqsim/statistics/parameterfitting/BaseFunction.java
index 3a61483302..0bbe2d6506 100644
--- a/src/main/java/neqsim/statistics/parameterfitting/BaseFunction.java
+++ b/src/main/java/neqsim/statistics/parameterfitting/BaseFunction.java
@@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public abstract class BaseFunction implements FunctionInterface {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(BaseFunction.class);
public double[] params = null;
public double[][] bounds = null;
diff --git a/src/main/java/neqsim/statistics/parameterfitting/NumericalDerivative.java b/src/main/java/neqsim/statistics/parameterfitting/NumericalDerivative.java
index 71a2207993..72a3772f1f 100644
--- a/src/main/java/neqsim/statistics/parameterfitting/NumericalDerivative.java
+++ b/src/main/java/neqsim/statistics/parameterfitting/NumericalDerivative.java
@@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public final class NumericalDerivative implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
static final double CON = 1.4;
diff --git a/src/main/java/neqsim/statistics/parameterfitting/SampleSet.java b/src/main/java/neqsim/statistics/parameterfitting/SampleSet.java
index 10d2d77ca7..52ec069286 100644
--- a/src/main/java/neqsim/statistics/parameterfitting/SampleSet.java
+++ b/src/main/java/neqsim/statistics/parameterfitting/SampleSet.java
@@ -20,6 +20,7 @@
* @version $Id: $Id
*/
public class SampleSet implements Cloneable {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SampleSet.class);
private ArrayList
@@ -57,8 +57,7 @@ public PhaseGENRTL(PhaseInterface phase, double[][] alpha, double[][] Dij, Strin for (int i = 0; i < alpha[0].length; i++) { numberOfComponents++; componentArray[i] = new ComponentGeNRTL(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } setMixingRule(2); diff --git a/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedHV.java b/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedHV.java index 3fab491a7b..0e2e171503 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedHV.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedHV.java @@ -18,6 +18,7 @@ * @version $Id: $Id */ public class PhaseGENRTLmodifiedHV extends PhaseGENRTL { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double[][] DijT; @@ -50,8 +51,7 @@ public PhaseGENRTLmodifiedHV(PhaseInterface phase, double[][] alpha, double[][] type = 0; for (int i = 0; i < alpha[0].length; i++) { componentArray[i] = new ComponentGENRTLmodifiedHV(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } } @@ -76,8 +76,7 @@ public PhaseGENRTLmodifiedHV(PhaseInterface phase, double[][] alpha, double[][] this.DijT = DijT; for (int i = 0; i < alpha[0].length; i++) { componentArray[i] = new ComponentGENRTLmodifiedHV(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } } @@ -146,7 +145,8 @@ public double getGibbsEnergy() { double val = 0.0; for (int i = 0; i < numberOfComponents; i++) { val += - getComponent(i).getNumberOfMolesInPhase() * (getComponent(i).getLogFugacityCoefficient()); // +Math.log(getComponent(i).getx()*getComponent(i).getAntoineVaporPressure(temperature))); + getComponent(i).getNumberOfMolesInPhase() * (getComponent(i).getLogFugacityCoefficient()); + // +Math.log(getComponent(i).getx()*getComponent(i).getAntoineVaporPressure(temperature))); } return R * temperature * numberOfMolesInPhase * (val + Math.log(pressure)); } diff --git a/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedWS.java b/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedWS.java index cfc32104d7..147ef5befa 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedWS.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGENRTLmodifiedWS.java @@ -12,6 +12,7 @@ * @version $Id: $Id */ public class PhaseGENRTLmodifiedWS extends PhaseGENRTLmodifiedHV { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -19,8 +20,7 @@ public class PhaseGENRTLmodifiedWS extends PhaseGENRTLmodifiedHV { * Constructor for PhaseGENRTLmodifiedWS. *
*/ - public PhaseGENRTLmodifiedWS() { - } + public PhaseGENRTLmodifiedWS() {} /** *@@ -40,8 +40,7 @@ public PhaseGENRTLmodifiedWS(PhaseInterface phase, double[][] alpha, double[][] for (int i = 0; i < alpha[0].length; i++) { numberOfComponents++; componentArray[i] = new ComponentGENRTLmodifiedWS(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } } @@ -64,8 +63,7 @@ public PhaseGENRTLmodifiedWS(PhaseInterface phase, double[][] alpha, double[][] componentArray = new ComponentGENRTLmodifiedWS[alpha[0].length]; for (int i = 0; i < alpha[0].length; i++) { componentArray[i] = new ComponentGENRTLmodifiedWS(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } } diff --git a/src/main/java/neqsim/thermo/phase/PhaseGERG2004Eos.java b/src/main/java/neqsim/thermo/phase/PhaseGERG2004Eos.java index 9ed823faf3..353e19c8f3 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGERG2004Eos.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGERG2004Eos.java @@ -13,6 +13,7 @@ * @version $Id: $Id */ public class PhaseGERG2004Eos extends PhaseEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; private GERG2004EOS gergEOS = new GERG2004EOS(); diff --git a/src/main/java/neqsim/thermo/phase/PhaseGEUnifac.java b/src/main/java/neqsim/thermo/phase/PhaseGEUnifac.java index 9f6e7c9ddc..b54b9bcc89 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGEUnifac.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGEUnifac.java @@ -18,12 +18,14 @@ * @version $Id: $Id */ public class PhaseGEUnifac extends PhaseGEUniquac { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double[][] aij = new double[1][1]; double[][] bij = new double[1][1]; double[][] cij = new double[1][1]; boolean checkedGroups = false; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseGEUnifac.class); /** @@ -52,8 +54,7 @@ public PhaseGEUnifac(PhaseInterface phase, double[][] alpha, double[][] Dij, Str componentArray = new ComponentGEUnifac[alpha[0].length]; for (int i = 0; i < alpha[0].length; i++) { componentArray[i] = new ComponentGEUnifac(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } } diff --git a/src/main/java/neqsim/thermo/phase/PhaseGEUnifacPSRK.java b/src/main/java/neqsim/thermo/phase/PhaseGEUnifacPSRK.java index 63fb5eed1b..2527ea9475 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGEUnifacPSRK.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGEUnifacPSRK.java @@ -16,7 +16,9 @@ * @version $Id: $Id */ public class PhaseGEUnifacPSRK extends PhaseGEUnifac { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseGEUnifacPSRK.class); /** @@ -45,8 +47,7 @@ public PhaseGEUnifacPSRK(PhaseInterface phase, double[][] alpha, double[][] Dij, componentArray = new ComponentGEUnifac[alpha[0].length]; for (int i = 0; i < alpha[0].length; i++) { componentArray[i] = new ComponentGEUnifacPSRK(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } this.setMixingRule(2); diff --git a/src/main/java/neqsim/thermo/phase/PhaseGEUnifacUMRPRU.java b/src/main/java/neqsim/thermo/phase/PhaseGEUnifacUMRPRU.java index e0529cb823..b695d54717 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGEUnifacUMRPRU.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGEUnifacUMRPRU.java @@ -16,7 +16,9 @@ * @version $Id: $Id */ public class PhaseGEUnifacUMRPRU extends PhaseGEUnifac { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseGEUnifacUMRPRU.class); double[] Qmix = null; diff --git a/src/main/java/neqsim/thermo/phase/PhaseGEUniquac.java b/src/main/java/neqsim/thermo/phase/PhaseGEUniquac.java index 00959506ef..0cf21a4505 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGEUniquac.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGEUniquac.java @@ -21,6 +21,7 @@ * @version $Id: $Id */ public class PhaseGEUniquac extends PhaseGE { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double[][] alpha; @@ -59,8 +60,7 @@ public PhaseGEUniquac(PhaseInterface phase, double[][] alpha, double[][] Dij, St for (int i = 0; i < alpha[0].length; i++) { numberOfComponents++; componentArray[i] = new ComponentGEUniquac(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } } diff --git a/src/main/java/neqsim/thermo/phase/PhaseGEUniquacmodifiedHV.java b/src/main/java/neqsim/thermo/phase/PhaseGEUniquacmodifiedHV.java index a678bf8e58..e9fab713af 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGEUniquacmodifiedHV.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGEUniquacmodifiedHV.java @@ -15,6 +15,7 @@ * @version $Id: $Id */ public class PhaseGEUniquacmodifiedHV extends PhaseGEUniquac { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -22,8 +23,7 @@ public class PhaseGEUniquacmodifiedHV extends PhaseGEUniquac { * Constructor for PhaseGEUniquacmodifiedHV. *
*/ - public PhaseGEUniquacmodifiedHV() { - } + public PhaseGEUniquacmodifiedHV() {} /** {@inheritDoc} */ @Override diff --git a/src/main/java/neqsim/thermo/phase/PhaseGEWilson.java b/src/main/java/neqsim/thermo/phase/PhaseGEWilson.java index 44bfd0a935..fcb0fa73c2 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseGEWilson.java +++ b/src/main/java/neqsim/thermo/phase/PhaseGEWilson.java @@ -14,6 +14,7 @@ * @version $Id: $Id */ public class PhaseGEWilson extends PhaseGE { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double GE = 0; @@ -44,8 +45,7 @@ public PhaseGEWilson(PhaseInterface phase, double[][] alpha, double[][] Dij, Str for (int i = 0; i < alpha[0].length; i++) { numberOfComponents++; componentArray[i] = new ComponentGEWilson(phase.getComponent(i).getName(), - phase.getComponent(i).getNumberOfmoles(), - phase.getComponent(i).getNumberOfMolesInPhase(), + phase.getComponent(i).getNumberOfmoles(), phase.getComponent(i).getNumberOfMolesInPhase(), phase.getComponent(i).getComponentNumber()); } } diff --git a/src/main/java/neqsim/thermo/phase/PhaseHydrate.java b/src/main/java/neqsim/thermo/phase/PhaseHydrate.java index e49a1ddefd..4678a51c87 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseHydrate.java +++ b/src/main/java/neqsim/thermo/phase/PhaseHydrate.java @@ -19,6 +19,7 @@ * @version $Id: $Id */ public class PhaseHydrate extends Phase { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; String hydrateModel = "PVTsimHydrateModel"; diff --git a/src/main/java/neqsim/thermo/phase/PhaseKentEisenberg.java b/src/main/java/neqsim/thermo/phase/PhaseKentEisenberg.java index 04c115d3c4..8016ec72b2 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseKentEisenberg.java +++ b/src/main/java/neqsim/thermo/phase/PhaseKentEisenberg.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class PhaseKentEisenberg extends PhaseGENRTL { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -18,8 +19,7 @@ public class PhaseKentEisenberg extends PhaseGENRTL { * Constructor for PhaseKentEisenberg. * */ - public PhaseKentEisenberg() { - } + public PhaseKentEisenberg() {} /** {@inheritDoc} */ @Override diff --git a/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEos.java b/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEos.java index e95ac031a0..e7eb13cba6 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEos.java +++ b/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEos.java @@ -19,7 +19,9 @@ * @version $Id: $Id */ public class PhaseModifiedFurstElectrolyteEos extends PhaseSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseModifiedFurstElectrolyteEos.class); double gammaold = 0; diff --git a/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEosMod2004.java b/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEosMod2004.java index 96a0af449e..ddaea6968f 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEosMod2004.java +++ b/src/main/java/neqsim/thermo/phase/PhaseModifiedFurstElectrolyteEosMod2004.java @@ -19,7 +19,9 @@ * @version $Id: $Id */ public class PhaseModifiedFurstElectrolyteEosMod2004 extends PhaseSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseModifiedFurstElectrolyteEos.class); double gammaold = 0; diff --git a/src/main/java/neqsim/thermo/phase/PhasePCSAFT.java b/src/main/java/neqsim/thermo/phase/PhasePCSAFT.java index d4a444e5d5..4933f49987 100644 --- a/src/main/java/neqsim/thermo/phase/PhasePCSAFT.java +++ b/src/main/java/neqsim/thermo/phase/PhasePCSAFT.java @@ -14,7 +14,9 @@ * @version $Id: $Id */ public class PhasePCSAFT extends PhaseSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhasePCSAFT.class); double nSAFT = 1.0; diff --git a/src/main/java/neqsim/thermo/phase/PhasePCSAFTRahmat.java b/src/main/java/neqsim/thermo/phase/PhasePCSAFTRahmat.java index 2408a8934b..feb6e5b807 100644 --- a/src/main/java/neqsim/thermo/phase/PhasePCSAFTRahmat.java +++ b/src/main/java/neqsim/thermo/phase/PhasePCSAFTRahmat.java @@ -14,7 +14,9 @@ * @version $Id: $Id */ public class PhasePCSAFTRahmat extends PhasePCSAFT { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhasePCSAFTRahmat.class); double dnSAFTdVdVdV = 1.0; diff --git a/src/main/java/neqsim/thermo/phase/PhasePCSAFTa.java b/src/main/java/neqsim/thermo/phase/PhasePCSAFTa.java index 0639b3aef9..220d046554 100644 --- a/src/main/java/neqsim/thermo/phase/PhasePCSAFTa.java +++ b/src/main/java/neqsim/thermo/phase/PhasePCSAFTa.java @@ -16,6 +16,7 @@ * @version $Id: $Id */ public class PhasePCSAFTa extends PhasePCSAFT implements PhaseCPAInterface { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; public CPAMixing cpaSelect = new CPAMixing(); @@ -33,6 +34,7 @@ public class PhasePCSAFTa extends PhasePCSAFT implements PhaseCPAInterface { int[][][] selfAccociationScheme = null; int[][][][] crossAccociationScheme = null; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhasePCSAFTa.class); /** @@ -40,8 +42,7 @@ public class PhasePCSAFTa extends PhasePCSAFT implements PhaseCPAInterface { * Constructor for PhasePCSAFTa. * */ - public PhasePCSAFTa() { - } + public PhasePCSAFTa() {} /** {@inheritDoc} */ @Override diff --git a/src/main/java/neqsim/thermo/phase/PhasePrCPA.java b/src/main/java/neqsim/thermo/phase/PhasePrCPA.java index 4332949990..bc4ffa64d8 100644 --- a/src/main/java/neqsim/thermo/phase/PhasePrCPA.java +++ b/src/main/java/neqsim/thermo/phase/PhasePrCPA.java @@ -14,6 +14,7 @@ * @version $Id: $Id */ public class PhasePrCPA extends PhasePrEos implements PhaseCPAInterface { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; int totalNumberOfAccociationSites = 0; diff --git a/src/main/java/neqsim/thermo/phase/PhasePrEos.java b/src/main/java/neqsim/thermo/phase/PhasePrEos.java index c65ed33dce..3646ebaa37 100644 --- a/src/main/java/neqsim/thermo/phase/PhasePrEos.java +++ b/src/main/java/neqsim/thermo/phase/PhasePrEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class PhasePrEos extends PhaseEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/phase/PhasePrEosvolcor.java b/src/main/java/neqsim/thermo/phase/PhasePrEosvolcor.java index 9eb91abc6f..024b2f8b7a 100644 --- a/src/main/java/neqsim/thermo/phase/PhasePrEosvolcor.java +++ b/src/main/java/neqsim/thermo/phase/PhasePrEosvolcor.java @@ -18,6 +18,7 @@ * @version $Id: $Id */ public class PhasePrEosvolcor extends PhasePrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double loc_C = 0; private double CT; diff --git a/src/main/java/neqsim/thermo/phase/PhasePureComponentSolid.java b/src/main/java/neqsim/thermo/phase/PhasePureComponentSolid.java index 2f565a87fd..c3d6d46e8d 100644 --- a/src/main/java/neqsim/thermo/phase/PhasePureComponentSolid.java +++ b/src/main/java/neqsim/thermo/phase/PhasePureComponentSolid.java @@ -15,6 +15,7 @@ * @version $Id: $Id */ public class PhasePureComponentSolid extends PhaseSolid { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -22,8 +23,7 @@ public class PhasePureComponentSolid extends PhaseSolid { * Constructor for PhasePureComponentSolid. * */ - public PhasePureComponentSolid() { - } + public PhasePureComponentSolid() {} /** {@inheritDoc} */ @Override diff --git a/src/main/java/neqsim/thermo/phase/PhaseRK.java b/src/main/java/neqsim/thermo/phase/PhaseRK.java index 179bd6fe45..2faab04fb6 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseRK.java +++ b/src/main/java/neqsim/thermo/phase/PhaseRK.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class PhaseRK extends PhaseEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/phase/PhaseSolid.java b/src/main/java/neqsim/thermo/phase/PhaseSolid.java index aed714f06e..c3b16950c1 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSolid.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSolid.java @@ -17,6 +17,7 @@ * @version $Id: $Id */ public abstract class PhaseSolid extends PhaseSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/phase/PhaseSolidComplex.java b/src/main/java/neqsim/thermo/phase/PhaseSolidComplex.java index de6d26cd67..8c997b71e8 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSolidComplex.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSolidComplex.java @@ -9,6 +9,7 @@ * @version $Id: $Id */ public class PhaseSolidComplex extends PhaseSolid { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/phase/PhaseSrkCPA.java b/src/main/java/neqsim/thermo/phase/PhaseSrkCPA.java index 85db2c2d05..3ad8d7b3ef 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSrkCPA.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSrkCPA.java @@ -20,7 +20,9 @@ * @version $Id: $Id */ public class PhaseSrkCPA extends PhaseSrkEos implements PhaseCPAInterface { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseSrkCPA.class); public CPAMixing cpaSelect = new CPAMixing(); diff --git a/src/main/java/neqsim/thermo/phase/PhaseSrkCPA_proceduralMatrices.java b/src/main/java/neqsim/thermo/phase/PhaseSrkCPA_proceduralMatrices.java index 5b72792bc5..bfc11027f8 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSrkCPA_proceduralMatrices.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSrkCPA_proceduralMatrices.java @@ -19,7 +19,9 @@ * @version Modified to use procedural oriented ejml matrices by Marlene Lund */ public class PhaseSrkCPA_proceduralMatrices extends PhaseSrkEos implements PhaseCPAInterface { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseSrkCPA_proceduralMatrices.class); public CPAMixing cpaSelect = new CPAMixing(); diff --git a/src/main/java/neqsim/thermo/phase/PhaseSrkCPAs.java b/src/main/java/neqsim/thermo/phase/PhaseSrkCPAs.java index 1a777f8f57..e179b710c1 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSrkCPAs.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSrkCPAs.java @@ -13,6 +13,7 @@ * @version $Id: $Id */ public class PhaseSrkCPAs extends PhaseSrkCPA { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -20,8 +21,7 @@ public class PhaseSrkCPAs extends PhaseSrkCPA { * Constructor for PhaseSrkCPAs. * */ - public PhaseSrkCPAs() { - } + public PhaseSrkCPAs() {} /** {@inheritDoc} */ @Override diff --git a/src/main/java/neqsim/thermo/phase/PhaseSrkCPAsOld.java b/src/main/java/neqsim/thermo/phase/PhaseSrkCPAsOld.java index 1d85a522a7..47cf98dee7 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSrkCPAsOld.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSrkCPAsOld.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class PhaseSrkCPAsOld extends PhaseSrkCPAs { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -18,8 +19,7 @@ public class PhaseSrkCPAsOld extends PhaseSrkCPAs { * Constructor for PhaseSrkCPAsOld. * */ - public PhaseSrkCPAsOld() { - } + public PhaseSrkCPAsOld() {} /** {@inheritDoc} */ @Override diff --git a/src/main/java/neqsim/thermo/phase/PhaseSrkEos.java b/src/main/java/neqsim/thermo/phase/PhaseSrkEos.java index cfabc3c268..b72379ea1c 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSrkEos.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSrkEos.java @@ -17,6 +17,7 @@ * @version $Id: $Id */ public class PhaseSrkEos extends PhaseEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/phase/PhaseSrkPenelouxEos.java b/src/main/java/neqsim/thermo/phase/PhaseSrkPenelouxEos.java index 19b311db70..b726b59e00 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseSrkPenelouxEos.java +++ b/src/main/java/neqsim/thermo/phase/PhaseSrkPenelouxEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class PhaseSrkPenelouxEos extends PhaseSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -18,8 +19,7 @@ public class PhaseSrkPenelouxEos extends PhaseSrkEos { * Constructor for PhaseSrkPenelouxEos. * */ - public PhaseSrkPenelouxEos() { - } + public PhaseSrkPenelouxEos() {} /** {@inheritDoc} */ @Override diff --git a/src/main/java/neqsim/thermo/phase/PhaseTSTEos.java b/src/main/java/neqsim/thermo/phase/PhaseTSTEos.java index 17b543b78b..c233d1fab9 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseTSTEos.java +++ b/src/main/java/neqsim/thermo/phase/PhaseTSTEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class PhaseTSTEos extends PhaseEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/phase/PhaseUMRCPA.java b/src/main/java/neqsim/thermo/phase/PhaseUMRCPA.java index 9fbe76787b..7aed4f1225 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseUMRCPA.java +++ b/src/main/java/neqsim/thermo/phase/PhaseUMRCPA.java @@ -32,7 +32,9 @@ public double[] getdFdNtemp() { return dFdNtemp; } + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(PhaseUMRCPA.class); public CPAMixing cpaSelect = new CPAMixing(); diff --git a/src/main/java/neqsim/thermo/phase/PhaseWax.java b/src/main/java/neqsim/thermo/phase/PhaseWax.java index 5b7235663d..07fea97049 100644 --- a/src/main/java/neqsim/thermo/phase/PhaseWax.java +++ b/src/main/java/neqsim/thermo/phase/PhaseWax.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class PhaseWax extends PhaseSolid { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemBWRSEos.java b/src/main/java/neqsim/thermo/system/SystemBWRSEos.java index 49ab6bb1de..1533265abf 100644 --- a/src/main/java/neqsim/thermo/system/SystemBWRSEos.java +++ b/src/main/java/neqsim/thermo/system/SystemBWRSEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemBWRSEos extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double[][] TBPfractionCoefs = {{163.12, 86.052, 0.43475, -1877.4, 0.0}, {-0.13408, 2.5019, 208.46, -3987.2, 1.0}, {0.7431, 0.004812, 0.009671, -3.7e-6, 0.0}}; diff --git a/src/main/java/neqsim/thermo/system/SystemCSPsrkEos.java b/src/main/java/neqsim/thermo/system/SystemCSPsrkEos.java index 446deb6ad3..9e48d67670 100644 --- a/src/main/java/neqsim/thermo/system/SystemCSPsrkEos.java +++ b/src/main/java/neqsim/thermo/system/SystemCSPsrkEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemCSPsrkEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemDesmukhMather.java b/src/main/java/neqsim/thermo/system/SystemDesmukhMather.java index 41401466b8..48c6775857 100644 --- a/src/main/java/neqsim/thermo/system/SystemDesmukhMather.java +++ b/src/main/java/neqsim/thermo/system/SystemDesmukhMather.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemDesmukhMather extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemDuanSun.java b/src/main/java/neqsim/thermo/system/SystemDuanSun.java index 5ceacbabf6..f44861a760 100644 --- a/src/main/java/neqsim/thermo/system/SystemDuanSun.java +++ b/src/main/java/neqsim/thermo/system/SystemDuanSun.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemDuanSun extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; protected String[] CapeOpenProperties11 = diff --git a/src/main/java/neqsim/thermo/system/SystemElectrolyteCPA.java b/src/main/java/neqsim/thermo/system/SystemElectrolyteCPA.java index 64dd9bb7b5..06df6d8798 100644 --- a/src/main/java/neqsim/thermo/system/SystemElectrolyteCPA.java +++ b/src/main/java/neqsim/thermo/system/SystemElectrolyteCPA.java @@ -10,6 +10,7 @@ * @version $Id: $Id */ public class SystemElectrolyteCPA extends SystemFurstElectrolyteEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemElectrolyteCPAstatoil.java b/src/main/java/neqsim/thermo/system/SystemElectrolyteCPAstatoil.java index 9a7ef693ce..82987af4e9 100644 --- a/src/main/java/neqsim/thermo/system/SystemElectrolyteCPAstatoil.java +++ b/src/main/java/neqsim/thermo/system/SystemElectrolyteCPAstatoil.java @@ -10,6 +10,7 @@ * @version $Id: $Id */ public class SystemElectrolyteCPAstatoil extends SystemFurstElectrolyteEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemEos.java b/src/main/java/neqsim/thermo/system/SystemEos.java index 8eca58b132..2e07973454 100644 --- a/src/main/java/neqsim/thermo/system/SystemEos.java +++ b/src/main/java/neqsim/thermo/system/SystemEos.java @@ -6,6 +6,7 @@ * @author Even Solbraa */ public abstract class SystemEos extends neqsim.thermo.system.SystemThermo { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEos.java b/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEos.java index f9b59318dd..8a412078eb 100644 --- a/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEos.java +++ b/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEos.java @@ -9,6 +9,7 @@ * @version $Id: $Id */ public class SystemFurstElectrolyteEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEosMod2004.java b/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEosMod2004.java index 8a7daac0d1..4d09bedfac 100644 --- a/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEosMod2004.java +++ b/src/main/java/neqsim/thermo/system/SystemFurstElectrolyteEosMod2004.java @@ -10,6 +10,7 @@ * @version $Id: $Id */ public class SystemFurstElectrolyteEosMod2004 extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemGERG2004Eos.java b/src/main/java/neqsim/thermo/system/SystemGERG2004Eos.java index e803e4e095..ae7c66cde3 100644 --- a/src/main/java/neqsim/thermo/system/SystemGERG2004Eos.java +++ b/src/main/java/neqsim/thermo/system/SystemGERG2004Eos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemGERG2004Eos extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemGERGwaterEos.java b/src/main/java/neqsim/thermo/system/SystemGERGwaterEos.java index e648660800..47ef7a5ac1 100644 --- a/src/main/java/neqsim/thermo/system/SystemGERGwaterEos.java +++ b/src/main/java/neqsim/thermo/system/SystemGERGwaterEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemGERGwaterEos extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemGEWilson.java b/src/main/java/neqsim/thermo/system/SystemGEWilson.java index e3beea7147..93a4cc6ee5 100644 --- a/src/main/java/neqsim/thermo/system/SystemGEWilson.java +++ b/src/main/java/neqsim/thermo/system/SystemGEWilson.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemGEWilson extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemKentEisenberg.java b/src/main/java/neqsim/thermo/system/SystemKentEisenberg.java index d6cb016838..cf17c7d56d 100644 --- a/src/main/java/neqsim/thermo/system/SystemKentEisenberg.java +++ b/src/main/java/neqsim/thermo/system/SystemKentEisenberg.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemKentEisenberg extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemNRTL.java b/src/main/java/neqsim/thermo/system/SystemNRTL.java index 9c7d2be421..4f27859cdf 100644 --- a/src/main/java/neqsim/thermo/system/SystemNRTL.java +++ b/src/main/java/neqsim/thermo/system/SystemNRTL.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemNRTL extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPCSAFT.java b/src/main/java/neqsim/thermo/system/SystemPCSAFT.java index 83fecbbf86..aee2243118 100644 --- a/src/main/java/neqsim/thermo/system/SystemPCSAFT.java +++ b/src/main/java/neqsim/thermo/system/SystemPCSAFT.java @@ -13,7 +13,9 @@ * @version $Id: $Id */ public class SystemPCSAFT extends SystemSrkEos { + /** Logger object for class. */ static Logger logger = LogManager.getLogger(SystemPCSAFT.class); + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPCSAFTa.java b/src/main/java/neqsim/thermo/system/SystemPCSAFTa.java index ef03b2f1e0..b8f010a232 100644 --- a/src/main/java/neqsim/thermo/system/SystemPCSAFTa.java +++ b/src/main/java/neqsim/thermo/system/SystemPCSAFTa.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemPCSAFTa extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPrCPA.java b/src/main/java/neqsim/thermo/system/SystemPrCPA.java index 1d2d2ab100..708132911a 100644 --- a/src/main/java/neqsim/thermo/system/SystemPrCPA.java +++ b/src/main/java/neqsim/thermo/system/SystemPrCPA.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemPrCPA extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPrDanesh.java b/src/main/java/neqsim/thermo/system/SystemPrDanesh.java index c42a3d7419..367b8e3124 100644 --- a/src/main/java/neqsim/thermo/system/SystemPrDanesh.java +++ b/src/main/java/neqsim/thermo/system/SystemPrDanesh.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemPrDanesh extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPrEos.java b/src/main/java/neqsim/thermo/system/SystemPrEos.java index 2773c923b4..88b589ee3b 100644 --- a/src/main/java/neqsim/thermo/system/SystemPrEos.java +++ b/src/main/java/neqsim/thermo/system/SystemPrEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemPrEos extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPrEos1978.java b/src/main/java/neqsim/thermo/system/SystemPrEos1978.java index ee38018307..e62e170265 100644 --- a/src/main/java/neqsim/thermo/system/SystemPrEos1978.java +++ b/src/main/java/neqsim/thermo/system/SystemPrEos1978.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemPrEos1978 extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPrEosDelft1998.java b/src/main/java/neqsim/thermo/system/SystemPrEosDelft1998.java index f33eee0feb..37984699a6 100644 --- a/src/main/java/neqsim/thermo/system/SystemPrEosDelft1998.java +++ b/src/main/java/neqsim/thermo/system/SystemPrEosDelft1998.java @@ -12,6 +12,7 @@ * @version $Id: $Id */ public class SystemPrEosDelft1998 extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPrGassemEos.java b/src/main/java/neqsim/thermo/system/SystemPrGassemEos.java index 1f83e2167d..b33679f46c 100644 --- a/src/main/java/neqsim/thermo/system/SystemPrGassemEos.java +++ b/src/main/java/neqsim/thermo/system/SystemPrGassemEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemPrGassemEos extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPrMathiasCopeman.java b/src/main/java/neqsim/thermo/system/SystemPrMathiasCopeman.java index 70e54d9f93..ac6d54ed09 100644 --- a/src/main/java/neqsim/thermo/system/SystemPrMathiasCopeman.java +++ b/src/main/java/neqsim/thermo/system/SystemPrMathiasCopeman.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemPrMathiasCopeman extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemPsrkEos.java b/src/main/java/neqsim/thermo/system/SystemPsrkEos.java index 797b76a73c..f2fd8c0a40 100644 --- a/src/main/java/neqsim/thermo/system/SystemPsrkEos.java +++ b/src/main/java/neqsim/thermo/system/SystemPsrkEos.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemPsrkEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemRKEos.java b/src/main/java/neqsim/thermo/system/SystemRKEos.java index 28cc108e4f..d76d845d96 100644 --- a/src/main/java/neqsim/thermo/system/SystemRKEos.java +++ b/src/main/java/neqsim/thermo/system/SystemRKEos.java @@ -10,6 +10,7 @@ * @version $Id: $Id */ public class SystemRKEos extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkCPA.java b/src/main/java/neqsim/thermo/system/SystemSrkCPA.java index acf5c117cf..9e29375df9 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkCPA.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkCPA.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemSrkCPA extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkCPAs.java b/src/main/java/neqsim/thermo/system/SystemSrkCPAs.java index 6f86bc584d..d7238605d7 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkCPAs.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkCPAs.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemSrkCPAs extends SystemSrkCPA { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkCPAstatoil.java b/src/main/java/neqsim/thermo/system/SystemSrkCPAstatoil.java index 61b653fcb8..ed7a0b1b8f 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkCPAstatoil.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkCPAstatoil.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemSrkCPAstatoil extends SystemSrkCPAs { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkEos.java b/src/main/java/neqsim/thermo/system/SystemSrkEos.java index aed2de75d6..24606395cd 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkEos.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemSrkEos extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkMathiasCopeman.java b/src/main/java/neqsim/thermo/system/SystemSrkMathiasCopeman.java index 8f51302ad2..0e190bf7ae 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkMathiasCopeman.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkMathiasCopeman.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemSrkMathiasCopeman extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkPenelouxEos.java b/src/main/java/neqsim/thermo/system/SystemSrkPenelouxEos.java index 701f961890..e7ed39e9c2 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkPenelouxEos.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkPenelouxEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemSrkPenelouxEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkSchwartzentruberEos.java b/src/main/java/neqsim/thermo/system/SystemSrkSchwartzentruberEos.java index 8372590e29..c12d6d917a 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkSchwartzentruberEos.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkSchwartzentruberEos.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemSrkSchwartzentruberEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonEos.java b/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonEos.java index 12d851c3a5..5c9b001174 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonEos.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonEos.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemSrkTwuCoonEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonParamEos.java b/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonParamEos.java index 8b3cfd4aa2..2ec5f4cfb7 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonParamEos.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonParamEos.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemSrkTwuCoonParamEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonStatoilEos.java b/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonStatoilEos.java index 92c7283735..668ac49236 100644 --- a/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonStatoilEos.java +++ b/src/main/java/neqsim/thermo/system/SystemSrkTwuCoonStatoilEos.java @@ -8,6 +8,7 @@ * @version $Id: $Id */ public class SystemSrkTwuCoonStatoilEos extends SystemSrkEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemTSTEos.java b/src/main/java/neqsim/thermo/system/SystemTSTEos.java index ea85114bad..19ac2ed8e8 100644 --- a/src/main/java/neqsim/thermo/system/SystemTSTEos.java +++ b/src/main/java/neqsim/thermo/system/SystemTSTEos.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class SystemTSTEos extends SystemEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double[][] TBPfractionCoefs = {{73.404, 97.356, 0.61874, -2059.3, 0.0}, {0.072846, 2.1881, 163.91, -4043.4, 1.0 / 3.0}, {0.37377, 0.005493, 0.011793, -4.9e-6, 0.0}}; diff --git a/src/main/java/neqsim/thermo/system/SystemUMRCPAEoS.java b/src/main/java/neqsim/thermo/system/SystemUMRCPAEoS.java index 654631a6ec..dc4c1ade0c 100644 --- a/src/main/java/neqsim/thermo/system/SystemUMRCPAEoS.java +++ b/src/main/java/neqsim/thermo/system/SystemUMRCPAEoS.java @@ -8,7 +8,8 @@ * @author Even Solbraa */ public class SystemUMRCPAEoS extends SystemPrEos { - private static final long serialVersionUID = 1L; + /** Serialization version UID. */ + private static final long serialVersionUID = 1000; /** *diff --git a/src/main/java/neqsim/thermo/system/SystemUMRPRUEos.java b/src/main/java/neqsim/thermo/system/SystemUMRPRUEos.java index f4946c67f1..a487850617 100644 --- a/src/main/java/neqsim/thermo/system/SystemUMRPRUEos.java +++ b/src/main/java/neqsim/thermo/system/SystemUMRPRUEos.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemUMRPRUEos extends SystemPrEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEos.java b/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEos.java index 9c69122466..063d80d4ac 100644 --- a/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEos.java +++ b/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEos.java @@ -7,6 +7,7 @@ * @version $Id: $Id */ public class SystemUMRPRUMCEos extends SystemUMRPRUEos { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** diff --git a/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEosNew.java b/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEosNew.java index 87ee8f9bd1..9ab1b33e3a 100644 --- a/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEosNew.java +++ b/src/main/java/neqsim/thermo/system/SystemUMRPRUMCEosNew.java @@ -8,7 +8,8 @@ * @author Even Solbraa */ public class SystemUMRPRUMCEosNew extends SystemUMRPRUMCEos { - private static final long serialVersionUID = 1L; + /** Serialization version UID. */ + private static final long serialVersionUID = 1000; /** *
diff --git a/src/main/java/neqsim/thermo/system/SystemUNIFAC.java b/src/main/java/neqsim/thermo/system/SystemUNIFAC.java
index ff40e81d69..2d88da9ef4 100644
--- a/src/main/java/neqsim/thermo/system/SystemUNIFAC.java
+++ b/src/main/java/neqsim/thermo/system/SystemUNIFAC.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class SystemUNIFAC extends SystemEos {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/thermo/system/SystemUNIFACpsrk.java b/src/main/java/neqsim/thermo/system/SystemUNIFACpsrk.java
index e3091c3325..91e7a798ed 100644
--- a/src/main/java/neqsim/thermo/system/SystemUNIFACpsrk.java
+++ b/src/main/java/neqsim/thermo/system/SystemUNIFACpsrk.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class SystemUNIFACpsrk extends SystemEos {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark.java b/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark.java
index ce08e015a0..c3d293fd8c 100644
--- a/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark.java
+++ b/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark.java
@@ -16,6 +16,7 @@
* @version $Id: $Id
*/
public class TPflash_benchmark {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflash_benchmark.class);
/**
diff --git a/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_UMR.java b/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_UMR.java
index b80b1f33e4..2cb33abe4e 100644
--- a/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_UMR.java
+++ b/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_UMR.java
@@ -16,6 +16,7 @@
* @version $Id: $Id
*/
public class TPflash_benchmark_UMR {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflash_benchmark_UMR.class);
/**
diff --git a/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_fullcomp.java b/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_fullcomp.java
index 156d40bcb4..21cf66247e 100644
--- a/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_fullcomp.java
+++ b/src/main/java/neqsim/thermo/util/benchmark/TPflash_benchmark_fullcomp.java
@@ -16,6 +16,7 @@
* @version $Id: $Id
*/
public class TPflash_benchmark_fullcomp {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflash_benchmark_fullcomp.class);
/**
diff --git a/src/main/java/neqsim/thermo/util/constants/FurstElectrolyteConstants.java b/src/main/java/neqsim/thermo/util/constants/FurstElectrolyteConstants.java
index 0a960a4ae9..b859668cf0 100644
--- a/src/main/java/neqsim/thermo/util/constants/FurstElectrolyteConstants.java
+++ b/src/main/java/neqsim/thermo/util/constants/FurstElectrolyteConstants.java
@@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public final class FurstElectrolyteConstants implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
// public static double[] furstParams = {0.0982e-6, 7.003e-6, 77.22e-6,
diff --git a/src/main/java/neqsim/thermo/util/empiric/DuanSun.java b/src/main/java/neqsim/thermo/util/empiric/DuanSun.java
index 80a1c75edb..a407288330 100644
--- a/src/main/java/neqsim/thermo/util/empiric/DuanSun.java
+++ b/src/main/java/neqsim/thermo/util/empiric/DuanSun.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class DuanSun {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(DuanSun.class);
double[] c = new double[] {0.1, 0.2, 0.3, 0.4, 0.5};
diff --git a/src/main/java/neqsim/thermo/util/jni/GERG2004EOS.java b/src/main/java/neqsim/thermo/util/jni/GERG2004EOS.java
index 90ecd6af8d..cc01e583ed 100644
--- a/src/main/java/neqsim/thermo/util/jni/GERG2004EOS.java
+++ b/src/main/java/neqsim/thermo/util/jni/GERG2004EOS.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class GERG2004EOS {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/thermo/util/readwrite/EclipseFluidReadWrite.java b/src/main/java/neqsim/thermo/util/readwrite/EclipseFluidReadWrite.java
index b18c6488aa..61486f2e4d 100644
--- a/src/main/java/neqsim/thermo/util/readwrite/EclipseFluidReadWrite.java
+++ b/src/main/java/neqsim/thermo/util/readwrite/EclipseFluidReadWrite.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class EclipseFluidReadWrite {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(EclipseFluidReadWrite.class);
/** Constant pseudoName=""
*/
diff --git a/src/main/java/neqsim/thermo/util/readwrite/TablePrinter.java b/src/main/java/neqsim/thermo/util/readwrite/TablePrinter.java
index 84eceb2b7c..fa4b50ebe7 100644
--- a/src/main/java/neqsim/thermo/util/readwrite/TablePrinter.java
+++ b/src/main/java/neqsim/thermo/util/readwrite/TablePrinter.java
@@ -8,7 +8,8 @@
* @author Even Solbraa
*/
public class TablePrinter implements Serializable {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
/**
* Prints a 2D string table in a formatted and visually appealing way.
diff --git a/src/main/java/neqsim/thermodynamicoperations/BaseOperation.java b/src/main/java/neqsim/thermodynamicoperations/BaseOperation.java
index 410a519ae4..241d7f04ab 100644
--- a/src/main/java/neqsim/thermodynamicoperations/BaseOperation.java
+++ b/src/main/java/neqsim/thermodynamicoperations/BaseOperation.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public abstract class BaseOperation implements OperationInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
SystemInterface systemThermo = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/ThermodynamicOperations.java b/src/main/java/neqsim/thermodynamicoperations/ThermodynamicOperations.java
index b2fae0fb63..4044f4525c 100644
--- a/src/main/java/neqsim/thermodynamicoperations/ThermodynamicOperations.java
+++ b/src/main/java/neqsim/thermodynamicoperations/ThermodynamicOperations.java
@@ -75,6 +75,7 @@
* @version $Id: $Id
*/
public class ThermodynamicOperations implements java.io.Serializable, Cloneable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
private Thread thermoOperationThread = new Thread();
@@ -96,6 +97,7 @@ public SystemInterface getSystem() {
String fileName = null;
private boolean runAsThread = false;
protected String[][] resultTable = null;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ThermodynamicOperations.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/chemicalequilibrium/ChemicalEquilibrium.java b/src/main/java/neqsim/thermodynamicoperations/chemicalequilibrium/ChemicalEquilibrium.java
index 7bc4c61e36..e23dbb9eb2 100644
--- a/src/main/java/neqsim/thermodynamicoperations/chemicalequilibrium/ChemicalEquilibrium.java
+++ b/src/main/java/neqsim/thermodynamicoperations/chemicalequilibrium/ChemicalEquilibrium.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class ChemicalEquilibrium extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ChemicalEquilibrium.class);
SystemInterface system;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/CalcIonicComposition.java b/src/main/java/neqsim/thermodynamicoperations/flashops/CalcIonicComposition.java
index 3776c95193..8dfe6dd2c9 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/CalcIonicComposition.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/CalcIonicComposition.java
@@ -21,6 +21,7 @@
* @version $Id: $Id
*/
public class CalcIonicComposition extends Flash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
Logger logger = LogManager.getLogger(CalcIonicComposition.class);
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/CriticalPointFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/CriticalPointFlash.java
index e19f0fb5a3..c9fe7ad576 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/CriticalPointFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/CriticalPointFlash.java
@@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class CriticalPointFlash extends Flash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CriticalPointFlash.class);
SimpleMatrix Mmatrix = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java
index 7350aac2d9..870dd5af51 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java
@@ -20,7 +20,9 @@
* @author Even Solbraa
*/
public abstract class Flash extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Flash.class);
SystemInterface system;
@@ -89,7 +91,7 @@ public int findLowestGibbsEnergyPhase() {
* stabilityAnalysis.
*
@@ -35,8 +36,8 @@ public QfuncFlash() { *
* * @param system a {@link neqsim.thermo.system.SystemInterface} object - * @param Hspec a double - * @param type a int + * @param Hspec a double + * @param type a int */ public QfuncFlash(SystemInterface system, double Hspec, int type) { this.system = system; @@ -95,8 +96,8 @@ public double solveQ() { public void run() { tpFlash.run(); logger.info("entropy: " + system.getEntropy()); - SysNewtonRhapsonPHflash secondOrderSolver = new SysNewtonRhapsonPHflash(system, 2, - system.getPhases()[0].getNumberOfComponents(), type); + SysNewtonRhapsonPHflash secondOrderSolver = + new SysNewtonRhapsonPHflash(system, 2, system.getPhases()[0].getNumberOfComponents(), type); secondOrderSolver.setSpec(Hspec); secondOrderSolver.solve(1); } diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/RachfordRice.java b/src/main/java/neqsim/thermodynamicoperations/flashops/RachfordRice.java index 84102dd94d..65117fd641 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/RachfordRice.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/RachfordRice.java @@ -19,7 +19,9 @@ * @author Even Solbraa */ public class RachfordRice implements Serializable { + /** Logger object for class. */ static Logger logger = LogManager.getLogger(RachfordRice.class); + /** Serialization version UID. */ private static final long serialVersionUID = 1000; private double[] beta = new double[2]; private static String method = "Nielsen2023"; // alternative use Nielsen2023 or Michelsen2001 diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/SaturateWithWater.java b/src/main/java/neqsim/thermodynamicoperations/flashops/SaturateWithWater.java index 368cc8b04d..2e3a7e44ca 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/SaturateWithWater.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/SaturateWithWater.java @@ -17,7 +17,9 @@ * @version $Id: $Id */ public class SaturateWithWater extends QfuncFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(SaturateWithWater.class); Flash tpFlash; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash.java index b8711ad3b7..f5aef2d296 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash.java @@ -15,7 +15,9 @@ * @version $Id: $Id */ public class SolidFlash extends TPflash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(SolidFlash.class); // SystemInterface clonedSystem; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash1.java b/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash1.java index 5318749879..beceb6204f 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash1.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash1.java @@ -16,7 +16,9 @@ * @version $Id: $Id */ public class SolidFlash1 extends TPflash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(SolidFlash1.class); // SystemInterface clonedSystem; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash12.java b/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash12.java index 6ab902d50f..d38b5360e8 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash12.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/SolidFlash12.java @@ -22,7 +22,9 @@ * @version $Id: $Id */ public class SolidFlash12 extends TPflash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(SolidFlash12.class); // SystemInterface clonedSystem; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonPHflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonPHflash.java index d3a44c37e5..2cb588df88 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonPHflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonPHflash.java @@ -16,7 +16,9 @@ * @version $Id: $Id */ public class SysNewtonRhapsonPHflash implements ThermodynamicConstantsInterface { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(SysNewtonRhapsonPHflash.class); int neq = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflash.java index 9ec55d6578..fc68346129 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflash.java @@ -12,6 +12,7 @@ * @version $Id: $Id */ public class SysNewtonRhapsonTPflash implements java.io.Serializable { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; int neq = 0; int iter = 0; @@ -131,8 +132,8 @@ public void init() { system.getPhase(0).getComponent(i).setx(u.get(i, 0) / system.getBeta()); system.getPhase(1).getComponent(i).setx( (system.getPhase(0).getComponent(i).getz() - u.get(i, 0)) / (1.0 - system.getBeta())); - system.getPhase(0).getComponent(i).setK(system.getPhase(0).getComponent(i).getx() - / system.getPhase(1).getComponent(i).getx()); + system.getPhase(0).getComponent(i).setK( + system.getPhase(0).getComponent(i).getx() / system.getPhase(1).getComponent(i).getx()); system.getPhase(1).getComponent(i).setK(system.getPhase(0).getComponent(i).getK()); } diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflashNew.java b/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflashNew.java index 8dcc7eec6c..59e086e936 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflashNew.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/SysNewtonRhapsonTPflashNew.java @@ -13,6 +13,7 @@ * @version $Id: $Id */ public class SysNewtonRhapsonTPflashNew implements java.io.Serializable { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; int neq = 0; int iter = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TPflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TPflash.java index 3db87f7875..69de69b594 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TPflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TPflash.java @@ -17,7 +17,9 @@ * @version $Id: $Id */ public class TPflash extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(TPflash.class); SystemInterface clonedSystem; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TPgradientFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TPgradientFlash.java index f6b608a9f8..aa804d7aca 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TPgradientFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TPgradientFlash.java @@ -16,6 +16,7 @@ * @author ASMF */ public class TPgradientFlash extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; private SystemInterface system; private double temperature; @@ -90,15 +91,13 @@ public void setJac() { for (int i = 0; i < numComponents; i++) { for (int j = 0; j < numComponents; j++) { double dij = (i == j) ? 1.0 : 0.0; // Kronecker delta - double fugacityCoeff = - localSystem.getPhases()[0].getComponent(i).getFugacityCoefficient(); + double fugacityCoeff = localSystem.getPhases()[0].getComponent(i).getFugacityCoefficient(); double componentX = localSystem.getPhases()[0].getComponent(i).getx(); double pressure = localSystem.getPressure(); - double tempJ = 1.0 / (fugacityCoeff * componentX * pressure) - * (fugacityCoeff * dij * pressure - + localSystem.getPhases()[0].getComponent(i).getdfugdx(j) * componentX - * pressure); + double tempJ = + 1.0 / (fugacityCoeff * componentX * pressure) * (fugacityCoeff * dij * pressure + + localSystem.getPhases()[0].getComponent(i).getdfugdx(j) * componentX * pressure); Jac.set(i, j, tempJ); } } diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash.java index 299c399905..f01b5571ca 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash.java @@ -24,7 +24,9 @@ * @version $Id: $Id */ public class TPmultiflash extends TPflash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(TPmultiflash.class); // SystemInterface clonedSystem; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflashWAX.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflashWAX.java index b8ab9e9362..d4dcae7653 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflashWAX.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflashWAX.java @@ -16,7 +16,9 @@ * @version $Id: $Id */ public class TPmultiflashWAX extends TPflash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(TPmultiflashWAX.class); // SystemInterface clonedSystem; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash_1.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash_1.java index 456276f26e..f87c5fa2de 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash_1.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TPmultiflash_1.java @@ -21,7 +21,9 @@ * @version $Id: $Id */ public class TPmultiflash_1 extends TPflash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(TPmultiflash_1.class); // SystemInterface clonedSystem; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TSFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TSFlash.java index ef7f4e4189..0146ce9e55 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TSFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TSFlash.java @@ -20,6 +20,7 @@ * @version $Id: $Id */ public class TSFlash extends QfuncFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double Sspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TVflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TVflash.java index 14786dea9f..840a61a1d7 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TVflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TVflash.java @@ -17,6 +17,7 @@ * @version $Id: $Id */ public class TVflash extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double Vspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/TVfractionFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/TVfractionFlash.java index cb85507806..36ccf1e21f 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/TVfractionFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/TVfractionFlash.java @@ -19,7 +19,9 @@ * @version $Id: $Id */ public class TVfractionFlash extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(TVfractionFlash.class); double Vfractionspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/VHflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/VHflash.java index b464ea2a11..73e704652e 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/VHflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/VHflash.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class VHflash extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double Hspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/VHflashQfunc.java b/src/main/java/neqsim/thermodynamicoperations/flashops/VHflashQfunc.java index 1504e1f2cb..da36439978 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/VHflashQfunc.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/VHflashQfunc.java @@ -16,7 +16,9 @@ * @version $Id: $Id */ public class VHflashQfunc extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(VHflashQfunc.class); double Vspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/VSflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/VSflash.java index 62a2ee7465..f9a0510ed2 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/VSflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/VSflash.java @@ -14,6 +14,7 @@ * @version $Id: $Id */ public class VSflash extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double Sspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/VUflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/VUflash.java index 4c46704c33..08754ce906 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/VUflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/VUflash.java @@ -17,6 +17,7 @@ * @version $Id: $Id */ public class VUflash extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; double Uspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/VUflashQfunc.java b/src/main/java/neqsim/thermodynamicoperations/flashops/VUflashQfunc.java index 081b71e0f2..d5125fedb5 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/VUflashQfunc.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/VUflashQfunc.java @@ -22,7 +22,9 @@ * @version $Id: $Id */ public class VUflashQfunc extends Flash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(VUflashQfunc.class); double Vspec = 0; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/dTPflash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/dTPflash.java index b77714a532..f8405db90a 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/dTPflash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/dTPflash.java @@ -19,7 +19,9 @@ * @version $Id: $Id */ public class dTPflash extends TPflash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(dTPflash.class); String[] flashComp = null; @@ -60,8 +62,9 @@ public void run() { - (system.getPhase(0).getComponent(i).getx() * system.getPhase(0).getComponent(i).getFugacityCoefficient() * system.getPhase(0).getPressure())); - system.getPhase(1).getComponent(i).setx(system.getPhase(1).getComponent(i).getx() - * (system.getPhase(0).getComponent(i).getx() + system.getPhase(1).getComponent(i) + .setx(system.getPhase(1).getComponent(i).getx() + * (system.getPhase(0).getComponent(i).getx() * system.getPhase(0).getComponent(i).getFugacityCoefficient() * system.getPhase(0).getPressure()) / (system.getPhase(1).getComponent(i).getx() diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/AddIonToScaleSaturation.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/AddIonToScaleSaturation.java index 97574984ef..4dadbbf6fa 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/AddIonToScaleSaturation.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/AddIonToScaleSaturation.java @@ -14,7 +14,9 @@ * @version $Id: $Id */ public class AddIonToScaleSaturation extends ConstantDutyTemperatureFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(AddIonToScaleSaturation.class); String saltName = ""; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlash.java index 134fd39c10..6f87583219 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlash.java @@ -13,7 +13,9 @@ * @version $Id: $Id */ public class BubblePointPressureFlash extends ConstantDutyPressureFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(BubblePointPressureFlash.class); /** @@ -56,14 +58,12 @@ public void run() { } for (int i = 0; i < system.getPhases()[1].getNumberOfComponents(); i++) { - system.getPhases()[1].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getz()); + system.getPhases()[1].getComponent(i).setx(system.getPhases()[0].getComponent(i).getz()); if (system.getPhases()[0].getComponent(i).getIonicCharge() != 0) { system.getPhases()[0].getComponent(i).setx(1e-40); } else { - system.getPhases()[0].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getK() - * system.getPhases()[1].getComponent(i).getz()); + system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getK() + * system.getPhases()[1].getComponent(i).getz()); } } @@ -91,22 +91,21 @@ public void run() { for (int i = 0; i < system.getPhases()[1].getNumberOfComponents(); i++) { do { yold = system.getPhases()[0].getComponent(i).getx(); - if (!Double.isNaN(Math.exp( - Math.log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) - Math - .log(system.getPhases()[0].getComponent(i).getFugacityCoefficient())))) { + if (!Double.isNaN( + Math.exp(Math.log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) + - Math.log(system.getPhases()[0].getComponent(i).getFugacityCoefficient())))) { if (system.getPhase(0).getComponent(i).getIonicCharge() != 0) { system.getPhases()[0].getComponent(i).setK(1e-40); } else { - system.getPhases()[0].getComponent(i).setK(Math.exp(Math - .log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) - - Math.log(system.getPhases()[0].getComponent(i).getFugacityCoefficient()))); + system.getPhases()[0].getComponent(i).setK(Math.exp( + Math.log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) - Math + .log(system.getPhases()[0].getComponent(i).getFugacityCoefficient()))); } } system.getPhases()[1].getComponent(i) .setK(system.getPhases()[0].getComponent(i).getK()); - system.getPhases()[0].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getK() - * system.getPhases()[1].getComponent(i).getz()); + system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getK() + * system.getPhases()[1].getComponent(i).getz()); // logger.info("y err " + // Math.abs(system.getPhases()[0].getComponent(i).getx()-yold)); } while (Math.abs(system.getPhases()[0].getComponent(i).getx() - yold) / yold > 1e-8); @@ -114,9 +113,8 @@ public void run() { } for (int i = 0; i < system.getPhases()[0].getNumberOfComponents(); i++) { if (!Double.isNaN(system.getPhases()[0].getComponent(i).getK())) { - system.getPhases()[0].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getK() - * system.getPhases()[1].getComponent(i).getz()); + system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getK() + * system.getPhases()[1].getComponent(i).getz()); } else { system.init(0); logger.error("k err. : nan"); diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlashDer.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlashDer.java index 7f4e10c471..c25f3c1c8c 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlashDer.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointPressureFlashDer.java @@ -13,7 +13,9 @@ * @version $Id: $Id */ public class BubblePointPressureFlashDer extends ConstantDutyPressureFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(BubblePointPressureFlashDer.class); /** @@ -56,14 +58,12 @@ public void run() { } for (int i = 0; i < system.getPhases()[1].getNumberOfComponents(); i++) { - system.getPhases()[1].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getz()); + system.getPhases()[1].getComponent(i).setx(system.getPhases()[0].getComponent(i).getz()); if (system.getPhases()[0].getComponent(i).getIonicCharge() != 0) { system.getPhases()[0].getComponent(i).setx(1e-40); } else { - system.getPhases()[0].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getK() - * system.getPhases()[1].getComponent(i).getz()); + system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getK() + * system.getPhases()[1].getComponent(i).getz()); } } @@ -91,22 +91,21 @@ public void run() { for (int i = 0; i < system.getPhases()[1].getNumberOfComponents(); i++) { do { yold = system.getPhases()[0].getComponent(i).getx(); - if (!Double.isNaN(Math.exp( - Math.log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) - Math - .log(system.getPhases()[0].getComponent(i).getFugacityCoefficient())))) { + if (!Double.isNaN( + Math.exp(Math.log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) + - Math.log(system.getPhases()[0].getComponent(i).getFugacityCoefficient())))) { if (system.getPhase(0).getComponent(i).getIonicCharge() != 0) { system.getPhases()[0].getComponent(i).setK(1e-40); } else { - system.getPhases()[0].getComponent(i).setK(Math.exp(Math - .log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) - - Math.log(system.getPhases()[0].getComponent(i).getFugacityCoefficient()))); + system.getPhases()[0].getComponent(i).setK(Math.exp( + Math.log(system.getPhases()[1].getComponent(i).getFugacityCoefficient()) - Math + .log(system.getPhases()[0].getComponent(i).getFugacityCoefficient()))); } } system.getPhases()[1].getComponent(i) .setK(system.getPhases()[0].getComponent(i).getK()); - system.getPhases()[0].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getK() - * system.getPhases()[1].getComponent(i).getz()); + system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getK() + * system.getPhases()[1].getComponent(i).getz()); // logger.info("y err " + // Math.abs(system.getPhases()[0].getComponent(i).getx()-yold)); } while (Math.abs(system.getPhases()[0].getComponent(i).getx() - yold) / yold > 1e-8); @@ -114,9 +113,8 @@ public void run() { } for (int i = 0; i < system.getPhases()[0].getNumberOfComponents(); i++) { if (!Double.isNaN(system.getPhases()[0].getComponent(i).getK())) { - system.getPhases()[0].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getK() - * system.getPhases()[1].getComponent(i).getz()); + system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getK() + * system.getPhases()[1].getComponent(i).getz()); } else { system.init(0); logger.error("K error : nan"); diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureFlash.java index 1fde945f61..d1c7ccfeb5 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureFlash.java @@ -13,7 +13,9 @@ * @version $Id: $Id */ public class BubblePointTemperatureFlash extends ConstantDutyTemperatureFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(BubblePointTemperatureFlash.class); /** @@ -38,8 +40,7 @@ public void run() { double funk = 0; for (int i = 0; i < system.getPhases()[1].getNumberOfComponents(); i++) { - system.getPhases()[1].getComponent(i) - .setx(system.getPhases()[0].getComponent(i).getz()); + system.getPhases()[1].getComponent(i).setx(system.getPhases()[0].getComponent(i).getz()); system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getK() * system.getPhases()[1].getComponent(i).getx()); } @@ -59,8 +60,7 @@ public void run() { system.getPhases()[0].getComponent(i) .setK(system.getPhases()[1].getComponent(i).getFugacityCoefficient() / system.getPhases()[0].getComponent(i).getFugacityCoefficient()); - system.getPhases()[1].getComponent(i) - .setK(system.getPhases()[0].getComponent(i).getK()); + system.getPhases()[1].getComponent(i).setK(system.getPhases()[0].getComponent(i).getK()); system.getPhases()[0].getComponent(i) .setx(system.getPhases()[1].getComponent(i).getx() * system.getPhases()[1].getComponent(i).getFugacityCoefficient() diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureNoDer.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureNoDer.java index 3e7cd91a72..3111878d4b 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureNoDer.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/BubblePointTemperatureNoDer.java @@ -13,7 +13,9 @@ * @version $Id: $Id */ public class BubblePointTemperatureNoDer extends ConstantDutyTemperatureFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(BubblePointTemperatureNoDer.class); /** diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CalcSaltSatauration.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CalcSaltSatauration.java index 98aa34100e..dc6cedadf7 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CalcSaltSatauration.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CalcSaltSatauration.java @@ -13,7 +13,9 @@ * @version $Id: $Id */ public class CalcSaltSatauration extends ConstantDutyTemperatureFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(CalcSaltSatauration.class); String saltName; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CheckScalePotential.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CheckScalePotential.java index 8897eb9860..25c088c414 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CheckScalePotential.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CheckScalePotential.java @@ -13,7 +13,9 @@ * @version $Id: $Id */ public class CheckScalePotential extends ConstantDutyTemperatureFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(CheckScalePotential.class); String saltName; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyFlash.java index a98cf1bc39..ce747d5981 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyFlash.java @@ -14,7 +14,9 @@ * @version $Id: $Id */ public abstract class ConstantDutyFlash implements ConstantDutyFlashInterface { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; + /** Logger object for class. */ static Logger logger = LogManager.getLogger(ConstantDutyFlash.class); SystemInterface system; diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyPressureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyPressureFlash.java index 16820568dd..96bd0b36b1 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyPressureFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyPressureFlash.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class ConstantDutyPressureFlash extends ConstantDutyFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -50,8 +51,7 @@ public void run() { system.getPhases()[0].getComponent(i) .setK(system.getPhases()[1].getComponent(i).getFugacityCoefficient() / system.getPhases()[0].getComponent(i).getFugacityCoefficient()); - system.getPhases()[1].getComponent(i) - .setK(system.getPhases()[0].getComponent(i).getK()); + system.getPhases()[1].getComponent(i).setK(system.getPhases()[0].getComponent(i).getK()); } system.calc_x_y_nonorm(); diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyTemperatureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyTemperatureFlash.java index 5118154ed3..a05843716a 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/ConstantDutyTemperatureFlash.java @@ -11,6 +11,7 @@ * @version $Id: $Id */ public class ConstantDutyTemperatureFlash extends ConstantDutyFlash { + /** Serialization version UID. */ private static final long serialVersionUID = 1000; /** @@ -18,8 +19,7 @@ public class ConstantDutyTemperatureFlash extends ConstantDutyFlash { * Constructor for constantDutyTemperatureFlash. * */ - public ConstantDutyTemperatureFlash() { - } + public ConstantDutyTemperatureFlash() {} /** *
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondebarFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondebarFlash.java
index 4a3b7b5997..b0ca533823 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondebarFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondebarFlash.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class CricondebarFlash extends ConstantDutyPressureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ConstantDutyFlash.class);
Matrix Jac;
@@ -49,11 +51,9 @@ public double calcx() {
.setK(Math.exp(system.getPhases()[1].getComponent(i).getLogFugacityCoefficient()
- system.getPhases()[0].getComponent(i).getLogFugacityCoefficient()));
- system.getPhases()[1].getComponent(i)
- .setK(system.getPhases()[0].getComponent(i).getK());
- system.getPhases()[1].getComponent(i)
- .setx(1.0 / system.getPhases()[0].getComponent(i).getK()
- * system.getPhases()[1].getComponent(i).getz());
+ system.getPhases()[1].getComponent(i).setK(system.getPhases()[0].getComponent(i).getK());
+ system.getPhases()[1].getComponent(i).setx(1.0 / system.getPhases()[0].getComponent(i).getK()
+ * system.getPhases()[1].getComponent(i).getz());
// ktot += Math.abs(system.getPhases()[1].getComponent(i).getK() - 1.0);
}
xtotal = 0.0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp.java
index 559502e8bb..34e82e7e47 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class CricondenBarTemp implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int neq = 0;
int iter = 0;
@@ -95,9 +96,8 @@ public void setJac() {
tempJ = 1.0 / system.getBeta()
* (dij / system.getPhases()[0].getComponent(i).getx() - 1.0
+ system.getPhases()[0].getComponent(i).getdfugdx(j))
- + 1.0 / (1.0 - system.getBeta())
- * (dij / system.getPhases()[1].getComponent(i).getx() - 1.0
- + system.getPhases()[1].getComponent(i).getdfugdx(j));
+ + 1.0 / (1.0 - system.getBeta()) * (dij / system.getPhases()[1].getComponent(i).getx()
+ - 1.0 + system.getPhases()[1].getComponent(i).getdfugdx(j));
Jac.set(i, j, tempJ);
}
}
@@ -129,13 +129,11 @@ public void init() {
for (int i = 0; i < numberOfComponents; i++) {
system.getPhases()[0].getComponent(i).setx(u.get(i, 0) / system.getBeta());
- system.getPhases()[1].getComponent(i)
- .setx((system.getPhases()[0].getComponent(i).getz() - u.get(i, 0))
- / (1.0 - system.getBeta()));
+ system.getPhases()[1].getComponent(i).setx(
+ (system.getPhases()[0].getComponent(i).getz() - u.get(i, 0)) / (1.0 - system.getBeta()));
system.getPhases()[0].getComponent(i).setK(system.getPhases()[0].getComponent(i).getx()
/ system.getPhases()[1].getComponent(i).getx());
- system.getPhases()[1].getComponent(i)
- .setK(system.getPhases()[0].getComponent(i).getK());
+ system.getPhases()[1].getComponent(i).setK(system.getPhases()[0].getComponent(i).getK());
}
system.init(3);
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp1.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp1.java
index 3f577362d7..7b69f2f63d 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp1.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/CricondenBarTemp1.java
@@ -13,6 +13,7 @@
* @version $Id: $Id
*/
public class CricondenBarTemp1 implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int neq = 0;
@@ -107,9 +108,8 @@ public void setJac() {
tempJ = 1.0 / system.getBeta()
* (dij / system.getPhases()[0].getComponent(i).getx() - 1.0
+ system.getPhases()[0].getComponent(i).getdfugdx(j))
- + 1.0 / (1.0 - system.getBeta())
- * (dij / system.getPhases()[1].getComponent(i).getx() - 1.0
- + system.getPhases()[1].getComponent(i).getdfugdx(j));
+ + 1.0 / (1.0 - system.getBeta()) * (dij / system.getPhases()[1].getComponent(i).getx()
+ - 1.0 + system.getPhases()[1].getComponent(i).getdfugdx(j));
Jac.set(i, j, tempJ);
}
}
@@ -141,13 +141,11 @@ public void init() {
for (int i = 0; i < numberOfComponents; i++) {
system.getPhases()[0].getComponent(i).setx(u.get(i, 0) / system.getBeta());
- system.getPhases()[1].getComponent(i)
- .setx((system.getPhases()[0].getComponent(i).getz() - u.get(i, 0))
- / (1.0 - system.getBeta()));
+ system.getPhases()[1].getComponent(i).setx(
+ (system.getPhases()[0].getComponent(i).getz() - u.get(i, 0)) / (1.0 - system.getBeta()));
system.getPhases()[0].getComponent(i).setK(system.getPhases()[0].getComponent(i).getx()
/ system.getPhases()[1].getComponent(i).getx());
- system.getPhases()[1].getComponent(i)
- .setK(system.getPhases()[0].getComponent(i).getK());
+ system.getPhases()[1].getComponent(i).setK(system.getPhases()[0].getComponent(i).getK());
}
system.init(3);
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointPressureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointPressureFlash.java
index 5cd619b54a..1c816b547f 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointPressureFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointPressureFlash.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class DewPointPressureFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlash.java
index 19b2c30461..ce7b6d58dd 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlash.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class DewPointTemperatureFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
@@ -50,8 +51,7 @@ public void run() {
}
for (int i = 0; i < system.getPhases()[1].getNumberOfComponents(); i++) {
- system.getPhases()[0].getComponent(i)
- .setx(system.getPhases()[0].getComponent(i).getz());
+ system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getz());
if (system.getPhases()[0].getComponent(i).getIonicCharge() != 0) {
system.getPhases()[0].getComponent(i).setx(1e-40);
} else {
@@ -93,8 +93,7 @@ public void run() {
.setK(Math.exp(system.getPhases()[1].getComponent(i).getLogFugacityCoefficient()
- system.getPhases()[0].getComponent(i).getLogFugacityCoefficient()));
}
- system.getPhases()[1].getComponent(i)
- .setK(system.getPhases()[0].getComponent(i).getK());
+ system.getPhases()[1].getComponent(i).setK(system.getPhases()[0].getComponent(i).getK());
system.getPhases()[1].getComponent(i)
.setx(1.0 / system.getPhases()[0].getComponent(i).getK()
* system.getPhases()[1].getComponent(i).getz());
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlashDer.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlashDer.java
index 2eb754f605..97e970813f 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlashDer.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/DewPointTemperatureFlashDer.java
@@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class DewPointTemperatureFlashDer extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
@@ -46,8 +47,7 @@ public void run() {
}
for (int i = 0; i < system.getPhases()[1].getNumberOfComponents(); i++) {
- system.getPhases()[0].getComponent(i)
- .setx(system.getPhases()[0].getComponent(i).getz());
+ system.getPhases()[0].getComponent(i).setx(system.getPhases()[0].getComponent(i).getz());
if (system.getPhases()[0].getComponent(i).getIonicCharge() != 0) {
system.getPhases()[0].getComponent(i).setx(1e-40);
} else {
@@ -117,8 +117,7 @@ public void run() {
.setK(Math.exp(system.getPhases()[1].getComponent(i).getLogFugacityCoefficient()
- system.getPhases()[0].getComponent(i).getLogFugacityCoefficient()));
}
- system.getPhases()[1].getComponent(i)
- .setK(system.getPhases()[0].getComponent(i).getK());
+ system.getPhases()[1].getComponent(i).setK(system.getPhases()[0].getComponent(i).getK());
system.getPhases()[1].getComponent(i)
.setx(1.0 / system.getPhases()[0].getComponent(i).getK()
* system.getPhases()[1].getComponent(i).getz());
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezeOut.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezeOut.java
index fcf7de0d16..a982aeb3e4 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezeOut.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezeOut.java
@@ -21,7 +21,9 @@
*/
public class FreezeOut extends ConstantDutyTemperatureFlash
implements ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FreezeOut.class);
public double[] FCompTemp = new double[10];
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlash.java
index a75ef13ddf..cadafc25fe 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlash.java
@@ -19,7 +19,9 @@
*/
public class FreezingPointTemperatureFlash extends ConstantDutyTemperatureFlash
implements ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FreezingPointTemperatureFlash.class);
public boolean noFreezeFlash = true;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashOld.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashOld.java
index 3e53d6bf5c..8f62b0ee40 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashOld.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashOld.java
@@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class FreezingPointTemperatureFlashOld extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FreezingPointTemperatureFlashOld.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashTR.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashTR.java
index ccc1cfd2c3..5166be1ca4 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashTR.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FreezingPointTemperatureFlashTR.java
@@ -20,7 +20,9 @@
*/
public class FreezingPointTemperatureFlashTR extends ConstantDutyTemperatureFlash
implements ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FreezingPointTemperatureFlashTR.class);
public boolean noFreezeFlash = true;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FugTestConstP.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FugTestConstP.java
index 0d578c6b50..1335cafc47 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FugTestConstP.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/FugTestConstP.java
@@ -19,7 +19,9 @@
*/
public class FugTestConstP extends ConstantDutyTemperatureFlash
implements ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FugTestConstP.class);
public double temp = 0.0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HCdewPointPressureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HCdewPointPressureFlash.java
index 30f338c6fd..0d69f4119a 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HCdewPointPressureFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HCdewPointPressureFlash.java
@@ -13,7 +13,9 @@
* @version $Id: $Id
*/
public class HCdewPointPressureFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HCdewPointPressureFlash.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateEquilibriumLine.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateEquilibriumLine.java
index 10409aff70..27fb53458c 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateEquilibriumLine.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateEquilibriumLine.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class HydrateEquilibriumLine extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
double[][] hydratePoints = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationPressureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationPressureFlash.java
index 10fce60b0d..c62fad351e 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationPressureFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationPressureFlash.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class HydrateFormationPressureFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HydrateFormationPressureFlash.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationTemperatureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationTemperatureFlash.java
index 546b4f4d97..a04b414d02 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationTemperatureFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateFormationTemperatureFlash.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class HydrateFormationTemperatureFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HydrateFormationTemperatureFlash.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorConcentrationFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorConcentrationFlash.java
index f64d2f038a..6953463233 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorConcentrationFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorConcentrationFlash.java
@@ -16,7 +16,9 @@
* @version $Id: $Id
*/
public class HydrateInhibitorConcentrationFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HydrateInhibitorConcentrationFlash.class);
double hydT = 273.15;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorwtFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorwtFlash.java
index da5a5522e9..228996b56d 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorwtFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/HydrateInhibitorwtFlash.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class HydrateInhibitorwtFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HydrateInhibitorwtFlash.class);
double wtfrac = 0.5;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/SolidComplexTemperatureCalc.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/SolidComplexTemperatureCalc.java
index 6faec09dad..f5fdef2643 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/SolidComplexTemperatureCalc.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/SolidComplexTemperatureCalc.java
@@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class SolidComplexTemperatureCalc extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SolidComplexTemperatureCalc.class);
String comp1;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WATcalc.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WATcalc.java
index 1e29556fa7..38cd2612f8 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WATcalc.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WATcalc.java
@@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class WATcalc extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(WATcalc.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointEquilibriumLine.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointEquilibriumLine.java
index 13428d6093..e45f48ee2d 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointEquilibriumLine.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointEquilibriumLine.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class WaterDewPointEquilibriumLine extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
double[][] hydratePoints = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureFlash.java
index accc16d319..0da94df5ae 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureFlash.java
@@ -13,7 +13,9 @@
* @version $Id: $Id
*/
public class WaterDewPointTemperatureFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(WaterDewPointTemperatureFlash.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureMultiphaseFlash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureMultiphaseFlash.java
index e5e5cd1f8e..842d938f94 100644
--- a/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureMultiphaseFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/flashops/saturationops/WaterDewPointTemperatureMultiphaseFlash.java
@@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class WaterDewPointTemperatureMultiphaseFlash extends ConstantDutyTemperatureFlash {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(WaterDewPointTemperatureMultiphaseFlash.class);
/**
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenBarFlash.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenBarFlash.java
index 16747ee637..e2662d47c5 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenBarFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenBarFlash.java
@@ -13,6 +13,7 @@
* @version $Id: $Id
*/
public class CricondenBarFlash extends PTphaseEnvelope {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int neq = 0;
double beta = 0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenThermFlash.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenThermFlash.java
index a19940bc1c..3b4402f630 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenThermFlash.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/CricondenThermFlash.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class CricondenThermFlash extends PTphaseEnvelope {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
int neq = 0;
// double beta = 0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/HPTphaseEnvelope.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/HPTphaseEnvelope.java
index 56e545436f..cb519af2fd 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/HPTphaseEnvelope.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/HPTphaseEnvelope.java
@@ -26,7 +26,9 @@
* @version $Id: $Id
*/
public class HPTphaseEnvelope extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HPTphaseEnvelope.class);
double[][] points = new double[10][10];
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope.java
index a34d24dfc0..330cbaa27b 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope.java
@@ -27,7 +27,9 @@
* @version $Id: $Id
*/
public class PTphaseEnvelope extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PTphaseEnvelope.class);
double maxPressure = 1000.0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope1.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope1.java
index 58497d4249..4024d463df 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope1.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelope1.java
@@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class PTphaseEnvelope1 extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PTphaseEnvelope1.class);
Graph2b graph2 = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeMay.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeMay.java
index f75437e500..4ac7bb7184 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeMay.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeMay.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class PTphaseEnvelopeMay extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PTphaseEnvelopeMay.class);
double maxPressure = 1000.0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew.java
index 958f44862a..6bbb9ceb21 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew.java
@@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class PTphaseEnvelopeNew extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PTphaseEnvelopeNew.class);
Graph2b graph2 = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew2.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew2.java
index 3f42474d0b..3ff2c4266d 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew2.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/PTphaseEnvelopeNew2.java
@@ -23,7 +23,9 @@
* @version $Id: $Id
*/
public class PTphaseEnvelopeNew2 extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PTphaseEnvelopeNew2.class);
double maxPressure = 1000.0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope.java
index f9cf0d8c94..ed9c9671e8 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope.java
@@ -15,7 +15,9 @@
* @version $Id: $Id
*/
public class SysNewtonRhapsonPhaseEnvelope implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SysNewtonRhapsonPhaseEnvelope.class);
double sumx = 0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope2.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope2.java
index 201ca9c183..5e4661846e 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope2.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/SysNewtonRhapsonPhaseEnvelope2.java
@@ -19,7 +19,9 @@
* @version $Id: $Id
*/
public class SysNewtonRhapsonPhaseEnvelope2 implements java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SysNewtonRhapsonPhaseEnvelope2.class);
int neq = 0;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve.java
index 3e923d4804..cbc0f0e8db 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class PloadingCurve implements OperationInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PloadingCurve.class);
SystemInterface system;
diff --git a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve2.java b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve2.java
index de40c8e8b9..6c3e45554b 100644
--- a/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve2.java
+++ b/src/main/java/neqsim/thermodynamicoperations/phaseenvelopeops/reactivecurves/PloadingCurve2.java
@@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class PloadingCurve2 extends BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PloadingCurve2.class);
SystemInterface system;
diff --git a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGenerator.java b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGenerator.java
index 2bfa8437be..e9d52b3342 100644
--- a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGenerator.java
+++ b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGenerator.java
@@ -21,7 +21,9 @@
* @version $Id: $Id
*/
public class OLGApropertyTableGenerator extends neqsim.thermodynamicoperations.BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropertyTableGenerator.class);
SystemInterface thermoSystem = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorKeywordFormat.java b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorKeywordFormat.java
index 8e0aebe03a..04d2221d9b 100644
--- a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorKeywordFormat.java
+++ b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorKeywordFormat.java
@@ -22,7 +22,9 @@
*/
public class OLGApropertyTableGeneratorKeywordFormat
extends neqsim.thermodynamicoperations.BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropertyTableGeneratorKeywordFormat.class);
SystemInterface thermoSystem = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWater.java b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWater.java
index 4792f7c265..e5bf06099d 100644
--- a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWater.java
+++ b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWater.java
@@ -27,7 +27,9 @@
* @version $Id: $Id
*/
public class OLGApropertyTableGeneratorWater extends neqsim.thermodynamicoperations.BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropertyTableGeneratorWater.class);
BicubicInterpolator interpolationFunc = new BicubicInterpolator();
diff --git a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterEven.java b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterEven.java
index 4928cc30c7..91b69c064e 100644
--- a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterEven.java
+++ b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterEven.java
@@ -22,7 +22,9 @@
*/
public class OLGApropertyTableGeneratorWaterEven
extends neqsim.thermodynamicoperations.BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropertyTableGeneratorWaterEven.class);
SystemInterface thermoSystem = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterKeywordFormat.java b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterKeywordFormat.java
index 8feb53a85b..859d09befa 100644
--- a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterKeywordFormat.java
+++ b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterKeywordFormat.java
@@ -22,7 +22,9 @@
*/
public class OLGApropertyTableGeneratorWaterKeywordFormat
extends neqsim.thermodynamicoperations.BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropertyTableGeneratorWaterKeywordFormat.class);
SystemInterface thermoSystem = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudents.java b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudents.java
index f2d61690b8..51d1d94617 100644
--- a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudents.java
+++ b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudents.java
@@ -26,7 +26,9 @@
*/
public class OLGApropertyTableGeneratorWaterStudents
extends neqsim.thermodynamicoperations.BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropertyTableGeneratorWaterStudents.class);
SystemInterface thermoSystem = null;
diff --git a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudentsPH.java b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudentsPH.java
index a82158fb99..bf05961ffc 100644
--- a/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudentsPH.java
+++ b/src/main/java/neqsim/thermodynamicoperations/propertygenerator/OLGApropertyTableGeneratorWaterStudentsPH.java
@@ -26,7 +26,9 @@
*/
public class OLGApropertyTableGeneratorWaterStudentsPH
extends neqsim.thermodynamicoperations.BaseOperation {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropertyTableGeneratorWaterStudentsPH.class);
SystemInterface thermoSystem = null;
diff --git a/src/main/java/neqsim/util/NamedBaseClass.java b/src/main/java/neqsim/util/NamedBaseClass.java
index 16da43dc2f..f198e86ced 100644
--- a/src/main/java/neqsim/util/NamedBaseClass.java
+++ b/src/main/java/neqsim/util/NamedBaseClass.java
@@ -7,7 +7,8 @@
* @version $Id: $Id
*/
public abstract class NamedBaseClass implements NamedInterface, java.io.Serializable {
- private static final long serialVersionUID = 1L;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
public String name;
/**
diff --git a/src/main/java/neqsim/util/database/AspenIP21Database.java b/src/main/java/neqsim/util/database/AspenIP21Database.java
index 88468e116c..fb38e972ff 100644
--- a/src/main/java/neqsim/util/database/AspenIP21Database.java
+++ b/src/main/java/neqsim/util/database/AspenIP21Database.java
@@ -18,7 +18,9 @@
*/
public class AspenIP21Database
implements neqsim.util.util.FileSystemSettings, java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(AspenIP21Database.class);
protected Connection databaseConnection = null;
diff --git a/src/main/java/neqsim/util/database/NeqSimBlobDatabase.java b/src/main/java/neqsim/util/database/NeqSimBlobDatabase.java
index a26be5d583..edd66f49c9 100644
--- a/src/main/java/neqsim/util/database/NeqSimBlobDatabase.java
+++ b/src/main/java/neqsim/util/database/NeqSimBlobDatabase.java
@@ -18,7 +18,9 @@
*/
public class NeqSimBlobDatabase
implements neqsim.util.util.FileSystemSettings, java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(NeqSimBlobDatabase.class);
/** Constant dataBasePath=""
. */
diff --git a/src/main/java/neqsim/util/database/NeqSimContractDataBase.java b/src/main/java/neqsim/util/database/NeqSimContractDataBase.java
index 4c25fa365c..268fb4c89c 100644
--- a/src/main/java/neqsim/util/database/NeqSimContractDataBase.java
+++ b/src/main/java/neqsim/util/database/NeqSimContractDataBase.java
@@ -14,7 +14,9 @@
* @version June 2023
*/
public class NeqSimContractDataBase extends NeqSimDataBase {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(NeqSimContractDataBase.class);
/** Constant dataBasePath=""
. */
diff --git a/src/main/java/neqsim/util/database/NeqSimDataBase.java b/src/main/java/neqsim/util/database/NeqSimDataBase.java
index 61bc6f9730..e33acf4eb2 100644
--- a/src/main/java/neqsim/util/database/NeqSimDataBase.java
+++ b/src/main/java/neqsim/util/database/NeqSimDataBase.java
@@ -23,7 +23,9 @@
*/
public class NeqSimDataBase
implements neqsim.util.util.FileSystemSettings, java.io.Serializable, AutoCloseable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(NeqSimDataBase.class);
/** Constant dataBasePath=""
. */
@@ -72,7 +74,7 @@ public NeqSimDataBase() {
*
dataBaseType
.
*
*
- * @param aDataBaseType a {@link java.lang.String} object
+ * @param aDataBaseType a {@link java.lang.String} object
* @param connectionString a {@link java.lang.String} object
*/
public static void setDataBaseType(String aDataBaseType, String connectionString) {
@@ -403,7 +404,8 @@ public static String[] getComponentNames() {
*/
public static boolean hasComponent(String name) {
try (neqsim.util.database.NeqSimDataBase database = new neqsim.util.database.NeqSimDataBase();
- java.sql.ResultSet dataSet = database.getResultSet("select count(*) from comp WHERE NAME='" + name + "'")) {
+ java.sql.ResultSet dataSet =
+ database.getResultSet("select count(*) from comp WHERE NAME='" + name + "'")) {
dataSet.next();
int size = dataSet.getInt(1);
if (size == 0) {
@@ -424,7 +426,8 @@ public static boolean hasComponent(String name) {
*/
public static boolean hasTempComponent(String name) {
try (neqsim.util.database.NeqSimDataBase database = new neqsim.util.database.NeqSimDataBase();
- java.sql.ResultSet dataSet = database.getResultSet("select count(*) from comptemp WHERE NAME='" + name + "'")) {
+ java.sql.ResultSet dataSet =
+ database.getResultSet("select count(*) from comptemp WHERE NAME='" + name + "'")) {
dataSet.next();
int size = dataSet.getInt(1);
if (size == 0) {
@@ -450,7 +453,7 @@ public static void updateTable(String tableName) {
* Drops and re-creates table from contents in csv file.
*
* @param tableName Name of table to replace
- * @param path Path to csv file to get table data from
+ * @param path Path to csv file to get table data from
*/
public static void updateTable(String tableName, String path) {
URL url = NeqSimDataBase.class.getClassLoader().getResource(path);
@@ -460,7 +463,8 @@ public static void updateTable(String tableName, String path) {
}
try (neqsim.util.database.NeqSimDataBase database = new neqsim.util.database.NeqSimDataBase()) {
database.execute("DROP TABLE IF EXISTS " + tableName);
- String sqlString = "CREATE TABLE " + tableName + " AS SELECT * FROM CSVREAD('file:" + url + "')";
+ String sqlString =
+ "CREATE TABLE " + tableName + " AS SELECT * FROM CSVREAD('file:" + url + "')";
database.execute(sqlString);
} catch (Exception ex) {
logger.error("Failed updating table " + tableName, ex);
@@ -471,7 +475,7 @@ public static void updateTable(String tableName, String path) {
* Drops and re-creates table from contents in csv file.
*
* @param tableName Name of table to replace
- * @param path Path to csv file to
+ * @param path Path to csv file to
*/
public static void replaceTable(String tableName, String path) {
try (neqsim.util.database.NeqSimDataBase database = new neqsim.util.database.NeqSimDataBase()) {
@@ -493,7 +497,8 @@ public static void replaceTable(String tableName, String path) {
*/
public static void initH2DatabaseFromCSVfiles() {
h2IsInitalizing = true;
- neqsim.util.database.NeqSimDataBase.connectionString = "jdbc:h2:mem:neqsimthermodatabase;DB_CLOSE_DELAY=-1";
+ neqsim.util.database.NeqSimDataBase.connectionString =
+ "jdbc:h2:mem:neqsimthermodatabase;DB_CLOSE_DELAY=-1";
neqsim.util.database.NeqSimDataBase.dataBaseType = "H2";
try {
@@ -537,7 +542,8 @@ public static void initH2DatabaseFromCSVfiles() {
// technicalrequirements, technicalrequirements_process, materialpipeproperties,
// materialplateproperties, fittings, LuciaData, Luciadata8
- try (neqsim.util.database.NeqSimDataBase database = new neqsim.util.database.NeqSimDataBase()) {
+ try (neqsim.util.database.NeqSimDataBase database =
+ new neqsim.util.database.NeqSimDataBase()) {
database.execute("CREATE TABLE comptemp AS SELECT * FROM comp");
database.execute("CREATE TABLE intertemp AS SELECT * FROM inter");
}
diff --git a/src/main/java/neqsim/util/database/NeqSimExperimentDatabase.java b/src/main/java/neqsim/util/database/NeqSimExperimentDatabase.java
index 07fd5ce17d..bce10bd464 100644
--- a/src/main/java/neqsim/util/database/NeqSimExperimentDatabase.java
+++ b/src/main/java/neqsim/util/database/NeqSimExperimentDatabase.java
@@ -40,7 +40,9 @@ public void setCreateTemporaryTables(boolean createTemporaryTables) {
NeqSimExperimentDatabase.createTemporaryTables = createTemporaryTables;
}
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(NeqSimExperimentDatabase.class);
/** Constant dataBasePath=""
. */
diff --git a/src/main/java/neqsim/util/database/NeqSimFluidDataBase.java b/src/main/java/neqsim/util/database/NeqSimFluidDataBase.java
index 83ff08e603..735af07d3c 100644
--- a/src/main/java/neqsim/util/database/NeqSimFluidDataBase.java
+++ b/src/main/java/neqsim/util/database/NeqSimFluidDataBase.java
@@ -19,7 +19,9 @@
*/
public class NeqSimFluidDataBase
implements neqsim.util.util.FileSystemSettings, java.io.Serializable {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(NeqSimFluidDataBase.class);
static boolean started = false;
diff --git a/src/main/java/neqsim/util/database/NeqSimProcessDesignDataBase.java b/src/main/java/neqsim/util/database/NeqSimProcessDesignDataBase.java
index 00da2647b2..68770d9af7 100644
--- a/src/main/java/neqsim/util/database/NeqSimProcessDesignDataBase.java
+++ b/src/main/java/neqsim/util/database/NeqSimProcessDesignDataBase.java
@@ -14,7 +14,9 @@
* @version June 2023
*/
public class NeqSimProcessDesignDataBase extends NeqSimDataBase {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(NeqSimProcessDesignDataBase.class);
/** Constant dataBasePath=""
. */
diff --git a/src/main/java/neqsim/util/exception/InvalidInputException.java b/src/main/java/neqsim/util/exception/InvalidInputException.java
index 03f5a570e6..cafd9f9387 100644
--- a/src/main/java/neqsim/util/exception/InvalidInputException.java
+++ b/src/main/java/neqsim/util/exception/InvalidInputException.java
@@ -9,6 +9,7 @@
* @version $Id: $Id
*/
public class InvalidInputException extends neqsim.util.exception.ThermoException {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/exception/InvalidOutputException.java b/src/main/java/neqsim/util/exception/InvalidOutputException.java
index 38f5d90426..812d3e8446 100644
--- a/src/main/java/neqsim/util/exception/InvalidOutputException.java
+++ b/src/main/java/neqsim/util/exception/InvalidOutputException.java
@@ -9,6 +9,7 @@
* @version $Id: $Id
*/
public class InvalidOutputException extends neqsim.util.exception.ThermoException {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/exception/IsNaNException.java b/src/main/java/neqsim/util/exception/IsNaNException.java
index c21a83eed3..082efc42b7 100644
--- a/src/main/java/neqsim/util/exception/IsNaNException.java
+++ b/src/main/java/neqsim/util/exception/IsNaNException.java
@@ -9,6 +9,7 @@
* @version $Id: $Id
*/
public class IsNaNException extends neqsim.util.exception.ThermoException {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/exception/NotImplementedException.java b/src/main/java/neqsim/util/exception/NotImplementedException.java
index 8b6856e9d0..b5ee5d7e1d 100644
--- a/src/main/java/neqsim/util/exception/NotImplementedException.java
+++ b/src/main/java/neqsim/util/exception/NotImplementedException.java
@@ -8,6 +8,7 @@
* @author Ã…smund VÃ¥ge Fannemel
*/
public class NotImplementedException extends neqsim.util.exception.ThermoException {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/exception/NotInitializedException.java b/src/main/java/neqsim/util/exception/NotInitializedException.java
index 7cd6d29e62..1b5f6900b3 100644
--- a/src/main/java/neqsim/util/exception/NotInitializedException.java
+++ b/src/main/java/neqsim/util/exception/NotInitializedException.java
@@ -9,54 +9,55 @@
* @version $Id: $Id
*/
public class NotInitializedException extends neqsim.util.exception.ThermoException {
- private static final long serialVersionUID = 1000;
+ /** Serialization version UID. */
+ private static final long serialVersionUID = 1000;
- /**
- * Constructs an NotInitializedException
with the specified detail message.
- *
- * @param className Class exception is raised from
- * @param methodName Method exception is raised from
- * @param msg Detailed error message
- */
- public NotInitializedException(String className, String methodName, String msg) {
- super(className, methodName, msg);
- }
+ /**
+ * Constructs an NotInitializedException
with the specified detail message.
+ *
+ * @param className Class exception is raised from
+ * @param methodName Method exception is raised from
+ * @param msg Detailed error message
+ */
+ public NotInitializedException(String className, String methodName, String msg) {
+ super(className, methodName, msg);
+ }
- /**
- * Constructs an NotInitializedException
with default detail message.
- *
- * @param className Class exception is raised from
- * @param methodName Method exception is raised from
- * @param parameter Parameter not initialized
- * @param initMethod Method to call to initialize parameter
- */
- public NotInitializedException(String className, String methodName, String parameter,
- String initMethod) {
- this(className, methodName,
- "Parameter " + parameter + " not initialized. Method " + initMethod + " must be called.");
- }
+ /**
+ * Constructs an NotInitializedException
with default detail message.
+ *
+ * @param className Class exception is raised from
+ * @param methodName Method exception is raised from
+ * @param parameter Parameter not initialized
+ * @param initMethod Method to call to initialize parameter
+ */
+ public NotInitializedException(String className, String methodName, String parameter,
+ String initMethod) {
+ this(className, methodName,
+ "Parameter " + parameter + " not initialized. Method " + initMethod + " must be called.");
+ }
- /**
- * Constructs an NotInitializedException
with the specified detail message.
- *
- * @param obj Object exception is raised from
- * @param methodName Method exception is raised from
- * @param msg Detailed error message
- */
- public NotInitializedException(Object obj, String methodName, String msg) {
- this(obj.getClass().getSimpleName(), methodName, msg);
- }
+ /**
+ * Constructs an NotInitializedException
with the specified detail message.
+ *
+ * @param obj Object exception is raised from
+ * @param methodName Method exception is raised from
+ * @param msg Detailed error message
+ */
+ public NotInitializedException(Object obj, String methodName, String msg) {
+ this(obj.getClass().getSimpleName(), methodName, msg);
+ }
- /**
- * Constructs an NotInitializedException
with default detail message.
- *
- * @param obj Object exception is raised from
- * @param methodName Method exception is raised from
- * @param parameter Parameter not initialized
- * @param initMethod Method to call to initialize parameter
- */
- public NotInitializedException(Object obj, String methodName, String parameter,
- String initMethod) {
- this(obj.getClass().getSimpleName(), methodName, parameter, initMethod);
- }
+ /**
+ * Constructs an NotInitializedException
with default detail message.
+ *
+ * @param obj Object exception is raised from
+ * @param methodName Method exception is raised from
+ * @param parameter Parameter not initialized
+ * @param initMethod Method to call to initialize parameter
+ */
+ public NotInitializedException(Object obj, String methodName, String parameter,
+ String initMethod) {
+ this(obj.getClass().getSimpleName(), methodName, parameter, initMethod);
+ }
}
diff --git a/src/main/java/neqsim/util/exception/ThermoException.java b/src/main/java/neqsim/util/exception/ThermoException.java
index 11a59874fc..23f2c8ff08 100644
--- a/src/main/java/neqsim/util/exception/ThermoException.java
+++ b/src/main/java/neqsim/util/exception/ThermoException.java
@@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public abstract class ThermoException extends java.lang.Exception {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/exception/TooManyIterationsException.java b/src/main/java/neqsim/util/exception/TooManyIterationsException.java
index 1452843f8f..90523eb90b 100644
--- a/src/main/java/neqsim/util/exception/TooManyIterationsException.java
+++ b/src/main/java/neqsim/util/exception/TooManyIterationsException.java
@@ -9,6 +9,7 @@
* @version $Id: $Id
*/
public class TooManyIterationsException extends neqsim.util.exception.ThermoException {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/unit/BaseUnit.java b/src/main/java/neqsim/util/unit/BaseUnit.java
index 7407e5963a..66255c51aa 100644
--- a/src/main/java/neqsim/util/unit/BaseUnit.java
+++ b/src/main/java/neqsim/util/unit/BaseUnit.java
@@ -9,6 +9,7 @@
* @version $Id: $Id
*/
public abstract class BaseUnit implements Unit, neqsim.thermo.ThermodynamicConstantsInterface {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Process value in SI units */
diff --git a/src/main/java/neqsim/util/unit/LengthUnit.java b/src/main/java/neqsim/util/unit/LengthUnit.java
index 867650ab9b..b03b349996 100644
--- a/src/main/java/neqsim/util/unit/LengthUnit.java
+++ b/src/main/java/neqsim/util/unit/LengthUnit.java
@@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public class LengthUnit extends neqsim.util.unit.BaseUnit {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/unit/PressureUnit.java b/src/main/java/neqsim/util/unit/PressureUnit.java
index 5d8769fb92..d4cc158023 100644
--- a/src/main/java/neqsim/util/unit/PressureUnit.java
+++ b/src/main/java/neqsim/util/unit/PressureUnit.java
@@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class PressureUnit extends neqsim.util.unit.BaseUnit {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/unit/RateUnit.java b/src/main/java/neqsim/util/unit/RateUnit.java
index 88da94593c..8de89a68f8 100644
--- a/src/main/java/neqsim/util/unit/RateUnit.java
+++ b/src/main/java/neqsim/util/unit/RateUnit.java
@@ -20,7 +20,9 @@
* @version $Id: $Id
*/
public class RateUnit extends neqsim.util.unit.BaseUnit {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(RateUnit.class);
double molarmass = 0.0;
diff --git a/src/main/java/neqsim/util/unit/TemperatureUnit.java b/src/main/java/neqsim/util/unit/TemperatureUnit.java
index 14b23d6253..23ad4a52eb 100644
--- a/src/main/java/neqsim/util/unit/TemperatureUnit.java
+++ b/src/main/java/neqsim/util/unit/TemperatureUnit.java
@@ -9,6 +9,7 @@
* @version $Id: $Id
*/
public class TemperatureUnit extends neqsim.util.unit.BaseUnit {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/unit/TimeUnit.java b/src/main/java/neqsim/util/unit/TimeUnit.java
index bb5aff3a7c..4f8a8c87dc 100644
--- a/src/main/java/neqsim/util/unit/TimeUnit.java
+++ b/src/main/java/neqsim/util/unit/TimeUnit.java
@@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public class TimeUnit extends neqsim.util.unit.BaseUnit {
+ /** Serialization version UID. */
private static final long serialVersionUID = 1000;
/**
diff --git a/src/main/java/neqsim/util/util/DoubleCloneable.java b/src/main/java/neqsim/util/util/DoubleCloneable.java
index c1b2292b41..783258fbd1 100644
--- a/src/main/java/neqsim/util/util/DoubleCloneable.java
+++ b/src/main/java/neqsim/util/util/DoubleCloneable.java
@@ -19,6 +19,7 @@
* @version $Id: $Id
*/
public class DoubleCloneable implements Cloneable {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(DoubleCloneable.class);
double doubleValue;
diff --git a/src/test/java/neqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/StratifiedFlowNodeTest.java b/src/test/java/neqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/StratifiedFlowNodeTest.java
index bc94c70b28..c36dd0a537 100644
--- a/src/test/java/neqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/StratifiedFlowNodeTest.java
+++ b/src/test/java/neqsim/fluidmechanics/flownode/twophasenode/twophasepipeflownode/StratifiedFlowNodeTest.java
@@ -11,6 +11,7 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class StratifiedFlowNodeTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(StratifiedFlowNodeTest.class);
@Test
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TPflashTest.java b/src/test/java/neqsim/physicalproperties/util/examples/TPflashTest.java
index 9a8b31f29d..1989060998 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TPflashTest.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TPflashTest.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TPflashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflashTest.class);
/**
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TPflashWater.java b/src/test/java/neqsim/physicalproperties/util/examples/TPflashWater.java
index af6d992d82..9ec57dd72d 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TPflashWater.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TPflashWater.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TPflashWater {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflashWater.class);
/**
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TPflash_1.java b/src/test/java/neqsim/physicalproperties/util/examples/TPflash_1.java
index ab0fc162a1..75f44999ad 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TPflash_1.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TPflash_1.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TPflash_1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflash_1.class);
/**
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TestCondensate.java b/src/test/java/neqsim/physicalproperties/util/examples/TestCondensate.java
index 24d68669f5..5b14cff90a 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TestCondensate.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TestCondensate.java
@@ -19,6 +19,7 @@
* @since 2.2.3
*/
public class TestCondensate {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestCondensate.class);
/**
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TestDiffusionCoefficient.java b/src/test/java/neqsim/physicalproperties/util/examples/TestDiffusionCoefficient.java
index 14acfe1caf..d0e02bcbae 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TestDiffusionCoefficient.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TestDiffusionCoefficient.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestDiffusionCoefficient {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestDiffusionCoefficient.class);
/**
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TestSolidAdsorption.java b/src/test/java/neqsim/physicalproperties/util/examples/TestSolidAdsorption.java
index f05d52b8ad..949d08306d 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TestSolidAdsorption.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TestSolidAdsorption.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestSolidAdsorption {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestSolidAdsorption.class);
/**
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTenison.java b/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTenison.java
index 76df911c09..6fab1021ad 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTenison.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTenison.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestSurfaceTenison {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestSurfaceTenison.class);
/**
diff --git a/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTensionOde.java b/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTensionOde.java
index e0e0bdca06..61a47659ac 100644
--- a/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTensionOde.java
+++ b/src/test/java/neqsim/physicalproperties/util/examples/TestSurfaceTensionOde.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestSurfaceTensionOde {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestSurfaceTensionOde.class);
/**
diff --git a/src/test/java/neqsim/process/equipment/compressor/CompressorTest.java b/src/test/java/neqsim/process/equipment/compressor/CompressorTest.java
index e4eae7fa30..2dce2ab859 100644
--- a/src/test/java/neqsim/process/equipment/compressor/CompressorTest.java
+++ b/src/test/java/neqsim/process/equipment/compressor/CompressorTest.java
@@ -19,6 +19,7 @@
import neqsim.thermo.system.SystemSrkEos;
class CompressorTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CompressorTest.class);
static neqsim.thermo.system.SystemInterface testSystem = null;
diff --git a/src/test/java/neqsim/process/equipment/heatexchanger/MultiStreamHeatExchangerTest.java b/src/test/java/neqsim/process/equipment/heatexchanger/MultiStreamHeatExchangerTest.java
index df33fdef9e..98bcc58a02 100644
--- a/src/test/java/neqsim/process/equipment/heatexchanger/MultiStreamHeatExchangerTest.java
+++ b/src/test/java/neqsim/process/equipment/heatexchanger/MultiStreamHeatExchangerTest.java
@@ -13,6 +13,7 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class MultiStreamHeatExchangerTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(MultiStreamHeatExchangerTest.class);
static neqsim.thermo.system.SystemInterface testSystem;
@@ -51,7 +52,8 @@ void testRun1() {
// heatEx.setUAvalue(1000);
heatEx.setTemperatureApproach(5);
- neqsim.process.processmodel.ProcessSystem operations = new neqsim.process.processmodel.ProcessSystem();
+ neqsim.process.processmodel.ProcessSystem operations =
+ new neqsim.process.processmodel.ProcessSystem();
operations.add(stream_Hot);
operations.add(stream_Cold);
operations.add(stream_Cold2);
@@ -76,7 +78,8 @@ void testRun1() {
@Test
void testRun2() {
- neqsim.process.processmodel.ProcessSystem operations = new neqsim.process.processmodel.ProcessSystem();
+ neqsim.process.processmodel.ProcessSystem operations =
+ new neqsim.process.processmodel.ProcessSystem();
Stream feed_stream = new Stream("Stream1", testSystem);
feed_stream.setTemperature(30.0, "C");
diff --git a/src/test/java/neqsim/process/equipment/powergeneration/GasTurbineTest.java b/src/test/java/neqsim/process/equipment/powergeneration/GasTurbineTest.java
index 8133c82c8d..bdaa774765 100644
--- a/src/test/java/neqsim/process/equipment/powergeneration/GasTurbineTest.java
+++ b/src/test/java/neqsim/process/equipment/powergeneration/GasTurbineTest.java
@@ -12,6 +12,7 @@
import neqsim.thermo.system.SystemSrkEos;
public class GasTurbineTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(GasTurbineTest.class);
static neqsim.thermo.system.SystemInterface testSystem;
diff --git a/src/test/java/neqsim/process/equipment/reservoir/SimpleReservoirTest.java b/src/test/java/neqsim/process/equipment/reservoir/SimpleReservoirTest.java
index 926966e6fa..d8f6073b66 100644
--- a/src/test/java/neqsim/process/equipment/reservoir/SimpleReservoirTest.java
+++ b/src/test/java/neqsim/process/equipment/reservoir/SimpleReservoirTest.java
@@ -8,6 +8,7 @@
import neqsim.process.equipment.stream.StreamInterface;
public class SimpleReservoirTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SimpleReservoirTest.class);
@Test
diff --git a/src/test/java/neqsim/process/equipment/splitter/ComponentSplitterTest.java b/src/test/java/neqsim/process/equipment/splitter/ComponentSplitterTest.java
index 887aca9090..d5b7c0a2a8 100644
--- a/src/test/java/neqsim/process/equipment/splitter/ComponentSplitterTest.java
+++ b/src/test/java/neqsim/process/equipment/splitter/ComponentSplitterTest.java
@@ -17,6 +17,7 @@
import neqsim.thermo.system.SystemSrkEos;
class ComponentSplitterTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ComponentSplitterTest.class);
static neqsim.thermo.system.SystemInterface testSystem = null;
diff --git a/src/test/java/neqsim/process/measurementdevice/WellAllocatorTest.java b/src/test/java/neqsim/process/measurementdevice/WellAllocatorTest.java
index 6fa8cd6295..fab6247452 100644
--- a/src/test/java/neqsim/process/measurementdevice/WellAllocatorTest.java
+++ b/src/test/java/neqsim/process/measurementdevice/WellAllocatorTest.java
@@ -14,6 +14,7 @@
* @author ESOL
*/
class WellAllocatorTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(WellAllocatorTest.class);
/**
diff --git a/src/test/java/neqsim/process/measurementdevice/pHProbeTest.java b/src/test/java/neqsim/process/measurementdevice/pHProbeTest.java
index c25c625a7c..49309d9b09 100644
--- a/src/test/java/neqsim/process/measurementdevice/pHProbeTest.java
+++ b/src/test/java/neqsim/process/measurementdevice/pHProbeTest.java
@@ -12,6 +12,7 @@
import neqsim.thermo.system.SystemSrkCPAstatoil;
class pHProbeTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(pHProbeTest.class);
static SystemInterface testFluid;
diff --git a/src/test/java/neqsim/process/processmodel/CombinedModelsTest.java b/src/test/java/neqsim/process/processmodel/CombinedModelsTest.java
index 9228b6bb10..100dd98bf0 100644
--- a/src/test/java/neqsim/process/processmodel/CombinedModelsTest.java
+++ b/src/test/java/neqsim/process/processmodel/CombinedModelsTest.java
@@ -47,6 +47,7 @@
*
*/
public class CombinedModelsTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CombinedModelsTest.class);
public ProcessSystem getinletModel() {
diff --git a/src/test/java/neqsim/process/processmodel/GlycolRigTest.java b/src/test/java/neqsim/process/processmodel/GlycolRigTest.java
index 06c77e5711..2964576c56 100644
--- a/src/test/java/neqsim/process/processmodel/GlycolRigTest.java
+++ b/src/test/java/neqsim/process/processmodel/GlycolRigTest.java
@@ -20,6 +20,7 @@
* Test class for GlycolRig.
*/
public class GlycolRigTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(GlycolRigTest.class);
ProcessSystem p;
diff --git a/src/test/java/neqsim/process/processmodel/LargeCombinedModelsTest.java b/src/test/java/neqsim/process/processmodel/LargeCombinedModelsTest.java
index f669ded363..6e09b0a21b 100644
--- a/src/test/java/neqsim/process/processmodel/LargeCombinedModelsTest.java
+++ b/src/test/java/neqsim/process/processmodel/LargeCombinedModelsTest.java
@@ -27,6 +27,7 @@
import neqsim.thermo.system.SystemPrEos;
public class LargeCombinedModelsTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LargeCombinedModelsTest.class);
File file = new File("src/test/java/neqsim/process/processmodel");
String fileFluid1 = file.getAbsolutePath() + "/feedfluid.e300";
diff --git a/src/test/java/neqsim/process/processmodel/OilProcessTest.java b/src/test/java/neqsim/process/processmodel/OilProcessTest.java
index bb871a1f16..4536fcb4fb 100644
--- a/src/test/java/neqsim/process/processmodel/OilProcessTest.java
+++ b/src/test/java/neqsim/process/processmodel/OilProcessTest.java
@@ -9,6 +9,7 @@
* Test class for GlycolRig.
*/
public class OilProcessTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OilProcessTest.class);
ProcessSystem p;
diff --git a/src/test/java/neqsim/process/processmodel/ProcessSystemControllerTest.java b/src/test/java/neqsim/process/processmodel/ProcessSystemControllerTest.java
index 0ec1457890..10bbad83c4 100644
--- a/src/test/java/neqsim/process/processmodel/ProcessSystemControllerTest.java
+++ b/src/test/java/neqsim/process/processmodel/ProcessSystemControllerTest.java
@@ -15,6 +15,7 @@
import neqsim.thermo.system.SystemInterface;
public class ProcessSystemControllerTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ProcessSystemControllerTest.class);
ProcessSystem p;
diff --git a/src/test/java/neqsim/process/processmodel/ProcessSystemTest.java b/src/test/java/neqsim/process/processmodel/ProcessSystemTest.java
index aad7353cbc..61492b281b 100644
--- a/src/test/java/neqsim/process/processmodel/ProcessSystemTest.java
+++ b/src/test/java/neqsim/process/processmodel/ProcessSystemTest.java
@@ -31,6 +31,7 @@
* Class for testing ProcessSystem class.
*/
public class ProcessSystemTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ProcessSystemTest.class);
ProcessSystem p;
diff --git a/src/test/java/neqsim/process/util/example/OnshoreProcess1.java b/src/test/java/neqsim/process/util/example/OnshoreProcess1.java
index 213617b114..1bde0bb4aa 100644
--- a/src/test/java/neqsim/process/util/example/OnshoreProcess1.java
+++ b/src/test/java/neqsim/process/util/example/OnshoreProcess1.java
@@ -28,6 +28,7 @@
* @since 2.2.3
*/
public class OnshoreProcess1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OnshoreProcess1.class);
/**
diff --git a/src/test/java/neqsim/process/util/example/compressorTest_1.java b/src/test/java/neqsim/process/util/example/compressorTest_1.java
index 371f1d57fa..dbbf7cfd92 100644
--- a/src/test/java/neqsim/process/util/example/compressorTest_1.java
+++ b/src/test/java/neqsim/process/util/example/compressorTest_1.java
@@ -16,6 +16,7 @@
* @since 2.2.3
*/
public class compressorTest_1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(compressorTest_1.class);
/**
diff --git a/src/test/java/neqsim/process/util/example/multiThreadTest.java b/src/test/java/neqsim/process/util/example/multiThreadTest.java
index bcf80e49e8..81657d93c7 100644
--- a/src/test/java/neqsim/process/util/example/multiThreadTest.java
+++ b/src/test/java/neqsim/process/util/example/multiThreadTest.java
@@ -23,6 +23,7 @@
* @since 2.2.3
*/
public class multiThreadTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(multiThreadTest.class);
/**
diff --git a/src/test/java/neqsim/process/util/example/shtokman_MEG.java b/src/test/java/neqsim/process/util/example/shtokman_MEG.java
index 560c6d2c36..5c29882b5c 100644
--- a/src/test/java/neqsim/process/util/example/shtokman_MEG.java
+++ b/src/test/java/neqsim/process/util/example/shtokman_MEG.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class shtokman_MEG {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(shtokman_MEG.class);
/**
diff --git a/src/test/java/neqsim/process/util/example/testGasScrubber.java b/src/test/java/neqsim/process/util/example/testGasScrubber.java
index 930666cf69..8c8231f4f3 100644
--- a/src/test/java/neqsim/process/util/example/testGasScrubber.java
+++ b/src/test/java/neqsim/process/util/example/testGasScrubber.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class testGasScrubber {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(testGasScrubber.class);
/**
diff --git a/src/test/java/neqsim/thermo/component/AmmoniaTest.java b/src/test/java/neqsim/thermo/component/AmmoniaTest.java
index 394f76a8f2..12766f4638 100644
--- a/src/test/java/neqsim/thermo/component/AmmoniaTest.java
+++ b/src/test/java/neqsim/thermo/component/AmmoniaTest.java
@@ -11,6 +11,7 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class AmmoniaTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(AmmoniaTest.class);
static SystemInterface thermoSystem = null;
diff --git a/src/test/java/neqsim/thermo/component/ComponentHydrateGFTest.java b/src/test/java/neqsim/thermo/component/ComponentHydrateGFTest.java
index 8aff402d4d..20369a424c 100644
--- a/src/test/java/neqsim/thermo/component/ComponentHydrateGFTest.java
+++ b/src/test/java/neqsim/thermo/component/ComponentHydrateGFTest.java
@@ -14,6 +14,7 @@
* @author ESOL
*/
class ComponentHydrateGFTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ComponentHydrateGFTest.class);
static SystemInterface thermoSystem = null;
diff --git a/src/test/java/neqsim/thermo/system/AcidTest.java b/src/test/java/neqsim/thermo/system/AcidTest.java
index 888cfa2bc0..c932d2c0a6 100644
--- a/src/test/java/neqsim/thermo/system/AcidTest.java
+++ b/src/test/java/neqsim/thermo/system/AcidTest.java
@@ -10,6 +10,7 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class AcidTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(AcidTest.class);
/**
diff --git a/src/test/java/neqsim/thermo/system/SystemThermoSetMolarCompositionTest.java b/src/test/java/neqsim/thermo/system/SystemThermoSetMolarCompositionTest.java
index ae619dec85..f4bc938200 100644
--- a/src/test/java/neqsim/thermo/system/SystemThermoSetMolarCompositionTest.java
+++ b/src/test/java/neqsim/thermo/system/SystemThermoSetMolarCompositionTest.java
@@ -8,6 +8,7 @@
import org.junit.jupiter.api.Test;
public class SystemThermoSetMolarCompositionTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SystemThermoSetMolarCompositionTest.class);
SystemInterface sys;
diff --git a/src/test/java/neqsim/thermo/system/SystemUMRPRUMCEosNewTest.java b/src/test/java/neqsim/thermo/system/SystemUMRPRUMCEosNewTest.java
index ef43ec56ac..d9fc540792 100644
--- a/src/test/java/neqsim/thermo/system/SystemUMRPRUMCEosNewTest.java
+++ b/src/test/java/neqsim/thermo/system/SystemUMRPRUMCEosNewTest.java
@@ -13,6 +13,7 @@
import neqsim.util.database.NeqSimDataBase;
class SystemUMRPRUMCEosNewTest extends neqsim.NeqSimTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SystemUMRPRUMCEosNewTest.class);
static neqsim.thermo.system.SystemInterface testSystem = null;
diff --git a/src/test/java/neqsim/thermo/util/example/AmineFlash.java b/src/test/java/neqsim/thermo/util/example/AmineFlash.java
index a5f319b1ba..8c3ef4aab9 100644
--- a/src/test/java/neqsim/thermo/util/example/AmineFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/AmineFlash.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class AmineFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(AmineFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/BubbleFlash.java b/src/test/java/neqsim/thermo/util/example/BubbleFlash.java
index b154771e45..24378d71f1 100644
--- a/src/test/java/neqsim/thermo/util/example/BubbleFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/BubbleFlash.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class BubbleFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(BubbleFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/BubbleFlashCPA.java b/src/test/java/neqsim/thermo/util/example/BubbleFlashCPA.java
index 6c3aa86445..c9b348dbab 100644
--- a/src/test/java/neqsim/thermo/util/example/BubbleFlashCPA.java
+++ b/src/test/java/neqsim/thermo/util/example/BubbleFlashCPA.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class BubbleFlashCPA {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(BubbleFlashCPA.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/CricondenbarTest.java b/src/test/java/neqsim/thermo/util/example/CricondenbarTest.java
index a7b84c61d5..96dd26cf66 100644
--- a/src/test/java/neqsim/thermo/util/example/CricondenbarTest.java
+++ b/src/test/java/neqsim/thermo/util/example/CricondenbarTest.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class CricondenbarTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CricondenbarTest.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/DewPointCurve.java b/src/test/java/neqsim/thermo/util/example/DewPointCurve.java
index 7915e672dd..f1dc3c1f61 100644
--- a/src/test/java/neqsim/thermo/util/example/DewPointCurve.java
+++ b/src/test/java/neqsim/thermo/util/example/DewPointCurve.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class DewPointCurve {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(DewPointCurve.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/FreezeMEGwater.java b/src/test/java/neqsim/thermo/util/example/FreezeMEGwater.java
index a294c3a6a6..0d85ea45c0 100644
--- a/src/test/java/neqsim/thermo/util/example/FreezeMEGwater.java
+++ b/src/test/java/neqsim/thermo/util/example/FreezeMEGwater.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class FreezeMEGwater {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FreezeMEGwater.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/FreezingPoint.java b/src/test/java/neqsim/thermo/util/example/FreezingPoint.java
index 44de79fb8b..3161638306 100644
--- a/src/test/java/neqsim/thermo/util/example/FreezingPoint.java
+++ b/src/test/java/neqsim/thermo/util/example/FreezingPoint.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class FreezingPoint {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(FreezingPoint.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/H2Sdistribution.java b/src/test/java/neqsim/thermo/util/example/H2Sdistribution.java
index c770fe0866..a224143658 100644
--- a/src/test/java/neqsim/thermo/util/example/H2Sdistribution.java
+++ b/src/test/java/neqsim/thermo/util/example/H2Sdistribution.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class H2Sdistribution {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(H2Sdistribution.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/HeatOfVaporization.java b/src/test/java/neqsim/thermo/util/example/HeatOfVaporization.java
index f003e090a8..8b2597dd6a 100644
--- a/src/test/java/neqsim/thermo/util/example/HeatOfVaporization.java
+++ b/src/test/java/neqsim/thermo/util/example/HeatOfVaporization.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class HeatOfVaporization {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HeatOfVaporization.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/HydrateFlash.java b/src/test/java/neqsim/thermo/util/example/HydrateFlash.java
index abde54d3a1..c329060c07 100644
--- a/src/test/java/neqsim/thermo/util/example/HydrateFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/HydrateFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class HydrateFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HydrateFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/HydrateFlash2.java b/src/test/java/neqsim/thermo/util/example/HydrateFlash2.java
index bbe71bef3b..c15c76c6d6 100644
--- a/src/test/java/neqsim/thermo/util/example/HydrateFlash2.java
+++ b/src/test/java/neqsim/thermo/util/example/HydrateFlash2.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class HydrateFlash2 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(HydrateFlash2.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/LNGFlash.java b/src/test/java/neqsim/thermo/util/example/LNGFlash.java
index 3d633f2218..1e5f2f8c74 100644
--- a/src/test/java/neqsim/thermo/util/example/LNGFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/LNGFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class LNGFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LNGFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/LNGfilling.java b/src/test/java/neqsim/thermo/util/example/LNGfilling.java
index e7ee4553b6..882d0278c8 100644
--- a/src/test/java/neqsim/thermo/util/example/LNGfilling.java
+++ b/src/test/java/neqsim/thermo/util/example/LNGfilling.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class LNGfilling {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LNGfilling.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/LNGfreezing.java b/src/test/java/neqsim/thermo/util/example/LNGfreezing.java
index db8f3cf7db..099f1f318d 100644
--- a/src/test/java/neqsim/thermo/util/example/LNGfreezing.java
+++ b/src/test/java/neqsim/thermo/util/example/LNGfreezing.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class LNGfreezing {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LNGfreezing.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/LNGfreezingTestSolid1.java b/src/test/java/neqsim/thermo/util/example/LNGfreezingTestSolid1.java
index f0462aa111..c6c546139f 100644
--- a/src/test/java/neqsim/thermo/util/example/LNGfreezingTestSolid1.java
+++ b/src/test/java/neqsim/thermo/util/example/LNGfreezingTestSolid1.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class LNGfreezingTestSolid1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(LNGfreezingTestSolid1.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/ModelTest.java b/src/test/java/neqsim/thermo/util/example/ModelTest.java
index de6608a317..ab82ad89c8 100644
--- a/src/test/java/neqsim/thermo/util/example/ModelTest.java
+++ b/src/test/java/neqsim/thermo/util/example/ModelTest.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class ModelTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ModelTest.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/PhaseEnvelope.java b/src/test/java/neqsim/thermo/util/example/PhaseEnvelope.java
index ed2f78d682..7e3636ac0c 100644
--- a/src/test/java/neqsim/thermo/util/example/PhaseEnvelope.java
+++ b/src/test/java/neqsim/thermo/util/example/PhaseEnvelope.java
@@ -19,6 +19,7 @@
* @version $Id: $Id
*/
public class PhaseEnvelope {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PhaseEnvelope.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/PhaseEnvelope2.java b/src/test/java/neqsim/thermo/util/example/PhaseEnvelope2.java
index fe38d87af2..6d26265f63 100644
--- a/src/test/java/neqsim/thermo/util/example/PhaseEnvelope2.java
+++ b/src/test/java/neqsim/thermo/util/example/PhaseEnvelope2.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class PhaseEnvelope2 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PhaseEnvelope2.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/PressureLoadingCurve.java b/src/test/java/neqsim/thermo/util/example/PressureLoadingCurve.java
index fd7e0eae9c..63d9e9fff8 100644
--- a/src/test/java/neqsim/thermo/util/example/PressureLoadingCurve.java
+++ b/src/test/java/neqsim/thermo/util/example/PressureLoadingCurve.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class PressureLoadingCurve {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PressureLoadingCurve.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/ReactiveKentEisenberg.java b/src/test/java/neqsim/thermo/util/example/ReactiveKentEisenberg.java
index e1db338d4d..8fe24d0ec3 100644
--- a/src/test/java/neqsim/thermo/util/example/ReactiveKentEisenberg.java
+++ b/src/test/java/neqsim/thermo/util/example/ReactiveKentEisenberg.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class ReactiveKentEisenberg {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ReactiveKentEisenberg.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/ReactiveTPflash.java b/src/test/java/neqsim/thermo/util/example/ReactiveTPflash.java
index 9886af4f89..c0b5dc6de9 100644
--- a/src/test/java/neqsim/thermo/util/example/ReactiveTPflash.java
+++ b/src/test/java/neqsim/thermo/util/example/ReactiveTPflash.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class ReactiveTPflash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ReactiveTPflash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/ReactiveTPflash2.java b/src/test/java/neqsim/thermo/util/example/ReactiveTPflash2.java
index 9c7cc86cf5..16305aa3e6 100644
--- a/src/test/java/neqsim/thermo/util/example/ReactiveTPflash2.java
+++ b/src/test/java/neqsim/thermo/util/example/ReactiveTPflash2.java
@@ -24,6 +24,7 @@
* @version $Id: $Id
*/
public class ReactiveTPflash2 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ReactiveTPflash2.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/ReadFluidData.java b/src/test/java/neqsim/thermo/util/example/ReadFluidData.java
index 7a0508f336..22249c0b50 100644
--- a/src/test/java/neqsim/thermo/util/example/ReadFluidData.java
+++ b/src/test/java/neqsim/thermo/util/example/ReadFluidData.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class ReadFluidData {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ReadFluidData.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/ReadFluidData2.java b/src/test/java/neqsim/thermo/util/example/ReadFluidData2.java
index facc9da2a9..eb121ce8d5 100644
--- a/src/test/java/neqsim/thermo/util/example/ReadFluidData2.java
+++ b/src/test/java/neqsim/thermo/util/example/ReadFluidData2.java
@@ -19,6 +19,7 @@
* @since 2.2.3
*/
public class ReadFluidData2 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ReadFluidData.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/ScalePotentialCheck.java b/src/test/java/neqsim/thermo/util/example/ScalePotentialCheck.java
index d9ee90cb10..a6388169f3 100644
--- a/src/test/java/neqsim/thermo/util/example/ScalePotentialCheck.java
+++ b/src/test/java/neqsim/thermo/util/example/ScalePotentialCheck.java
@@ -23,6 +23,7 @@
* @since 2.2.3
*/
public class ScalePotentialCheck {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(ScalePotentialCheck.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/SolidFlash.java b/src/test/java/neqsim/thermo/util/example/SolidFlash.java
index d76b818593..06b584ab2f 100644
--- a/src/test/java/neqsim/thermo/util/example/SolidFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/SolidFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class SolidFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SolidFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/SulfureDeposition.java b/src/test/java/neqsim/thermo/util/example/SulfureDeposition.java
index 03d87e2d17..64357dd721 100644
--- a/src/test/java/neqsim/thermo/util/example/SulfureDeposition.java
+++ b/src/test/java/neqsim/thermo/util/example/SulfureDeposition.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class SulfureDeposition {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SulfureDeposition.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPMultiFlash.java b/src/test/java/neqsim/thermo/util/example/TPMultiFlash.java
index 92118392a4..be6388b382 100644
--- a/src/test/java/neqsim/thermo/util/example/TPMultiFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/TPMultiFlash.java
@@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class TPMultiFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPMultiFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPflash.java b/src/test/java/neqsim/thermo/util/example/TPflash.java
index 20978c871e..8fac1da7bf 100644
--- a/src/test/java/neqsim/thermo/util/example/TPflash.java
+++ b/src/test/java/neqsim/thermo/util/example/TPflash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TPflash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPflash1.java b/src/test/java/neqsim/thermo/util/example/TPflash1.java
index 46f27681c4..49e8cde982 100644
--- a/src/test/java/neqsim/thermo/util/example/TPflash1.java
+++ b/src/test/java/neqsim/thermo/util/example/TPflash1.java
@@ -16,6 +16,7 @@
* @since 2.2.3
*/
public class TPflash1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflash1.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPflash2.java b/src/test/java/neqsim/thermo/util/example/TPflash2.java
index 7c02c0882a..a1b00258db 100644
--- a/src/test/java/neqsim/thermo/util/example/TPflash2.java
+++ b/src/test/java/neqsim/thermo/util/example/TPflash2.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class TPflash2 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflash2.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPflashDehyd.java b/src/test/java/neqsim/thermo/util/example/TPflashDehyd.java
index 01333f5ea8..0a294165ed 100644
--- a/src/test/java/neqsim/thermo/util/example/TPflashDehyd.java
+++ b/src/test/java/neqsim/thermo/util/example/TPflashDehyd.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class TPflashDehyd {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflashDehyd.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPflashGR.java b/src/test/java/neqsim/thermo/util/example/TPflashGR.java
index 100674a6a6..2da1517be1 100644
--- a/src/test/java/neqsim/thermo/util/example/TPflashGR.java
+++ b/src/test/java/neqsim/thermo/util/example/TPflashGR.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TPflashGR {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflashGR.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPflashMembrane.java b/src/test/java/neqsim/thermo/util/example/TPflashMembrane.java
index 15e5aef14d..de72895b52 100644
--- a/src/test/java/neqsim/thermo/util/example/TPflashMembrane.java
+++ b/src/test/java/neqsim/thermo/util/example/TPflashMembrane.java
@@ -19,6 +19,7 @@
* @since 2.2.3
*/
public class TPflashMembrane {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflashMembrane.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TPflashMethanolWaterPropane.java b/src/test/java/neqsim/thermo/util/example/TPflashMethanolWaterPropane.java
index 166c73677e..896b80c555 100644
--- a/src/test/java/neqsim/thermo/util/example/TPflashMethanolWaterPropane.java
+++ b/src/test/java/neqsim/thermo/util/example/TPflashMethanolWaterPropane.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TPflashMethanolWaterPropane {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPflashMethanolWaterPropane.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TVPexample.java b/src/test/java/neqsim/thermo/util/example/TVPexample.java
index e3a42567a2..db2201c469 100644
--- a/src/test/java/neqsim/thermo/util/example/TVPexample.java
+++ b/src/test/java/neqsim/thermo/util/example/TVPexample.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TVPexample {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TVPexample.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestCSPsrk.java b/src/test/java/neqsim/thermo/util/example/TestCSPsrk.java
index 3ff0195777..044cf42296 100644
--- a/src/test/java/neqsim/thermo/util/example/TestCSPsrk.java
+++ b/src/test/java/neqsim/thermo/util/example/TestCSPsrk.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestCSPsrk {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestCSPsrk.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestCharacterizationCPA.java b/src/test/java/neqsim/thermo/util/example/TestCharacterizationCPA.java
index e413a7bdb0..6b16ef4653 100644
--- a/src/test/java/neqsim/thermo/util/example/TestCharacterizationCPA.java
+++ b/src/test/java/neqsim/thermo/util/example/TestCharacterizationCPA.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestCharacterizationCPA {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestCharacterizationCPA.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate.java b/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate.java
index 09380388f8..bb7e5e79fc 100644
--- a/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate.java
+++ b/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestCharacterizationCondensate {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestCharacterizationCondensate.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate1.java b/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate1.java
index 7bc5401bf3..420da89e0d 100644
--- a/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate1.java
+++ b/src/test/java/neqsim/thermo/util/example/TestCharacterizationCondensate1.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class TestCharacterizationCondensate1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestCharacterizationCondensate1.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestElectrolyteCPAstatoil.java b/src/test/java/neqsim/thermo/util/example/TestElectrolyteCPAstatoil.java
index 460da57e5e..01e1370631 100644
--- a/src/test/java/neqsim/thermo/util/example/TestElectrolyteCPAstatoil.java
+++ b/src/test/java/neqsim/thermo/util/example/TestElectrolyteCPAstatoil.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestElectrolyteCPAstatoil {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestElectrolyteCPAstatoil.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestFlash.java b/src/test/java/neqsim/thermo/util/example/TestFlash.java
index 776cc1df4d..59f6d28ee3 100644
--- a/src/test/java/neqsim/thermo/util/example/TestFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/TestFlash.java
@@ -20,6 +20,7 @@
* @since 2.2.3
*/
public class TestFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestFluidIssues.java b/src/test/java/neqsim/thermo/util/example/TestFluidIssues.java
index 7ab1512de1..21bd59ecce 100644
--- a/src/test/java/neqsim/thermo/util/example/TestFluidIssues.java
+++ b/src/test/java/neqsim/thermo/util/example/TestFluidIssues.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestFluidIssues {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestFluidIssues.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestGEHenry.java b/src/test/java/neqsim/thermo/util/example/TestGEHenry.java
index d26da314cb..b4571791ea 100644
--- a/src/test/java/neqsim/thermo/util/example/TestGEHenry.java
+++ b/src/test/java/neqsim/thermo/util/example/TestGEHenry.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestGEHenry {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestGEHenry.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestGERG2004EOS.java b/src/test/java/neqsim/thermo/util/example/TestGERG2004EOS.java
index 8e6d9fadb9..8573b3801e 100644
--- a/src/test/java/neqsim/thermo/util/example/TestGERG2004EOS.java
+++ b/src/test/java/neqsim/thermo/util/example/TestGERG2004EOS.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class TestGERG2004EOS {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestGERG2004EOS.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestGERGwater.java b/src/test/java/neqsim/thermo/util/example/TestGERGwater.java
index c431fcc2c1..61c049f57d 100644
--- a/src/test/java/neqsim/thermo/util/example/TestGERGwater.java
+++ b/src/test/java/neqsim/thermo/util/example/TestGERGwater.java
@@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class TestGERGwater {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestGERGwater.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestISO1982.java b/src/test/java/neqsim/thermo/util/example/TestISO1982.java
index cd105207e3..1de8bb612e 100644
--- a/src/test/java/neqsim/thermo/util/example/TestISO1982.java
+++ b/src/test/java/neqsim/thermo/util/example/TestISO1982.java
@@ -23,6 +23,7 @@
* @since 2.2.3
*/
public class TestISO1982 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestISO1982.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestMBWR32.java b/src/test/java/neqsim/thermo/util/example/TestMBWR32.java
index d7d3e5d39a..e4f3c1e375 100644
--- a/src/test/java/neqsim/thermo/util/example/TestMBWR32.java
+++ b/src/test/java/neqsim/thermo/util/example/TestMBWR32.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestMBWR32 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestMBWR32.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestMEGFlash.java b/src/test/java/neqsim/thermo/util/example/TestMEGFlash.java
index 8918b0094b..0559a6d05d 100644
--- a/src/test/java/neqsim/thermo/util/example/TestMEGFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/TestMEGFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestMEGFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestMEGFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestPCSAFT.java b/src/test/java/neqsim/thermo/util/example/TestPCSAFT.java
index 70a767876e..1fb1c60d6d 100644
--- a/src/test/java/neqsim/thermo/util/example/TestPCSAFT.java
+++ b/src/test/java/neqsim/thermo/util/example/TestPCSAFT.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class TestPCSAFT {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestPCSAFT.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestPCSAFT1.java b/src/test/java/neqsim/thermo/util/example/TestPCSAFT1.java
index 780da5ca67..17cde18d79 100644
--- a/src/test/java/neqsim/thermo/util/example/TestPCSAFT1.java
+++ b/src/test/java/neqsim/thermo/util/example/TestPCSAFT1.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestPCSAFT1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestPCSAFT1.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestPCSAFT1_1.java b/src/test/java/neqsim/thermo/util/example/TestPCSAFT1_1.java
index a38ad1e4d9..25198678e9 100644
--- a/src/test/java/neqsim/thermo/util/example/TestPCSAFT1_1.java
+++ b/src/test/java/neqsim/thermo/util/example/TestPCSAFT1_1.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestPCSAFT1_1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestPCSAFT1_1.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestPSRK.java b/src/test/java/neqsim/thermo/util/example/TestPSRK.java
index da64d06df4..f0d65f443b 100644
--- a/src/test/java/neqsim/thermo/util/example/TestPSRK.java
+++ b/src/test/java/neqsim/thermo/util/example/TestPSRK.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestPSRK {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestPSRK.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestSRKWS.java b/src/test/java/neqsim/thermo/util/example/TestSRKWS.java
index 81523d9fc5..efceac43d0 100644
--- a/src/test/java/neqsim/thermo/util/example/TestSRKWS.java
+++ b/src/test/java/neqsim/thermo/util/example/TestSRKWS.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestSRKWS {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestSRKWS.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestSurfaceTenison.java b/src/test/java/neqsim/thermo/util/example/TestSurfaceTenison.java
index ba4abb8b1b..f93967d927 100644
--- a/src/test/java/neqsim/thermo/util/example/TestSurfaceTenison.java
+++ b/src/test/java/neqsim/thermo/util/example/TestSurfaceTenison.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestSurfaceTenison {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestSurfaceTenison.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestUMRPRU.java b/src/test/java/neqsim/thermo/util/example/TestUMRPRU.java
index 90fe9c0948..e76c48095e 100644
--- a/src/test/java/neqsim/thermo/util/example/TestUMRPRU.java
+++ b/src/test/java/neqsim/thermo/util/example/TestUMRPRU.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestUMRPRU {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestUMRPRU.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestUMRPRUMC.java b/src/test/java/neqsim/thermo/util/example/TestUMRPRUMC.java
index 2d20cd351e..24388adc74 100644
--- a/src/test/java/neqsim/thermo/util/example/TestUMRPRUMC.java
+++ b/src/test/java/neqsim/thermo/util/example/TestUMRPRUMC.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestUMRPRUMC {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestUMRPRUMC.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestUNIFAC.java b/src/test/java/neqsim/thermo/util/example/TestUNIFAC.java
index e3611d05b8..4e9f44b471 100644
--- a/src/test/java/neqsim/thermo/util/example/TestUNIFAC.java
+++ b/src/test/java/neqsim/thermo/util/example/TestUNIFAC.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestUNIFAC {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestUNIFAC.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestUNIFAC_1.java b/src/test/java/neqsim/thermo/util/example/TestUNIFAC_1.java
index 19cf09b65d..b1668b650b 100644
--- a/src/test/java/neqsim/thermo/util/example/TestUNIFAC_1.java
+++ b/src/test/java/neqsim/thermo/util/example/TestUNIFAC_1.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestUNIFAC_1 {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestUNIFAC_1.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestVHflash.java b/src/test/java/neqsim/thermo/util/example/TestVHflash.java
index ea40e851da..91caa87bc7 100644
--- a/src/test/java/neqsim/thermo/util/example/TestVHflash.java
+++ b/src/test/java/neqsim/thermo/util/example/TestVHflash.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class TestVHflash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestVHflash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/TestmercuryTPflash.java b/src/test/java/neqsim/thermo/util/example/TestmercuryTPflash.java
index c738368c61..f290f7f13e 100644
--- a/src/test/java/neqsim/thermo/util/example/TestmercuryTPflash.java
+++ b/src/test/java/neqsim/thermo/util/example/TestmercuryTPflash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TestmercuryTPflash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TestmercuryTPflash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/WaxFlash.java b/src/test/java/neqsim/thermo/util/example/WaxFlash.java
index 4d494018f6..405a001250 100644
--- a/src/test/java/neqsim/thermo/util/example/WaxFlash.java
+++ b/src/test/java/neqsim/thermo/util/example/WaxFlash.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class WaxFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(WaxFlash.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/longman/Problem15102009LNGfreezing.java b/src/test/java/neqsim/thermo/util/example/longman/Problem15102009LNGfreezing.java
index ca77513a35..1c484098d7 100644
--- a/src/test/java/neqsim/thermo/util/example/longman/Problem15102009LNGfreezing.java
+++ b/src/test/java/neqsim/thermo/util/example/longman/Problem15102009LNGfreezing.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class Problem15102009LNGfreezing {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Problem15102009LNGfreezing.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGfreezing.java b/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGfreezing.java
index 8445fa1709..bf7ea4e0b9 100644
--- a/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGfreezing.java
+++ b/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGfreezing.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class Problem280809LNGfreezing {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Problem280809LNGfreezing.class);
/**
diff --git a/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGphaseEnvelope.java b/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGphaseEnvelope.java
index ae7ecec594..b2392d50ce 100644
--- a/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGphaseEnvelope.java
+++ b/src/test/java/neqsim/thermo/util/example/longman/Problem280809LNGphaseEnvelope.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class Problem280809LNGphaseEnvelope {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(Problem280809LNGphaseEnvelope.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/RachfordRiceTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/RachfordRiceTest.java
index 64c893a69c..11c5130da4 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/RachfordRiceTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/RachfordRiceTest.java
@@ -6,6 +6,7 @@
import org.junit.jupiter.api.Test;
public class RachfordRiceTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(RachfordRiceTest.class);
@Test
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/SaturateWithWaterTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/SaturateWithWaterTest.java
index f5fa8db8a3..411a59df91 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/SaturateWithWaterTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/SaturateWithWaterTest.java
@@ -12,6 +12,7 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class SaturateWithWaterTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SaturateWithWaterTest.class);
@Test
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/TPgradientFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/TPgradientFlashTest.java
index b35334569f..06a6a8ed00 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/TPgradientFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/TPgradientFlashTest.java
@@ -10,6 +10,7 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class TPgradientFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TPgradientFlashTest.class);
@Test
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/TVFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/TVFlashTest.java
index 8584361ac5..f7a5cb1a12 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/TVFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/TVFlashTest.java
@@ -11,6 +11,7 @@
* Test TVFlash.
*/
class TVFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TVFlashTest.class);
static neqsim.thermo.system.SystemInterface testSystem = null;
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/VUFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/VUFlashTest.java
index de9cb3f31d..8eeec76cb8 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/VUFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/VUFlashTest.java
@@ -10,6 +10,7 @@
* Test VUFlash.
*/
class VUFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(VUFlashTest.class);
static neqsim.thermo.system.SystemInterface testSystem = null;
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/WaxFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/WaxFlashTest.java
index 4fe2b79e8c..ee9eb2c9ce 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/WaxFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/WaxFlashTest.java
@@ -13,6 +13,7 @@
* @author ESOL
*/
class WaxFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(WaxFlashTest.class);
static neqsim.thermo.system.SystemInterface testSystem = null;
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointPressureFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointPressureFlashTest.java
index 382196f4e2..d99b0ed607 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointPressureFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointPressureFlashTest.java
@@ -8,7 +8,9 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class bubblePointPressureFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(bubblePointPressureFlashTest.class);
+
@Test
void testRun() {
SystemSrkEos fluid0_HC = new SystemSrkEos();
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointTemperatureFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointTemperatureFlashTest.java
index d04c76f860..5305568137 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointTemperatureFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/bubblePointTemperatureFlashTest.java
@@ -8,7 +8,9 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class bubblePointTemperatureFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(bubblePointTemperatureFlashTest.class);
+
@Test
void testRun() {
SystemSrkEos fluid0_HC = new SystemSrkEos();
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointPressureFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointPressureFlashTest.java
index c7a70329c4..c5fdba258a 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointPressureFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointPressureFlashTest.java
@@ -8,7 +8,9 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class dewPointPressureFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(dewPointPressureFlashTest.class);
+
@Test
void testRun() {
SystemSrkEos fluid0_HC = new SystemSrkEos();
diff --git a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointTemperatureFlashTest.java b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointTemperatureFlashTest.java
index 45e244e5c9..20de375fa4 100644
--- a/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointTemperatureFlashTest.java
+++ b/src/test/java/neqsim/thermodynamicoperations/flashops/saturationops/dewPointTemperatureFlashTest.java
@@ -8,8 +8,9 @@
import neqsim.thermodynamicoperations.ThermodynamicOperations;
public class dewPointTemperatureFlashTest {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(dewPointTemperatureFlashTest.class);
-
+
@Test
void testRun() {
SystemSrkEos fluid0_HC = new SystemSrkEos();
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/CompGradientFlash.java b/src/test/java/neqsim/thermodynamicoperations/util/example/CompGradientFlash.java
index 01f4b95bb9..1a8d59cf36 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/CompGradientFlash.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/CompGradientFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class CompGradientFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CompGradientFlash.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/CriticalPointFlash.java b/src/test/java/neqsim/thermodynamicoperations/util/example/CriticalPointFlash.java
index 108297e27f..46dc5ac175 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/CriticalPointFlash.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/CriticalPointFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class CriticalPointFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(CriticalPointFlash.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/MEGwaterComplexFlash.java b/src/test/java/neqsim/thermodynamicoperations/util/example/MEGwaterComplexFlash.java
index b28d9ee513..d6ba5c6a3d 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/MEGwaterComplexFlash.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/MEGwaterComplexFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class MEGwaterComplexFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(MEGwaterComplexFlash.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGenerator.java b/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGenerator.java
index 3708fdd719..bd840726c2 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGenerator.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGenerator.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class OLGApropGenerator {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropGenerator.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGeneratorPH.java b/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGeneratorPH.java
index b04b41b796..f6dc311e86 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGeneratorPH.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/OLGApropGeneratorPH.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class OLGApropGeneratorPH {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(OLGApropGeneratorPH.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/PhaseEnvelope.java b/src/test/java/neqsim/thermodynamicoperations/util/example/PhaseEnvelope.java
index 7dcba8131d..3c1a69a736 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/PhaseEnvelope.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/PhaseEnvelope.java
@@ -18,6 +18,7 @@
* @since 2.2.3
*/
public class PhaseEnvelope {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(PhaseEnvelope.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/SolidFlash.java b/src/test/java/neqsim/thermodynamicoperations/util/example/SolidFlash.java
index d2895a7bd0..615460c11e 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/SolidFlash.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/SolidFlash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class SolidFlash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(SolidFlash.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/TVflash.java b/src/test/java/neqsim/thermodynamicoperations/util/example/TVflash.java
index 9659400819..06ae15e080 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/TVflash.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/TVflash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class TVflash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(TVflash.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/VLSolidTPFLash.java b/src/test/java/neqsim/thermodynamicoperations/util/example/VLSolidTPFLash.java
index 4425a9b30a..7f287038c9 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/VLSolidTPFLash.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/VLSolidTPFLash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class VLSolidTPFLash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(VLSolidTPFLash.class);
/**
diff --git a/src/test/java/neqsim/thermodynamicoperations/util/example/VUflash.java b/src/test/java/neqsim/thermodynamicoperations/util/example/VUflash.java
index da8f9cdcc2..46e66f93ed 100644
--- a/src/test/java/neqsim/thermodynamicoperations/util/example/VUflash.java
+++ b/src/test/java/neqsim/thermodynamicoperations/util/example/VUflash.java
@@ -17,6 +17,7 @@
* @since 2.2.3
*/
public class VUflash {
+ /** Logger object for class. */
static Logger logger = LogManager.getLogger(VUflash.class);
/**