diff --git a/.github/neqsim-engine.sha256 b/.github/neqsim-engine.sha256 index 68c2b6e7..69944423 100644 --- a/.github/neqsim-engine.sha256 +++ b/.github/neqsim-engine.sha256 @@ -1 +1 @@ -2afff2377963e47565b8c473f3f9bbd69fae6fd383b7c0f53399ab2956e3974a neqsim-3.23.0.jar +ba8ab3749355fb9983d09a14892e6a23e7bac929f60547ce9db7b5bf4e18b139 neqsim-3.24.0.jar diff --git a/conda/meta.yaml b/conda/meta.yaml index 7b6e6aff..2a222a6c 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,5 +1,5 @@ {% set name = "neqsim" %} -{% set version = "3.23.0" %} +{% set version = "3.24.0" %} package: name: {{ name|lower }} diff --git a/docs/release-notes/v3.24.0.md b/docs/release-notes/v3.24.0.md new file mode 100644 index 00000000..d79e5431 --- /dev/null +++ b/docs/release-notes/v3.24.0.md @@ -0,0 +1,62 @@ +# NeqSim Python 3.24.0 + +NeqSim Python is the Python interface to the NeqSim engine for thermodynamic +calculations, physical properties, process simulation, and PVT analysis from +Python and Jupyter notebooks. + +## Highlights + +- Bundles the NeqSim Java 3.24.0 engine for Java 17 or newer. +- Thermodynamic fixes: flash calculations recover conservative condensate + splits after an endpoint collapse, exact-zero mole fractions are preserved + through dependent property calculations, and the unused legacy TP flash + solver is deprecated in favor of the maintained solver path. +- Process fixes: `ProcessSystem` recycle diagnostics and minimum-flow spill + handling are corrected against the separator limit basis, and + `MultiStreamHeatExchanger2` reports solver status and flags an infeasible + approach temperature instead of returning a silently wrong result. +- Distillation fixes: shortcut columns reject invalid reflux ratios and stage + counts, and direct terminal specifications report physically consistent + residuals. +- Pipeline and network: multiphase chokes follow a new + `TabulatedValveCharacteristic`, Beggs and Brill pipe-flow solves fail closed + instead of returning an unconverged result, and field-scale pipeline + networks gain per-edge Beggs-Brill/two-fluid steady hydraulics alongside new + inflow-control-device, inflow-control-completion, and subsea + separation-station screening models. +- New capability: `SealGasSupplyConditioning` screens seal-gas supply dew + point margin for compressor dry-gas seal systems. +- Internal: the Jama linear-algebra dependency is replaced with EJML. +- Retains Python 3.10-3.14 support and the existing NeqSim Python API. + +## Install + +Use pip when you already have Java installed: + +```bash +pip install --upgrade neqsim==3.24.0 +``` + +Use conda when you want OpenJDK installed with the package: + +```bash +conda install -c conda-forge neqsim=3.24.0 +``` + +Requirements: + +- Python 3.10 or newer. +- Java 17 or newer for pip installs. Download Java from + [Adoptium](https://adoptium.net/). +- Conda installs include OpenJDK through conda-forge. + +Verify the installed package version without starting the JVM: + +```bash +python -c "from importlib.metadata import version; print(version('neqsim'))" +``` + +## Useful Links + +- Full changelog: https://github.com/equinor/neqsim-python/compare/v3.23.0...v3.24.0 +- NeqSim Java 3.24.0 release: https://github.com/equinor/neqsim/releases/tag/v3.24.0 diff --git a/environment.yml b/environment.yml index 4b3769ca..bf280247 100644 --- a/environment.yml +++ b/environment.yml @@ -19,4 +19,4 @@ dependencies: # Install neqsim from PyPI until conda-forge package is available - pip - pip: - - neqsim==3.23.0 + - neqsim==3.24.0 diff --git a/pyproject.toml b/pyproject.toml index 52c66132..a8c41fcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "neqsim" -version = "3.23.0" +version = "3.24.0" description = "NeqSim is a tool for thermodynamic and process calculations" authors = [{ name = "Even Solbraa", email = "esolbraa@gmail.com" }] requires-python = ">=3.10,<4" diff --git a/src/jneqsim-stubs/mathlib/__init__.pyi b/src/jneqsim-stubs/mathlib/__init__.pyi index 1268c6e8..c205f60f 100644 --- a/src/jneqsim-stubs/mathlib/__init__.pyi +++ b/src/jneqsim-stubs/mathlib/__init__.pyi @@ -6,6 +6,7 @@ else: from typing_extensions import Protocol import jneqsim.mathlib.generalmath +import jneqsim.mathlib.linearalgebra import jneqsim.mathlib.nonlinearsolver import typing @@ -14,4 +15,5 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib")``. generalmath: jneqsim.mathlib.generalmath.__module_protocol__ + linearalgebra: jneqsim.mathlib.linearalgebra.__module_protocol__ nonlinearsolver: jneqsim.mathlib.nonlinearsolver.__module_protocol__ diff --git a/src/jneqsim-stubs/mathlib/linearalgebra/__init__.pyi b/src/jneqsim-stubs/mathlib/linearalgebra/__init__.pyi new file mode 100644 index 00000000..f7456895 --- /dev/null +++ b/src/jneqsim-stubs/mathlib/linearalgebra/__init__.pyi @@ -0,0 +1,127 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.lang +import jpype +import typing + + + +class LinearAlgebraException(java.lang.RuntimeException): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], throwable: java.lang.Throwable): ... + +class LinearAlgebraOperations: + @typing.overload + def add(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def add(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def conditionNumber(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def determinant(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def euclideanNorm(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getName(self) -> java.lang.String: ... + def identity(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def invert(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def oneNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def rank(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> int: ... + @typing.overload + def scale(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> typing.MutableSequence[float]: ... + @typing.overload + def scale(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def solve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def solveLeastSquares(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def spectralNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def submatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, int3: int, int4: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def subtract(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def subtract(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def transpose(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def withSubmatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + +class EjmlLinearAlgebra(LinearAlgebraOperations): + NAME: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + @typing.overload + def add(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def add(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def conditionNumber(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def determinant(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def euclideanNorm(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getName(self) -> java.lang.String: ... + def identity(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def invert(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def oneNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def rank(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> int: ... + @typing.overload + def scale(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> typing.MutableSequence[float]: ... + @typing.overload + def scale(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def solve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def solveLeastSquares(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def spectralNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def submatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, int3: int, int4: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def subtract(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def subtract(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def transpose(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def withSubmatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + +class JamaLinearAlgebra(LinearAlgebraOperations): + NAME: typing.ClassVar[java.lang.String] = ... + def __init__(self): ... + @typing.overload + def add(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def add(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def conditionNumber(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def determinant(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def euclideanNorm(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getName(self) -> java.lang.String: ... + def identity(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def invert(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def multiply(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def oneNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def rank(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> int: ... + @typing.overload + def scale(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> typing.MutableSequence[float]: ... + @typing.overload + def scale(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def solve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def solveLeastSquares(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def spectralNorm(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def submatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, int3: int, int4: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def subtract(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @typing.overload + def subtract(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def transpose(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def withSubmatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int, int2: int, doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib.linearalgebra")``. + + EjmlLinearAlgebra: typing.Type[EjmlLinearAlgebra] + JamaLinearAlgebra: typing.Type[JamaLinearAlgebra] + LinearAlgebraException: typing.Type[LinearAlgebraException] + LinearAlgebraOperations: typing.Type[LinearAlgebraOperations] diff --git a/src/jneqsim-stubs/mcp/runners/__init__.pyi b/src/jneqsim-stubs/mcp/runners/__init__.pyi index 1d445d0d..d8699baa 100644 --- a/src/jneqsim-stubs/mcp/runners/__init__.pyi +++ b/src/jneqsim-stubs/mcp/runners/__init__.pyi @@ -78,6 +78,14 @@ class BioprocessRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... +class CapabilitiesRunner: + @staticmethod + def getCapabilities() -> java.lang.String: ... + @staticmethod + def getSetupTemplate(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getSetupTemplates() -> java.lang.String: ... + class ChemistryRunner: @staticmethod def getSupportedAnalyses() -> java.util.List[java.lang.String]: ... @@ -126,6 +134,12 @@ class DynamicRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... +class EngineeringCoverageCatalog: + @staticmethod + def query(jsonObject: com.google.gson.JsonObject) -> com.google.gson.JsonObject: ... + @staticmethod + def summary() -> com.google.gson.JsonObject: ... + class EngineeringValidator: @staticmethod def validate(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... @@ -548,12 +562,14 @@ class __module_protocol__(Protocol): BatchRunner: typing.Type[BatchRunner] BenchmarkTrust: typing.Type[BenchmarkTrust] BioprocessRunner: typing.Type[BioprocessRunner] + CapabilitiesRunner: typing.Type[CapabilitiesRunner] ChemistryRunner: typing.Type[ChemistryRunner] ComponentQuery: typing.Type[ComponentQuery] CompositionRunner: typing.Type[CompositionRunner] CrossValidationRunner: typing.Type[CrossValidationRunner] DataCatalogRunner: typing.Type[DataCatalogRunner] DynamicRunner: typing.Type[DynamicRunner] + EngineeringCoverageCatalog: typing.Type[EngineeringCoverageCatalog] EngineeringValidator: typing.Type[EngineeringValidator] EquipmentSizingRunner: typing.Type[EquipmentSizingRunner] FieldDevelopmentRunner: typing.Type[FieldDevelopmentRunner] diff --git a/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi b/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi index 42759933..f780512d 100644 --- a/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -import java.io import java.lang import jneqsim.thermo import jneqsim.thermo.system @@ -13,7 +12,7 @@ import typing -class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.io.Serializable): +class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface): def calcAdsorption(self, int: int) -> None: ... def getIsothermType(self) -> 'IsothermType': ... @typing.overload @@ -24,7 +23,7 @@ class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.i def isCalculated(self) -> bool: ... def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... -class CapillaryCondensationModel(java.io.Serializable, jneqsim.thermo.ThermodynamicConstantsInterface): +class CapillaryCondensationModel(jneqsim.thermo.ThermodynamicConstantsInterface): KELVIN_VALIDITY_RADIUS_NM: typing.ClassVar[float] = ... @typing.overload def __init__(self): ... @@ -152,7 +151,7 @@ class IsothermType(java.lang.Enum['IsothermType']): @staticmethod def values() -> typing.MutableSequence['IsothermType']: ... -class AbstractAdsorptionModel(AdsorptionInterface, java.io.Serializable): +class AbstractAdsorptionModel(AdsorptionInterface): @typing.overload def __init__(self): ... @typing.overload diff --git a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi index 9aa1a5ae..a802c04c 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi @@ -8,7 +8,6 @@ else: import jneqsim.physicalproperties.methods.commonphasephysicalproperties import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system -import jneqsim.thermo import typing @@ -21,11 +20,11 @@ class CO2ConductivityMethod(Conductivity): def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcConductivity(self) -> float: ... -class ChungDenseConductivityMethod(Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface): +class ChungDenseConductivityMethod(Conductivity): def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcConductivity(self) -> float: ... -class FrictionTheoryConductivityMethod(Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface): +class FrictionTheoryConductivityMethod(Conductivity): pureComponentConductivity: typing.MutableSequence[float] = ... omegaCond: typing.MutableSequence[float] = ... fc: typing.MutableSequence[float] = ... diff --git a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi index 9e7258d7..e2d387e2 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi @@ -18,6 +18,8 @@ class Viscosity(jneqsim.physicalproperties.methods.liquidphysicalproperties.Liqu def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... def calcPureComponentViscosity(self) -> None: ... def calcViscosity(self) -> float: ... + @staticmethod + def calcWaterViscosity(double: float, double2: float) -> float: ... def clone(self) -> 'Viscosity': ... def getPureComponentViscosity(self, int: int) -> float: ... def getViscosityPressureCorrection(self, int: int) -> float: ... diff --git a/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi b/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi index 47abd115..df1fb512 100644 --- a/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi @@ -14,16 +14,23 @@ import typing class PhysicalPropertyMixingRuleInterface(java.lang.Cloneable): def clone(self) -> 'PhysicalPropertyMixingRuleInterface': ... + @typing.overload def getViscosityGij(self, int: int, int2: int) -> float: ... + @typing.overload + def getViscosityGij(self, int: int, int2: int, double: float) -> float: ... def initMixingRules(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... def setViscosityGij(self, double: float, int: int, int2: int) -> None: ... class PhysicalPropertyMixingRule(PhysicalPropertyMixingRuleInterface, jneqsim.thermo.ThermodynamicConstantsInterface): Gij: typing.MutableSequence[typing.MutableSequence[float]] = ... + GijDecay: typing.MutableSequence[typing.MutableSequence[float]] = ... def __init__(self): ... def clone(self) -> 'PhysicalPropertyMixingRule': ... def getPhysicalPropertyMixingRule(self) -> PhysicalPropertyMixingRuleInterface: ... + @typing.overload def getViscosityGij(self, int: int, int2: int) -> float: ... + @typing.overload + def getViscosityGij(self, int: int, int2: int, double: float) -> float: ... def initMixingRules(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... def setViscosityGij(self, double: float, int: int, int2: int) -> None: ... diff --git a/src/jneqsim-stubs/process/automation/__init__.pyi b/src/jneqsim-stubs/process/automation/__init__.pyi index dc14f965..2b79cae6 100644 --- a/src/jneqsim-stubs/process/automation/__init__.pyi +++ b/src/jneqsim-stubs/process/automation/__init__.pyi @@ -171,9 +171,79 @@ class AutomationDiagnostics(java.io.Serializable): @staticmethod def values() -> typing.MutableSequence['AutomationDiagnostics.ErrorCategory']: ... +class ProcessAutomation: + AREA_SEPARATOR: typing.ClassVar[java.lang.String] = ... + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + @typing.overload + def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... + @typing.overload + def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def describe(self) -> java.lang.String: ... + def enableCapacityConstraints(self) -> int: ... + @typing.overload + def evaluate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> java.lang.String: ... + @typing.overload + def evaluate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str], int: int, double: float) -> java.lang.String: ... + @typing.overload + def evaluateBatchJson(self, list: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], int: int) -> java.lang.String: ... + @typing.overload + def evaluateBatchJson(self, list: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str], int: int, int2: int, double: float) -> java.lang.String: ... + def findMaxThroughputJson(self, list: java.util.List[typing.Union[java.lang.String, str]], double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float) -> java.lang.String: ... + def getAdjustableParameters(self) -> java.util.List[AdjustableParameter]: ... + def getAdjustableParametersJson(self) -> java.lang.String: ... + def getAllowedUnits(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getAreaList(self) -> java.util.List[java.lang.String]: ... + def getBottleneckRankingJson(self, int: int) -> java.lang.String: ... + def getDiagnostics(self) -> AutomationDiagnostics: ... + def getEquipmentType(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getInputVariables(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SimulationVariable']: ... + def getNeighbors(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getOutputVariables(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SimulationVariable']: ... + @typing.overload + def getProductQualityJson(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @typing.overload + def getProductQualityJson(self, string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... + def getRunStatusJson(self) -> java.lang.String: ... + def getSchemaVersion(self) -> java.lang.String: ... + def getStructured(self, string: typing.Union[java.lang.String, str]) -> com.google.gson.JsonElement: ... + def getTopology(self) -> java.lang.String: ... + @typing.overload + def getUnitList(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def getUnitList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getUtilizationSnapshot(self) -> java.lang.String: ... + def getValues(self, list: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + @typing.overload + def getVariableList(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SimulationVariable']: ... + @typing.overload + def getVariableList(self, string: typing.Union[java.lang.String, str], variableType: 'SimulationVariable.VariableType') -> java.util.List['SimulationVariable']: ... + def getVariableValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getVariableValueSafe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getWriteValidatorRegistry(self) -> 'WriteValidatorRegistry': ... + def isDirty(self) -> bool: ... + def isMultiArea(self) -> bool: ... + def isWritableAddress(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def markDirty(self) -> None: ... + def newOptimizer(self) -> AgenticProcessOptimizer: ... + def prepareForCapacityStudyJson(self) -> java.lang.String: ... + def run(self) -> None: ... + def runIfDirty(self) -> bool: ... + def runJson(self) -> java.lang.String: ... + def runUntilConvergedJson(self, int: int, double: float) -> java.lang.String: ... + def setValues(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str], boolean: bool) -> int: ... + def setValuesTransactional(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]) -> 'TransactionalBatchResult': ... + def setVariableValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setVariableValueAndRun(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setVariableValueSafe(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def setVariableValueValidated(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'WriteValidationResult': ... + def setWriteValidatorRegistry(self, writeValidatorRegistry: 'WriteValidatorRegistry') -> None: ... + def snapshot(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def validateAddress(self, string: typing.Union[java.lang.String, str]) -> AutomationDiagnostics.DiagnosticResult: ... + def validateForOptimizationJson(self) -> java.lang.String: ... + class SensitivityAnalyzer: SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... - def __init__(self, processAutomation: 'ProcessAutomation'): ... + def __init__(self, processAutomation: ProcessAutomation): ... def getAbsoluteStep(self) -> float: ... def getInputAddresses(self) -> java.util.List[java.lang.String]: ... def getMode(self) -> 'SensitivityAnalyzer.Mode': ... @@ -341,76 +411,6 @@ class DefaultWriteValidators: def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def validate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... -class ProcessAutomation: - AREA_SEPARATOR: typing.ClassVar[java.lang.String] = ... - SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... - @typing.overload - def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... - @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def describe(self) -> java.lang.String: ... - def enableCapacityConstraints(self) -> int: ... - @typing.overload - def evaluate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> java.lang.String: ... - @typing.overload - def evaluate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str], int: int, double: float) -> java.lang.String: ... - @typing.overload - def evaluateBatchJson(self, list: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], int: int) -> java.lang.String: ... - @typing.overload - def evaluateBatchJson(self, list: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str], int: int, int2: int, double: float) -> java.lang.String: ... - def findMaxThroughputJson(self, list: java.util.List[typing.Union[java.lang.String, str]], double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float) -> java.lang.String: ... - def getAdjustableParameters(self) -> java.util.List[AdjustableParameter]: ... - def getAdjustableParametersJson(self) -> java.lang.String: ... - def getAllowedUnits(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getAreaList(self) -> java.util.List[java.lang.String]: ... - def getBottleneckRankingJson(self, int: int) -> java.lang.String: ... - def getDiagnostics(self) -> AutomationDiagnostics: ... - def getEquipmentType(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getInputVariables(self, string: typing.Union[java.lang.String, str]) -> java.util.List[SimulationVariable]: ... - def getNeighbors(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getOutputVariables(self, string: typing.Union[java.lang.String, str]) -> java.util.List[SimulationVariable]: ... - @typing.overload - def getProductQualityJson(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @typing.overload - def getProductQualityJson(self, string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... - def getRunStatusJson(self) -> java.lang.String: ... - def getSchemaVersion(self) -> java.lang.String: ... - def getStructured(self, string: typing.Union[java.lang.String, str]) -> com.google.gson.JsonElement: ... - def getTopology(self) -> java.lang.String: ... - @typing.overload - def getUnitList(self) -> java.util.List[java.lang.String]: ... - @typing.overload - def getUnitList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getUtilizationSnapshot(self) -> java.lang.String: ... - def getValues(self, list: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... - @typing.overload - def getVariableList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[SimulationVariable]: ... - @typing.overload - def getVariableList(self, string: typing.Union[java.lang.String, str], variableType: SimulationVariable.VariableType) -> java.util.List[SimulationVariable]: ... - def getVariableValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getVariableValueSafe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getWriteValidatorRegistry(self) -> WriteValidatorRegistry: ... - def isDirty(self) -> bool: ... - def isMultiArea(self) -> bool: ... - def isWritableAddress(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def markDirty(self) -> None: ... - def newOptimizer(self) -> AgenticProcessOptimizer: ... - def prepareForCapacityStudyJson(self) -> java.lang.String: ... - def run(self) -> None: ... - def runIfDirty(self) -> bool: ... - def runJson(self) -> java.lang.String: ... - def runUntilConvergedJson(self, int: int, double: float) -> java.lang.String: ... - def setValues(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str], boolean: bool) -> int: ... - def setValuesTransactional(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]) -> TransactionalBatchResult: ... - def setVariableValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def setVariableValueAndRun(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def setVariableValueSafe(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def setVariableValueValidated(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> WriteValidationResult: ... - def setWriteValidatorRegistry(self, writeValidatorRegistry: WriteValidatorRegistry) -> None: ... - def snapshot(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def validateAddress(self, string: typing.Union[java.lang.String, str]) -> AutomationDiagnostics.DiagnosticResult: ... - def validateForOptimizationJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.automation")``. diff --git a/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi b/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi index 023b13f8..6e429f19 100644 --- a/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi @@ -158,6 +158,9 @@ class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInte def getHTU(self) -> float: ... def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... + def getLastConvergenceError(self) -> float: ... + def getLastIterationCount(self) -> int: ... + def getLastRunExitReason(self) -> java.lang.String: ... def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign: ... def getNTU(self) -> float: ... def getNumberOfStages(self) -> int: ... @@ -178,6 +181,7 @@ class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInte def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getStageEfficiency(self) -> float: ... def getWettingRate(self) -> float: ... + def isLastRunConverged(self) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload diff --git a/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi b/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi index 44fb8c6e..7b54b690 100644 --- a/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi @@ -90,11 +90,23 @@ class CapacityConstraint(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], constraintType: 'CapacityConstraint.ConstraintType'): ... def clearConfidence(self) -> 'CapacityConstraint': ... + def clearOperatingLimit(self) -> 'CapacityConstraint': ... + def clearOperatingLimitConfidence(self) -> 'CapacityConstraint': ... + def clearOperatingLimitValidityRange(self) -> 'CapacityConstraint': ... def clearValidityRange(self) -> 'CapacityConstraint': ... + def getApplicableLimit(self) -> float: ... + def getApplicableLimitConfidence(self) -> float: ... + def getApplicableLimitRole(self) -> 'CapacityConstraint.ApplicableLimitRole': ... + def getApplicableLimitSource(self) -> 'CapacityConstraint.ConstraintSource': ... + def getApplicableLimitSourceReference(self) -> java.lang.String: ... + def getApplicableLimitValidityMaximum(self) -> float: ... + def getApplicableLimitValidityMinimum(self) -> float: ... + def getBasis(self) -> java.lang.String: ... def getConfidence(self) -> float: ... def getCurrentValue(self) -> float: ... def getDataSource(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... + def getDesignLimit(self) -> float: ... def getDesignValue(self) -> float: ... def getDisplayDesignValue(self) -> float: ... def getMargin(self) -> float: ... @@ -102,6 +114,13 @@ class CapacityConstraint(java.io.Serializable): def getMaxValue(self) -> float: ... def getMinValue(self) -> float: ... def getName(self) -> java.lang.String: ... + def getOperatingLimit(self) -> float: ... + def getOperatingLimitConfidence(self) -> float: ... + def getOperatingLimitSource(self) -> 'CapacityConstraint.ConstraintSource': ... + def getOperatingLimitSourceReference(self) -> java.lang.String: ... + def getOperatingLimitValidityMaximum(self) -> float: ... + def getOperatingLimitValidityMinimum(self) -> float: ... + def getRawValue(self) -> float: ... def getSeverity(self) -> 'CapacityConstraint.ConstraintSeverity': ... def getShadowPrice(self) -> float: ... def getSource(self) -> 'CapacityConstraint.ConstraintSource': ... @@ -116,10 +135,16 @@ class CapacityConstraint(java.io.Serializable): def getValidityMaximum(self) -> float: ... def getValidityMinimum(self) -> float: ... def getWarningThreshold(self) -> float: ... + def hasApplicableLimitConfidence(self) -> bool: ... + def hasApplicableLimitValidityRange(self) -> bool: ... def hasConfidence(self) -> bool: ... def hasCurrentValue(self) -> bool: ... + def hasOperatingLimit(self) -> bool: ... + def hasOperatingLimitConfidence(self) -> bool: ... + def hasOperatingLimitValidityRange(self) -> bool: ... def hasValidityRange(self) -> bool: ... def isCriticalViolation(self) -> bool: ... + def isCurrentValueWithinApplicableLimitValidityRange(self) -> bool: ... def isCurrentValueWithinValidityRange(self) -> bool: ... def isEnabled(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... @@ -134,6 +159,9 @@ class CapacityConstraint(java.io.Serializable): def setEnabled(self, boolean: bool) -> 'CapacityConstraint': ... def setMaxValue(self, double: float) -> 'CapacityConstraint': ... def setMinValue(self, double: float) -> 'CapacityConstraint': ... + def setOperatingLimit(self, double: float, constraintSource: 'CapacityConstraint.ConstraintSource', string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint': ... + def setOperatingLimitConfidence(self, double: float) -> 'CapacityConstraint': ... + def setOperatingLimitValidityRange(self, double: float, double2: float) -> 'CapacityConstraint': ... def setSeverity(self, constraintSeverity: 'CapacityConstraint.ConstraintSeverity') -> 'CapacityConstraint': ... def setShadowPrice(self, double: float) -> 'CapacityConstraint': ... @typing.overload @@ -146,6 +174,19 @@ class CapacityConstraint(java.io.Serializable): def setValueSupplier(self, doubleSupplier: typing.Union[java.util.function.DoubleSupplier, typing.Callable]) -> 'CapacityConstraint': ... def setWarningThreshold(self, double: float) -> 'CapacityConstraint': ... def toString(self) -> java.lang.String: ... + class ApplicableLimitRole(java.lang.Enum['CapacityConstraint.ApplicableLimitRole']): + DEFAULT_SCREENING: typing.ClassVar['CapacityConstraint.ApplicableLimitRole'] = ... + DESIGN_RATED: typing.ClassVar['CapacityConstraint.ApplicableLimitRole'] = ... + CONFIGURED_OPERATING: typing.ClassVar['CapacityConstraint.ApplicableLimitRole'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint.ApplicableLimitRole': ... + @staticmethod + def values() -> typing.MutableSequence['CapacityConstraint.ApplicableLimitRole']: ... class ConstraintSeverity(java.lang.Enum['CapacityConstraint.ConstraintSeverity']): CRITICAL: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... HARD: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... diff --git a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi index 95d482fa..07001683 100644 --- a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi @@ -29,6 +29,7 @@ import jneqsim.process.ml import jneqsim.process.processmodel import jneqsim.process.util.report import jneqsim.thermo.system +import jneqsim.util.validation import typing @@ -279,6 +280,18 @@ class BoundaryCurveInterface(java.io.Serializable): def setActive(self, boolean: bool) -> None: ... def setCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... +class CompressionTrainAssessment(java.io.Serializable): + def __init__(self, list: java.util.List['Compressor'], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool): ... + def getExportPressureBara(self) -> float: ... + def getNetExportKgPerSecond(self) -> float: ... + def getSpecificEnergyKJPerKg(self) -> float: ... + def getStages(self) -> java.util.List['CompressorOperatingPointResult']: ... + def getTotalShaftPowerKW(self) -> float: ... + def getViolations(self) -> java.util.List[java.lang.String]: ... + def isFeasible(self) -> bool: ... + @staticmethod + def lowestSpecificEnergy(list: java.util.List['CompressionTrainAssessment']) -> 'CompressionTrainAssessment': ... + class CompressorAntiSurgeApplication(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def addHeader(self, string: typing.Union[java.lang.String, str], *string2: typing.Union[java.lang.String, str]) -> 'CompressorAntiSurgeApplication.HeaderApplication': ... @@ -1088,6 +1101,17 @@ class CompressorInterface(jneqsim.process.equipment.ProcessEquipmentInterface, j def setMinimumSpeed(self, double: float) -> None: ... def setPolytropicEfficiency(self, double: float) -> None: ... +class CompressorMapSimilarity(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + @staticmethod + def fromFluids(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> 'CompressorMapSimilarity': ... + def toActualMassFlow(self, double: float) -> float: ... + def toActualVolumeFlow(self, double: float) -> float: ... + def toReferenceHead(self, double: float) -> float: ... + def toReferenceMassFlow(self, double: float) -> float: ... + def toReferenceSpeed(self, double: float) -> float: ... + def toReferenceVolumeFlow(self, double: float) -> float: ... + class CompressorMechanicalLosses(java.io.Serializable): @typing.overload def __init__(self): ... @@ -1235,6 +1259,10 @@ class CompressorOperatingPointResult(java.io.Serializable): def isWithinChart(self) -> bool: ... def toJson(self) -> java.lang.String: ... class ConstraintSnapshot(java.io.Serializable): + def getApplicableLimit(self) -> float: ... + def getApplicableLimitRole(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ApplicableLimitRole: ... + def getApplicableLimitSource(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSource: ... + def getApplicableLimitSourceReference(self) -> java.lang.String: ... def getCurrentValue(self) -> float: ... def getDataSource(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... @@ -1661,6 +1689,18 @@ class DepositSource(java.io.Serializable): def getDepositRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMechanism(self) -> DepositMechanism: ... +class DriverLimitedEnvelope(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float): ... + def getDriverSpeedFraction(self) -> float: ... + def getHeadFraction(self) -> float: ... + def getLimitedChartSpeed(self) -> float: ... + def getMaxDriverPower(self) -> float: ... + def getMaxHead(self) -> float: ... + def getReferenceChartSpeed(self) -> float: ... + def getStonewallFlow(self) -> float: ... + def getSurgeFlow(self) -> float: ... + def isDerated(self) -> bool: ... + class DriverType(java.lang.Enum['DriverType']): ELECTRIC_MOTOR: typing.ClassVar['DriverType'] = ... VFD_MOTOR: typing.ClassVar['DriverType'] = ... @@ -1696,6 +1736,7 @@ class DryGasSealAnalyzer: def runFullAnalysis(self) -> None: ... def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setGCUMargins(self, double: float, double2: float) -> None: ... + def setGCUSupplyFlowNLmin(self, double: float) -> None: ... def setInsulation(self, double: float, double2: float) -> None: ... def setPrimaryVentPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setSealCavityPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... @@ -1709,6 +1750,38 @@ class DryGasSealAnalyzer: def setWindSpeed(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... +class DryGasSealMonitor(java.io.Serializable): + def __init__(self, limits: 'DryGasSealMonitor.Limits'): ... + def evaluate(self, sample: 'DryGasSealMonitor.Sample', double: float) -> 'DryGasSealMonitor.Result': ... + def reset(self) -> None: ... + class Fault(java.lang.Enum['DryGasSealMonitor.Fault']): + INVALID_DATA: typing.ClassVar['DryGasSealMonitor.Fault'] = ... + LOW_SUPPLY_DIFFERENTIAL_PRESSURE: typing.ClassVar['DryGasSealMonitor.Fault'] = ... + HIGH_PRIMARY_VENT_FLOW: typing.ClassVar['DryGasSealMonitor.Fault'] = ... + HIGH_PRIMARY_VENT_PRESSURE: typing.ClassVar['DryGasSealMonitor.Fault'] = ... + LOW_BUFFER_FLOW: typing.ClassVar['DryGasSealMonitor.Fault'] = ... + LOW_SEPARATION_DIFFERENTIAL_PRESSURE: typing.ClassVar['DryGasSealMonitor.Fault'] = ... + GAS_QUALITY: typing.ClassVar['DryGasSealMonitor.Fault'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DryGasSealMonitor.Fault': ... + @staticmethod + def values() -> typing.MutableSequence['DryGasSealMonitor.Fault']: ... + class Limits(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float): ... + class Result(java.io.Serializable): + def getActiveFaults(self) -> java.util.Set['DryGasSealMonitor.Fault']: ... + def getConfirmedFaults(self) -> java.util.Set['DryGasSealMonitor.Fault']: ... + def getElapsedSeconds(self) -> java.util.Map['DryGasSealMonitor.Fault', float]: ... + def isDataValid(self) -> bool: ... + def isTripRecommended(self) -> bool: ... + class Sample(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool, boolean2: bool): ... + class InletGuideVaneModel(java.io.Serializable): def __init__(self): ... def angleFromOpening(self, double: float) -> float: ... @@ -1724,6 +1797,41 @@ class InletGuideVaneModel(java.io.Serializable): def setSurgeFlowDrop(self, double: float) -> None: ... def surgeFlowMultiplier(self, double: float) -> float: ... +class MinimumFlowSpill(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def clearCapacityConstraints(self) -> None: ... + def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCompressor(self) -> 'Compressor': ... + def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUtilization(self) -> float: ... + def getNetFlow(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSpillCoolingDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSpillFlow(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSpillStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSuctionStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def isCapacityAnalysisEnabled(self) -> bool: ... + def isCapacityExceeded(self) -> bool: ... + def isHardLimitExceeded(self) -> bool: ... + def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... + def setMinimumInletFlow(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class OperatingEnvelope(java.io.Serializable): @typing.overload def __init__(self): ... @@ -1800,6 +1908,28 @@ class RecycleFlowCoordinator(jneqsim.process.equipment.ProcessEquipmentBaseClass def setMaximumRecycleFraction(self, double: float) -> None: ... def setRecycleSeedFlow(self, double: float) -> None: ... +class SealGasSupplyConditioning: + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calculateRequiredInletTemperatureC(self, double: float) -> float: ... + def clearHeater(self) -> None: ... + def getHydrocarbonDewPointC(self) -> float: ... + def getLiquidMassFraction(self) -> float: ... + def getMinimumMarginK(self) -> float: ... + def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getSupplyTemperatureC(self) -> float: ... + def getWaterDewPointC(self) -> float: ... + @staticmethod + def impliedLiquidLoadKgPerMSm3(double: float, double2: float, double3: float, double4: float) -> float: ... + def isMarginMet(self) -> bool: ... + def run(self) -> None: ... + def setHeaterOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setRequiredSuperheatK(self, double: float) -> None: ... + def setSealGas(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSource(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setSupplyPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @staticmethod + def sumpFillTimeDays(double: float, double2: float) -> float: ... + class ShutdownProfile(java.io.Serializable): @typing.overload def __init__(self): ... @@ -2023,6 +2153,10 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getDistanceToSurge(self) -> float: ... def getDriver(self) -> CompressorDriver: ... def getDriverCurve(self) -> jneqsim.process.equipment.compressor.driver.DriverCurve: ... + @typing.overload + def getDriverLimitedEnvelope(self) -> DriverLimitedEnvelope: ... + @typing.overload + def getDriverLimitedEnvelope(self, double: float) -> DriverLimitedEnvelope: ... def getEffectivePolytropicEfficiency(self) -> float: ... def getEffectivePolytropicHead(self) -> float: ... def getEfficiencySolveTolerance(self) -> float: ... @@ -2118,6 +2252,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getTotalWork(self) -> float: ... def getTransientCalculationMode(self) -> 'Compressor.TransientCalculationMode': ... + def getValidatedDistanceToSurge(self) -> float: ... def initElectricalDesign(self) -> None: ... def initInstrumentDesign(self) -> None: ... def initMechanicalDesign(self) -> None: ... @@ -2642,6 +2777,7 @@ class __module_protocol__(Protocol): AntiSurgeRecycleCalculator: typing.Type[AntiSurgeRecycleCalculator] BoundaryCurve: typing.Type[BoundaryCurve] BoundaryCurveInterface: typing.Type[BoundaryCurveInterface] + CompressionTrainAssessment: typing.Type[CompressionTrainAssessment] Compressor: typing.Type[Compressor] CompressorAntiSurgeApplication: typing.Type[CompressorAntiSurgeApplication] CompressorCatalog: typing.Type[CompressorCatalog] @@ -2669,6 +2805,7 @@ class __module_protocol__(Protocol): CompressorDriver: typing.Type[CompressorDriver] CompressorEventListener: typing.Type[CompressorEventListener] CompressorInterface: typing.Type[CompressorInterface] + CompressorMapSimilarity: typing.Type[CompressorMapSimilarity] CompressorMechanicalLosses: typing.Type[CompressorMechanicalLosses] CompressorOperatingHistory: typing.Type[CompressorOperatingHistory] CompressorOperatingPointResult: typing.Type[CompressorOperatingPointResult] @@ -2682,15 +2819,19 @@ class __module_protocol__(Protocol): CompressorWashing: typing.Type[CompressorWashing] DepositMechanism: typing.Type[DepositMechanism] DepositSource: typing.Type[DepositSource] + DriverLimitedEnvelope: typing.Type[DriverLimitedEnvelope] DriverType: typing.Type[DriverType] DryGasSealAnalyzer: typing.Type[DryGasSealAnalyzer] + DryGasSealMonitor: typing.Type[DryGasSealMonitor] EntrainedSaltDepositSource: typing.Type[EntrainedSaltDepositSource] InletGuideVaneModel: typing.Type[InletGuideVaneModel] + MinimumFlowSpill: typing.Type[MinimumFlowSpill] OperatingEnvelope: typing.Type[OperatingEnvelope] ReciprocatingCompressorPerformance: typing.Type[ReciprocatingCompressorPerformance] RecycleFlowCoordinator: typing.Type[RecycleFlowCoordinator] SafeSplineStoneWallCurve: typing.Type[SafeSplineStoneWallCurve] SafeSplineSurgeCurve: typing.Type[SafeSplineSurgeCurve] + SealGasSupplyConditioning: typing.Type[SealGasSupplyConditioning] ShutdownProfile: typing.Type[ShutdownProfile] SolidFlashDepositSource: typing.Type[SolidFlashDepositSource] StartupProfile: typing.Type[StartupProfile] diff --git a/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi b/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi index 5441c56a..3480a50f 100644 --- a/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi @@ -29,7 +29,7 @@ class DriverCurve(java.io.Serializable): def setAltitude(self, double: float) -> None: ... def setAmbientTemperature(self, double: float) -> None: ... -class DriverCurveBase(DriverCurve, java.io.Serializable): +class DriverCurveBase(DriverCurve): def canSupplyPower(self, double: float, double2: float) -> bool: ... def getAltitude(self) -> float: ... def getAmbientTemperature(self) -> float: ... @@ -58,6 +58,7 @@ class ElectricMotorDriver(DriverCurveBase): def getAvailablePower(self, double: float) -> float: ... def getAvailableTorque(self, double: float) -> float: ... def getBaseSpeedRatio(self) -> float: ... + def getBypassedCellsPerPhase(self) -> int: ... def getDriverType(self) -> java.lang.String: ... def getEfficiency(self, double: float, double2: float) -> float: ... def getEfficiencyClass(self) -> java.lang.String: ... @@ -66,8 +67,11 @@ class ElectricMotorDriver(DriverCurveBase): def getMaxSpeedRatio(self) -> float: ... def getMinSpeedRatio(self) -> float: ... def getServiceFactor(self) -> float: ... + def getTotalCellsPerPhase(self) -> int: ... + def getVoltageDerateFraction(self) -> float: ... def hasVFD(self) -> bool: ... def setBaseSpeedRatio(self, double: float) -> None: ... + def setCellBypassDerating(self, int: int, int2: int) -> 'ElectricMotorDriver': ... def setEfficiencyClass(self, string: typing.Union[java.lang.String, str]) -> None: ... def setHasVFD(self, boolean: bool) -> None: ... def setMaxSpeedRatio(self, double: float) -> None: ... diff --git a/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi b/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi index 23147f4d..ec99c7a8 100644 --- a/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi @@ -282,6 +282,183 @@ class ProductBoilingPointDistribution: def getNormalBoilingPointQuantileCelsius(self, double: float) -> float: ... def getNormalBoilingPointQuantileKelvin(self, double: float) -> float: ... +class RateBasedPackedColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def addGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addLiquidInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def displayResult(self) -> None: ... + def getColumnDiameter(self) -> float: ... + def getColumnHomotopySteps(self) -> int: ... + def getColumnResidualTolerance(self) -> float: ... + def getColumnSolver(self) -> 'RateBasedPackedColumn.ColumnSolver': ... + def getComponentTransferTotals(self) -> java.util.Map[java.lang.String, float]: ... + def getConvergenceTolerance(self) -> float: ... + def getFilmModel(self) -> 'RateBasedPackedColumn.FilmModel': ... + def getGasInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeatTransferCorrectionFactor(self) -> float: ... + def getHeatTransferModel(self) -> 'RateBasedPackedColumn.HeatTransferModel': ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLastColumnEnergyBalanceResidual(self) -> float: ... + def getLastColumnResidualIterations(self) -> int: ... + def getLastColumnResidualNorm(self) -> float: ... + def getLastConvergenceResidual(self) -> float: ... + def getLastGasComponentBalanceResidual(self) -> float: ... + def getLastIterationCount(self) -> int: ... + def getLastLiquidComponentBalanceResidual(self) -> float: ... + def getLiquidInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMassTransferCorrectionFactor(self) -> float: ... + def getMassTransferCorrelation(self) -> 'RateBasedPackedColumn.MassTransferCorrelation': ... + def getMaxColumnResidualIterations(self) -> int: ... + def getMaxHeatTransferFractionPerSegment(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getMaxSegmentResidualIterations(self) -> int: ... + def getMaxTransferFractionPerSegment(self) -> float: ... + def getNumberOfSegments(self) -> int: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPackedHeight(self) -> float: ... + def getPackingSpecification(self) -> jneqsim.process.equipment.distillation.internals.PackingSpecification: ... + def getSegmentResidualTolerance(self) -> float: ... + def getSegmentResults(self) -> java.util.List['RateBasedPackedColumn.SegmentResult']: ... + def getSegmentSolver(self) -> 'RateBasedPackedColumn.SegmentSolver': ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... + def getTotalAbsoluteMolarTransfer(self) -> float: ... + def getTransferComponents(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setColumnDiameter(self, double: float) -> None: ... + def setColumnHomotopySteps(self, int: int) -> None: ... + def setColumnResidualTolerance(self, double: float) -> None: ... + def setColumnSolver(self, columnSolver: 'RateBasedPackedColumn.ColumnSolver') -> None: ... + def setConvergenceTolerance(self, double: float) -> None: ... + def setFilmModel(self, filmModel: 'RateBasedPackedColumn.FilmModel') -> None: ... + def setGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setHeatTransferCorrectionFactor(self, double: float) -> None: ... + def setHeatTransferModel(self, heatTransferModel: 'RateBasedPackedColumn.HeatTransferModel') -> None: ... + def setLiquidInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMassTransferCorrectionFactor(self, double: float) -> None: ... + def setMassTransferCorrelation(self, massTransferCorrelation: 'RateBasedPackedColumn.MassTransferCorrelation') -> None: ... + def setMaxColumnResidualIterations(self, int: int) -> None: ... + def setMaxHeatTransferFractionPerSegment(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + def setMaxSegmentResidualIterations(self, int: int) -> None: ... + def setMaxTransferFractionPerSegment(self, double: float) -> None: ... + def setNumberOfSegments(self, int: int) -> None: ... + def setPackedHeight(self, double: float) -> None: ... + def setPackingSpecification(self, packingSpecification: jneqsim.process.equipment.distillation.internals.PackingSpecification) -> None: ... + def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSegmentResidualTolerance(self, double: float) -> None: ... + def setSegmentSolver(self, segmentSolver: 'RateBasedPackedColumn.SegmentSolver') -> None: ... + def setTransferComponents(self, *string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class ColumnSolver(java.lang.Enum['RateBasedPackedColumn.ColumnSolver']): + FIXED_POINT_PROFILE: typing.ClassVar['RateBasedPackedColumn.ColumnSolver'] = ... + EQUATION_ORIENTED: typing.ClassVar['RateBasedPackedColumn.ColumnSolver'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RateBasedPackedColumn.ColumnSolver': ... + @staticmethod + def values() -> typing.MutableSequence['RateBasedPackedColumn.ColumnSolver']: ... + class FilmModel(java.lang.Enum['RateBasedPackedColumn.FilmModel']): + OVERALL_TWO_RESISTANCE: typing.ClassVar['RateBasedPackedColumn.FilmModel'] = ... + MAXWELL_STEFAN_MATRIX: typing.ClassVar['RateBasedPackedColumn.FilmModel'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RateBasedPackedColumn.FilmModel': ... + @staticmethod + def values() -> typing.MutableSequence['RateBasedPackedColumn.FilmModel']: ... + class HeatTransferModel(java.lang.Enum['RateBasedPackedColumn.HeatTransferModel']): + NONE: typing.ClassVar['RateBasedPackedColumn.HeatTransferModel'] = ... + CHILTON_COLBURN_ANALOGY: typing.ClassVar['RateBasedPackedColumn.HeatTransferModel'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RateBasedPackedColumn.HeatTransferModel': ... + @staticmethod + def values() -> typing.MutableSequence['RateBasedPackedColumn.HeatTransferModel']: ... + class MassTransferCorrelation(java.lang.Enum['RateBasedPackedColumn.MassTransferCorrelation']): + ONDA_1968: typing.ClassVar['RateBasedPackedColumn.MassTransferCorrelation'] = ... + BILLET_SCHULTES_1999: typing.ClassVar['RateBasedPackedColumn.MassTransferCorrelation'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RateBasedPackedColumn.MassTransferCorrelation': ... + @staticmethod + def values() -> typing.MutableSequence['RateBasedPackedColumn.MassTransferCorrelation']: ... + class SegmentResult(java.io.Serializable): + def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, double14: float, double15: float, double16: float, double17: float, double18: float, double19: float, double20: float, double21: float, double22: float, double23: float, double24: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], map4: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str], int2: int, double25: float, double26: float, double27: float): ... + def getComponentMoleTransfer(self) -> java.util.Map[java.lang.String, float]: ... + def getEnthalpyBalanceResidualW(self) -> float: ... + def getGasDensity(self) -> float: ... + def getGasDiffusivity(self) -> float: ... + def getGasHeatTransferCoefficient(self) -> float: ... + def getGasMolarFlow(self) -> float: ... + def getGasPressureBar(self) -> float: ... + def getGasTemperatureK(self) -> float: ... + def getGasViscosity(self) -> float: ... + def getHeatBalanceResidualW(self) -> float: ... + def getHeatTransferRateW(self) -> float: ... + def getHeightFromBottom(self) -> float: ... + def getInterfaceEquilibriumRatios(self) -> java.util.Map[java.lang.String, float]: ... + def getInterfaceGasMoleFractions(self) -> java.util.Map[java.lang.String, float]: ... + def getInterfaceLiquidMoleFractions(self) -> java.util.Map[java.lang.String, float]: ... + def getInterfaceTemperatureK(self) -> float: ... + def getKGa(self) -> float: ... + def getKLa(self) -> float: ... + def getLiquidDensity(self) -> float: ... + def getLiquidDiffusivity(self) -> float: ... + def getLiquidHeatTransferCoefficient(self) -> float: ... + def getLiquidMolarFlow(self) -> float: ... + def getLiquidPressureBar(self) -> float: ... + def getLiquidTemperatureK(self) -> float: ... + def getLiquidViscosity(self) -> float: ... + def getMaxFluxResidualMolPerSec(self) -> float: ... + def getNetMolarTransfer(self) -> float: ... + def getOverallHeatTransferCoefficient(self) -> float: ... + def getPercentFlood(self) -> float: ... + def getPressureDropPerMeter(self) -> float: ... + def getResidualIterations(self) -> int: ... + def getSegmentNumber(self) -> int: ... + def getSegmentSolver(self) -> java.lang.String: ... + def getWettedArea(self) -> float: ... + class SegmentSolver(java.lang.Enum['RateBasedPackedColumn.SegmentSolver']): + SEQUENTIAL_EXPLICIT: typing.ClassVar['RateBasedPackedColumn.SegmentSolver'] = ... + SIMULTANEOUS_RESIDUAL: typing.ClassVar['RateBasedPackedColumn.SegmentSolver'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RateBasedPackedColumn.SegmentSolver': ... + @staticmethod + def values() -> typing.MutableSequence['RateBasedPackedColumn.SegmentSolver']: ... + class SarirAtmosphericFractionationCase: SIMPLE_TRAY_COUNT: typing.ClassVar[int] = ... FEED_INTERNAL_INDEX: typing.ClassVar[int] = ... @@ -1091,6 +1268,7 @@ class PackedColumn(DistillationColumn): def getFloodingVelocity(self) -> float: ... def getHETP(self) -> float: ... def getHydraulics(self) -> jneqsim.process.equipment.distillation.internals.PackingHydraulicsCalculator: ... + def getLastHydraulicsError(self) -> java.lang.String: ... def getPackedHeight(self) -> float: ... def getPackingHydraulicCapacityFactor(self) -> float: ... @typing.overload @@ -1100,6 +1278,7 @@ class PackedColumn(DistillationColumn): def getPackingType(self) -> java.lang.String: ... def getPercentFlood(self) -> float: ... def getTheoreticalStages(self) -> float: ... + def isHydraulicsCalculated(self) -> bool: ... def isHydraulicsOk(self) -> bool: ... def isStructuredPacking(self) -> bool: ... @typing.overload @@ -1155,6 +1334,7 @@ class __module_protocol__(Protocol): NaphtaliSandholmSolver: typing.Type[NaphtaliSandholmSolver] PackedColumn: typing.Type[PackedColumn] ProductBoilingPointDistribution: typing.Type[ProductBoilingPointDistribution] + RateBasedPackedColumn: typing.Type[RateBasedPackedColumn] ReactiveTray: typing.Type[ReactiveTray] Reboiler: typing.Type[Reboiler] SarirAtmosphericFractionationCase: typing.Type[SarirAtmosphericFractionationCase] diff --git a/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi index 55007f60..cca432d7 100644 --- a/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi @@ -310,9 +310,11 @@ class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface, jneqsi def getSpecifiedOutletTemperature(self) -> float: ... def getSpecifiedOutletTemperatureUnit(self) -> java.lang.String: ... def getUtilitySpecification(self) -> UtilityStreamSpecification: ... + def hasDutySpecification(self) -> bool: ... def hasMaxOutletTemperatureLimit(self) -> bool: ... def hasMinOutletTemperatureLimit(self) -> bool: ... def hasOutletPressureSpecification(self) -> bool: ... + def hasOutletTemperatureSpecification(self) -> bool: ... def initElectricalDesign(self) -> None: ... def initInstrumentDesign(self) -> None: ... def initMechanicalDesign(self) -> None: ... @@ -427,7 +429,7 @@ class FiredHeater(Heater): @typing.overload def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... -class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): +class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVectorProvider): guessOutTemperature: float = ... guessOutTemperatureUnit: java.lang.String = ... thermalEffectiveness: float = ... @@ -708,15 +710,21 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... + def getMaximumFeasibleApproach(self) -> float: ... @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... + def getSolverMessage(self) -> java.lang.String: ... + def getSolverStatus(self) -> 'MultiStreamHeatExchanger2.SolverStatus': ... + def getSpecifiedTemperatureApproach(self) -> float: ... def getTemperatureApproach(self) -> float: ... def getThermalEffectiveness(self) -> float: ... def getUA(self) -> float: ... def getUAvalue(self) -> float: ... + def isSpecificationMet(self) -> bool: ... + def isThrowOnUnmetSpecification(self) -> bool: ... def oneUnknown(self) -> None: ... def pinch(self) -> float: ... @typing.overload @@ -737,6 +745,7 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): def setHotColdDutyBalance(self, double: float) -> None: ... def setTemperatureApproach(self, double: float) -> None: ... def setThermalEffectiveness(self, double: float) -> None: ... + def setThrowOnUnmetSpecification(self, boolean: bool) -> None: ... def setUAvalue(self, double: float) -> None: ... def setUseDeltaT(self, boolean: bool) -> None: ... def threeUnknowns(self) -> None: ... @@ -745,6 +754,22 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... def twoUnknowns(self) -> None: ... + class SolverStatus(java.lang.Enum['MultiStreamHeatExchanger2.SolverStatus']): + NOT_RUN: typing.ClassVar['MultiStreamHeatExchanger2.SolverStatus'] = ... + CONVERGED: typing.ClassVar['MultiStreamHeatExchanger2.SolverStatus'] = ... + DEGENERATE: typing.ClassVar['MultiStreamHeatExchanger2.SolverStatus'] = ... + INFEASIBLE: typing.ClassVar['MultiStreamHeatExchanger2.SolverStatus'] = ... + FALLBACK: typing.ClassVar['MultiStreamHeatExchanger2.SolverStatus'] = ... + FAILED: typing.ClassVar['MultiStreamHeatExchanger2.SolverStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'MultiStreamHeatExchanger2.SolverStatus': ... + @staticmethod + def values() -> typing.MutableSequence['MultiStreamHeatExchanger2.SolverStatus']: ... class NeqHeater(Heater): @typing.overload diff --git a/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi b/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi index 26753732..34d933c9 100644 --- a/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi @@ -14,7 +14,7 @@ import typing -class IEC81346LetterCode(java.lang.Enum['IEC81346LetterCode'], java.io.Serializable): +class IEC81346LetterCode(java.lang.Enum['IEC81346LetterCode']): A: typing.ClassVar['IEC81346LetterCode'] = ... B: typing.ClassVar['IEC81346LetterCode'] = ... C: typing.ClassVar['IEC81346LetterCode'] = ... diff --git a/src/jneqsim-stubs/process/equipment/network/__init__.pyi b/src/jneqsim-stubs/process/equipment/network/__init__.pyi index 2f0eda27..52cf0447 100644 --- a/src/jneqsim-stubs/process/equipment/network/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/network/__init__.pyi @@ -72,6 +72,222 @@ class CrudeParcel(java.io.Serializable): def getProvenance(self) -> java.lang.String: ... def getRoute(self) -> java.lang.String: ... +class FieldNetworkTopology(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, loopedPipeNetwork: 'LoopedPipeNetwork'): ... + def addChoke(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addCompressor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addDemandSink(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float, double2: float) -> 'FieldNetworkTopology.FieldNode': ... + def addFixedPressureSink(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float, double2: float) -> 'FieldNetworkTopology.FieldNode': ... + def addJunction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float) -> 'FieldNetworkTopology.FieldNode': ... + def addLiveWellNode(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float, double2: float) -> 'FieldNetworkTopology.FieldNode': ... + def addPipe(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], edgeRole: 'FieldNetworkTopology.EdgeRole', service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, double2: float, pipeModelType: 'LoopedPipeNetwork.PipeModelType') -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPressureSource(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service', double: float, double2: float, double3: float) -> 'FieldNetworkTopology.FieldNode': ... + def addPump(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPumpDifferentialPressure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def bindEquipment(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'FieldNetworkTopology': ... + def copyDefinition(self) -> 'FieldNetworkTopology': ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology': ... + def getBoundEquipment(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getEdge(self, string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.FieldEdge': ... + def getEdges(self) -> java.util.List['FieldNetworkTopology.FieldEdge']: ... + def getHydraulicNetwork(self) -> 'LoopedPipeNetwork': ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.FieldNode': ... + def getNodes(self) -> java.util.List['FieldNetworkTopology.FieldNode']: ... + def registerExistingEdge(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], edgeRole: 'FieldNetworkTopology.EdgeRole', service: 'FieldNetworkTopology.Service', flowDirection: 'FieldNetworkTopology.FlowDirection', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.FieldEdge': ... + def registerExistingNode(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], nodeRole: 'FieldNetworkTopology.NodeRole', service: 'FieldNetworkTopology.Service') -> 'FieldNetworkTopology.FieldNode': ... + def toJson(self) -> java.lang.String: ... + def validate(self) -> java.util.List['FieldNetworkTopology.ValidationIssue']: ... + def validateForExecution(self) -> None: ... + class EdgeRole(java.lang.Enum['FieldNetworkTopology.EdgeRole']): + WELL_INFLOW: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + TUBING: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + CHOKE: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + JUMPER: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + FLOWLINE: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + TRUNKLINE: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + PIPELINE: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + RISER: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + HEADER: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + PUMP: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + COMPRESSOR: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + TIE_IN: typing.ClassVar['FieldNetworkTopology.EdgeRole'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.EdgeRole': ... + @staticmethod + def values() -> typing.MutableSequence['FieldNetworkTopology.EdgeRole']: ... + class FieldEdge(java.io.Serializable): + def getEquipmentTag(self) -> java.lang.String: ... + def getFlowDirection(self) -> 'FieldNetworkTopology.FlowDirection': ... + def getFromPort(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getRole(self) -> 'FieldNetworkTopology.EdgeRole': ... + def getService(self) -> 'FieldNetworkTopology.Service': ... + def getToPort(self) -> java.lang.String: ... + class FieldNode(java.io.Serializable): + def getEquipmentTag(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getRole(self) -> 'FieldNetworkTopology.NodeRole': ... + def getService(self) -> 'FieldNetworkTopology.Service': ... + class FlowDirection(java.lang.Enum['FieldNetworkTopology.FlowDirection']): + FROM_TO: typing.ClassVar['FieldNetworkTopology.FlowDirection'] = ... + BIDIRECTIONAL: typing.ClassVar['FieldNetworkTopology.FlowDirection'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.FlowDirection': ... + @staticmethod + def values() -> typing.MutableSequence['FieldNetworkTopology.FlowDirection']: ... + class NodeRole(java.lang.Enum['FieldNetworkTopology.NodeRole']): + PRODUCTION_WELL: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + INJECTION_WELL: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + INJECTION_SOURCE: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + TREE: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + TEMPLATE: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + MANIFOLD: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + PLEM: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + PLET: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + JUNCTION: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + HOST: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + BROWNFIELD_TIE_IN: typing.ClassVar['FieldNetworkTopology.NodeRole'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.NodeRole': ... + @staticmethod + def values() -> typing.MutableSequence['FieldNetworkTopology.NodeRole']: ... + class Service(java.lang.Enum['FieldNetworkTopology.Service']): + PRODUCTION: typing.ClassVar['FieldNetworkTopology.Service'] = ... + INJECTION: typing.ClassVar['FieldNetworkTopology.Service'] = ... + SHARED: typing.ClassVar['FieldNetworkTopology.Service'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.Service': ... + @staticmethod + def values() -> typing.MutableSequence['FieldNetworkTopology.Service']: ... + class Severity(java.lang.Enum['FieldNetworkTopology.Severity']): + ERROR: typing.ClassVar['FieldNetworkTopology.Severity'] = ... + WARNING: typing.ClassVar['FieldNetworkTopology.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FieldNetworkTopology.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['FieldNetworkTopology.Severity']: ... + class ValidationIssue(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getIdentity(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'FieldNetworkTopology.Severity': ... + def toString(self) -> java.lang.String: ... + +class FieldWellNetworkCoupler: + def __init__(self, fieldNetworkTopology: FieldNetworkTopology): ... + def bindInjectionWell(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow) -> 'FieldWellNetworkCoupler': ... + @typing.overload + def bindProductionWell(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow) -> 'FieldWellNetworkCoupler': ... + @typing.overload + def bindProductionWell(self, string: typing.Union[java.lang.String, str], wellSystem: jneqsim.process.equipment.reservoir.WellSystem) -> 'FieldWellNetworkCoupler': ... + def copy(self) -> 'FieldWellNetworkCoupler': ... + def getBindings(self) -> java.util.List['FieldWellNetworkCoupler.WellBinding']: ... + def getLastResult(self) -> 'FieldWellNetworkCoupler.CouplingResult': ... + def getTopology(self) -> FieldNetworkTopology: ... + @typing.overload + def run(self) -> 'FieldWellNetworkCoupler.CouplingResult': ... + @typing.overload + def run(self, uUID: java.util.UUID) -> 'FieldWellNetworkCoupler.CouplingResult': ... + def setMaximumIterations(self, int: int) -> None: ... + def setRelaxationFactor(self, double: float) -> None: ... + def setShutInThresholdKgS(self, double: float) -> None: ... + def setTolerances(self, double: float, double2: float) -> None: ... + class CouplingResult: + def getIterations(self) -> int: ... + def getMassBalanceResidualKgS(self) -> float: ... + def getMaximumPressureResidualBar(self) -> float: ... + def getMaximumRateResidualKgS(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getNetworkResidualPa(self) -> float: ... + def getWellResults(self) -> java.util.List['FieldWellNetworkCoupler.WellResult']: ... + def isConverged(self) -> bool: ... + class WellBinding: + def getNodeId(self) -> java.lang.String: ... + def getService(self) -> FieldNetworkTopology.Service: ... + def getWellFlow(self) -> jneqsim.process.equipment.reservoir.WellFlow: ... + def getWellSystem(self) -> jneqsim.process.equipment.reservoir.WellSystem: ... + class WellResult: + def getAppliedRateKgS(self) -> float: ... + def getInnerIterations(self) -> int: ... + def getInnerPressureResidualBar(self) -> float: ... + def getMessage(self) -> java.lang.String: ... + def getNodeId(self) -> java.lang.String: ... + def getNodePressureBara(self) -> float: ... + def getRateResidualKgS(self) -> float: ... + def getService(self) -> FieldNetworkTopology.Service: ... + def getStatus(self) -> 'FieldWellNetworkCoupler.WellStatus': ... + def getTargetRateKgS(self) -> float: ... + def isInnerConverged(self) -> bool: ... + class WellStatus(java.lang.Enum['FieldWellNetworkCoupler.WellStatus']): + FLOWING: typing.ClassVar['FieldWellNetworkCoupler.WellStatus'] = ... + SHUT_IN: typing.ClassVar['FieldWellNetworkCoupler.WellStatus'] = ... + INNER_WELL_NOT_CONVERGED: typing.ClassVar['FieldWellNetworkCoupler.WellStatus'] = ... + BHP_LIMIT_EXCEEDED: typing.ClassVar['FieldWellNetworkCoupler.WellStatus'] = ... + FRACTURE_LIMIT_EXCEEDED: typing.ClassVar['FieldWellNetworkCoupler.WellStatus'] = ... + FLUID_INCOMPATIBLE: typing.ClassVar['FieldWellNetworkCoupler.WellStatus'] = ... + EVALUATION_FAILED: typing.ClassVar['FieldWellNetworkCoupler.WellStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FieldWellNetworkCoupler.WellStatus': ... + @staticmethod + def values() -> typing.MutableSequence['FieldWellNetworkCoupler.WellStatus']: ... + +class FieldWellNetworkProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], fieldWellNetworkCoupler: FieldWellNetworkCoupler): ... + def copy(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getCoupler(self) -> FieldWellNetworkCoupler: ... + def getExclusiveRouteEdges(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getExclusiveRouteProvenance(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getExclusiveRouteSelection(self, string: typing.Union[java.lang.String, str]) -> int: ... + def getExclusiveRouteSelectorNames(self) -> java.util.List[java.lang.String]: ... + def getHydraulicNetwork(self) -> 'LoopedPipeNetwork': ... + def getLastCouplingResult(self) -> FieldWellNetworkCoupler.CouplingResult: ... + @typing.overload + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + @typing.overload + def getOutletStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getTopology(self) -> FieldNetworkTopology: ... + def registerExclusiveRouteSelector(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str]) -> 'FieldWellNetworkProcessUnit': ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setExclusiveRouteSelection(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + class GasLinepackState(java.io.Serializable): def advance(self, double: float, double2: float, double3: float, double4: float, double5: float, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'GasLinepackState': ... @staticmethod @@ -162,6 +378,7 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def generateCoupledVFPTables(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[typing.MutableSequence[float]]]: ... def generateNetworkBackpressureCurve(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def getAnnualCO2EmissionsTonnes(self) -> float: ... + def getAssignedNodeFluidNames(self) -> java.util.Set[java.lang.String]: ... def getAttachedReservoir(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... def getCO2EmissionFactor(self) -> float: ... def getCompositionConvergenceReport(self) -> 'NetworkCompositionConvergenceReport': ... @@ -170,6 +387,7 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getCompositionTolerance(self) -> float: ... def getConstraintViolations(self) -> java.util.List[java.lang.String]: ... def getCorrosionViolations(self) -> java.util.List[java.lang.String]: ... + def getEffectiveHydraulicModelType(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.PipeModelType': ... def getEmissionsIntensity(self) -> float: ... def getErosionalVelocityViolations(self) -> java.util.List[java.lang.String]: ... def getFluidTemplate(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -375,6 +593,7 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setTemperature(self, double: float) -> None: ... class NetworkPipe: def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def createInitializedTwoFluidPipe(self) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... def getAmbientTemperature(self) -> float: ... def getAmbientTemperatureProfileDistanceM(self) -> typing.MutableSequence[float]: ... def getAmbientTemperatureProfileK(self) -> typing.MutableSequence[float]: ... @@ -418,6 +637,9 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getHeadLoss(self) -> float: ... def getHeatTransferProfileDistanceM(self) -> typing.MutableSequence[float]: ... def getHeatTransferProfileWm2K(self) -> typing.MutableSequence[float]: ... + def getHydraulicModelStatus(self) -> java.lang.String: ... + def getHydraulicModelType(self) -> 'LoopedPipeNetwork.PipeModelType': ... + def getHydraulicProfile(self) -> 'LoopedPipeNetwork.NetworkPipe.HydraulicProfile': ... def getInletFluid(self) -> jneqsim.thermo.system.SystemInterface: ... def getIprType(self) -> 'LoopedPipeNetwork.IPRType': ... def getLength(self) -> float: ... @@ -457,6 +679,7 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getToNode(self) -> java.lang.String: ... def getTubingInclination(self) -> float: ... def getTubingSegments(self) -> int: ... + def getTwoFluidModel(self) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... def getVelocity(self) -> float: ... def getVogelQmax(self) -> float: ... def getWallThickness(self) -> float: ... @@ -508,6 +731,7 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setH2sMoleFraction(self, double: float) -> None: ... def setHeadLoss(self, double: float) -> None: ... def setHeatTransferProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHydraulicModelType(self, pipeModelType: 'LoopedPipeNetwork.PipeModelType') -> None: ... def setIprType(self, iPRType: 'LoopedPipeNetwork.IPRType') -> None: ... def setLength(self, double: float) -> None: ... def setLiquidHoldup(self, double: float) -> None: ... @@ -541,6 +765,14 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setWaterCut(self, double: float) -> None: ... def setWaterFlowRate(self, double: float) -> None: ... def setWaterInjectionRate(self, double: float) -> None: ... + class HydraulicProfile: + def getCellLengthM(self) -> typing.MutableSequence[float]: ... + def getGasSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getLiquidHoldup(self) -> typing.MutableSequence[float]: ... + def getLiquidSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getPositionM(self) -> typing.MutableSequence[float]: ... + def getPressurePa(self) -> typing.MutableSequence[float]: ... + def getTemperatureK(self) -> typing.MutableSequence[float]: ... class NodeType(java.lang.Enum['LoopedPipeNetwork.NodeType']): SOURCE: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... SINK: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... @@ -557,6 +789,7 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): class PipeModelType(java.lang.Enum['LoopedPipeNetwork.PipeModelType']): DARCY_WEISBACH: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... BEGGS_BRILL: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... + TWO_FLUID: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod @@ -668,6 +901,8 @@ class NetworkConstraints: @staticmethod def edgeFlow(string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> NetworkConstraint: ... @staticmethod + def edgeMinimumOutletTemperature(string: typing.Union[java.lang.String, str], double: float, boolean: bool) -> NetworkConstraint: ... + @staticmethod def massBalance(double: float, boolean: bool) -> NetworkConstraint: ... @staticmethod def nodePressure(string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> NetworkConstraint: ... @@ -692,6 +927,7 @@ class NetworkDecisionVariable(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str], type: 'NetworkDecisionVariable.Type', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], rateBasis: 'NetworkDecisionVariable.RateBasis', double: float, double2: float): ... @staticmethod def custom(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, getter: typing.Union['NetworkDecisionVariable.Getter', typing.Callable], setter: typing.Union['NetworkDecisionVariable.Setter', typing.Callable]) -> 'NetworkDecisionVariable': ... + def getDiscreteValues(self) -> typing.MutableSequence[float]: ... def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... def getRateBasis(self) -> 'NetworkDecisionVariable.RateBasis': ... @@ -700,6 +936,9 @@ class NetworkDecisionVariable(java.io.Serializable): def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def getValue(self, loopedPipeNetwork: LoopedPipeNetwork) -> float: ... + def isDiscrete(self) -> bool: ... + @staticmethod + def pipeDiameter(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NetworkDecisionVariable': ... def setValue(self, loopedPipeNetwork: LoopedPipeNetwork, double: float) -> None: ... class Getter(java.io.Serializable): def get(self, loopedPipeNetwork: LoopedPipeNetwork) -> float: ... @@ -731,6 +970,7 @@ class NetworkDecisionVariable(java.io.Serializable): PUMP_SPEED: typing.ClassVar['NetworkDecisionVariable.Type'] = ... ROUTE_ALLOCATION: typing.ClassVar['NetworkDecisionVariable.Type'] = ... EDGE_AVAILABILITY: typing.ClassVar['NetworkDecisionVariable.Type'] = ... + PIPE_DIAMETER: typing.ClassVar['NetworkDecisionVariable.Type'] = ... CUSTOM: typing.ClassVar['NetworkDecisionVariable.Type'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @@ -742,6 +982,45 @@ class NetworkDecisionVariable(java.io.Serializable): @staticmethod def values() -> typing.MutableSequence['NetworkDecisionVariable.Type']: ... +class NetworkHydraulicModelComparison: + def __init__(self, fieldNetworkTopology: FieldNetworkTopology): ... + def compare(self, list: java.util.List[typing.Union[java.lang.String, str]], uUID: java.util.UUID) -> 'NetworkHydraulicModelComparison.Result': ... + def compareMeshSensitivity(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[int], uUID: java.util.UUID) -> 'NetworkHydraulicModelComparison.MeshSensitivityResult': ... + class EdgeComparison: + def getAverageLiquidHoldupDifference(self) -> float: ... + def getBeggsBrillFlowRateKgS(self) -> float: ... + def getBeggsBrillPressureDropPa(self) -> float: ... + def getBeggsBrillProfiles(self) -> 'NetworkHydraulicModelComparison.ModelProfiles': ... + def getEdgeId(self) -> java.lang.String: ... + def getOutletTemperatureDifferenceK(self) -> float: ... + def getPressureDropDifferencePa(self) -> float: ... + def getRelativeAverageGasSuperficialVelocityDifference(self) -> float: ... + def getRelativeAverageLiquidSuperficialVelocityDifference(self) -> float: ... + def getRelativePressureDropDifference(self) -> float: ... + def getTwoFluidFlowRateKgS(self) -> float: ... + def getTwoFluidPressureDropPa(self) -> float: ... + def getTwoFluidProfiles(self) -> 'NetworkHydraulicModelComparison.ModelProfiles': ... + class MeshSensitivityResult: + def getResult(self, int: int) -> 'NetworkHydraulicModelComparison.Result': ... + def getSegmentCounts(self) -> java.util.Set[int]: ... + class ModelProfiles: + def getAverageGasSuperficialVelocityMs(self) -> float: ... + def getAverageLiquidHoldup(self) -> float: ... + def getAverageLiquidSuperficialVelocityMs(self) -> float: ... + def getCellLengthM(self) -> typing.MutableSequence[float]: ... + def getGasSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getLiquidHoldup(self) -> typing.MutableSequence[float]: ... + def getLiquidSuperficialVelocityMs(self) -> typing.MutableSequence[float]: ... + def getPositionM(self) -> typing.MutableSequence[float]: ... + def getPressurePa(self) -> typing.MutableSequence[float]: ... + def getTemperatureK(self) -> typing.MutableSequence[float]: ... + class Result: + def createInitializedTwoFluidPipe(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.pipeline.TwoFluidPipe: ... + def getBeggsBrillMassBalanceErrorKgS(self) -> float: ... + def getEdgeComparison(self, string: typing.Union[java.lang.String, str]) -> 'NetworkHydraulicModelComparison.EdgeComparison': ... + def getEdgeIds(self) -> java.util.Set[java.lang.String]: ... + def getTwoFluidMassBalanceErrorKgS(self) -> float: ... + class NetworkLinearSolver: def __init__(self): ... @staticmethod @@ -1476,6 +1755,9 @@ class __module_protocol__(Protocol): CrudeAssay: typing.Type[CrudeAssay] CrudeBlendResult: typing.Type[CrudeBlendResult] CrudeParcel: typing.Type[CrudeParcel] + FieldNetworkTopology: typing.Type[FieldNetworkTopology] + FieldWellNetworkCoupler: typing.Type[FieldWellNetworkCoupler] + FieldWellNetworkProcessUnit: typing.Type[FieldWellNetworkProcessUnit] GasLinepackState: typing.Type[GasLinepackState] GasQualityMetric: typing.Type[GasQualityMetric] LoopDetector: typing.Type[LoopDetector] @@ -1488,6 +1770,7 @@ class __module_protocol__(Protocol): NetworkConstraints: typing.Type[NetworkConstraints] NetworkCouplingReport: typing.Type[NetworkCouplingReport] NetworkDecisionVariable: typing.Type[NetworkDecisionVariable] + NetworkHydraulicModelComparison: typing.Type[NetworkHydraulicModelComparison] NetworkLinearSolver: typing.Type[NetworkLinearSolver] NetworkLoop: typing.Type[NetworkLoop] NetworkMeasuredAttribute: typing.Type[NetworkMeasuredAttribute] diff --git a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi index f5b419c9..f37bea2d 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi @@ -98,6 +98,35 @@ class Fittings(java.io.Serializable): def setLtoD(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... +class FlowSolveReport(java.io.Serializable): + def getBracketIterations(self) -> int: ... + def getCandidateFlowKgPerHour(self) -> float: ... + def getIterations(self) -> int: ... + def getLowerFlowKgPerHour(self) -> float: ... + def getPressureResidualBar(self) -> float: ... + def getPressureToleranceBar(self) -> float: ... + def getTerminationReason(self) -> 'FlowSolveReport.TerminationReason': ... + def getUpperFlowKgPerHour(self) -> float: ... + def isConverged(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class TerminationReason(java.lang.Enum['FlowSolveReport.TerminationReason']): + CONVERGED: typing.ClassVar['FlowSolveReport.TerminationReason'] = ... + ITERATION_LIMIT: typing.ClassVar['FlowSolveReport.TerminationReason'] = ... + BRACKET_LIMIT: typing.ClassVar['FlowSolveReport.TerminationReason'] = ... + INNER_FAILURE: typing.ClassVar['FlowSolveReport.TerminationReason'] = ... + NON_FINITE_OUTPUT: typing.ClassVar['FlowSolveReport.TerminationReason'] = ... + INVALID_INPUT: typing.ClassVar['FlowSolveReport.TerminationReason'] = ... + REPLAY_FAILURE: typing.ClassVar['FlowSolveReport.TerminationReason'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FlowSolveReport.TerminationReason': ... + @staticmethod + def values() -> typing.MutableSequence['FlowSolveReport.TerminationReason']: ... + class GravityDumpFloodInjectionAnalyzer(java.io.Serializable): G: typing.ClassVar[float] = ... DEFAULT_CAVITATION_THRESHOLD: typing.ClassVar[float] = ... @@ -173,6 +202,29 @@ class MultilayerThermalCalculator(java.io.Serializable): def toString(self) -> java.lang.String: ... def updateTransient(self, double: float) -> None: ... +class PigMotion(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def advance(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'PigMotion.Step': ... + def simulate(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> 'PigMotion.Trajectory': ... + class Step(java.io.Serializable): + def getDisplacementM(self) -> float: ... + def getDistanceM(self) -> float: ... + def getDurationSeconds(self) -> float: ... + def getEnergyResidualJ(self) -> float: ... + def getFrictionHeatJ(self) -> float: ... + def getGravityWorkJ(self) -> float: ... + def getKineticEnergyChangeJ(self) -> float: ... + def getMovingSeconds(self) -> float: ... + def getPositionM(self) -> float: ... + def getPressureWorkJ(self) -> float: ... + def getStopTimeSeconds(self) -> float: ... + def getVelocityMps(self) -> float: ... + class Trajectory(java.io.Serializable): + def getPositionsM(self) -> typing.MutableSequence[float]: ... + def getSteps(self) -> typing.MutableSequence['PigMotion.Step']: ... + def getTimesSeconds(self) -> typing.MutableSequence[float]: ... + def getVelocitiesMps(self) -> typing.MutableSequence[float]: ... + class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface): def calculateHoopStress(self) -> float: ... def calculateMAOP(self) -> float: ... @@ -1123,6 +1175,7 @@ class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): def getFlowRegime(self) -> java.lang.String: ... def getFlowRegimeEnum(self) -> 'PipeBeggsAndBrills.FlowRegime': ... def getFlowRegimeProfileList(self) -> java.util.List['PipeBeggsAndBrills.FlowRegime']: ... + def getFlowSolveReport(self) -> FlowSolveReport: ... def getFormationTemperatureGradient(self) -> float: ... def getGasSuperficialVelocityProfile(self) -> java.util.List[float]: ... def getHeatTransferCoefficient(self) -> float: ... @@ -2290,11 +2343,13 @@ class __module_protocol__(Protocol): CO2FlowCorrections: typing.Type[CO2FlowCorrections] CO2InjectionWellAnalyzer: typing.Type[CO2InjectionWellAnalyzer] Fittings: typing.Type[Fittings] + FlowSolveReport: typing.Type[FlowSolveReport] GravityDumpFloodInjectionAnalyzer: typing.Type[GravityDumpFloodInjectionAnalyzer] IncompressiblePipeFlow: typing.Type[IncompressiblePipeFlow] MultilayerThermalCalculator: typing.Type[MultilayerThermalCalculator] MultiphasePipe: typing.Type[MultiphasePipe] OnePhasePipeLine: typing.Type[OnePhasePipeLine] + PigMotion: typing.Type[PigMotion] PipeBeggsAndBrills: typing.Type[PipeBeggsAndBrills] PipeGray: typing.Type[PipeGray] PipeHagedornBrown: typing.Type[PipeHagedornBrown] diff --git a/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi b/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi index dc28b3bc..696cc5dc 100644 --- a/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi @@ -20,6 +20,7 @@ import jneqsim.process.util.combustion import jneqsim.process.util.report import jneqsim.thermo.characterization import jneqsim.thermo.system +import jneqsim.util.validation import typing @@ -474,6 +475,398 @@ class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheck def getTransitions(self) -> java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransition.Result]: ... def getUnchangedTransitionCount(self) -> int: ... +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChain.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChain.Result) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition.Result': ... + @staticmethod + def verify(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChain.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChain.Result, result3: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getCandidateChainDigestHex(self) -> java.lang.String: ... + def getCandidateFinalManifestDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getPriorChainDigestHex(self) -> java.lang.String: ... + def getPriorFinalManifestDigestHex(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getTransitionDigestBytes(self) -> typing.MutableSequence[int]: ... + def getTransitionDigestHex(self) -> java.lang.String: ... + def isStrictAppend(self) -> bool: ... + def isUnchanged(self) -> bool: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition.Result]) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger.Result': ... + @staticmethod + def verify(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition.Result], result: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getFinalCandidateFinalManifestDigestHex(self) -> java.lang.String: ... + def getFirstPriorChainDigestHex(self) -> java.lang.String: ... + def getFirstPriorFinalManifestDigestHex(self) -> java.lang.String: ... + def getLedgerDigestBytes(self) -> typing.MutableSequence[int]: ... + def getLedgerDigestHex(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getTransitionCount(self) -> int: ... + def getTransitions(self) -> java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition.Result]: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger.Result) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition.Result': ... + @staticmethod + def verify(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger.Result, result3: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getCandidateFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getCandidateFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getCandidateLedgerDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getPriorFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getPriorFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getPriorLedgerDigestHex(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getTransitionDigestBytes(self) -> typing.MutableSequence[int]: ... + def getTransitionDigestHex(self) -> java.lang.String: ... + def isStrictAppend(self) -> bool: ... + def isUnchanged(self) -> bool: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition.Result]) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result': ... + @staticmethod + def verify(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition.Result], result: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getChainDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getFinalCandidateLedgerDigestHex(self) -> java.lang.String: ... + def getFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getFirstPriorChainDigestHex(self) -> java.lang.String: ... + def getFirstPriorLedgerDigestHex(self) -> java.lang.String: ... + def getFirstPriorManifestDigestHex(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getStrictAppendReceiptCount(self) -> int: ... + def getTransitionChainIdentifier(self) -> java.lang.String: ... + def getTransitionCount(self) -> int: ... + def getTransitions(self) -> java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition.Result]: ... + def getUnchangedReceiptCount(self) -> int: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(string: typing.Union[java.lang.String, str], long: int, result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint.Result': ... + @staticmethod + def verify(string: typing.Union[java.lang.String, str], long: int, result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result, result2: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getChainDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getCheckpointDigestHex(self) -> java.lang.String: ... + def getCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointSequence(self) -> int: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getFinalCandidateLedgerDigestHex(self) -> java.lang.String: ... + def getFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getFirstPriorChainDigestHex(self) -> java.lang.String: ... + def getFirstPriorLedgerDigestHex(self) -> java.lang.String: ... + def getFirstPriorManifestDigestHex(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getStrictAppendReceiptCount(self) -> int: ... + def getTransitionChainIdentifier(self) -> java.lang.String: ... + def getTransitionCount(self) -> int: ... + def getUnchangedReceiptCount(self) -> int: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint.Result, result3: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result, result4: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint.Result) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition.Result': ... + @staticmethod + def verify(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint.Result, result3: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain.Result, result4: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint.Result, result5: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getCandidateChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getCandidateChainDigestHex(self) -> java.lang.String: ... + def getCandidateCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getCandidateCheckpointDigestHex(self) -> java.lang.String: ... + def getCandidateCheckpointSequence(self) -> int: ... + def getCandidateFinalChainDigestHex(self) -> java.lang.String: ... + def getCandidateFinalLedgerDigestHex(self) -> java.lang.String: ... + def getCandidateFinalManifestDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getCheckpointIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getPriorChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getPriorChainDigestHex(self) -> java.lang.String: ... + def getPriorCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getPriorCheckpointDigestHex(self) -> java.lang.String: ... + def getPriorCheckpointSequence(self) -> int: ... + def getPriorFinalChainDigestHex(self) -> java.lang.String: ... + def getPriorFinalLedgerDigestHex(self) -> java.lang.String: ... + def getPriorFinalManifestDigestHex(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getSequenceDelta(self) -> int: ... + def getTransitionChainIdentifier(self) -> java.lang.String: ... + def getTransitionDigestBytes(self) -> typing.MutableSequence[int]: ... + def getTransitionDigestHex(self) -> java.lang.String: ... + def isStrictAppend(self) -> bool: ... + def isUnchanged(self) -> bool: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition.Result]) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result': ... + @staticmethod + def verify(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition.Result], result: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getChainDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getFinalCandidateCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFinalCandidateCheckpointSequence(self) -> int: ... + def getFinalCandidateLedgerDigestHex(self) -> java.lang.String: ... + def getFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getFinalCandidateTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorChainDigestHex(self) -> java.lang.String: ... + def getFirstPriorCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorCheckpointSequence(self) -> int: ... + def getFirstPriorLedgerDigestHex(self) -> java.lang.String: ... + def getFirstPriorManifestDigestHex(self) -> java.lang.String: ... + def getFirstPriorTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getStrictAppendReceiptCount(self) -> int: ... + def getTotalSequenceDelta(self) -> int: ... + def getTransitionChainIdentifier(self) -> java.lang.String: ... + def getTransitionCount(self) -> int: ... + def getTransitions(self) -> java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition.Result]: ... + def getUnchangedReceiptCount(self) -> int: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(string: typing.Union[java.lang.String, str], long: int, result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint.Result': ... + @staticmethod + def verify(string: typing.Union[java.lang.String, str], long: int, result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result, result2: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getChainDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getCheckpointDigestHex(self) -> java.lang.String: ... + def getCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointSequence(self) -> int: ... + def getCheckpointTransitionChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getFinalCandidateCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFinalCandidateCheckpointSequence(self) -> int: ... + def getFinalCandidateLedgerDigestHex(self) -> java.lang.String: ... + def getFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getFinalCandidateTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorChainDigestHex(self) -> java.lang.String: ... + def getFirstPriorCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorCheckpointSequence(self) -> int: ... + def getFirstPriorLedgerDigestHex(self) -> java.lang.String: ... + def getFirstPriorManifestDigestHex(self) -> java.lang.String: ... + def getFirstPriorTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getStrictAppendReceiptCount(self) -> int: ... + def getTotalSequenceDelta(self) -> int: ... + def getTransitionChainIdentifier(self) -> java.lang.String: ... + def getTransitionCount(self) -> int: ... + def getUnchangedReceiptCount(self) -> int: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint.Result, result3: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result, result4: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint.Result) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition.Result': ... + @staticmethod + def verify(result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result, result2: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint.Result, result3: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain.Result, result4: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint.Result, result5: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getCandidateChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getCandidateChainDigestHex(self) -> java.lang.String: ... + def getCandidateCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getCandidateCheckpointDigestHex(self) -> java.lang.String: ... + def getCandidateCheckpointSequence(self) -> int: ... + def getCandidateFinalChainDigestHex(self) -> java.lang.String: ... + def getCandidateFinalLedgerDigestHex(self) -> java.lang.String: ... + def getCandidateFinalManifestDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getPriorChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getPriorChainDigestHex(self) -> java.lang.String: ... + def getPriorCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getPriorCheckpointDigestHex(self) -> java.lang.String: ... + def getPriorCheckpointSequence(self) -> int: ... + def getPriorFinalChainDigestHex(self) -> java.lang.String: ... + def getPriorFinalLedgerDigestHex(self) -> java.lang.String: ... + def getPriorFinalManifestDigestHex(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getSequenceDelta(self) -> int: ... + def getTransitionDigestBytes(self) -> typing.MutableSequence[int]: ... + def getTransitionDigestHex(self) -> java.lang.String: ... + def isStrictAppend(self) -> bool: ... + def isUnchanged(self) -> bool: ... + +class AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransitionChain: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition.Result]) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransitionChain.Result': ... + @staticmethod + def verify(string: typing.Union[java.lang.String, str], list: java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition.Result], result: 'AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransitionChain.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getChainDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointTransitionChainIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getFinalCandidateCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFinalCandidateCheckpointSequence(self) -> int: ... + def getFinalCandidateCheckpointTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFinalCandidateLedgerDigestHex(self) -> java.lang.String: ... + def getFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getFirstPriorChainDigestHex(self) -> java.lang.String: ... + def getFirstPriorCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorCheckpointSequence(self) -> int: ... + def getFirstPriorCheckpointTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorLedgerDigestHex(self) -> java.lang.String: ... + def getFirstPriorManifestDigestHex(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getStrictAppendReceiptCount(self) -> int: ... + def getTotalSequenceDelta(self) -> int: ... + def getTransitionCount(self) -> int: ... + def getTransitions(self) -> java.util.List[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition.Result]: ... + def getUnchangedReceiptCount(self) -> int: ... + class AqueousHydrogenSulfideOxidationS8StreamApplicationPreview: @staticmethod def applyToClone(result: AqueousHydrogenSulfideOxidationS8ComponentAdditionPlan.Result, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'AqueousHydrogenSulfideOxidationS8StreamApplicationPreview.Result': ... @@ -1012,6 +1405,40 @@ class CatalyticTubeReformer(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def toJson(self) -> java.lang.String: ... +class FiniteRateCombustionReactor(jneqsim.process.equipment.TwoPortEquipment): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getKineticsResultJson(self) -> java.lang.String: ... + def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getProjectedEosMassResidual(self) -> float: ... + def getSpeciesMolarFlow(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getUnmappedMassFraction(self) -> float: ... + def isOutletProjectionValid(self) -> bool: ... + def isSpeciesAvailable(self, string: typing.Union[java.lang.String, str]) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setEnergyBalanceTolerance(self, double: float) -> None: ... + def setHeatLoss(self, double: float, double2: float) -> None: ... + def setIgnitionTemperature(self, double: float) -> None: ... + def setKineticsBackend(self, combustionKineticsBackend: typing.Union[jneqsim.process.util.combustion.CombustionKineticsBackend, typing.Callable]) -> None: ... + def setProjectionTolerance(self, double: float) -> None: ... + def setReactorModel(self, reactorModel: 'FiniteRateCombustionReactor.ReactorModel') -> None: ... + def setResidenceTime(self, double: float) -> None: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class ReactorModel(java.lang.Enum['FiniteRateCombustionReactor.ReactorModel']): + CONSTANT_PRESSURE_PFR: typing.ClassVar['FiniteRateCombustionReactor.ReactorModel'] = ... + PERFECTLY_STIRRED: typing.ClassVar['FiniteRateCombustionReactor.ReactorModel'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'FiniteRateCombustionReactor.ReactorModel': ... + @staticmethod + def values() -> typing.MutableSequence['FiniteRateCombustionReactor.ReactorModel']: ... + class FurnaceBurner(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAirFuelRatioMass(self) -> float: ... @@ -1687,6 +2114,54 @@ class ReformerFurnace(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def toJson(self) -> java.lang.String: ... +class S8QualifiedTransitionChainCheckpoint: + DIGEST_ALGORITHM: typing.ClassVar[java.lang.String] = ... + SCHEMA_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + @staticmethod + def create(string: typing.Union[java.lang.String, str], long: int, result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransitionChain.Result) -> 'S8QualifiedTransitionChainCheckpoint.Result': ... + @staticmethod + def verify(string: typing.Union[java.lang.String, str], long: int, result: AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransitionChain.Result, result2: 'S8QualifiedTransitionChainCheckpoint.Result') -> bool: ... + class Result(java.io.Serializable): + def getAddedEntryCount(self) -> int: ... + def getAddedLedgerReceiptCount(self) -> int: ... + def getAddedReceiptCount(self) -> int: ... + def getAddedReconciliationCount(self) -> int: ... + def getAddedStrictAppendCount(self) -> int: ... + def getAddedStrictAppendTransitionCount(self) -> int: ... + def getAddedTransitionCount(self) -> int: ... + def getAddedUnchangedCount(self) -> int: ... + def getAddedUnchangedTransitionCount(self) -> int: ... + def getChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getChainDigestHex(self) -> java.lang.String: ... + def getChainIdentifier(self) -> java.lang.String: ... + def getCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getCheckpointDigestHex(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointTransitionChainCheckpointIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainCheckpointTransitionChainCheckpointSequence(self) -> int: ... + def getCheckpointTransitionChainCheckpointTransitionChainIdentifier(self) -> java.lang.String: ... + def getCheckpointTransitionChainIdentifier(self) -> java.lang.String: ... + def getDigestAlgorithm(self) -> java.lang.String: ... + def getFinalCandidateChainDigestHex(self) -> java.lang.String: ... + def getFinalCandidateCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFinalCandidateCheckpointSequence(self) -> int: ... + def getFinalCandidateCheckpointTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFinalCandidateLedgerDigestHex(self) -> java.lang.String: ... + def getFinalCandidateManifestDigestHex(self) -> java.lang.String: ... + def getFirstPriorChainDigestHex(self) -> java.lang.String: ... + def getFirstPriorCheckpointDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorCheckpointSequence(self) -> int: ... + def getFirstPriorCheckpointTransitionChainDigestBytes(self) -> typing.MutableSequence[int]: ... + def getFirstPriorLedgerDigestHex(self) -> java.lang.String: ... + def getFirstPriorManifestDigestHex(self) -> java.lang.String: ... + def getLedgerIdentifier(self) -> java.lang.String: ... + def getManifestIdentifier(self) -> java.lang.String: ... + def getSchemaIdentifier(self) -> java.lang.String: ... + def getStrictAppendReceiptCount(self) -> int: ... + def getTotalSequenceDelta(self) -> int: ... + def getTransitionCount(self) -> int: ... + def getUnchangedReceiptCount(self) -> int: ... + class StirredTankReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -1944,7 +2419,30 @@ class Fermenter(StirredTankReactor): def setMaintenanceCoefficient(self, double: float) -> None: ... def setTargetPH(self, double: float) -> None: ... -class QualifiedCO2ImpurityKineticReactor(CO2ImpurityKineticReactor, java.io.Serializable): +class MultiBurnerFiredHeater(FiniteRateCombustionReactor): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, int: int): ... + def configureBurner(self, int: int, boolean: bool, double: float, double2: float, double3: float) -> None: ... + def getFiringDutyMW(self) -> float: ... + def getHotOilOutlet(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getResidualChemicalPowerMW(self) -> float: ... + def getShellHeatLossMW(self) -> float: ... + def getStackSensibleHeatMW(self) -> float: ... + def getUsefulHeatMW(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setBurnerEnabled(self, int: int, boolean: bool) -> None: ... + def setChamberGeometry(self, double: float, double2: float) -> None: ... + def setHotOilInlet(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setIgnitionTemperature(self, double: float) -> None: ... + def setRefractory(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setTubeHeatTransfer(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + +class QualifiedCO2ImpurityKineticReactor(CO2ImpurityKineticReactor): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload @@ -2153,6 +2651,16 @@ class __module_protocol__(Protocol): AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifest: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifest] AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransition: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransition] AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChain: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChain] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransition] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedger] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransition] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChain] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpoint] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransition] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChain] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpoint] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransition] + AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransitionChain: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationBatchReconciliationCheckpointManifestTransitionChainTransitionLedgerTransitionChainCheckpointTransitionChainCheckpointTransitionChain] AqueousHydrogenSulfideOxidationS8StreamApplicationPreview: typing.Type[AqueousHydrogenSulfideOxidationS8StreamApplicationPreview] AqueousHydrogenSulfideOxidationS8Transfer: typing.Type[AqueousHydrogenSulfideOxidationS8Transfer] AqueousHydrogenSulfideOxidationS8TransferBatch: typing.Type[AqueousHydrogenSulfideOxidationS8TransferBatch] @@ -2172,6 +2680,7 @@ class __module_protocol__(Protocol): EnzymeTreatment: typing.Type[EnzymeTreatment] FermentationReactor: typing.Type[FermentationReactor] Fermenter: typing.Type[Fermenter] + FiniteRateCombustionReactor: typing.Type[FiniteRateCombustionReactor] FurnaceBurner: typing.Type[FurnaceBurner] GibbsReactor: typing.Type[GibbsReactor] GibbsReactorCO2: typing.Type[GibbsReactorCO2] @@ -2180,6 +2689,7 @@ class __module_protocol__(Protocol): KineticReaction: typing.Type[KineticReaction] KineticReactionDiagnostics: typing.Type[KineticReactionDiagnostics] KineticReactionQualification: typing.Type[KineticReactionQualification] + MultiBurnerFiredHeater: typing.Type[MultiBurnerFiredHeater] PartialOxidationReactor: typing.Type[PartialOxidationReactor] PlugFlowReactor: typing.Type[PlugFlowReactor] PyrolysisReactor: typing.Type[PyrolysisReactor] @@ -2187,6 +2697,7 @@ class __module_protocol__(Protocol): QuenchSection: typing.Type[QuenchSection] ReactorAxialProfile: typing.Type[ReactorAxialProfile] ReformerFurnace: typing.Type[ReformerFurnace] + S8QualifiedTransitionChainCheckpoint: typing.Type[S8QualifiedTransitionChainCheckpoint] StirredTankReactor: typing.Type[StirredTankReactor] StoichiometricReaction: typing.Type[StoichiometricReaction] SulfurDepositionAnalyser: typing.Type[SulfurDepositionAnalyser] diff --git a/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi b/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi index bbe9ebb1..b20613b5 100644 --- a/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi @@ -92,6 +92,90 @@ class CementDegradationModel(jneqsim.process.equipment.ProcessEquipmentBaseClass @staticmethod def values() -> typing.MutableSequence['CementDegradationModel.CementType']: ... +class InflowControlCompletion(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addZone(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'InflowControlCompletion': ... + def compareAtSameOil(self, double: float, double2: float) -> 'InflowControlCompletion.Comparison': ... + def drawdownForOilRate(self, double: float, boolean: bool, double2: float) -> float: ... + def getName(self) -> java.lang.String: ... + def getNumberOfZones(self) -> int: ... + def setDevice(self, inflowControlDevice: 'InflowControlDevice') -> 'InflowControlCompletion': ... + def setFluidProperties(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'InflowControlCompletion': ... + def setFormationVolumeFactors(self, double: float, double2: float, double3: float) -> 'InflowControlCompletion': ... + def solve(self, double: float, boolean: bool) -> 'InflowControlCompletion.Result': ... + class Comparison(java.io.Serializable): + def getBare(self) -> 'InflowControlCompletion.Result': ... + def getExtraDrawdownBar(self) -> float: ... + def getGasReduction(self) -> float: ... + def getWaterReduction(self) -> float: ... + def getWithDevice(self) -> 'InflowControlCompletion.Result': ... + def isOilRateReached(self) -> bool: ... + class Result(java.io.Serializable): + def getDrawdownBar(self) -> float: ... + def getGasRate(self) -> float: ... + def getGor(self) -> float: ... + def getOilRate(self) -> float: ... + def getWaterCut(self) -> float: ... + def getWaterRate(self) -> float: ... + def getZoneDeviceDp(self, int: int) -> float: ... + def getZoneFlow(self, int: int) -> float: ... + def isDeviceInService(self) -> bool: ... + class Zone(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def getGasFraction(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getProductivityIndex(self) -> float: ... + def getWaterFraction(self) -> float: ... + +class InflowControlDevice(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], deviceType: 'InflowControlDevice.DeviceType', int: int): ... + @staticmethod + def aicd(string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'InflowControlDevice': ... + @staticmethod + def aicv(string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float) -> 'InflowControlDevice': ... + def calibrateAicd(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + @staticmethod + def dar(string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float) -> 'InflowControlDevice': ... + def flowRateM3PerDay(self, double: float, mixture: 'InflowControlDevice.Mixture') -> float: ... + def getName(self) -> java.lang.String: ... + def getNumberOfDevices(self) -> int: ... + def getType(self) -> 'InflowControlDevice.DeviceType': ... + @staticmethod + def icd(string: typing.Union[java.lang.String, str], int: int, double: float, int2: int, double2: float) -> 'InflowControlDevice': ... + def openFraction(self, mixture: 'InflowControlDevice.Mixture') -> float: ... + def pressureDropBar(self, double: float, mixture: 'InflowControlDevice.Mixture') -> float: ... + def setDensityWindow(self, double: float) -> None: ... + def setDesignOilDensity(self, double: float) -> None: ... + def setDesignOilViscosity(self, double: float) -> None: ... + def setMinOpenFraction(self, double: float) -> None: ... + def setNozzle(self, double: float, int: int, double2: float) -> None: ... + def setSwitchSteepness(self, double: float) -> None: ... + def setSwitchViscosityRatio(self, double: float) -> None: ... + class DeviceType(java.lang.Enum['InflowControlDevice.DeviceType']): + ICD: typing.ClassVar['InflowControlDevice.DeviceType'] = ... + AICD: typing.ClassVar['InflowControlDevice.DeviceType'] = ... + AICV: typing.ClassVar['InflowControlDevice.DeviceType'] = ... + DAR: typing.ClassVar['InflowControlDevice.DeviceType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'InflowControlDevice.DeviceType': ... + @staticmethod + def values() -> typing.MutableSequence['InflowControlDevice.DeviceType']: ... + class Mixture(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float): ... + def getDensity(self) -> float: ... + def getGasFraction(self) -> float: ... + def getOilDensity(self) -> float: ... + def getOilFraction(self) -> float: ... + def getOilViscosity(self) -> float: ... + def getViscosity(self) -> float: ... + def getWaterFraction(self) -> float: ... + def withFractions(self, double: float, double2: float) -> 'InflowControlDevice.Mixture': ... + class InflowPerformance(java.io.Serializable): DARCY_PI_CONSTANT: typing.ClassVar[float] = ... def __init__(self, model: 'InflowPerformance.Model', double: float, double2: float, double3: float): ... @@ -593,12 +677,26 @@ class WellSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): @staticmethod def values() -> typing.MutableSequence['WellSystem.VLPSolverMode']: ... +class WellUnloadingScreening: + @staticmethod + def chokeLimitedLiquidRate(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + @staticmethod + def cvToKv(double: float) -> float: ... + @staticmethod + def liquidShare(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def staticWellheadPressure(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + @staticmethod + def unloadingTimeHours(double: float, double2: float) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reservoir")``. AnnularLeakagePath: typing.Type[AnnularLeakagePath] CementDegradationModel: typing.Type[CementDegradationModel] + InflowControlCompletion: typing.Type[InflowControlCompletion] + InflowControlDevice: typing.Type[InflowControlDevice] InflowPerformance: typing.Type[InflowPerformance] InjectionConformanceMonitor: typing.Type[InjectionConformanceMonitor] MultiCompartmentReservoir: typing.Type[MultiCompartmentReservoir] @@ -611,3 +709,4 @@ class __module_protocol__(Protocol): Well: typing.Type[Well] WellFlow: typing.Type[WellFlow] WellSystem: typing.Type[WellSystem] + WellUnloadingScreening: typing.Type[WellUnloadingScreening] diff --git a/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi b/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi index 0291e832..e30bbfcf 100644 --- a/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi @@ -135,6 +135,7 @@ class ComponentSplitter(jneqsim.process.equipment.ProcessEquipmentBaseClass): def toJson(self) -> java.lang.String: ... @typing.overload def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class SplitterInterface(jneqsim.process.equipment.ProcessEquipmentInterface): def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... diff --git a/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi b/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi index 0f419e4b..67631835 100644 --- a/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi @@ -10,12 +10,14 @@ import java.util import jpype import jneqsim.process.equipment import jneqsim.process.equipment.pipeline +import jneqsim.process.equipment.separator import jneqsim.process.equipment.stream import jneqsim.process.equipment.valve import jneqsim.process.mechanicaldesign import jneqsim.process.mechanicaldesign.subsea import jneqsim.process.util.report import jneqsim.thermo.system +import jneqsim.util.validation import typing @@ -849,6 +851,37 @@ class SubseaPowerCable(jneqsim.process.equipment.ProcessEquipmentBaseClass): @staticmethod def values() -> typing.MutableSequence['SubseaPowerCable.CableType']: ... +class SubseaSeparationStation(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidPumpPowerKW(self) -> float: ... + @typing.overload + def getMassBalance(self) -> float: ... + @typing.overload + def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getSeparator(self) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... + def getTotalPowerKW(self) -> float: ... + def getWaterMassFractionInLiquidOut(self) -> float: ... + def getWaterOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getWaterPumpPowerKW(self) -> float: ... + def getWaterRemovedFraction(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setGasCarryUnderFraction(self, double: float) -> None: ... + def setLiquidExportPressure(self, double: float) -> None: ... + def setOilInWaterFraction(self, double: float) -> None: ... + def setPressureDrop(self, double: float) -> None: ... + def setPumpEfficiency(self, double: float) -> None: ... + def setVesselDimensions(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterInjectionPressure(self, double: float) -> None: ... + def setWaterRemovalEfficiency(self, double: float) -> None: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class SubseaTree(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self): ... @@ -1192,6 +1225,7 @@ class __module_protocol__(Protocol): SubseaJumper: typing.Type[SubseaJumper] SubseaManifold: typing.Type[SubseaManifold] SubseaPowerCable: typing.Type[SubseaPowerCable] + SubseaSeparationStation: typing.Type[SubseaSeparationStation] SubseaTree: typing.Type[SubseaTree] SubseaWell: typing.Type[SubseaWell] Umbilical: typing.Type[Umbilical] diff --git a/src/jneqsim-stubs/process/equipment/tank/__init__.pyi b/src/jneqsim-stubs/process/equipment/tank/__init__.pyi index 23282a3d..6feda48a 100644 --- a/src/jneqsim-stubs/process/equipment/tank/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/tank/__init__.pyi @@ -20,6 +20,35 @@ import typing +class MountainCavern(jneqsim.process.equipment.ProcessEquipmentBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def copyInventoryFrom(self, mountainCavern: 'MountainCavern') -> None: ... + def enableVent(self, double: float, double2: float) -> None: ... + def getCavernPressure(self) -> float: ... + def getDropLineRelaxationTime(self) -> float: ... + def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLastVentedMolesPerHour(self) -> float: ... + def getLiquidLevelFraction(self) -> float: ... + def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTotalVolume(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setCavernTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDropLineRelaxationTime(self, double: float) -> None: ... + def setInitialCondition(self, double: float, double2: float) -> None: ... + def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLiquidWithdrawalRate(self, double: float) -> None: ... + def setTotalVolume(self, double: float) -> None: ... + class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.design.AutoSizeable, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -43,6 +72,7 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process. def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGasCarryunderFraction(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeatTransferNumber(self) -> float: ... def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... @@ -58,8 +88,14 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process. def getMinLiquidLevel(self) -> float: ... def getMinResidenceTime(self) -> float: ... def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getSeparatorDiameter(self) -> float: ... + def getSeparatorLength(self) -> float: ... def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... + def getSteelCp(self) -> float: ... + def getSteelWallArea(self) -> float: ... + def getSteelWallMass(self) -> float: ... + def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getVolume(self) -> float: ... def initMechanicalDesign(self) -> None: ... def isAutoSized(self) -> bool: ... @@ -80,13 +116,20 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process. def setDesignResidenceTime(self, double: float) -> None: ... def setEfficiency(self, double: float) -> None: ... def setGasCarryunderFraction(self, double: float) -> None: ... + def setHeatTransferNumber(self, double: float) -> None: ... def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def setLiquidCarryoverFraction(self, double: float) -> None: ... def setMaxLiquidLevel(self, double: float) -> None: ... def setMinLiquidLevel(self, double: float) -> None: ... def setMinResidenceTime(self, double: float) -> None: ... def setOutComposition(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSeparatorDiameter(self, double: float) -> None: ... + def setSeparatorLength(self, double: float) -> None: ... + def setSteelCp(self, double: float) -> None: ... + def setSteelWallArea(self, double: float) -> None: ... + def setSteelWallMass(self, double: float) -> None: ... def setTempPres(self, double: float, double2: float) -> None: ... + def setTotalVolume(self, double: float, double2: float) -> None: ... def setVolume(self, double: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -421,5 +464,6 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.tank")``. LNGTank: typing.Type[LNGTank] + MountainCavern: typing.Type[MountainCavern] Tank: typing.Type[Tank] VesselDepressurization: typing.Type[VesselDepressurization] diff --git a/src/jneqsim-stubs/process/equipment/valve/__init__.pyi b/src/jneqsim-stubs/process/equipment/valve/__init__.pyi index 5031077d..1d3c9ddc 100644 --- a/src/jneqsim-stubs/process/equipment/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/valve/__init__.pyi @@ -218,6 +218,22 @@ class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsi def setTravelTime(self, double: float) -> None: ... def setTravelTimeConstant(self, double: float) -> None: ... +class ValveRangeabilityScreening: + @staticmethod + def evaluate(valveTrimCharacteristic: 'ValveTrimCharacteristic', double: float, double2: float, double3: float) -> 'ValveRangeabilityScreening.Result': ... + @staticmethod + def flowFraction(valveTrimCharacteristic: 'ValveTrimCharacteristic', double: float, double2: float) -> float: ... + class Result(java.io.Serializable): + def __init__(self, valveTrimCharacteristic: 'ValveTrimCharacteristic', double: float, double2: float, double3: float, double4: float, double5: float): ... + def getExtraFlowFraction(self) -> float: ... + def getFlowFraction1(self) -> float: ... + def getFlowFraction2(self) -> float: ... + def getFlowRatio(self) -> float: ... + def getRangeability(self) -> float: ... + def getTravelFraction1(self) -> float: ... + def getTravelFraction2(self) -> float: ... + def getTrim(self) -> 'ValveTrimCharacteristic': ... + class ValveSeatLeakageClass(java.lang.Enum['ValveSeatLeakageClass']): EN_12266_RATE_A: typing.ClassVar['ValveSeatLeakageClass'] = ... EN_12266_RATE_B: typing.ClassVar['ValveSeatLeakageClass'] = ... @@ -260,6 +276,20 @@ class ValveTravelModel(java.lang.Enum['ValveTravelModel']): @staticmethod def values() -> typing.MutableSequence['ValveTravelModel']: ... +class ValveTrimCharacteristic(java.lang.Enum['ValveTrimCharacteristic']): + LINEAR: typing.ClassVar['ValveTrimCharacteristic'] = ... + EQUAL_PERCENTAGE: typing.ClassVar['ValveTrimCharacteristic'] = ... + QUICK_OPENING: typing.ClassVar['ValveTrimCharacteristic'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ValveTrimCharacteristic': ... + @staticmethod + def values() -> typing.MutableSequence['ValveTrimCharacteristic']: ... + class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -790,5 +820,7 @@ class __module_protocol__(Protocol): SafetyValve: typing.Type[SafetyValve] ThrottlingValve: typing.Type[ThrottlingValve] ValveInterface: typing.Type[ValveInterface] + ValveRangeabilityScreening: typing.Type[ValveRangeabilityScreening] ValveSeatLeakageClass: typing.Type[ValveSeatLeakageClass] ValveTravelModel: typing.Type[ValveTravelModel] + ValveTrimCharacteristic: typing.Type[ValveTrimCharacteristic] diff --git a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi index a39f0c10..380e747f 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi @@ -8,6 +8,7 @@ else: import java.io import java.lang import java.util +import jpype import jneqsim.process.equipment.reservoir import jneqsim.process.fielddevelopment.concept import typing @@ -154,8 +155,11 @@ class FiscalParameters(java.io.Serializable): def isEnhancedRdDeduction(self) -> bool: ... def isLossCarryBack(self) -> bool: ... def isLossCarryForward(self) -> bool: ... + def isLossRefund(self) -> bool: ... def isPscSystem(self) -> bool: ... def isRingFenced(self) -> bool: ... + @staticmethod + def norwegianCashFlowTax2022() -> 'FiscalParameters': ... def toString(self) -> java.lang.String: ... class Builder: def build(self) -> 'FiscalParameters': ... @@ -172,6 +176,7 @@ class FiscalParameters(java.io.Serializable): def investmentTaxCredit(self, double: float) -> 'FiscalParameters.Builder': ... def lossCarryBack(self, int: int) -> 'FiscalParameters.Builder': ... def lossCarryForward(self, int: int, double: float) -> 'FiscalParameters.Builder': ... + def lossRefund(self, boolean: bool) -> 'FiscalParameters.Builder': ... def profitSharing(self, double: float, double2: float) -> 'FiscalParameters.Builder': ... def resourceTaxRate(self, double: float) -> 'FiscalParameters.Builder': ... def ringFenced(self, ringFenceLevel: 'FiscalParameters.RingFenceLevel') -> 'FiscalParameters.Builder': ... @@ -369,6 +374,52 @@ class ProductionProfileGenerator(java.io.Serializable): def getInitialRatePerDay(self) -> float: ... def getLastHistoryYear(self) -> int: ... +class PscBidEconomics(java.io.Serializable): + def __init__(self): ... + def copy(self) -> 'PscBidEconomics': ... + def emvAtShare(self, double: float) -> float: ... + def evaluate(self) -> 'PscBidEconomics.Result': ... + def monteCarlo(self, int: int, long: int, double: float, double2: float, double3: float) -> 'PscBidEconomics.Distribution': ... + def setChanceOfDiscovery(self, double: float) -> 'PscBidEconomics': ... + def setCostOilCap(self, double: float) -> 'PscBidEconomics': ... + def setDevelopmentProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> 'PscBidEconomics': ... + def setDiscountRate(self, double: float) -> 'PscBidEconomics': ... + def setDiscoveryDelayYears(self, int: int) -> 'PscBidEconomics': ... + def setExplorationProgramCost(self, double: float) -> 'PscBidEconomics': ... + def setOilPrice(self, double: float) -> 'PscBidEconomics': ... + def setPriceLinkedShare(self, double: float, double2: float) -> 'PscBidEconomics': ... + def setPriceShareSteps(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'PscBidEconomics': ... + def setProfitOilShareOffered(self, double: float) -> 'PscBidEconomics': ... + def setRoyaltyRate(self, double: float) -> 'PscBidEconomics': ... + def setSignatureBonus(self, double: float) -> 'PscBidEconomics': ... + def setTax(self, double: float, int: int, double2: float) -> 'PscBidEconomics': ... + def setVolumeCases(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'PscBidEconomics': ... + def setWorkingInterest(self, double: float) -> 'PscBidEconomics': ... + def tornado(self, double: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + class Distribution(java.io.Serializable): + def __init__(self): ... + def getEmvMean(self) -> float: ... + def getEmvP10(self) -> float: ... + def getEmvP50(self) -> float: ... + def getEmvP90(self) -> float: ... + def getProbabilityLoss(self) -> float: ... + def getProbabilityLossGivenDiscovery(self) -> float: ... + def getSamples(self) -> int: ... + class Result(java.io.Serializable): + def __init__(self): ... + def getBreakEvenProfitOilShare(self) -> float: ... + def getChanceOfDiscovery(self) -> float: ... + def getContractorCashUndiscounted(self) -> float: ... + def getEmv(self) -> float: ... + def getGovernmentTake(self) -> float: ... + def getProfitOilShareOffered(self) -> float: ... + def getPvDevelopmentGivenDiscovery(self) -> float: ... + def getPvPreDiscoveryCost(self) -> float: ... + def getPvStateTakeGivenDiscovery(self) -> float: ... + def getShareHeadroom(self) -> float: ... + def getStateTakeUndiscounted(self) -> float: ... + def isValueCreating(self) -> bool: ... + class SensitivityAnalyzer(java.io.Serializable): def __init__(self, cashFlowEngine: CashFlowEngine, double: float): ... def breakevenAnalysis(self) -> 'SensitivityAnalyzer.BreakevenResult': ... @@ -575,6 +626,7 @@ class __module_protocol__(Protocol): NorwegianTaxModel: typing.Type[NorwegianTaxModel] PortfolioOptimizer: typing.Type[PortfolioOptimizer] ProductionProfileGenerator: typing.Type[ProductionProfileGenerator] + PscBidEconomics: typing.Type[PscBidEconomics] SensitivityAnalyzer: typing.Type[SensitivityAnalyzer] TaxModel: typing.Type[TaxModel] TaxModelRegistry: typing.Type[TaxModelRegistry] diff --git a/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi index d254ed9c..49d8a78e 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi @@ -8,6 +8,7 @@ else: import java.io import java.lang import java.util +import java.util.function import jpype import jneqsim.process.equipment.pipeline import jneqsim.process.equipment.reservoir @@ -109,6 +110,9 @@ class GasLiftPerformanceCurve(java.io.Serializable): def oilRateAt(self, double: float) -> float: ... def optimalLiftRate(self) -> float: ... +class GasZFactor(java.io.Serializable): + def z(self, double: float, double2: float) -> float: ... + class IntegratedProductionModel(java.io.Serializable): EXPORT_NODE: typing.ClassVar[java.lang.String] = ... def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -144,6 +148,18 @@ class IntegratedSolveResult(java.io.Serializable): def getWellRates(self) -> java.util.Map[java.lang.String, float]: ... def isConverged(self) -> bool: ... +class MaterialBalanceHistoryMatch: + @staticmethod + def fitPzLine(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> 'MaterialBalanceHistoryMatch.PzFit': ... + @staticmethod + def staticBottomholePressure(double: float, double2: float, double3: float, double4: float, gasZFactor: typing.Union[GasZFactor, typing.Callable]) -> float: ... + class PzFit(java.io.Serializable): + def getGiip(self) -> float: ... + def getInitialPOverZ(self) -> float: ... + def getKept(self) -> typing.MutableSequence[bool]: ... + def getKeptCount(self) -> int: ... + def getRmsResidual(self) -> float: ... + class NetworkBranch(java.io.Serializable): def flow(self, double: float, double2: float) -> float: ... def getFromNode(self) -> java.lang.String: ... @@ -219,6 +235,15 @@ class ProductionProfile(java.io.Serializable): def getRevenuePerDay(self) -> float: ... def getTimeYears(self) -> float: ... +class RawlinsSchellhardtFit(java.io.Serializable): + def __init__(self, double: float, double2: float): ... + @staticmethod + def fit(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> 'RawlinsSchellhardtFit': ... + def getCoefficient(self) -> float: ... + def getExponent(self) -> float: ... + def rate(self, double: float, double2: float) -> float: ... + def wellheadPressureFor(self, double: float, double2: float) -> float: ... + class ReservoirDrive(java.io.Serializable): def getCumulativeProduction(self) -> float: ... def getInPlaceVolume(self) -> float: ... @@ -291,11 +316,37 @@ class StrupeOkeReport(java.io.Serializable): def getRecommendedLiftRate(self) -> float: ... def getWellName(self) -> java.lang.String: ... +class SupplyCapacityBalance: + @staticmethod + def maximiseRate(doubleUnaryOperator: typing.Union[java.util.function.DoubleUnaryOperator, typing.Callable], doubleUnaryOperator2: typing.Union[java.util.function.DoubleUnaryOperator, typing.Callable], double3: float, double4: float) -> 'SupplyCapacityBalance.Result': ... + class Binding(java.lang.Enum['SupplyCapacityBalance.Binding']): + SUPPLY: typing.ClassVar['SupplyCapacityBalance.Binding'] = ... + FACILITY: typing.ClassVar['SupplyCapacityBalance.Binding'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SupplyCapacityBalance.Binding': ... + @staticmethod + def values() -> typing.MutableSequence['SupplyCapacityBalance.Binding']: ... + class PressureCapacityCurve(java.util.function.DoubleUnaryOperator, java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def applyAsDouble(self, double: float) -> float: ... + def capacityAt(self, double: float) -> float: ... + class Result(java.io.Serializable): + def getBinding(self) -> 'SupplyCapacityBalance.Binding': ... + def getPressure(self) -> float: ... + def getRate(self) -> float: ... + class WellDeliverabilityCurve(java.io.Serializable): def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... @staticmethod def fromArrays(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'WellDeliverabilityCurve': ... @staticmethod + def fromRawlinsSchellhardt(rawlinsSchellhardtFit: RawlinsSchellhardtFit, double: float, double2: float, int: int) -> 'WellDeliverabilityCurve': ... + @staticmethod def fromVogel(double: float, double2: float) -> 'WellDeliverabilityCurve': ... @staticmethod def fromWellSystem(wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float, double2: float, int: int) -> 'WellDeliverabilityCurve': ... @@ -325,6 +376,10 @@ class AquiferDrive(ReservoirDrive): def getReservoirPressure(self) -> float: ... def produce(self, double: float, double2: float) -> None: ... +class DranchukAbouKassemZ(GasZFactor): + def __init__(self, double: float, double2: float): ... + def z(self, double: float, double2: float) -> float: ... + class FlowlineBranch(NetworkBranch): def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... def flow(self, double: float, double2: float) -> float: ... @@ -354,6 +409,14 @@ class OilTankDrive(ReservoirDrive): def getReservoirPressure(self) -> float: ... def produce(self, double: float, double2: float) -> None: ... +class RealGasMaterialBalanceDrive(ReservoirDrive): + def __init__(self, double: float, double2: float, double3: float, gasZFactor: typing.Union[GasZFactor, typing.Callable], double4: float): ... + def getCumulativeProduction(self) -> float: ... + def getInPlaceVolume(self) -> float: ... + def getPOverZ(self) -> float: ... + def getReservoirPressure(self) -> float: ... + def produce(self, double: float, double2: float) -> None: ... + class WellBranch(NetworkBranch): def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], wellDeliverabilityCurve: WellDeliverabilityCurve, double: float): ... def flow(self, double: float, double2: float) -> float: ... @@ -375,20 +438,26 @@ class __module_protocol__(Protocol): AquiferDrive: typing.Type[AquiferDrive] ChokeAndGasLiftAllocationOptimizer: typing.Type[ChokeAndGasLiftAllocationOptimizer] ChokeableGasLiftWell: typing.Type[ChokeableGasLiftWell] + DranchukAbouKassemZ: typing.Type[DranchukAbouKassemZ] FlowlineBranch: typing.Type[FlowlineBranch] GasLiftNetworkOptimizer: typing.Type[GasLiftNetworkOptimizer] GasLiftPerformanceCurve: typing.Type[GasLiftPerformanceCurve] + GasZFactor: typing.Type[GasZFactor] IntegratedProductionModel: typing.Type[IntegratedProductionModel] IntegratedSolveResult: typing.Type[IntegratedSolveResult] MaterialBalanceGasDrive: typing.Type[MaterialBalanceGasDrive] + MaterialBalanceHistoryMatch: typing.Type[MaterialBalanceHistoryMatch] NetworkBranch: typing.Type[NetworkBranch] NetworkNewtonSolver: typing.Type[NetworkNewtonSolver] NetworkNode: typing.Type[NetworkNode] OilTankDrive: typing.Type[OilTankDrive] ProductionProfile: typing.Type[ProductionProfile] + RawlinsSchellhardtFit: typing.Type[RawlinsSchellhardtFit] + RealGasMaterialBalanceDrive: typing.Type[RealGasMaterialBalanceDrive] ReservoirDrive: typing.Type[ReservoirDrive] ReservoirToMarketOptimizer: typing.Type[ReservoirToMarketOptimizer] StrupeOkeReport: typing.Type[StrupeOkeReport] + SupplyCapacityBalance: typing.Type[SupplyCapacityBalance] WellBranch: typing.Type[WellBranch] WellDeliverabilityCurve: typing.Type[WellDeliverabilityCurve] WellTestMatcher: typing.Type[WellTestMatcher] diff --git a/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi index cd4dc8ab..9f4dfc28 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi @@ -9,8 +9,11 @@ import java.io import java.lang import java.util import jneqsim.process.costestimation +import jneqsim.process.engineering.calculation +import jneqsim.process.equipment.network import jneqsim.process.equipment.subsea import jneqsim.process.fielddevelopment.tieback +import jneqsim.process.mechanicaldesign.pipeline import jneqsim.process.mechanicaldesign.subsea import jneqsim.process.processmodel import jneqsim.thermo.system @@ -18,15 +21,62 @@ import typing +class FieldNetworkSurfDesignBasis(java.io.Serializable): + @staticmethod + def fromTopology(fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> 'FieldNetworkSurfDesignBasis': ... + def getDistributionUnitCount(self) -> int: ... + def getExportPipelineDiameterInches(self) -> float: ... + def getExportPipelineLengthKm(self) -> float: ... + def getInfieldFlowlineDiameterInches(self) -> float: ... + def getInfieldFlowlineLengthKm(self) -> float: ... + def getInjectionRiserCount(self) -> int: ... + def getInjectionWellCount(self) -> int: ... + def getJumperCount(self) -> int: ... + def getJumperDiameterInches(self) -> float: ... + def getLineSegments(self) -> java.util.List['FieldNetworkSurfDesignBasis.LineSegment']: ... + def getManifoldCount(self) -> int: ... + def getMeanJumperLengthM(self) -> float: ... + def getMeanRiserLengthM(self) -> float: ... + def getPlemCount(self) -> int: ... + def getPletCount(self) -> int: ... + def getProductionRiserCount(self) -> int: ... + def getProductionWellCount(self) -> int: ... + def getRiserDiameterInches(self) -> float: ... + def getSharedRiserCount(self) -> int: ... + def getSlotsPerDistributionUnit(self) -> int: ... + def getTemplateCount(self) -> int: ... + def getTotalJumperLengthM(self) -> float: ... + def getTotalRiserCount(self) -> int: ... + def getTotalWellCount(self) -> int: ... + def getTreeCount(self) -> int: ... + def getWaterDepthM(self) -> float: ... + class LineSegment(java.io.Serializable): + def getDiameterInches(self) -> float: ... + def getDiameterM(self) -> float: ... + def getEquipmentTag(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getLengthM(self) -> float: ... + def getRole(self) -> jneqsim.process.equipment.network.FieldNetworkTopology.EdgeRole: ... + def getService(self) -> jneqsim.process.equipment.network.FieldNetworkTopology.Service: ... + class SubseaProductionSystem(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... + def applyLineThermalDesigns(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> int: ... + def assessDnvStF101LineDesigns(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> java.util.Map[java.lang.String, jneqsim.process.engineering.calculation.EngineeringCalculationResult[jneqsim.process.mechanicaldesign.pipeline.DnvStF101PipelineAssessment]]: ... + def assessOnBottomStabilityLineDesigns(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> java.util.Map[java.lang.String, jneqsim.process.engineering.calculation.EngineeringCalculationResult[jneqsim.process.mechanicaldesign.subsea.DnvRpF109OnBottomStabilityAssessment]]: ... def build(self) -> 'SubseaProductionSystem': ... + def clearLineDesigns(self) -> None: ... + def createMinimumOutletTemperatureConstraints(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology, boolean: bool) -> java.util.List[jneqsim.process.equipment.network.NetworkConstraint]: ... + def createSurfCapitalCostObjective(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology, double: float) -> jneqsim.process.equipment.network.NetworkObjective: ... + def createSurfDesignBasis(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> FieldNetworkSurfDesignBasis: ... + def estimateSurfCosts(self, fieldNetworkTopology: jneqsim.process.equipment.network.FieldNetworkTopology) -> jneqsim.process.costestimation.CostEstimateResult: ... def getArchitecture(self) -> 'SubseaProductionSystem.SubseaArchitecture': ... def getArrivalPressureBara(self) -> float: ... def getArrivalTemperatureC(self) -> float: ... def getFlowlineDiameterInches(self) -> float: ... def getFlowlines(self) -> java.util.List[jneqsim.process.equipment.subsea.SimpleFlowLine]: ... def getJumpers(self) -> java.util.List[jneqsim.process.equipment.subsea.SubseaJumper]: ... + def getLineDesigns(self) -> java.util.Map[java.lang.String, jneqsim.process.mechanicaldesign.subsea.SURFCostEstimator.LineDesign]: ... def getManifolds(self) -> java.util.List[jneqsim.process.equipment.subsea.SubseaManifold]: ... def getName(self) -> java.lang.String: ... def getPLEMs(self) -> java.util.List[jneqsim.process.equipment.subsea.PLEM]: ... @@ -57,6 +107,7 @@ class SubseaProductionSystem(java.io.Serializable): def setFlowlineWallThicknessMm(self, double: float) -> 'SubseaProductionSystem': ... def setHostFacility(self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility) -> 'SubseaProductionSystem': ... def setIncludeRisers(self, boolean: bool) -> 'SubseaProductionSystem': ... + def setLineDesign(self, string: typing.Union[java.lang.String, str], lineDesign: jneqsim.process.mechanicaldesign.subsea.SURFCostEstimator.LineDesign) -> 'SubseaProductionSystem': ... def setManifoldCount(self, int: int) -> 'SubseaProductionSystem': ... def setProductionRiserCount(self, int: int) -> 'SubseaProductionSystem': ... def setRatePerWell(self, double: float) -> 'SubseaProductionSystem': ... @@ -112,4 +163,5 @@ class SubseaProductionSystem(java.io.Serializable): class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.subsea")``. + FieldNetworkSurfDesignBasis: typing.Type[FieldNetworkSurfDesignBasis] SubseaProductionSystem: typing.Type[SubseaProductionSystem] diff --git a/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi index f2bfc596..e047386b 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi @@ -8,6 +8,7 @@ else: import java.io import java.lang import java.util +import jpype import jneqsim.process.fielddevelopment.concept import jneqsim.process.fielddevelopment.economics import jneqsim.process.fielddevelopment.network @@ -124,6 +125,19 @@ class HostFacility(java.io.Serializable): def isProcessModelUsed(self) -> bool: ... def isWaterCapacityAvailable(self) -> bool: ... +class HostSynergyScreening: + @staticmethod + def synergyValue(double: float, double2: float, ullageCover: 'HostSynergyScreening.UllageCover') -> float: ... + @staticmethod + def ullageCover(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'HostSynergyScreening.UllageCover': ... + class UllageCover(java.io.Serializable): + def __init__(self): ... + def fits(self) -> bool: ... + def getFirstBindingYearIndex(self) -> int: ... + def getFractionServed(self) -> float: ... + def getMinCoverRatio(self) -> float: ... + def getUnmetDemandTotal(self) -> float: ... + class TiebackAnalyzer(java.io.Serializable): def __init__(self): ... @typing.overload @@ -302,6 +316,7 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.tieback")``. HostFacility: typing.Type[HostFacility] + HostSynergyScreening: typing.Type[HostSynergyScreening] TiebackAnalyzer: typing.Type[TiebackAnalyzer] TiebackOption: typing.Type[TiebackOption] TiebackReport: typing.Type[TiebackReport] diff --git a/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi index 6ad52052..6f8ccc50 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi @@ -10,6 +10,7 @@ import java.lang import java.util import jpype import jneqsim.process.fielddevelopment.tieback +import jneqsim.thermo.system import typing @@ -53,12 +54,23 @@ class HoldbackPolicy(java.lang.Enum['HoldbackPolicy']): @staticmethod def values() -> typing.MutableSequence['HoldbackPolicy']: ... +class HostFeed(java.io.Serializable): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float): ... + def getMolarRateMolPerSec(self) -> float: ... + def getMoleFractions(self) -> typing.MutableSequence[float]: ... + def getNumberOfComponents(self) -> int: ... + +class HostFeedProvider(java.io.Serializable): + def getFeed(self, productionLoad: 'ProductionLoad') -> HostFeed: ... + class HostTieInPoint(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... def getBaseProcessRate(self) -> float: ... + def getFeedProvider(self) -> HostFeedProvider: ... def getProcessRateUnit(self) -> java.lang.String: ... def getProcessStreamReference(self) -> java.lang.String: ... def setBaseProcessRate(self, double: float) -> 'HostTieInPoint': ... + def setFeedProvider(self, hostFeedProvider: typing.Union[HostFeedProvider, typing.Callable]) -> 'HostTieInPoint': ... def setGasToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... def setLiquidToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... def setOilToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... @@ -179,6 +191,11 @@ class TieInPeriodResult(java.io.Serializable): def isProcessCapacityAvailable(self) -> bool: ... def isProcessModelUsed(self) -> bool: ... +class RecombinedHostFeedProvider(HostFeedProvider): + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def getFeed(self, productionLoad: ProductionLoad) -> HostFeed: ... + def getReferenceGor(self) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.tieback.capacity")``. @@ -186,9 +203,12 @@ class __module_protocol__(Protocol): CapacityAllocationPolicy: typing.Type[CapacityAllocationPolicy] DebottleneckDecision: typing.Type[DebottleneckDecision] HoldbackPolicy: typing.Type[HoldbackPolicy] + HostFeed: typing.Type[HostFeed] + HostFeedProvider: typing.Type[HostFeedProvider] HostTieInPoint: typing.Type[HostTieInPoint] ProductionLoad: typing.Type[ProductionLoad] ProductionProfileSeries: typing.Type[ProductionProfileSeries] + RecombinedHostFeedProvider: typing.Type[RecombinedHostFeedProvider] TieInCapacityPlanner: typing.Type[TieInCapacityPlanner] TieInCapacityResult: typing.Type[TieInCapacityResult] TieInPeriodResult: typing.Type[TieInPeriodResult] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi index faedf618..ae968b67 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi @@ -8,6 +8,7 @@ else: import java.io import java.lang import java.util +import jpype import jneqsim.process.costestimation.compressor import jneqsim.process.equipment import jneqsim.process.equipment.compressor @@ -16,6 +17,25 @@ import typing +class AxialThrustScreening(java.io.Serializable): + @staticmethod + def evaluate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float) -> 'AxialThrustScreening.Result': ... + @staticmethod + def fitLinear(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + @staticmethod + def zeroCrossingFlow(double: float, double2: float) -> float: ... + class Result(java.io.Serializable): + def getIntercept(self) -> float: ... + def getMarginFraction(self) -> float: ... + def getMarginThresholdFraction(self) -> float: ... + def getOperatingFlow(self) -> float: ... + def getPredictedThrust(self) -> float: ... + def getSlope(self) -> float: ... + def getThrustDirection(self) -> java.lang.String: ... + def getZeroCrossingFlow(self) -> float: ... + def isNearNullThrust(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class CompressorCasingDesignCalculator(java.io.Serializable): def __init__(self): ... def calculate(self) -> None: ... @@ -387,6 +407,7 @@ class RotorUnbalanceAssessment(java.io.Serializable): class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.compressor")``. + AxialThrustScreening: typing.Type[AxialThrustScreening] CompressorCasingDesignCalculator: typing.Type[CompressorCasingDesignCalculator] CompressorDesignFeasibilityReport: typing.Type[CompressorDesignFeasibilityReport] CompressorMechanicalDesign: typing.Type[CompressorMechanicalDesign] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi index 089c861a..e82b8887 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi @@ -458,6 +458,8 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): def getWeldJointEfficiency(self) -> float: ... def getYoungsModulus(self) -> float: ... def isDesignSafe(self) -> bool: ... + @staticmethod + def isSupportedMaterialGrade(string: typing.Union[java.lang.String, str]) -> bool: ... def loadDesignFactorsFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... def loadFromDatabase(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... def loadMaterialFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... diff --git a/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi index 8675df46..9ea7b241 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi @@ -11,10 +11,13 @@ import java.lang import java.util import jpype import jneqsim.process.costestimation +import jneqsim.process.engineering.calculation import jneqsim.process.equipment +import jneqsim.process.equipment.pipeline import jneqsim.process.equipment.subsea import jneqsim.process.mechanicaldesign import jneqsim.process.mechanicaldesign.designstandards +import jneqsim.process.mechanicaldesign.pipeline import jneqsim.thermo.system import typing @@ -345,7 +348,12 @@ class SURFCostEstimator: def __init__(self): ... @typing.overload def __init__(self, int: int, double: float, region: 'SubseaCostEstimator.Region'): ... + @typing.overload + def addLineSegment(self, string: typing.Union[java.lang.String, str], lineCategory: 'SURFCostEstimator.LineCategory', double: float, double2: float) -> None: ... + @typing.overload + def addLineSegment(self, string: typing.Union[java.lang.String, str], lineCategory: 'SURFCostEstimator.LineCategory', double: float, lineDesign: 'SURFCostEstimator.LineDesign') -> None: ... def calculate(self) -> float: ... + def clearLineSegments(self) -> None: ... def excludeExportPipeline(self, double: float) -> None: ... def getCategoryLineItems(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -354,6 +362,8 @@ class SURFCostEstimator: def getEstimateClass(self) -> jneqsim.process.costestimation.EstimateClass: ... def getFlowlineCostUSD(self) -> float: ... def getLineItems(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getLineSegmentCount(self) -> int: ... + def getNumberOfManifolds(self) -> int: ... def getRiserCostUSD(self) -> float: ... def getSubseaCostUSD(self) -> float: ... def getTotalCostInCurrency(self, double: float) -> float: ... @@ -372,12 +382,14 @@ class SURFCostEstimator: def setInfieldFlowlineDiameterInches(self, double: float) -> None: ... def setInfieldFlowlineFlexible(self, boolean: bool) -> None: ... def setInfieldFlowlineLengthKm(self, double: float) -> None: ... + def setInsulationPricePerM3(self, double: float) -> None: ... def setJumperDiameterInches(self, double: float) -> None: ... def setJumperLengthM(self, double: float) -> None: ... def setManifoldHasTestHeader(self, boolean: bool) -> None: ... def setManifoldSlots(self, int: int) -> None: ... def setManifoldWeightTonnes(self, double: float) -> None: ... def setNumberOfJumpers(self, int: int) -> None: ... + def setNumberOfManifolds(self, int: int) -> None: ... def setNumberOfPLEMs(self, int: int) -> None: ... def setNumberOfPLETs(self, int: int) -> None: ... def setNumberOfProductionRisers(self, int: int) -> None: ... @@ -405,6 +417,76 @@ class SURFCostEstimator: def setUmbilicalLengthKm(self, double: float) -> None: ... def setWaterDepthM(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class LineCategory(java.lang.Enum['SURFCostEstimator.LineCategory']): + JUMPER: typing.ClassVar['SURFCostEstimator.LineCategory'] = ... + INFIELD_FLOWLINE: typing.ClassVar['SURFCostEstimator.LineCategory'] = ... + EXPORT_PIPELINE: typing.ClassVar['SURFCostEstimator.LineCategory'] = ... + RISER: typing.ClassVar['SURFCostEstimator.LineCategory'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SURFCostEstimator.LineCategory': ... + @staticmethod + def values() -> typing.MutableSequence['SURFCostEstimator.LineCategory']: ... + class LineDesign(java.io.Serializable): + @staticmethod + def builder(double: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + def getAmbientTemperatureC(self) -> float: ... + def getDesignCode(self) -> java.lang.String: ... + def getDesignPressureBar(self) -> float: ... + def getDnvStF101Input(self) -> jneqsim.process.mechanicaldesign.pipeline.DnvStF101PipelineDesignInput: ... + def getInnerHeatTransferCoefficientWm2K(self) -> float: ... + def getInstallationMethod(self) -> java.lang.String: ... + def getInsulationMaterial(self) -> jneqsim.process.equipment.pipeline.RadialThermalLayer.MaterialType: ... + def getInsulationThicknessMm(self) -> float: ... + def getInsulationType(self) -> java.lang.String: ... + def getMaterialGrade(self) -> java.lang.String: ... + def getMinimumOutletTemperatureC(self) -> float: ... + def getOnBottomStabilityInput(self) -> DnvRpF109OnBottomStabilityInput: ... + def getOuterDiameterInches(self) -> float: ... + def getOuterHeatTransferCoefficientWm2K(self) -> float: ... + def getOverallHeatTransferCoefficientWm2K(self) -> float: ... + def getResolvedInnerDiameterM(self) -> float: ... + def getWallThicknessMm(self) -> float: ... + def hasDnvStF101Input(self) -> bool: ... + def hasMinimumOutletTemperature(self) -> bool: ... + def hasOnBottomStabilityInput(self) -> bool: ... + def hasThermalHydraulicConfiguration(self) -> bool: ... + def isFlexible(self) -> bool: ... + def resolveOverallHeatTransferCoefficientWm2K(self) -> float: ... + def resolveWallThicknessMm(self) -> float: ... + def screenDnvStF101(self, engineeringCalculationContext: jneqsim.process.engineering.calculation.EngineeringCalculationContext) -> jneqsim.process.engineering.calculation.EngineeringCalculationResult[jneqsim.process.mechanicaldesign.pipeline.DnvStF101PipelineAssessment]: ... + def screenOnBottomStability(self, engineeringCalculationContext: jneqsim.process.engineering.calculation.EngineeringCalculationContext) -> jneqsim.process.engineering.calculation.EngineeringCalculationResult[DnvRpF109OnBottomStabilityAssessment]: ... + class Builder: + def build(self) -> 'SURFCostEstimator.LineDesign': ... + def designCode(self, string: typing.Union[java.lang.String, str]) -> 'SURFCostEstimator.LineDesign.Builder': ... + def designPressureBar(self, double: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + def dnvStF101Input(self, dnvStF101PipelineDesignInput: jneqsim.process.mechanicaldesign.pipeline.DnvStF101PipelineDesignInput) -> 'SURFCostEstimator.LineDesign.Builder': ... + def flexible(self, boolean: bool) -> 'SURFCostEstimator.LineDesign.Builder': ... + def installationMethod(self, string: typing.Union[java.lang.String, str]) -> 'SURFCostEstimator.LineDesign.Builder': ... + @typing.overload + def insulation(self, string: typing.Union[java.lang.String, str], double: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + @typing.overload + def insulation(self, materialType: jneqsim.process.equipment.pipeline.RadialThermalLayer.MaterialType, double: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + def materialGrade(self, string: typing.Union[java.lang.String, str]) -> 'SURFCostEstimator.LineDesign.Builder': ... + def minimumOutletTemperatureC(self, double: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + def onBottomStabilityInput(self, dnvRpF109OnBottomStabilityInput: DnvRpF109OnBottomStabilityInput) -> 'SURFCostEstimator.LineDesign.Builder': ... + def overallHeatTransferCoefficientWm2K(self, double: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + def thermalBoundary(self, double: float, double2: float, double3: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + def wallThicknessMm(self, double: float) -> 'SURFCostEstimator.LineDesign.Builder': ... + +class ShutInPressureEstimator: + RATING_5KSI_BARA: typing.ClassVar[float] = ... + RATING_10KSI_BARA: typing.ClassVar[float] = ... + RATING_15KSI_BARA: typing.ClassVar[float] = ... + RATING_20KSI_BARA: typing.ClassVar[float] = ... + @staticmethod + def classifyPressureRating(double: float, double2: float) -> java.lang.String: ... + @staticmethod + def estimateShutInTubingHeadPressure(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float, int: int) -> float: ... class StidWellBarrierDataSource: PRIMARY_KEYS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... @@ -821,6 +903,7 @@ class __module_protocol__(Protocol): PLEMMechanicalDesign: typing.Type[PLEMMechanicalDesign] PLETMechanicalDesign: typing.Type[PLETMechanicalDesign] SURFCostEstimator: typing.Type[SURFCostEstimator] + ShutInPressureEstimator: typing.Type[ShutInPressureEstimator] StidWellBarrierDataSource: typing.Type[StidWellBarrierDataSource] SubseaBoosterMechanicalDesign: typing.Type[SubseaBoosterMechanicalDesign] SubseaCostEstimator: typing.Type[SubseaCostEstimator] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi index 955b8280..50a0ed37 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi @@ -8,6 +8,7 @@ else: import java.io import java.lang import java.util +import jpype import jneqsim.process.equipment import jneqsim.process.equipment.stream import jneqsim.process.equipment.valve @@ -356,6 +357,16 @@ class SafetyValveMechanicalDesign(ValveMechanicalDesign): def isActiveScenario(self) -> bool: ... def isControllingScenario(self) -> bool: ... +class TabulatedValveCharacteristic(ValveCharacteristic): + def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + @staticmethod + def fromMeasurements(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'TabulatedValveCharacteristic': ... + def getActualKv(self, double: float, double2: float) -> float: ... + def getFlowFractionPoints(self) -> typing.MutableSequence[float]: ... + def getOpeningFactor(self, double: float) -> float: ... + def getOpeningPoints(self) -> typing.MutableSequence[float]: ... + def openingForFlowFraction(self, double: float) -> float: ... + class ControlValveSizing_IEC_60534(ControlValveSizing): @typing.overload def __init__(self): ... @@ -478,6 +489,7 @@ class __module_protocol__(Protocol): ModifiedParabolicCharacteristic: typing.Type[ModifiedParabolicCharacteristic] QuickOpeningCharacteristic: typing.Type[QuickOpeningCharacteristic] SafetyValveMechanicalDesign: typing.Type[SafetyValveMechanicalDesign] + TabulatedValveCharacteristic: typing.Type[TabulatedValveCharacteristic] ValveCharacteristic: typing.Type[ValveCharacteristic] ValveMechanicalDesign: typing.Type[ValveMechanicalDesign] ValveMechanicalDesignResponse: typing.Type[ValveMechanicalDesignResponse] diff --git a/src/jneqsim-stubs/process/operations/envelope/__init__.pyi b/src/jneqsim-stubs/process/operations/envelope/__init__.pyi index 22a0de06..1f80e5b4 100644 --- a/src/jneqsim-stubs/process/operations/envelope/__init__.pyi +++ b/src/jneqsim-stubs/process/operations/envelope/__init__.pyi @@ -131,11 +131,15 @@ class OperationalMargin(java.io.Serializable, java.lang.Comparable['OperationalM def compareTo(self, operationalMargin: 'OperationalMargin') -> int: ... @staticmethod def fromConstraint(string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> 'OperationalMargin': ... + def getApplicableLimitRole(self) -> java.lang.String: ... + def getApplicableLimitSource(self) -> java.lang.String: ... + def getApplicableLimitSourceReference(self) -> java.lang.String: ... def getConstraintName(self) -> java.lang.String: ... def getConstraintType(self) -> java.lang.String: ... def getCurrentValue(self) -> float: ... def getDataSource(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... + def getDesignValue(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... def getKey(self) -> java.lang.String: ... def getLimitValue(self) -> float: ... diff --git a/src/jneqsim-stubs/process/processmodel/__init__.pyi b/src/jneqsim-stubs/process/processmodel/__init__.pyi index 67d09adf..9b5b1a58 100644 --- a/src/jneqsim-stubs/process/processmodel/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/__init__.pyi @@ -827,6 +827,7 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def getMinimumFlowForMassBalanceError(self) -> float: ... def getMultiPhaseCheck(self) -> bool: ... def getName(self) -> java.lang.String: ... + def getOpenRecycles(self) -> java.util.List[java.lang.String]: ... def getParallelLevelCount(self) -> int: ... def getParallelPartition(self) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -1127,8 +1128,14 @@ class RunStatus(java.io.Serializable): def __init__(self): ... def getFailedUnitError(self) -> java.lang.String: ... def getFailedUnitName(self) -> java.lang.String: ... + def getOpenRecycleCount(self) -> int: ... + def getOpenRecycles(self) -> java.util.List[java.lang.String]: ... + def getPassCount(self) -> int: ... + def getTerminationReason(self) -> java.lang.String: ... def getUnits(self) -> java.util.List['UnitRunStatus']: ... def isCompleted(self) -> bool: ... + def isConverged(self) -> bool: ... + def isStagnated(self) -> bool: ... def isSuccess(self) -> bool: ... def markComplete(self, boolean: bool) -> None: ... @typing.overload diff --git a/src/jneqsim-stubs/process/safety/release/__init__.pyi b/src/jneqsim-stubs/process/safety/release/__init__.pyi index 40cd82ae..0302f9be 100644 --- a/src/jneqsim-stubs/process/safety/release/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/release/__init__.pyi @@ -57,6 +57,35 @@ class LeakModel(java.io.Serializable): def scenarioName(self, string: typing.Union[java.lang.String, str]) -> 'LeakModel.Builder': ... def vesselVolume(self, double: float) -> 'LeakModel.Builder': ... +class RanzMarshallMassTransferCorrelation(java.io.Serializable): + def __init__(self, morphology: 'RanzMarshallMassTransferCorrelation.Morphology', double: float, double2: float, double3: float, double4: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]): ... + def getApplicabilityMessage(self) -> java.lang.String: ... + def getComponentDiffusivitiesM2S(self) -> java.util.Map[java.lang.String, float]: ... + def getComponentRelaxationTimesS(self) -> java.util.Map[java.lang.String, float]: ... + def getContinuousPhaseDensityKgM3(self) -> float: ... + def getContinuousPhaseDynamicViscosityPaS(self) -> float: ... + def getMassTransferCoefficientsMs(self) -> java.util.Map[java.lang.String, float]: ... + def getMorphology(self) -> 'RanzMarshallMassTransferCorrelation.Morphology': ... + def getParameterProvenance(self) -> java.lang.String: ... + def getRelativeVelocityMs(self) -> float: ... + def getReynoldsNumber(self) -> float: ... + def getSauterMeanDiameterM(self) -> float: ... + def getSchmidtNumbers(self) -> java.util.Map[java.lang.String, float]: ... + def getSherwoodNumbers(self) -> java.util.Map[java.lang.String, float]: ... + def isWithinApplicability(self) -> bool: ... + class Morphology(java.lang.Enum['RanzMarshallMassTransferCorrelation.Morphology']): + GAS_BUBBLES: typing.ClassVar['RanzMarshallMassTransferCorrelation.Morphology'] = ... + LIQUID_DROPLETS: typing.ClassVar['RanzMarshallMassTransferCorrelation.Morphology'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'RanzMarshallMassTransferCorrelation.Morphology': ... + @staticmethod + def values() -> typing.MutableSequence['RanzMarshallMassTransferCorrelation.Morphology']: ... + class ReleaseFlowEnsemble(java.io.Serializable): @staticmethod def evaluate(string: typing.Union[java.lang.String, str], releaseFlowModel: 'ReleaseFlowModel', list: java.util.List['ReleaseFlowEnsemble.Case']) -> 'ReleaseFlowEnsemble': ... @@ -422,6 +451,33 @@ class LegacyScreeningReleaseModel(ReleaseFlowModel): def getEvidence(self) -> ReleaseModelEvidence: ... def getModelId(self) -> java.lang.String: ... +class PredictiveBubbleTransferZoneReleaseModel(ReleaseFlowModel): + def __init__(self, double: float, double2: float, double3: float, double4: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string: typing.Union[java.lang.String, str]): ... + def calculate(self, releaseFlowRequest: ReleaseFlowRequest) -> ReleaseFlowResult: ... + def getComponentDiffusivitiesM2S(self) -> java.util.Map[java.lang.String, float]: ... + def getContinuousPhaseDynamicViscosityPaS(self) -> float: ... + def getEvidence(self) -> ReleaseModelEvidence: ... + def getFixedPointRelativeTolerance(self) -> float: ... + def getMaximumBubbleToHydraulicDiameter(self) -> float: ... + def getMaximumEotvosNumber(self) -> float: ... + def getMaximumWeberNumber(self) -> float: ... + def getModelId(self) -> java.lang.String: ... + def getModelVersion(self) -> java.lang.String: ... + def getParameterProvenance(self) -> java.lang.String: ... + def getSurfaceTensionNm(self) -> float: ... + def getTransferZoneHydraulicDiameterM(self) -> float: ... + def getTransferZoneVerticalLengthM(self) -> float: ... + +class RanzMarshallFiniteRateReleaseModel(ReleaseFlowModel): + def __init__(self, double: float, double2: float, ranzMarshallMassTransferCorrelation: RanzMarshallMassTransferCorrelation): ... + def calculate(self, releaseFlowRequest: ReleaseFlowRequest) -> ReleaseFlowResult: ... + def getCorrelation(self) -> RanzMarshallMassTransferCorrelation: ... + def getEvidence(self) -> ReleaseModelEvidence: ... + def getModelId(self) -> java.lang.String: ... + def getModelVersion(self) -> java.lang.String: ... + def getResidenceTimeS(self) -> float: ... + def getSurfaceTensionNm(self) -> float: ... + class RealGasFannoPipeReleaseModel(ReleaseFlowModel): def __init__(self): ... def calculate(self, releaseFlowRequest: ReleaseFlowRequest) -> ReleaseFlowResult: ... @@ -534,6 +590,9 @@ class __module_protocol__(Protocol): IdealGasReleaseModel: typing.Type[IdealGasReleaseModel] LeakModel: typing.Type[LeakModel] LegacyScreeningReleaseModel: typing.Type[LegacyScreeningReleaseModel] + PredictiveBubbleTransferZoneReleaseModel: typing.Type[PredictiveBubbleTransferZoneReleaseModel] + RanzMarshallFiniteRateReleaseModel: typing.Type[RanzMarshallFiniteRateReleaseModel] + RanzMarshallMassTransferCorrelation: typing.Type[RanzMarshallMassTransferCorrelation] RealGasFannoPipeReleaseModel: typing.Type[RealGasFannoPipeReleaseModel] RealGasPipeDecompression: typing.Type[RealGasPipeDecompression] ReleaseFlowEnsemble: typing.Type[ReleaseFlowEnsemble] diff --git a/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi index d89440e3..cd7471b0 100644 --- a/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi @@ -16,7 +16,7 @@ import typing -class DynamicRiskResult(jneqsim.process.safety.risk.OperationalRiskResult, java.io.Serializable): +class DynamicRiskResult(jneqsim.process.safety.risk.OperationalRiskResult): def __init__(self): ... @typing.overload def calculateStatistics(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... @@ -43,7 +43,7 @@ class DynamicRiskResult(jneqsim.process.safety.risk.OperationalRiskResult, java. def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... -class DynamicRiskSimulator(jneqsim.process.safety.risk.OperationalRiskSimulator, java.io.Serializable): +class DynamicRiskSimulator(jneqsim.process.safety.risk.OperationalRiskSimulator): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def getProductionProfiles(self) -> java.util.List['ProductionProfile']: ... def getRampUpTimeHours(self) -> float: ... diff --git a/src/jneqsim-stubs/process/util/combustion/__init__.pyi b/src/jneqsim-stubs/process/util/combustion/__init__.pyi index 4a7bb843..cc01b570 100644 --- a/src/jneqsim-stubs/process/util/combustion/__init__.pyi +++ b/src/jneqsim-stubs/process/util/combustion/__init__.pyi @@ -8,6 +8,7 @@ else: import java.io import java.lang import java.util +import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing @@ -113,8 +114,27 @@ class CombustionCalculator(java.io.Serializable): def getMassRateKgPerHr(self, string: typing.Union[java.lang.String, str]) -> float: ... def toJson(self) -> java.lang.String: ... +class CombustionKineticsBackend: + def solve(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class HotOilHeatBalance: + @staticmethod + def apply(streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string: typing.Union[java.lang.String, str], uUID: java.util.UUID) -> jneqsim.process.equipment.stream.StreamInterface: ... + @staticmethod + def applyWithClosure(streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string: typing.Union[java.lang.String, str], uUID: java.util.UUID) -> 'HotOilHeatBalance.Result': ... + class Result: + def getAbsorbedDutyW(self) -> float: ... + def getDutyResidualW(self) -> float: ... + def getInletEnthalpyW(self) -> float: ... + def getOutlet(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletEnthalpyW(self) -> float: ... + def getRelativeDutyResidual(self) -> float: ... + def getRequestedDutyW(self) -> float: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.combustion")``. CombustionCalculator: typing.Type[CombustionCalculator] + CombustionKineticsBackend: typing.Type[CombustionKineticsBackend] + HotOilHeatBalance: typing.Type[HotOilHeatBalance] diff --git a/src/jneqsim-stubs/process/util/monitor/__init__.pyi b/src/jneqsim-stubs/process/util/monitor/__init__.pyi index 4271afbe..e0b3bab1 100644 --- a/src/jneqsim-stubs/process/util/monitor/__init__.pyi +++ b/src/jneqsim-stubs/process/util/monitor/__init__.pyi @@ -233,6 +233,11 @@ class MixerResponse(BaseResponse): class MultiStreamHeatExchanger2Response(BaseResponse): data: java.util.HashMap = ... temperatureApproach: float = ... + specifiedTemperatureApproach: float = ... + maximumFeasibleApproach: float = ... + solverStatus: java.lang.String = ... + solverMessage: java.lang.String = ... + specificationMet: bool = ... compositeCurveResults: java.util.Map = ... @typing.overload def __init__(self): ... @@ -248,6 +253,7 @@ class MultiStreamHeatExchangerResponse(BaseResponse): def __init__(self, multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger): ... class PipeBeggsBrillsResponse(BaseResponse): + flowSolveReport: jneqsim.process.equipment.pipeline.FlowSolveReport = ... inletPressure: float = ... outletPressure: float = ... inletTemperature: float = ... diff --git a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi index 4ce116bd..db91daf8 100644 --- a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi +++ b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi @@ -882,6 +882,9 @@ class InstalledCapacityTableLoader: class InstalledEquipmentCapacityEvidence(java.io.Serializable): def getApplicableLimit(self) -> float: ... + def getApplicableLimitRole(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ApplicableLimitRole: ... + def getApplicableLimitSource(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSource: ... + def getApplicableLimitSourceReference(self) -> java.lang.String: ... def getAreaName(self) -> java.lang.String: ... def getConfidence(self) -> float: ... def getConstraintName(self) -> java.lang.String: ... @@ -890,6 +893,9 @@ class InstalledEquipmentCapacityEvidence(java.io.Serializable): def getCurrentValue(self) -> float: ... def getDataSource(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... + def getDesignBasis(self) -> java.lang.String: ... + def getDesignSource(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSource: ... + def getDesignSourceReference(self) -> java.lang.String: ... def getDesignValue(self) -> float: ... def getEquipmentClassName(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... @@ -901,6 +907,9 @@ class InstalledEquipmentCapacityEvidence(java.io.Serializable): def getNormalizedMargin(self) -> float: ... def getNormalizedUnit(self) -> java.lang.String: ... def getNormalizedUtilization(self) -> float: ... + def getOperatingLimit(self) -> float: ... + def getOperatingLimitSource(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSource: ... + def getOperatingLimitSourceReference(self) -> java.lang.String: ... def getPhysicalMargin(self) -> float: ... def getPhysicalUnit(self) -> java.lang.String: ... def getQualifiedConstraintName(self) -> java.lang.String: ... @@ -913,6 +922,7 @@ class InstalledEquipmentCapacityEvidence(java.io.Serializable): def getWarningThreshold(self) -> float: ... def hasConfidence(self) -> bool: ... def hasFiniteEvidence(self) -> bool: ... + def hasOperatingLimit(self) -> bool: ... def hasValidityRange(self) -> bool: ... def isEnabled(self) -> bool: ... def isFeasible(self) -> bool: ... @@ -1308,6 +1318,7 @@ class PlantCommonShaftEvidence(java.io.Serializable): def getShaftName(self) -> java.lang.String: ... def getShaftSpeedRpm(self) -> float: ... def getShaftTorqueNm(self) -> float: ... + def getSourceCalculationId(self) -> java.lang.String: ... def getStatus(self) -> 'PlantCommonShaftEvidence.Status': ... def getTotalCasingPowerKw(self) -> float: ... def getTotalShaftLoadKw(self) -> float: ... @@ -1327,6 +1338,7 @@ class PlantCommonShaftEvidence(java.io.Serializable): def gearbox(self, string: typing.Union[java.lang.String, str], gearbox: jneqsim.process.equipment.energy.Gearbox) -> 'PlantCommonShaftEvidence.Builder': ... def maximumTorqueNm(self, double: float) -> 'PlantCommonShaftEvidence.Builder': ... def powerBalanceToleranceKw(self, double: float) -> 'PlantCommonShaftEvidence.Builder': ... + def sourceCalculationId(self, string: typing.Union[java.lang.String, str]) -> 'PlantCommonShaftEvidence.Builder': ... def speedToleranceRpm(self, double: float) -> 'PlantCommonShaftEvidence.Builder': ... class CasingEvidence(java.io.Serializable, java.lang.Comparable['PlantCommonShaftEvidence.CasingEvidence']): def compareTo(self, casingEvidence: 'PlantCommonShaftEvidence.CasingEvidence') -> int: ... @@ -2282,6 +2294,55 @@ class ProcessModelAllocationOptimizer: @staticmethod def values() -> typing.MutableSequence['ProcessModelAllocationOptimizer.SearchOutcome']: ... +class ProcessModelCompiledEvaluationPlan(java.io.Serializable): + @staticmethod + def compile(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], processModelOperatingActionSetEvaluator: 'ProcessModelOperatingActionSetEvaluator') -> 'ProcessModelCompiledEvaluationPlan': ... + def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessModelCompiledEvaluationPlan.EvaluationResult': ... + def getActionDefinitions(self) -> java.util.List[java.lang.String]: ... + def getAreaNames(self) -> java.util.List[java.lang.String]: ... + def getAreaStructureVersions(self) -> java.util.List[int]: ... + def getCompilationEvidence(self) -> 'ProcessModelOperatingActionSetEvaluator.CandidateSetEvaluationResult': ... + def getDefinition(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getExpectedBoundaryIdentities(self) -> java.util.List[java.lang.String]: ... + def getExpectedInstalledCapacityIdentities(self) -> java.util.List[java.lang.String]: ... + def getHydraulicBindingDefinitions(self) -> java.util.List[java.lang.String]: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getSourceBaseline(self) -> java.lang.String: ... + def getStalenessDiagnostics(self) -> java.util.List[java.lang.String]: ... + def isCurrent(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class EvaluationResult(java.io.Serializable): + def getCandidateEvidence(self) -> 'ProcessModelOperatingActionSetEvaluator.CandidateSetEvaluationResult': ... + def getCandidateValues(self) -> typing.MutableSequence[float]: ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getExpectedBoundaryIdentities(self) -> java.util.List[java.lang.String]: ... + def getExpectedInstalledCapacityIdentities(self) -> java.util.List[java.lang.String]: ... + def getOutcome(self) -> 'ProcessModelCompiledEvaluationPlan.Outcome': ... + def getPlanId(self) -> java.lang.String: ... + def getPlanName(self) -> java.lang.String: ... + def getPlanProvenance(self) -> java.lang.String: ... + def getSourceBaseline(self) -> java.lang.String: ... + def isAccepted(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class Outcome(java.lang.Enum['ProcessModelCompiledEvaluationPlan.Outcome']): + ACCEPTED: typing.ClassVar['ProcessModelCompiledEvaluationPlan.Outcome'] = ... + CANDIDATE_VECTOR_INVALID: typing.ClassVar['ProcessModelCompiledEvaluationPlan.Outcome'] = ... + PLAN_STALE: typing.ClassVar['ProcessModelCompiledEvaluationPlan.Outcome'] = ... + CANDIDATE_REJECTED: typing.ClassVar['ProcessModelCompiledEvaluationPlan.Outcome'] = ... + EVIDENCE_INCOMPLETE: typing.ClassVar['ProcessModelCompiledEvaluationPlan.Outcome'] = ... + RESTORATION_FAILED: typing.ClassVar['ProcessModelCompiledEvaluationPlan.Outcome'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelCompiledEvaluationPlan.Outcome': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelCompiledEvaluationPlan.Outcome']: ... + class ProcessModelDebottleneckRanking(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], rankingPolicy: 'ProcessModelDebottleneckRanking.RankingPolicy'): ... def getId(self) -> java.lang.String: ... @@ -2598,6 +2659,7 @@ class ProcessModelOperatingActionSetEvaluator: def getObjectiveEvidence(self) -> java.util.List['ProcessModelOperatingActionSetEvaluator.CandidateObjectiveEvidence']: ... def getObjectives(self) -> typing.MutableSequence[float]: ... def getOutcome(self) -> 'ProcessModelOperatingActionSetEvaluator.Outcome': ... + def getPlantConstraintEvidence(self) -> java.util.List[PlantConstraintEvidence]: ... def getProcessBoundaryConstraintEvidence(self) -> java.util.List[ProcessBoundaryConstraintEvidence]: ... def getProvenance(self) -> java.lang.String: ... def getRawObjectives(self) -> typing.MutableSequence[float]: ... @@ -2630,6 +2692,165 @@ class ProcessModelOperatingActionSetEvaluator: @staticmethod def values() -> typing.MutableSequence['ProcessModelOperatingActionSetEvaluator.Outcome']: ... +class ProcessModelOperatingEnvelopeStudy: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], processModelOperatingActionSetEvaluator: ProcessModelOperatingActionSetEvaluator): ... + @typing.overload + def evaluateOneDimensional(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessModelOperatingEnvelopeStudy.SliceResult': ... + @typing.overload + def evaluateOneDimensional(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult') -> 'ProcessModelOperatingEnvelopeStudy.SliceResult': ... + @typing.overload + def evaluateTwoDimensional(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessModelOperatingEnvelopeStudy.SliceResult': ... + @typing.overload + def evaluateTwoDimensional(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult') -> 'ProcessModelOperatingEnvelopeStudy.SliceResult': ... + def getAcceptedPointBottleneck(self, operatingPointSearchResult: 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult') -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence': ... + def getCandidateEvaluator(self) -> ProcessModelOperatingActionSetEvaluator: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + class LeadingConstraintEvidence(java.io.Serializable): + def getApplicableLimit(self) -> float: ... + def getApplicableLimitProvenance(self) -> java.lang.String: ... + def getApplicableLimitRole(self) -> java.lang.String: ... + def getCurrentValue(self) -> float: ... + def getDiagnostic(self) -> java.lang.String: ... + def getNormalizedMargin(self) -> float: ... + def getNormalizedUtilization(self) -> float: ... + def getPhysicalMargin(self) -> float: ... + def getPhysicalUnit(self) -> java.lang.String: ... + def getQualifiedConstraintName(self) -> java.lang.String: ... + def getSource(self) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source': ... + def isFeasible(self) -> bool: ... + class Source(java.lang.Enum['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source']): + INSTALLED_EQUIPMENT: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source'] = ... + REQUIRED_HYDRAULIC: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source'] = ... + PLANT_CONSTRAINT: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source'] = ... + REGISTERED_MODEL_CONSTRAINT: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence.Source']: ... + class Outcome(java.lang.Enum['ProcessModelOperatingEnvelopeStudy.Outcome']): + COMPLETE: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.Outcome'] = ... + MODEL_RECOVERY_FAILED: typing.ClassVar['ProcessModelOperatingEnvelopeStudy.Outcome'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingEnvelopeStudy.Outcome': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelOperatingEnvelopeStudy.Outcome']: ... + class Point(java.io.Serializable): + def getAxisValues(self) -> typing.MutableSequence[float]: ... + def getCandidateValues(self) -> typing.MutableSequence[float]: ... + def getEvaluation(self) -> ProcessModelOperatingActionSetEvaluator.CandidateSetEvaluationResult: ... + def getGridIndexes(self) -> typing.MutableSequence[int]: ... + def getLeadingConstraint(self) -> 'ProcessModelOperatingEnvelopeStudy.LeadingConstraintEvidence': ... + def getLeadingInstalledConstraint(self) -> InstalledEquipmentCapacityEvidence: ... + def getSequenceIndex(self) -> int: ... + def isFeasible(self) -> bool: ... + class SliceResult(java.io.Serializable): + def getAnchorValues(self) -> typing.MutableSequence[float]: ... + def getAxisActionIds(self) -> typing.MutableSequence[java.lang.String]: ... + def getAxisValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBottleneckTransitions(self) -> java.util.List['ProcessModelOperatingEnvelopeStudy.Transition']: ... + def getCandidateEvaluatorId(self) -> java.lang.String: ... + def getCompletedPointCount(self) -> int: ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getFeasiblePoints(self) -> java.util.List['ProcessModelOperatingEnvelopeStudy.Point']: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getOutcome(self) -> 'ProcessModelOperatingEnvelopeStudy.Outcome': ... + def getPoints(self) -> java.util.List['ProcessModelOperatingEnvelopeStudy.Point']: ... + def getProvenance(self) -> java.lang.String: ... + def getRequestedPointCount(self) -> int: ... + def isComplete(self) -> bool: ... + class Transition(java.io.Serializable): + def getAxisActionId(self) -> java.lang.String: ... + def getFromAxisValue(self) -> float: ... + def getFromConstraint(self) -> java.lang.String: ... + def getFromSequenceIndex(self) -> int: ... + def getToAxisValue(self) -> float: ... + def getToConstraint(self) -> java.lang.String: ... + def getToSequenceIndex(self) -> int: ... + +class ProcessModelOperatingPointOptimizer: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], processModelOperatingActionSetEvaluator: ProcessModelOperatingActionSetEvaluator): ... + def getCandidateEvaluator(self) -> ProcessModelOperatingActionSetEvaluator: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def optimize(self) -> 'ProcessModelOperatingPointOptimizer.OperatingPointSearchResult': ... + def setInitialCandidate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessModelOperatingPointOptimizer': ... + def setInitialStepFraction(self, double: float) -> 'ProcessModelOperatingPointOptimizer': ... + def setMaximumEvaluations(self, int: int) -> 'ProcessModelOperatingPointOptimizer': ... + def setObjectiveImprovementTolerance(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingPointOptimizer': ... + def setObjectiveIndex(self, int: int) -> 'ProcessModelOperatingPointOptimizer': ... + def setRelativeStepTolerance(self, double: float) -> 'ProcessModelOperatingPointOptimizer': ... + def setReplayRelativeTolerance(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingPointOptimizer': ... + class CandidateRecord(java.io.Serializable): + def getCandidateValues(self) -> typing.MutableSequence[float]: ... + def getEvaluation(self) -> ProcessModelOperatingActionSetEvaluator.CandidateSetEvaluationResult: ... + def getRawObjective(self) -> float: ... + def getSequenceIndex(self) -> int: ... + def isAcceptedAsIncumbent(self) -> bool: ... + def isAcceptedPointReplay(self) -> bool: ... + class ObjectiveSnapshot(java.io.Serializable): + def getDirection(self) -> 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction': ... + def getIndex(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + class OperatingPointSearchResult(java.io.Serializable): + def getAcceptedCandidateValues(self) -> typing.MutableSequence[float]: ... + def getAcceptedPointReplay(self) -> 'ProcessModelOperatingPointOptimizer.CandidateRecord': ... + def getActionSetId(self) -> java.lang.String: ... + def getCandidates(self) -> java.util.List['ProcessModelOperatingPointOptimizer.CandidateRecord']: ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getEvaluationCount(self) -> int: ... + def getFinalStepFraction(self) -> float: ... + def getId(self) -> java.lang.String: ... + def getInitialCandidate(self) -> typing.MutableSequence[float]: ... + def getInitialStepFraction(self) -> float: ... + def getMaximumEvaluations(self) -> int: ... + def getName(self) -> java.lang.String: ... + def getObjective(self) -> 'ProcessModelOperatingPointOptimizer.ObjectiveSnapshot': ... + def getObjectiveImprovementTolerance(self) -> float: ... + def getObjectiveToleranceProvenance(self) -> java.lang.String: ... + def getOptimizerEvidence(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.Any]: ... + def getOutcome(self) -> 'ProcessModelOperatingPointOptimizer.SearchOutcome': ... + def getProvenance(self) -> java.lang.String: ... + def getRelativeStepTolerance(self) -> float: ... + def getReplayRelativeTolerance(self) -> float: ... + def getReplayToleranceProvenance(self) -> java.lang.String: ... + def getRuntimeSeconds(self) -> float: ... + def isAcceptedPointReplayed(self) -> bool: ... + def isActionsComplete(self) -> bool: ... + def isCandidateFinite(self) -> bool: ... + def isConstraintEvidenceComplete(self) -> bool: ... + def isConverged(self) -> bool: ... + class SearchOutcome(java.lang.Enum['ProcessModelOperatingPointOptimizer.SearchOutcome']): + CONVERGED_WITH_REPLAYED_FEASIBLE_CANDIDATE: typing.ClassVar['ProcessModelOperatingPointOptimizer.SearchOutcome'] = ... + BUDGET_EXHAUSTED_WITH_REPLAYED_FEASIBLE_CANDIDATE: typing.ClassVar['ProcessModelOperatingPointOptimizer.SearchOutcome'] = ... + CONVERGED_WITHOUT_FEASIBLE_CANDIDATE: typing.ClassVar['ProcessModelOperatingPointOptimizer.SearchOutcome'] = ... + BUDGET_EXHAUSTED_WITHOUT_FEASIBLE_CANDIDATE: typing.ClassVar['ProcessModelOperatingPointOptimizer.SearchOutcome'] = ... + MODEL_RECOVERY_FAILED: typing.ClassVar['ProcessModelOperatingPointOptimizer.SearchOutcome'] = ... + ACCEPTED_POINT_REPLAY_FAILED: typing.ClassVar['ProcessModelOperatingPointOptimizer.SearchOutcome'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelOperatingPointOptimizer.SearchOutcome': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelOperatingPointOptimizer.SearchOutcome']: ... + class ProcessModelOptimizationView(jneqsim.process.processmodel.ProcessSystem): @typing.overload def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... @@ -2659,6 +2880,7 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): @typing.overload def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... def addBoundaryConstraint(self, string: typing.Union[java.lang.String, str], metadata: ProcessBoundaryConstraintEvidence.Metadata, boundarySampleEvaluator: typing.Union['ProcessModelSimulationEvaluator.BoundarySampleEvaluator', typing.Callable], type: 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type', double: float, double2: float, double3: float, string2: typing.Union[java.lang.String, str], boolean: bool, double4: float, double5: float) -> 'ProcessModelSimulationEvaluator': ... + def addCommonShaftConstraintGroup(self, string: typing.Union[java.lang.String, str], plantCommonShaftEvidence: PlantCommonShaftEvidence, plantCommonShaftEvidenceEvaluator: typing.Union['ProcessModelSimulationEvaluator.PlantCommonShaftEvidenceEvaluator', typing.Callable]) -> 'ProcessModelSimulationEvaluator': ... def addConstraintEquality(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float, double2: float) -> 'ProcessModelSimulationEvaluator': ... def addConstraintLowerBound(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float) -> 'ProcessModelSimulationEvaluator': ... def addConstraintRange(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]], double: float, double2: float) -> 'ProcessModelSimulationEvaluator': ... @@ -2675,6 +2897,8 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): @typing.overload def addParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, string3: typing.Union[java.lang.String, str]) -> 'ProcessModelSimulationEvaluator': ... def addParameterWithSetter(self, string: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProcessModelSimulationEvaluator': ... + def addPlantConstraint(self, plantConstraintDefinition: PlantConstraintDefinition, plantConstraintSampleEvaluator: typing.Union['ProcessModelSimulationEvaluator.PlantConstraintSampleEvaluator', typing.Callable]) -> 'ProcessModelSimulationEvaluator': ... + def addPlantConstraintGroup(self, string: typing.Union[java.lang.String, str], list: java.util.List[PlantConstraintDefinition], plantConstraintSampleGroupEvaluator: typing.Union['ProcessModelSimulationEvaluator.PlantConstraintSampleGroupEvaluator', typing.Callable]) -> 'ProcessModelSimulationEvaluator': ... def estimateConstraintJacobian(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload def estimateGradient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... @@ -2803,6 +3027,8 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... def getPenaltyWeight(self) -> float: ... + def getPlantConstraintDefinition(self) -> PlantConstraintDefinition: ... + def getPlantConstraintGroupId(self) -> java.lang.String: ... def getSeverityLevel(self) -> ConstraintSeverityLevel: ... def getType(self) -> 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type': ... def getUnit(self) -> java.lang.String: ... @@ -2810,6 +3036,7 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def isBoundaryConstraint(self) -> bool: ... def isCapacityConstraint(self) -> bool: ... def isHard(self) -> bool: ... + def isPlantConstraint(self) -> bool: ... def isSatisfied(self, processModel: jneqsim.process.processmodel.ProcessModel) -> bool: ... def margin(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... def penalty(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... @@ -2875,6 +3102,7 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def getParameters(self) -> typing.MutableSequence[float]: ... def getPenalizedObjective(self) -> float: ... def getPenaltySum(self) -> float: ... + def getPlantConstraintEvidence(self) -> java.util.List[PlantConstraintEvidence]: ... def getProcessBoundaryConstraintEvidence(self) -> java.util.List[ProcessBoundaryConstraintEvidence]: ... def getRankedCapacityConstraints(self) -> java.util.List['ProcessModelSimulationEvaluator.BottleneckStatus']: ... def isFeasible(self) -> bool: ... @@ -2892,6 +3120,7 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def setObjectivesRaw(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setPenaltySum(self, double: float) -> None: ... + def setPlantConstraintEvidence(self, list: java.util.List[PlantConstraintEvidence]) -> None: ... def setProcessBoundaryConstraintEvidence(self, list: java.util.List[ProcessBoundaryConstraintEvidence]) -> None: ... def setRankedCapacityConstraints(self, list: java.util.List['ProcessModelSimulationEvaluator.BottleneckStatus']) -> None: ... def setSimulationConverged(self, boolean: bool) -> None: ... @@ -2975,6 +3204,12 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def isAllEvaluationsConverged(self) -> bool: ... def isAllEvaluationsFeasible(self) -> bool: ... def isNumericallyStable(self, double: float) -> bool: ... + class PlantCommonShaftEvidenceEvaluator(java.io.Serializable): + def evaluate(self, processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str]) -> PlantCommonShaftEvidence: ... + class PlantConstraintSampleEvaluator(java.io.Serializable): + def evaluate(self, processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str]) -> PlantConstraintSample: ... + class PlantConstraintSampleGroupEvaluator(java.io.Serializable): + def evaluate(self, processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str]) -> java.util.List[PlantConstraintSample]: ... class SensitivityConstraintSnapshot(java.io.Serializable): def getAreaName(self) -> java.lang.String: ... def getBaseMargin(self) -> float: ... @@ -3886,6 +4121,7 @@ class ProductionOptimizer: def rateUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConfig': ... def rejectInvalidSimulations(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... def searchMode(self, searchMode: 'ProductionOptimizer.SearchMode') -> 'ProductionOptimizer.OptimizationConfig': ... + def selectedPointReplays(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... def socialWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... def stagnationIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... def swarmSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... @@ -4134,6 +4370,12 @@ class ProcessModelDebottleneckStudy: def getDesignValue(self) -> float: ... def getMaximumValue(self) -> float: ... def getMinimumValue(self) -> float: ... + def getOperatingLimit(self) -> float: ... + def getOperatingLimitConfidence(self) -> float: ... + def getOperatingLimitSource(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSource: ... + def getOperatingLimitSourceReference(self) -> java.lang.String: ... + def getOperatingLimitValidityMaximum(self) -> float: ... + def getOperatingLimitValidityMinimum(self) -> float: ... def getSeverity(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... def getShadowPrice(self) -> float: ... def getUnit(self) -> java.lang.String: ... @@ -4141,6 +4383,9 @@ class ProcessModelDebottleneckStudy: def getValidityMinimum(self) -> float: ... def getWarningThreshold(self) -> float: ... def hasConfidence(self) -> bool: ... + def hasOperatingLimit(self) -> bool: ... + def hasOperatingLimitConfidence(self) -> bool: ... + def hasOperatingLimitValidityRange(self) -> bool: ... def hasValidityRange(self) -> bool: ... def isEnabled(self) -> bool: ... class ConstraintEvidence(java.io.Serializable): @@ -4360,11 +4605,14 @@ class __module_protocol__(Protocol): ProcessConstraintEvaluator: typing.Type[ProcessConstraintEvaluator] ProcessModelAllocationBottleneckAnalyzer: typing.Type[ProcessModelAllocationBottleneckAnalyzer] ProcessModelAllocationOptimizer: typing.Type[ProcessModelAllocationOptimizer] + ProcessModelCompiledEvaluationPlan: typing.Type[ProcessModelCompiledEvaluationPlan] ProcessModelDebottleneckRanking: typing.Type[ProcessModelDebottleneckRanking] ProcessModelDebottleneckStudy: typing.Type[ProcessModelDebottleneckStudy] ProcessModelOperatingAction: typing.Type[ProcessModelOperatingAction] ProcessModelOperatingActionEvaluator: typing.Type[ProcessModelOperatingActionEvaluator] ProcessModelOperatingActionSetEvaluator: typing.Type[ProcessModelOperatingActionSetEvaluator] + ProcessModelOperatingEnvelopeStudy: typing.Type[ProcessModelOperatingEnvelopeStudy] + ProcessModelOperatingPointOptimizer: typing.Type[ProcessModelOperatingPointOptimizer] ProcessModelOptimizationView: typing.Type[ProcessModelOptimizationView] ProcessModelSimulationEvaluator: typing.Type[ProcessModelSimulationEvaluator] ProcessModelThroughputOptimizer: typing.Type[ProcessModelThroughputOptimizer] diff --git a/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi index 62c591c6..2f4c1e2d 100644 --- a/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi @@ -707,6 +707,7 @@ class WaxCurveCalculator: @staticmethod def enforceNonIncreasing(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> int: ... def getFailCount(self) -> int: ... + def getFailureMessages(self) -> typing.MutableSequence[java.lang.String]: ... def getMonotonicityCorrections(self) -> int: ... def getPressureBara(self) -> float: ... def getRawWaxFractions(self) -> typing.MutableSequence[float]: ... diff --git a/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi b/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi index 16975fdd..962fb08a 100644 --- a/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi +++ b/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi @@ -18,6 +18,7 @@ class MonteCarloSimulation: @typing.overload def __init__(self, statisticsInterface: jneqsim.statistics.parameterfitting.StatisticsInterface): ... def createReportMatrix(self) -> None: ... + def getReportMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def runSimulation(self) -> None: ... def setNumberOfRuns(self, int: int) -> None: ... diff --git a/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi b/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi index 2379cc48..ee2d784a 100644 --- a/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -import Jama import java.io import java.lang import java.net @@ -19,7 +18,7 @@ import typing -class ExperimentType(java.lang.Enum['ExperimentType'], java.io.Serializable): +class ExperimentType(java.lang.Enum['ExperimentType']): GENERIC: typing.ClassVar['ExperimentType'] = ... VLE: typing.ClassVar['ExperimentType'] = ... LLE: typing.ClassVar['ExperimentType'] = ... @@ -211,7 +210,7 @@ class NumericalDerivative(java.io.Serializable): @staticmethod def calcDerivative(statisticsBaseClass: 'StatisticsBaseClass', int: int, int2: int) -> float: ... -class ObjectiveFunctionType(java.lang.Enum['ObjectiveFunctionType'], java.io.Serializable): +class ObjectiveFunctionType(java.lang.Enum['ObjectiveFunctionType']): WEIGHTED_LEAST_SQUARES: typing.ClassVar['ObjectiveFunctionType'] = ... ABSOLUTE_DEVIATION: typing.ClassVar['ObjectiveFunctionType'] = ... HUBER: typing.ClassVar['ObjectiveFunctionType'] = ... @@ -337,7 +336,7 @@ class ParameterFittingStudy: def getWeightedRootMeanSquareError(self) -> float: ... def isConverged(self) -> bool: ... -class ParameterTransform(java.lang.Enum['ParameterTransform'], java.io.Serializable): +class ParameterTransform(java.lang.Enum['ParameterTransform']): LINEAR: typing.ClassVar['ParameterTransform'] = ... LOG: typing.ClassVar['ParameterTransform'] = ... LOG10: typing.ClassVar['ParameterTransform'] = ... @@ -373,6 +372,7 @@ class SampleSet(java.lang.Cloneable): def createNewNormalDistributedSet(self) -> 'SampleSet': ... def getLength(self) -> int: ... def getSample(self, int: int) -> 'SampleValue': ... + def setRandomSeed(self, long: int) -> None: ... class SampleValue(java.lang.Cloneable): system: jneqsim.thermo.system.SystemInterface = ... @@ -463,16 +463,18 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): @typing.overload def calcTrueValue(self, sampleValue: SampleValue) -> float: ... def calcValue(self, sampleValue: SampleValue) -> float: ... - def checkBounds(self, matrix: Jama.Matrix) -> None: ... + def checkBounds(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def clone(self) -> 'StatisticsBaseClass': ... def createNewRandomClass(self) -> 'StatisticsBaseClass': ... def displayCurveFit(self) -> None: ... - def displayMatrix(self, matrix: Jama.Matrix, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def displayMatrix(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], string: typing.Union[java.lang.String, str], int: int) -> None: ... def displayResult(self) -> None: ... def displayResultWithDeviation(self) -> None: ... def displaySimple(self) -> None: ... def displayValues(self) -> None: ... + def getCoVarianceMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getNumberOfTuningParameters(self) -> int: ... + def getParameterCorrelationMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getSample(self, int: int) -> SampleValue: ... def getSampleSet(self) -> SampleSet: ... def init(self) -> None: ... diff --git a/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi b/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi index 437bd441..028a23dc 100644 --- a/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi @@ -41,7 +41,7 @@ class LevenbergMarquardtFunction(jneqsim.statistics.parameterfitting.BaseFunctio def setFittingParams(self, int: int, double: float) -> None: ... class LevenbergMarquardtResult(java.io.Serializable): - def __init__(self, convergenceReason: 'LevenbergMarquardtResult.ConvergenceReason', int: int, double: float, double2: float, matrix: Jama.Matrix, matrix2: Jama.Matrix, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__(self, convergenceReason: 'LevenbergMarquardtResult.ConvergenceReason', int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]): ... def getConvergenceReason(self) -> 'LevenbergMarquardtResult.ConvergenceReason': ... def getCorrelationMatrix(self) -> Jama.Matrix: ... def getCorrelationMatrixArray(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... diff --git a/src/jneqsim-stubs/thermo/__init__.pyi b/src/jneqsim-stubs/thermo/__init__.pyi index fc06cc1c..66e91871 100644 --- a/src/jneqsim-stubs/thermo/__init__.pyi +++ b/src/jneqsim-stubs/thermo/__init__.pyi @@ -84,6 +84,11 @@ class ThermodynamicModelSettings(java.io.Serializable): def setUseWarmStartKValues(boolean: bool) -> None: ... class Flags: ... +class WaterReferenceConstants: + CRITICAL_TEMPERATURE_K: typing.ClassVar[float] = ... + CRITICAL_PRESSURE_PA: typing.ClassVar[float] = ... + CRITICAL_PRESSURE_BARA: typing.ClassVar[float] = ... + class ThermodynamicModelTest(ThermodynamicConstantsInterface): @typing.overload def __init__(self): ... @@ -107,6 +112,7 @@ class __module_protocol__(Protocol): ThermodynamicConstantsInterface: typing.Type[ThermodynamicConstantsInterface] ThermodynamicModelSettings: typing.Type[ThermodynamicModelSettings] ThermodynamicModelTest: typing.Type[ThermodynamicModelTest] + WaterReferenceConstants: typing.Type[WaterReferenceConstants] atomelement: jneqsim.thermo.atomelement.__module_protocol__ characterization: jneqsim.thermo.characterization.__module_protocol__ component: jneqsim.thermo.component.__module_protocol__ diff --git a/src/jneqsim-stubs/thermo/characterization/__init__.pyi b/src/jneqsim-stubs/thermo/characterization/__init__.pyi index 589e55e2..0017dd64 100644 --- a/src/jneqsim-stubs/thermo/characterization/__init__.pyi +++ b/src/jneqsim-stubs/thermo/characterization/__init__.pyi @@ -425,13 +425,16 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def addCut(self, assayCut: 'OilAssayCharacterisation.AssayCut') -> None: ... def addCuts(self, collection: typing.Union[java.util.Collection['OilAssayCharacterisation.AssayCut'], typing.Sequence['OilAssayCharacterisation.AssayCut'], typing.Set['OilAssayCharacterisation.AssayCut']]) -> None: ... + def addD86ReferencePointCutBoundariesCelsius(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def addTBPCutBoundariesCelsius(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def addTBPCutBoundariesKelvin(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def addTBPCutTable(self, string: typing.Union[java.lang.String, str], tbpCutTable: 'OilAssayCharacterisation.TbpCutTable') -> None: ... def apply(self) -> None: ... @staticmethod def calculatePianoMolarMassKgPerMol(pianoHydrocarbonFamilyArray: typing.Union[typing.List['OilAssayCharacterisation.PianoHydrocarbonFamily'], jpype.JArray], intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... def clearCuts(self) -> None: ... def clone(self) -> 'OilAssayCharacterisation': ... + def exportTbpCutTable(self) -> 'OilAssayCharacterisation.TbpCutTable': ... def getBulkApiGravity(self) -> float: ... def getBulkDensityKgPerCubicMetreAt60F(self) -> float: ... def getBulkNitrogenMassFraction(self) -> float: ... @@ -441,6 +444,7 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): def getBulkSulfurMassPercent(self) -> float: ... def getCuts(self) -> java.util.List['OilAssayCharacterisation.AssayCut']: ... def getResolvedMassFractions(self) -> typing.MutableSequence[float]: ... + def getResolvedVolumeFractions(self) -> typing.MutableSequence[float]: ... def getTotalAssayMass(self) -> float: ... def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... def setTotalAssayMass(self, double: float) -> None: ... @@ -511,6 +515,50 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): def valueOf(string: typing.Union[java.lang.String, str]) -> 'OilAssayCharacterisation.PianoHydrocarbonFamily': ... @staticmethod def values() -> typing.MutableSequence['OilAssayCharacterisation.PianoHydrocarbonFamily']: ... + class TbpBoilingRangeProperties(java.io.Serializable): + def getApiGravity(self) -> float: ... + def getAverageBoilingPointCelsius(self) -> float: ... + def getAverageBoilingPointKelvin(self) -> float: ... + def getAverageSpecificGravity(self) -> float: ... + def getBoilingPointStandardDeviationKelvin(self) -> float: ... + def getBoilingPointVarianceKelvinSquared(self) -> float: ... + def getDensityKgPerCubicMetreAt60F(self) -> float: ... + def getLiquidVolumePercent(self) -> float: ... + def getLiquidVolumeWeightedBoilingPointKelvinPercent(self) -> float: ... + def getLiquidVolumeWeightedSquaredBoilingPointKelvinSquaredPercent(self) -> float: ... + def getLowerBoilingPointCelsius(self) -> float: ... + def getLowerBoilingPointKelvin(self) -> float: ... + def getMassPercent(self) -> float: ... + def getSpecificGravityWeightedLiquidVolumePercent(self) -> float: ... + def getUpperBoilingPointCelsius(self) -> float: ... + def getUpperBoilingPointKelvin(self) -> float: ... + def getWatsonCharacterizationFactor(self) -> float: ... + class TbpCutTable(java.io.Serializable): + def getBoilingPointCelsius(self) -> typing.MutableSequence[float]: ... + def getBoilingPointCelsiusAtCumulativeMassPercent(self, double: float) -> float: ... + def getBoilingPointCelsiusAtCumulativeVolumePercent(self, double: float) -> float: ... + def getBoilingPointKelvin(self) -> typing.MutableSequence[float]: ... + def getBoilingPointKelvinAtCumulativeMassPercent(self, double: float) -> float: ... + def getBoilingPointKelvinAtCumulativeVolumePercent(self, double: float) -> float: ... + def getBoilingRangePropertiesCelsius(self, double: float, double2: float) -> 'OilAssayCharacterisation.TbpBoilingRangeProperties': ... + def getBoilingRangePropertiesKelvin(self, double: float, double2: float) -> 'OilAssayCharacterisation.TbpBoilingRangeProperties': ... + def getCumulativeMassPercentAtBoilingPointCelsius(self, double: float) -> float: ... + def getCumulativeMassPercentAtBoilingPointKelvin(self, double: float) -> float: ... + def getCumulativeVolumePercent(self) -> typing.MutableSequence[float]: ... + def getCumulativeVolumePercentAtBoilingPointCelsius(self, double: float) -> float: ... + def getCumulativeVolumePercentAtBoilingPointKelvin(self, double: float) -> float: ... + def getCutCount(self) -> int: ... + def getLiquidVolumePercentBetweenBoilingPointsCelsius(self, double: float, double2: float) -> float: ... + def getLiquidVolumePercentBetweenBoilingPointsKelvin(self, double: float, double2: float) -> float: ... + def getMassPercentBetweenBoilingPointsCelsius(self, double: float, double2: float) -> float: ... + def getMassPercentBetweenBoilingPointsKelvin(self, double: float, double2: float) -> float: ... + def getSpecificGravity(self) -> typing.MutableSequence[float]: ... + def getTotalSpecificGravityWeightedLiquidVolumePercent(self) -> float: ... + def relumpAdjacentCuts(self, *int: int) -> 'OilAssayCharacterisation.TbpCutTable': ... + def resampleAtBoilingPointsCelsius(self, *double: float) -> 'OilAssayCharacterisation.TbpCutTable': ... + def resampleAtBoilingPointsKelvin(self, *double: float) -> 'OilAssayCharacterisation.TbpCutTable': ... + def splitAtBoilingPointsCelsius(self, *double: float) -> 'OilAssayCharacterisation.TbpCutTable': ... + def splitAtBoilingPointsKelvin(self, *double: float) -> 'OilAssayCharacterisation.TbpCutTable': ... class PedersenAsphalteneCharacterization: DEFAULT_ASPHALTENE_MW: typing.ClassVar[float] = ... @@ -914,6 +962,94 @@ class RefineryHydrotreatingSulfurNitrogenBalance(java.io.Serializable): def getTotalHydrogenConsumedMassKg(self) -> float: ... def getTotalMassBalanceResidualKg(self) -> float: ... +class RefineryHydrotreatingSulfurNitrogenBreakEvenEconomicsReceipt(java.io.Serializable): + @staticmethod + def calculate(refineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt: 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt') -> 'RefineryHydrotreatingSulfurNitrogenBreakEvenEconomicsReceipt': ... + def getBreakEvenExportGasPricePerTonne(self) -> float: ... + def getBreakEvenFeedCostPerTonne(self) -> float: ... + def getBreakEvenLiquidProductPricePerTonne(self) -> float: ... + def getExportGasBreakEvenClosureResidualPerHour(self) -> float: ... + def getExportGasMarginSensitivityTonnesPerHour(self) -> float: ... + def getExportGasMassFlowTonnesPerHour(self) -> float: ... + def getExportGasPriceDeltaToBreakEvenPerTonne(self) -> float: ... + def getFeedCostBreakEvenClosureResidualPerHour(self) -> float: ... + def getFeedCostDeltaToBreakEvenPerTonne(self) -> float: ... + def getFeedCostMarginSensitivityTonnesPerHour(self) -> float: ... + def getFeedMassFlowTonnesPerHour(self) -> float: ... + def getLiquidProductBreakEvenClosureResidualPerHour(self) -> float: ... + def getLiquidProductMarginSensitivityTonnesPerHour(self) -> float: ... + def getLiquidProductMassFlowTonnesPerHour(self) -> float: ... + def getLiquidProductPriceDeltaToBreakEvenPerTonne(self) -> float: ... + def getScreeningEconomicsReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + +class RefineryHydrotreatingSulfurNitrogenEconomicsCaseDeltaReceipt(java.io.Serializable): + @staticmethod + def calculate(refineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt: 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt', refineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt2: 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt') -> 'RefineryHydrotreatingSulfurNitrogenEconomicsCaseDeltaReceipt': ... + def getAttributedMarginDeltaPerHour(self) -> float: ... + def getBaselineReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + def getCandidateReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + def getCaseAttributionClosureResidualPerHour(self) -> float: ... + def getExportGasFlowMarginContributionPerHour(self) -> float: ... + def getExportGasMassFlowDeltaTonnesPerHour(self) -> float: ... + def getFeedFlowMarginContributionPerHour(self) -> float: ... + def getFeedMassFlowDeltaTonnesPerHour(self) -> float: ... + def getLiquidProductFlowMarginContributionPerHour(self) -> float: ... + def getLiquidProductMassFlowDeltaTonnesPerHour(self) -> float: ... + def getOperatingCostMarginContributionPerHour(self) -> float: ... + def getProductValueDeltaClosureResidualPerHour(self) -> float: ... + def getScreeningMarginDeltaClosureResidualPerHour(self) -> float: ... + def getScreeningMarginDeltaPerHour(self) -> float: ... + def getTotalProductValueDeltaPerHour(self) -> float: ... + def getTotalVariableCostDeltaPerHour(self) -> float: ... + def getVariableCostDeltaClosureResidualPerHour(self) -> float: ... + +class RefineryHydrotreatingSulfurNitrogenEconomicsScenarioDeltaReceipt(java.io.Serializable): + @staticmethod + def calculate(refineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt: 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt', refineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt2: 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt') -> 'RefineryHydrotreatingSulfurNitrogenEconomicsScenarioDeltaReceipt': ... + def getAttributedMarginDeltaPerHour(self) -> float: ... + def getBaselineReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + def getCandidateReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + def getExportGasMarginContributionPerHour(self) -> float: ... + def getExportGasPriceDeltaPerTonne(self) -> float: ... + def getFeedCostDeltaPerTonne(self) -> float: ... + def getFeedCostMarginContributionPerHour(self) -> float: ... + def getLiquidProductMarginContributionPerHour(self) -> float: ... + def getLiquidProductPriceDeltaPerTonne(self) -> float: ... + def getPriceAttributionClosureResidualPerHour(self) -> float: ... + def getProductValueDeltaClosureResidualPerHour(self) -> float: ... + def getScreeningMarginDeltaClosureResidualPerHour(self) -> float: ... + def getScreeningMarginDeltaPerHour(self) -> float: ... + def getTotalProductValueDeltaPerHour(self) -> float: ... + def getTotalVariableCostDeltaPerHour(self) -> float: ... + def getVariableCostDeltaClosureResidualPerHour(self) -> float: ... + +class RefineryHydrotreatingSulfurNitrogenEconomicsTotalDeltaReceipt(java.io.Serializable): + @staticmethod + def calculate(refineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt: 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt', refineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt2: 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt') -> 'RefineryHydrotreatingSulfurNitrogenEconomicsTotalDeltaReceipt': ... + def getAttributedMarginDeltaPerHour(self) -> float: ... + def getBaselineReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + def getCandidateReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + def getExportGasFlowMarginContributionPerHour(self) -> float: ... + def getExportGasMassFlowDeltaTonnesPerHour(self) -> float: ... + def getExportGasPriceDeltaPerTonne(self) -> float: ... + def getExportGasPriceMarginContributionPerHour(self) -> float: ... + def getFeedCostDeltaPerTonne(self) -> float: ... + def getFeedCostMarginContributionPerHour(self) -> float: ... + def getFeedFlowMarginContributionPerHour(self) -> float: ... + def getFeedMassFlowDeltaTonnesPerHour(self) -> float: ... + def getLiquidProductFlowMarginContributionPerHour(self) -> float: ... + def getLiquidProductMassFlowDeltaTonnesPerHour(self) -> float: ... + def getLiquidProductPriceDeltaPerTonne(self) -> float: ... + def getLiquidProductPriceMarginContributionPerHour(self) -> float: ... + def getOperatingCostMarginContributionPerHour(self) -> float: ... + def getProductValueDeltaClosureResidualPerHour(self) -> float: ... + def getScreeningMarginDeltaClosureResidualPerHour(self) -> float: ... + def getScreeningMarginDeltaPerHour(self) -> float: ... + def getTotalAttributionClosureResidualPerHour(self) -> float: ... + def getTotalProductValueDeltaPerHour(self) -> float: ... + def getTotalVariableCostDeltaPerHour(self) -> float: ... + def getVariableCostDeltaClosureResidualPerHour(self) -> float: ... + class RefineryHydrotreatingSulfurNitrogenFiredHeaterCombustionBalance(java.io.Serializable): @staticmethod def calculate(refineryHydrotreatingSulfurNitrogenFiredHeaterUtilityBalance: 'RefineryHydrotreatingSulfurNitrogenFiredHeaterUtilityBalance', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'RefineryHydrotreatingSulfurNitrogenFiredHeaterCombustionBalance': ... @@ -1132,6 +1268,42 @@ class RefineryHydrotreatingSulfurNitrogenHydrogenUtilityBalance(java.io.Serializ def getHydrogenLowerHeatingValueMegaJoulePerKg(self) -> float: ... def getThroughputBalance(self) -> RefineryHydrotreatingSulfurNitrogenHydrogenRecycleThroughputBalance: ... +class RefineryHydrotreatingSulfurNitrogenNetOperatingReceipt(java.io.Serializable): + @staticmethod + def calculate(refineryHydrotreatingSulfurNitrogenOperatingReceipt: 'RefineryHydrotreatingSulfurNitrogenOperatingReceipt', refineryHydrotreatingSulfurNitrogenFiredHeaterHeatRecoveryCreditBalance: RefineryHydrotreatingSulfurNitrogenFiredHeaterHeatRecoveryCreditBalance, double: float) -> 'RefineryHydrotreatingSulfurNitrogenNetOperatingReceipt': ... + def getCarbonPricePerTonneCo2Equivalent(self) -> float: ... + def getCombinedCarbonCostPerHour(self) -> float: ... + def getCostClosureResidualPerHour(self) -> float: ... + def getEmissionsClosureResidualKgCo2EquivalentPerHour(self) -> float: ... + def getEnergyClosureResidualMWhPerTonneFeed(self) -> float: ... + def getHeatRecoveryCredit(self) -> RefineryHydrotreatingSulfurNitrogenFiredHeaterHeatRecoveryCreditBalance: ... + def getHydrogenOperatingReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenOperatingReceipt': ... + def getNetFuelCostPerHour(self) -> float: ... + def getNetFuelEnergyMWhPerTonneFeed(self) -> float: ... + def getTotalEmissionsKgCo2EquivalentPerHour(self) -> float: ... + def getTotalEmissionsKgCo2EquivalentPerTonneFeed(self) -> float: ... + def getTotalExternalEnergyMWhPerTonneFeed(self) -> float: ... + def getTotalOperatingCostPerHour(self) -> float: ... + def getTotalOperatingCostPerTonneFeed(self) -> float: ... + +class RefineryHydrotreatingSulfurNitrogenNetProductIntensityReceipt(java.io.Serializable): + @staticmethod + def calculate(refineryHydrotreatingSulfurNitrogenNetOperatingReceipt: RefineryHydrotreatingSulfurNitrogenNetOperatingReceipt) -> 'RefineryHydrotreatingSulfurNitrogenNetProductIntensityReceipt': ... + def getCostBasisClosureResidualPerHour(self) -> float: ... + def getEmissionsBasisClosureResidualKgCo2EquivalentPerHour(self) -> float: ... + def getEnergyBasisClosureResidualMWhPerHour(self) -> float: ... + def getFeedMassFlowKgPerHour(self) -> float: ... + def getLiquidProductKgPerTonneFeed(self) -> float: ... + def getLiquidProductMassFlowKgPerHour(self) -> float: ... + def getNetOperatingReceipt(self) -> RefineryHydrotreatingSulfurNitrogenNetOperatingReceipt: ... + def getProductDistributionReceipt(self) -> 'RefineryHydrotreatingSulfurNitrogenProductDistributionReceipt': ... + def getTotalEmissionsKgCo2EquivalentPerTonneFeed(self) -> float: ... + def getTotalEmissionsKgCo2EquivalentPerTonneLiquidProduct(self) -> float: ... + def getTotalExternalEnergyMWhPerTonneFeed(self) -> float: ... + def getTotalExternalEnergyMWhPerTonneLiquidProduct(self) -> float: ... + def getTotalOperatingCostPerTonneFeed(self) -> float: ... + def getTotalOperatingCostPerTonneLiquidProduct(self) -> float: ... + class RefineryHydrotreatingSulfurNitrogenOperatingReceipt(java.io.Serializable): @staticmethod def calculate(refineryHydrotreatingSulfurNitrogenHydrogenEmissionsBalance: RefineryHydrotreatingSulfurNitrogenHydrogenEmissionsBalance) -> 'RefineryHydrotreatingSulfurNitrogenOperatingReceipt': ... @@ -1171,6 +1343,30 @@ class RefineryHydrotreatingSulfurNitrogenProductDistributionReceipt(java.io.Seri def getThroughputBalance(self) -> RefineryHydrotreatingSulfurNitrogenHydrogenRecycleThroughputBalance: ... def getTotalExternalProductMassFlowKgPerHour(self) -> float: ... +class RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt(java.io.Serializable): + @staticmethod + def calculate(refineryHydrotreatingSulfurNitrogenNetProductIntensityReceipt: RefineryHydrotreatingSulfurNitrogenNetProductIntensityReceipt, double: float, double2: float, double3: float) -> 'RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt': ... + def getExportGasPricePerTonne(self) -> float: ... + def getExportGasValuePerHour(self) -> float: ... + def getFeedCostPerHour(self) -> float: ... + def getFeedCostPerTonne(self) -> float: ... + def getLiquidProductPricePerTonne(self) -> float: ... + def getLiquidProductValuePerHour(self) -> float: ... + def getNetProductIntensityReceipt(self) -> RefineryHydrotreatingSulfurNitrogenNetProductIntensityReceipt: ... + def getOperatingCostPerHour(self) -> float: ... + def getProductValueClosureResidualPerHour(self) -> float: ... + def getScreeningMarginClosureResidualPerHour(self) -> float: ... + def getScreeningMarginPerHour(self) -> float: ... + def getScreeningMarginPerTonneFeed(self) -> float: ... + def getScreeningMarginPerTonneLiquidProduct(self) -> float: ... + def getTotalProductValuePerHour(self) -> float: ... + def getTotalProductValuePerTonneFeed(self) -> float: ... + def getTotalProductValuePerTonneLiquidProduct(self) -> float: ... + def getTotalVariableCostPerHour(self) -> float: ... + def getTotalVariableCostPerTonneFeed(self) -> float: ... + def getTotalVariableCostPerTonneLiquidProduct(self) -> float: ... + def getVariableCostClosureResidualPerHour(self) -> float: ... + class RefineryHydrotreatingSulfurNitrogenThermalDutyBalance(java.io.Serializable): @staticmethod def calculate(refineryHydrotreatingSulfurNitrogenProductDistributionReceipt: RefineryHydrotreatingSulfurNitrogenProductDistributionReceipt, double: float, double2: float, double3: float) -> 'RefineryHydrotreatingSulfurNitrogenThermalDutyBalance': ... @@ -1821,6 +2017,10 @@ class __module_protocol__(Protocol): RefineryHydrotreatingOperatingReceipt: typing.Type[RefineryHydrotreatingOperatingReceipt] RefineryHydrotreatingSulfurBalance: typing.Type[RefineryHydrotreatingSulfurBalance] RefineryHydrotreatingSulfurNitrogenBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenBalance] + RefineryHydrotreatingSulfurNitrogenBreakEvenEconomicsReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenBreakEvenEconomicsReceipt] + RefineryHydrotreatingSulfurNitrogenEconomicsCaseDeltaReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenEconomicsCaseDeltaReceipt] + RefineryHydrotreatingSulfurNitrogenEconomicsScenarioDeltaReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenEconomicsScenarioDeltaReceipt] + RefineryHydrotreatingSulfurNitrogenEconomicsTotalDeltaReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenEconomicsTotalDeltaReceipt] RefineryHydrotreatingSulfurNitrogenFiredHeaterCombustionBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenFiredHeaterCombustionBalance] RefineryHydrotreatingSulfurNitrogenFiredHeaterHeatRecoveryBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenFiredHeaterHeatRecoveryBalance] RefineryHydrotreatingSulfurNitrogenFiredHeaterHeatRecoveryCreditBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenFiredHeaterHeatRecoveryCreditBalance] @@ -1831,8 +2031,11 @@ class __module_protocol__(Protocol): RefineryHydrotreatingSulfurNitrogenHydrogenRecycleThroughputBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenHydrogenRecycleThroughputBalance] RefineryHydrotreatingSulfurNitrogenHydrogenSupplyBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenHydrogenSupplyBalance] RefineryHydrotreatingSulfurNitrogenHydrogenUtilityBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenHydrogenUtilityBalance] + RefineryHydrotreatingSulfurNitrogenNetOperatingReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenNetOperatingReceipt] + RefineryHydrotreatingSulfurNitrogenNetProductIntensityReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenNetProductIntensityReceipt] RefineryHydrotreatingSulfurNitrogenOperatingReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenOperatingReceipt] RefineryHydrotreatingSulfurNitrogenProductDistributionReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenProductDistributionReceipt] + RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt: typing.Type[RefineryHydrotreatingSulfurNitrogenScreeningEconomicsReceipt] RefineryHydrotreatingSulfurNitrogenThermalDutyBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenThermalDutyBalance] RefineryHydrotreatingSulfurNitrogenThroughputBalance: typing.Type[RefineryHydrotreatingSulfurNitrogenThroughputBalance] RefineryHydrotreatingThroughputBalance: typing.Type[RefineryHydrotreatingThroughputBalance] diff --git a/src/jneqsim-stubs/thermo/component/__init__.pyi b/src/jneqsim-stubs/thermo/component/__init__.pyi index 016f15f2..1656b76f 100644 --- a/src/jneqsim-stubs/thermo/component/__init__.pyi +++ b/src/jneqsim-stubs/thermo/component/__init__.pyi @@ -5,6 +5,7 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol +import java.io import java.lang import java.util import jpype @@ -330,6 +331,44 @@ class ComponentNameResolver: @staticmethod def resolve(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... +class HenryWaterReferencePoint(java.io.Serializable, java.lang.Cloneable): + def clone(self) -> 'HenryWaterReferencePoint': ... + def getCasNumber(self) -> java.lang.String: ... + def getCompilationDoi(self) -> java.lang.String: ... + def getCompilationLicense(self) -> java.lang.String: ... + def getComponentName(self) -> java.lang.String: ... + def getConvention(self) -> java.lang.String: ... + def getIdentityBasis(self) -> java.lang.String: ... + @typing.overload + def getMolalityVolatilityBarKgPerMol(self) -> float: ... + @typing.overload + def getMolalityVolatilityBarKgPerMol(self, double: float) -> float: ... + def getMolalityVolatilityTemperatureDerivative(self) -> float: ... + def getOriginalReference(self) -> java.lang.String: ... + def getOriginalReferenceDoi(self) -> java.lang.String: ... + def getOriginalReferenceRights(self) -> java.lang.String: ... + def getOriginalReferenceUrl(self) -> java.lang.String: ... + def getReferenceId(self) -> java.lang.String: ... + def getReferencePressureMPa(self) -> float: ... + def getReferenceTemperatureK(self) -> float: ... + def getSolubilityMolalityPerAtm(self) -> float: ... + def getSolvent(self) -> java.lang.String: ... + def getSource(self) -> java.lang.String: ... + def getSourceInchiKey(self) -> java.lang.String: ... + def getSourceSpeciesName(self) -> java.lang.String: ... + def getStatus(self) -> java.lang.String: ... + def getTemperatureScope(self) -> java.lang.String: ... + def getUncertainty(self) -> java.lang.String: ... + def isAvailableAt(self, double: float) -> bool: ... + +class HenryWaterReferencePointCatalog: + @staticmethod + def findByCasNumber(string: typing.Union[java.lang.String, str]) -> java.util.Optional[HenryWaterReferencePoint]: ... + @staticmethod + def findByComponentName(string: typing.Union[java.lang.String, str]) -> java.util.Optional[HenryWaterReferencePoint]: ... + @staticmethod + def getAll() -> java.util.List[HenryWaterReferencePoint]: ... + class IapwsHenryLaw: DATASET_ID: typing.ClassVar[java.lang.String] = ... WATER_MOLAR_MASS_KG_PER_MOL: typing.ClassVar[float] = ... @@ -865,6 +904,7 @@ class ComponentGE(Component, ComponentGEInterface): def getLnGammadn(self, int: int) -> float: ... def getLnGammadt(self) -> float: ... def getLnGammadtdt(self) -> float: ... + def isHydrocarbon(self) -> bool: ... def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... def setLnGammadn(self, int: int, double: float) -> None: ... @@ -966,6 +1006,8 @@ class ComponentAmmoniaEos(ComponentEos): class ComponentDesmukhMather(ComponentGE): def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... @typing.overload @@ -1084,6 +1126,7 @@ class ComponentGeNRTL(ComponentGE): class ComponentGePitzer(ComponentGE): def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload def getGamma(self) -> float: ... @typing.overload @@ -1091,7 +1134,6 @@ class ComponentGePitzer(ComponentGE): @typing.overload def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def isHydrocarbon(self) -> bool: ... def setNeutralPitzerInteractionsActive(self, boolean: bool) -> None: ... class ComponentHydrateBallard(ComponentHydrate): @@ -1435,6 +1477,8 @@ class ComponentHydratePitzer(ComponentHydratePVTsim): class ComponentKentEisenberg(ComponentGeNRTL): def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... class ComponentModifiedFurstElectrolyteEos(ComponentSrk): @typing.overload @@ -2198,6 +2242,8 @@ class __module_protocol__(Protocol): ComponentWax: typing.Type[ComponentWax] ComponentWaxWilson: typing.Type[ComponentWaxWilson] ComponentWonWax: typing.Type[ComponentWonWax] + HenryWaterReferencePoint: typing.Type[HenryWaterReferencePoint] + HenryWaterReferencePointCatalog: typing.Type[HenryWaterReferencePointCatalog] IapwsHenryLaw: typing.Type[IapwsHenryLaw] attractiveeosterm: jneqsim.thermo.component.attractiveeosterm.__module_protocol__ repulsiveeosterm: jneqsim.thermo.component.repulsiveeosterm.__module_protocol__ diff --git a/src/jneqsim-stubs/thermo/phase/__init__.pyi b/src/jneqsim-stubs/thermo/phase/__init__.pyi index e04913cc..bfb6ef8a 100644 --- a/src/jneqsim-stubs/thermo/phase/__init__.pyi +++ b/src/jneqsim-stubs/thermo/phase/__init__.pyi @@ -1304,6 +1304,9 @@ class PhaseGE(Phase, PhaseGEInterface): def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... + def getLnActivityCoefficientInfDilTemperatureDerivative(self, int: int) -> float: ... + def getLnActivityCoefficientInfDilWaterTemperatureDerivative(self, int: int, int2: int) -> float: ... + def getLnActivityCoefficientTemperatureDerivative(self, int: int) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @typing.overload def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -1575,6 +1578,7 @@ class PhaseGENRTL(PhaseGE): @typing.overload def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... def getGibbsEnergy(self) -> float: ... + def getLnActivityCoefficientTemperatureDerivative(self, int: int) -> float: ... def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... @@ -2144,6 +2148,10 @@ class PhaseWaterIAPWS(PhaseEos): @typing.overload def getCv(self) -> float: ... @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getEnthalpy(self) -> float: ... diff --git a/src/jneqsim-stubs/thermo/system/__init__.pyi b/src/jneqsim-stubs/thermo/system/__init__.pyi index e5f25c8c..7830ad17 100644 --- a/src/jneqsim-stubs/thermo/system/__init__.pyi +++ b/src/jneqsim-stubs/thermo/system/__init__.pyi @@ -205,6 +205,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def doEnhancedMultiPhaseCheck(self) -> bool: ... def doMultiPhaseCheck(self) -> bool: ... def doSolidPhaseCheck(self) -> bool: ... + def enableWaxModel(self, string: typing.Union[java.lang.String, str]) -> None: ... def equals(self, object: typing.Any) -> bool: ... @typing.overload def getBeta(self) -> float: ... @@ -563,6 +564,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setTotalFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setTotalNumberOfMoles(self, double: float) -> None: ... + def setTotalNumberOfMolesRaw(self, double: float) -> None: ... def setUseIdealGasEnthalpyOfFormation(self, boolean: bool) -> None: ... def setUseTVasIndependentVariables(self, boolean: bool) -> None: ... def setWaxModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -708,6 +710,7 @@ class SystemThermo(SystemInterface): def doEnhancedMultiPhaseCheck(self) -> bool: ... def doMultiPhaseCheck(self) -> bool: ... def doSolidPhaseCheck(self) -> bool: ... + def enableWaxModel(self, string: typing.Union[java.lang.String, str]) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getAntoineVaporPressure(self, double: float) -> float: ... @typing.overload @@ -1052,6 +1055,7 @@ class SystemThermo(SystemInterface): def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setTotalFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setTotalNumberOfMoles(self, double: float) -> None: ... + def setTotalNumberOfMolesRaw(self, double: float) -> None: ... def setUseIdealGasEnthalpyOfFormation(self, boolean: bool) -> None: ... def setUseTVasIndependentVariables(self, boolean: bool) -> None: ... def setWaxModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -1192,6 +1196,10 @@ class SystemEosGE(SystemEos, HybridEosGeFlashModel): def getGeLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... def getGeLiquidPhaseSlot(self) -> int: ... def getHybridEosGeFlashDiagnostics(self, double: float) -> java.lang.String: ... + @typing.overload + def init(self, int: int) -> None: ... + @typing.overload + def init(self, int: int, int2: int) -> None: ... def isExcessGibbsEnergyPhase(self, int: int) -> bool: ... def isHybridEosGeAqueousPhase(self, int: int) -> bool: ... def isHybridEosGeTopologyConfigured(self) -> bool: ... diff --git a/src/jneqsim-stubs/util/database/__init__.pyi b/src/jneqsim-stubs/util/database/__init__.pyi index 031de4c8..e735cef1 100644 --- a/src/jneqsim-stubs/util/database/__init__.pyi +++ b/src/jneqsim-stubs/util/database/__init__.pyi @@ -23,18 +23,24 @@ class AspenIP21Database(jneqsim.util.util.FileSystemSettings, java.io.Serializab def openConnection(self, string: typing.Union[java.lang.String, str]) -> java.sql.Connection: ... def setStatement(self, statement: java.sql.Statement) -> None: ... -class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializable): +class NeqSimDatabaseBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, java.lang.AutoCloseable): + def __init__(self): ... + def close(self) -> None: ... + def getConnection(self) -> java.sql.Connection: ... + def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + def getStatement(self) -> java.sql.Statement: ... + def openConnection(self) -> java.sql.Connection: ... + def setStatement(self, statement: java.sql.Statement) -> None: ... + +class NeqSimBlobDatabase(NeqSimDatabaseBase): dataBasePath: typing.ClassVar[java.lang.String] = ... def __init__(self): ... def createTemporaryTables(self) -> bool: ... def execute(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getConnection(self) -> java.sql.Connection: ... @staticmethod def getConnectionString() -> java.lang.String: ... @staticmethod def getDataBaseType() -> java.lang.String: ... - def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... - def getStatement(self) -> java.sql.Statement: ... def openConnection(self) -> java.sql.Connection: ... @staticmethod def setConnectionString(string: typing.Union[java.lang.String, str]) -> None: ... @@ -47,27 +53,23 @@ class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializa def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... @staticmethod def setPassword(string: typing.Union[java.lang.String, str]) -> None: ... - def setStatement(self, statement: java.sql.Statement) -> None: ... @staticmethod def setUsername(string: typing.Union[java.lang.String, str]) -> None: ... -class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, java.lang.AutoCloseable): +class NeqSimDataBase(NeqSimDatabaseBase): dataBasePath: typing.ClassVar[java.lang.String] = ... def __init__(self): ... - def close(self) -> None: ... @staticmethod def createTemporaryTables() -> bool: ... def execute(self, string: typing.Union[java.lang.String, str]) -> bool: ... def executeQuery(self, string: typing.Union[java.lang.String, str]) -> None: ... @staticmethod def getComponentNames() -> typing.MutableSequence[java.lang.String]: ... - def getConnection(self) -> java.sql.Connection: ... @staticmethod def getConnectionString() -> java.lang.String: ... @staticmethod def getDataBaseType() -> java.lang.String: ... def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... - def getStatement(self) -> java.sql.Statement: ... @staticmethod def hasComponent(string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod @@ -89,7 +91,6 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... @staticmethod def setPassword(string: typing.Union[java.lang.String, str]) -> None: ... - def setStatement(self, statement: java.sql.Statement) -> None: ... @staticmethod def setUsername(string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @@ -101,7 +102,7 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, @staticmethod def useExtendedComponentDatabase(boolean: bool) -> None: ... -class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializable): +class NeqSimExperimentDatabase(NeqSimDatabaseBase): dataBasePath: typing.ClassVar[java.lang.String] = ... username: typing.ClassVar[java.lang.String] = ... password: typing.ClassVar[java.lang.String] = ... @@ -109,13 +110,10 @@ class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Ser def __init__(self): ... def createTemporaryTables(self) -> bool: ... def execute(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getConnection(self) -> java.sql.Connection: ... @staticmethod def getConnectionString() -> java.lang.String: ... @staticmethod def getDataBaseType() -> java.lang.String: ... - def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... - def getStatement(self) -> java.sql.Statement: ... def openConnection(self) -> java.sql.Connection: ... @staticmethod def setConnectionString(string: typing.Union[java.lang.String, str]) -> None: ... @@ -128,19 +126,20 @@ class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Ser def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... @staticmethod def setPassword(string: typing.Union[java.lang.String, str]) -> None: ... - def setStatement(self, statement: java.sql.Statement) -> None: ... @staticmethod def setUsername(string: typing.Union[java.lang.String, str]) -> None: ... -class NeqSimFluidDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable): +class NeqSimFluidDataBase(NeqSimDatabaseBase): useOnlineBase: typing.ClassVar[bool] = ... def __init__(self): ... def execute(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getConnection(self) -> java.sql.Connection: ... @typing.overload def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... @typing.overload def getResultSet(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + @typing.overload + def openConnection(self) -> java.sql.Connection: ... + @typing.overload def openConnection(self, string: typing.Union[java.lang.String, str]) -> java.sql.Connection: ... class NeqSimContractDataBase(NeqSimDataBase): @@ -175,6 +174,7 @@ class __module_protocol__(Protocol): NeqSimBlobDatabase: typing.Type[NeqSimBlobDatabase] NeqSimContractDataBase: typing.Type[NeqSimContractDataBase] NeqSimDataBase: typing.Type[NeqSimDataBase] + NeqSimDatabaseBase: typing.Type[NeqSimDatabaseBase] NeqSimExperimentDatabase: typing.Type[NeqSimExperimentDatabase] NeqSimFluidDataBase: typing.Type[NeqSimFluidDataBase] NeqSimProcessDesignDataBase: typing.Type[NeqSimProcessDesignDataBase] diff --git a/src/neqsim/data/neqsim_api.json.gz b/src/neqsim/data/neqsim_api.json.gz index 5796a23b..25977a84 100644 Binary files a/src/neqsim/data/neqsim_api.json.gz and b/src/neqsim/data/neqsim_api.json.gz differ diff --git a/src/neqsim/lib/neqsim-3.23.0.jar b/src/neqsim/lib/neqsim-3.24.0.jar similarity index 85% rename from src/neqsim/lib/neqsim-3.23.0.jar rename to src/neqsim/lib/neqsim-3.24.0.jar index d924c3f3..55e19876 100644 Binary files a/src/neqsim/lib/neqsim-3.23.0.jar and b/src/neqsim/lib/neqsim-3.24.0.jar differ diff --git a/uv.lock b/uv.lock index 73d706fb..63bcce0b 100644 --- a/uv.lock +++ b/uv.lock @@ -1878,7 +1878,7 @@ wheels = [ [[package]] name = "neqsim" -version = "3.23.0" +version = "3.24.0" source = { editable = "." } dependencies = [ { name = "jpype1" },