Skip to content

Commit

Permalink
chore: bump NeqSim version to 3.0.5 (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
olelod authored Nov 13, 2024
1 parent 45ad389 commit e2bef51
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified src/ecalc_neqsim_wrapper/lib/NeqSim.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ecalc_neqsim_wrapper/lib/neqsim_version_info.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Current neqsim.jar from latest release of NeqSim (v2.5.21 - https://github.com/equinor/neqsim/releases/tag/v2.5.21)
Current neqsim.jar from latest release of NeqSim (v3.0.5 - https://github.com/equinor/neqsim/releases/tag/v3.0.5)

NeqSim is currently not considered to be thread-safe. That means that two threads working towards the same gateway, interchangely changing a fluid setting will interfere with each other.

Expand Down
2 changes: 1 addition & 1 deletion src/ecalc_neqsim_wrapper/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
NEQSIM_MIXING_RULE = 2

ThermodynamicSystem = neqsim.thermo.system.SystemEos
ThermodynamicOperations = neqsim.thermodynamicOperations.ThermodynamicOperations
ThermodynamicOperations = neqsim.thermodynamicoperations.ThermodynamicOperations


class NeqsimFluidComponent(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion tests/ecalc_neqsim_wrapper/unit_tests/test_java_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_py4j_service():
thermo_system.addComponent("methane", 10.0)
thermo_system.addComponent("water", 4.0)

thermo_dynamic_operations = neqsim.thermodynamicOperations.ThermodynamicOperations(thermo_system)
thermo_dynamic_operations = neqsim.thermodynamicoperations.ThermodynamicOperations(thermo_system)
thermo_dynamic_operations.TPflash()

gas_enthalpy = thermo_system.getPhase(0).getEnthalpy()
Expand Down

0 comments on commit e2bef51

Please sign in to comment.