Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Oct 17, 2024
1 parent 72b233f commit a620b10
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ NeqSim Python is distributed as a pip package.

End-users should install neqsim python with some additional packages by running
```
pip install neqsim[interactive]
pip install neqsim
```

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion neqsim/thermo/thermoTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if has_matplotlib():
import matplotlib.pyplot as plt

thermodynamicoperations = neqsim.thermodynamicoperations.ThermodynamicOperations
thermodynamicoperations = neqsim.thermodynamicoperations.ThermodynamicOperations()
fluidcreator = neqsim.thermo.Fluid()
fluid_type = {
"srk": neqsim.thermo.system.SystemSrkEos,
Expand Down
4 changes: 3 additions & 1 deletion tests/process/test_dynamic_process.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from jneqsim import neqsim
import jneqsim
import jpype
neqsim = jpype.JPackage('neqsim')


def test_dynamic_compressor():
Expand Down
5 changes: 3 additions & 2 deletions tests/test_NeqSim.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
@author: ESOL
"""
import os
from jneqsim import neqsim

import jpype
import jneqsim
neqsim = jpype.JPackage('neqsim')

def test_Viscosity():
thermoSystem = neqsim.thermo.system.SystemSrkEos(280.0, 10.0)
Expand Down Expand Up @@ -35,7 +37,6 @@ def test_hasComponentDatabase():

def test_fullOffshoreProcess():
import pandas as pd
import math

# well stream composition (mole fractions)
reservoirFluid = {
Expand Down

0 comments on commit a620b10

Please sign in to comment.