Skip to content

Commit

Permalink
first update of Cv calculation (#1259)
Browse files Browse the repository at this point in the history
* first update of Cv calculation

* update

* update

* update

* update

* added mechanical design of valves

* update with IEC 60534

* update idSm3

* update

* fix N9

* clean up valve size code
  • Loading branch information
EvenSol authored Jan 27, 2025
1 parent eff99d2 commit 7c2999b
Show file tree
Hide file tree
Showing 9 changed files with 985 additions and 294 deletions.
376 changes: 96 additions & 280 deletions src/main/java/neqsim/process/equipment/valve/ThrottlingValve.java

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions src/main/java/neqsim/process/equipment/valve/ValveInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ public interface ValveInterface extends ProcessEquipmentInterface, TwoPortInterf
*/
public double getCv();

/**
* <p>
* getCg.
* </p>
*
* @return a double
*/
public double getCg();

/**
* <p>
* getCv.
Expand All @@ -74,6 +83,7 @@ public interface ValveInterface extends ProcessEquipmentInterface, TwoPortInterf
*/
public double getCv(String unit);


/**
* <p>
* setCv.
Expand All @@ -83,6 +93,15 @@ public interface ValveInterface extends ProcessEquipmentInterface, TwoPortInterf
*/
public void setCv(double Cv);

/**
* <p>
* setCv.
* </p>
*
* @param Cg a double
*/
public void setCg(double Cg);

/**
* <p>
* setCv.
Expand Down
Loading

0 comments on commit 7c2999b

Please sign in to comment.