Even Solbraa
Even Solbraa
A benchmark running 5000 multiphase calculations for a simple gas/oil/water fluid is done in the linked Colab page. 5000 TPflash calculations takes about 5-6 sec in Colab/Python. https://colab.research.google.com/drive/1JXaqqj1qkriY_DqT8nCpf0tCjNEcCvEW
See this example filling a dataframe with properties: https://github.com/equinor/neqsimpython/blob/master/examples/propertiesDataframes.py
Yes, it will be some overhead when there are many calls to Java from Python. In the benchmark (https://equinor.github.io/neqsimhome/benchmark.html) it is indicated that the calculation speed is 2-3 times faster...
A new method has been implemented to fill a dataframe based on a list of tempeatures and pressures (method 2 in the example): https://github.com/equinor/neqsimpython/blob/master/examples/propertiesDataframes.py Probably the dataframes in the PySpark...
suggestion from ChatGPT: ``` package neqsim.thermo.characterization; import neqsim.thermo.system.SystemInterface; /** * * PlusFractionModel class. * * * @author ESOL * @version $Id: $Id */ public class PlusFractionModel implements java.io.Serializable { private...
I support this. @Sviatose something you can look into?
@asmfstatoil @Sviatose @AndreasHNyhus This issue has been fixed in #1227 and fix is available in release 3.0.12+. The problem was that a process thread is not stoped by calling join(time)....
Thanks for reporting. I will look into it.
Thanks, fix propsed here: https://github.com/equinor/neqsim/pull/1695 alternative : ``` from neqsim.thermo import fluid from neqsim import jneqsim sys1 = fluid('PR78-EoS') sys1.addComponent("nitrogen",1) sys1.addComponent("methane",1) sys2 = sys1.clone() sys1.setMolarComposition([1.0, 0]) sys2.setMolarComposition([0, 1.0]) stream1=jneqsim.process.equipment.stream.Stream("stream1", sys1)...
``` package neqsim.process.equipment; public enum EquipmentEnum { ThrottlingValve, Stream, Compressor, Pump, Separator; } ``` ``` package neqsim.process.equipment; import neqsim.process.ProcessEquipmentInterface; import neqsim.process.equipment.separator.Separator; import neqsim.process.equipment.pump.Pump; import neqsim.process.equipment.stream.Stream; import neqsim.process.equipment.compressor.Compressor; import neqsim.process.equipment.valve.ThrottlingValve; public...