Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "neqsim"
version = "3.0.25"
version = "3.0.26"
description = "NeqSim is a tool for thermodynamic and process calculations"
authors = ["Even Solbraa <esolbraa@gmail.com>"]
license = "Apache-2.0"
Expand Down
Binary file not shown.
Binary file not shown.
10 changes: 10 additions & 0 deletions src/neqsim/process/unitop.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,20 @@ def getPressure(self):
# This will depend on how pressure is handled in your 'unitop' class.
return 0.0 # Replace 0.0 with the actual pressure value or calculation

@JOverride # Implement the missing 'getTemperature' method
def getTemperature(self):
# Add the logic to calculate or retrieve the temperature.
# This will depend on how temperature is handled in your 'unitop' class.
return 0.0 # Replace 0.0 with the actual temperature value or calculation

@JOverride # Implement the missing 'setPressure' method
def setPressure(self, pressure):
pass # Replace 'pass' with your implementation

@JOverride # Implement the missing 'setTemperature' method
def setTemperature(self, temperature):
pass # Replace 'pass' with your implementation

@JOverride # Implement the missing 'getEntropyProduction' method
def getEntropyProduction(self):
# Add the logic to calculate or retrieve the pressure.
Expand Down