Skip to content

Commit

Permalink
added init properties
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Feb 16, 2024
1 parent 55a2dfa commit 1dca44c
Showing 1 changed file with 19 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ public class GORfitter extends TwoPortEquipment {

@Deprecated
/**
* <p>Constructor for GORfitter.</p>
* <p>
* Constructor for GORfitter.
* </p>
*/
public GORfitter() {
super("GOR fitter");
Expand Down Expand Up @@ -64,7 +66,9 @@ public GORfitter(String name, StreamInterface stream) {
}

/**
* <p>getGFV.</p>
* <p>
* getGFV.
* </p>
*
* @return a double
*/
Expand Down Expand Up @@ -211,6 +215,7 @@ public void run(UUID id) {
} catch (Exception ex) {
logger.error(ex.getMessage(), ex);
}
tempFluid.initProperties();
outStream.setThermoSystem(tempFluid);
if (!tempFluid.hasPhaseType("gas")) {
GVF = 0.0;
Expand Down Expand Up @@ -262,7 +267,9 @@ public void setGVF(double gvf) {
}

/**
* <p>Getter for the field <code>referenceConditions</code>.</p>
* <p>
* Getter for the field <code>referenceConditions</code>.
* </p>
*
* @return the referenceConditions
*/
Expand All @@ -271,7 +278,9 @@ public String getReferenceConditions() {
}

/**
* <p>Setter for the field <code>referenceConditions</code>.</p>
* <p>
* Setter for the field <code>referenceConditions</code>.
* </p>
*
* @param referenceConditions the referenceConditions to set
*/
Expand All @@ -280,7 +289,9 @@ public void setReferenceConditions(String referenceConditions) {
}

/**
* <p>isFitAsGVF.</p>
* <p>
* isFitAsGVF.
* </p>
*
* @return the fitAsGVF
*/
Expand All @@ -289,7 +300,9 @@ public boolean isFitAsGVF() {
}

/**
* <p>Setter for the field <code>fitAsGVF</code>.</p>
* <p>
* Setter for the field <code>fitAsGVF</code>.
* </p>
*
* @param fitAsGVF the fitAsGVF to set
*/
Expand Down

0 comments on commit 1dca44c

Please sign in to comment.